application

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Acceptor

type Acceptor struct {
	utils.QuickFixAppMessageLogger

	NatsOrderSubject *template.Template

	Settings *quickfix.Settings
	// contains filtered or unexported fields
}

func NewAcceptor

func NewAcceptor(options *AcceptorOptions) (*Acceptor, error)

func (*Acceptor) Close

func (app *Acceptor) Close()

func (*Acceptor) FromAdmin

func (app *Acceptor) FromAdmin(message *quickfix.Message, sessionID quickfix.SessionID) quickfix.MessageRejectError

Notification of admin message being received from target.

func (*Acceptor) FromApp

func (app *Acceptor) FromApp(message *quickfix.Message, sessionID quickfix.SessionID) quickfix.MessageRejectError

Notification of app message being received from target.

func (*Acceptor) OnCreate

func (app *Acceptor) OnCreate(sessionID quickfix.SessionID)

Notification of a session begin created.

func (*Acceptor) OnLogon

func (app *Acceptor) OnLogon(sessionID quickfix.SessionID)

Notification of a session successfully logging on.

func (*Acceptor) OnLogout

func (app *Acceptor) OnLogout(sessionID quickfix.SessionID)

Notification of a session logging off or disconnecting.

func (*Acceptor) ToAdmin

func (app *Acceptor) ToAdmin(message *quickfix.Message, sessionID quickfix.SessionID)

Notification of admin message being sent to target.

func (*Acceptor) ToApp

func (app *Acceptor) ToApp(message *quickfix.Message, sessionID quickfix.SessionID) error

Notification of app message being sent to target.

type AcceptorOptions

type AcceptorOptions struct {
	NATSEmbeded      bool
	NATSURL          string
	NATSOrderSubject string
}

type NewOrderSingleNatsSubject

type NewOrderSingleNatsSubject struct {
	Symbol string
	Side   string
	Type   string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL