Documentation ¶
Index ¶
- func Route(router RouteOut) (string, string, quickfix.MessageRoute)
- type QuoteRequest
- func (m QuoteRequest) GetIDSource() (f field.IDSourceField, err quickfix.MessageRejectError)
- func (m QuoteRequest) GetIssuer() (f field.IssuerField, err quickfix.MessageRejectError)
- func (m QuoteRequest) GetOrderQty() (f field.OrderQtyField, err quickfix.MessageRejectError)
- func (m QuoteRequest) GetPrevClosePx() (f field.PrevClosePxField, err quickfix.MessageRejectError)
- func (m QuoteRequest) GetQuoteReqID() (f field.QuoteReqIDField, err quickfix.MessageRejectError)
- func (m QuoteRequest) GetSecurityDesc() (f field.SecurityDescField, err quickfix.MessageRejectError)
- func (m QuoteRequest) GetSecurityID() (f field.SecurityIDField, err quickfix.MessageRejectError)
- func (m QuoteRequest) GetSide() (f field.SideField, err quickfix.MessageRejectError)
- func (m QuoteRequest) GetSymbol() (f field.SymbolField, err quickfix.MessageRejectError)
- func (m QuoteRequest) GetSymbolSfx() (f field.SymbolSfxField, err quickfix.MessageRejectError)
- func (m QuoteRequest) HasIDSource() bool
- func (m QuoteRequest) HasIssuer() bool
- func (m QuoteRequest) HasOrderQty() bool
- func (m QuoteRequest) HasPrevClosePx() bool
- func (m QuoteRequest) HasQuoteReqID() bool
- func (m QuoteRequest) HasSecurityDesc() bool
- func (m QuoteRequest) HasSecurityID() bool
- func (m QuoteRequest) HasSide() bool
- func (m QuoteRequest) HasSymbol() bool
- func (m QuoteRequest) HasSymbolSfx() bool
- func (m QuoteRequest) SetIDSource(v string)
- func (m QuoteRequest) SetIssuer(v string)
- func (m QuoteRequest) SetOrderQty(value decimal.Decimal, scale int32)
- func (m QuoteRequest) SetPrevClosePx(value decimal.Decimal, scale int32)
- func (m QuoteRequest) SetQuoteReqID(v string)
- func (m QuoteRequest) SetSecurityDesc(v string)
- func (m QuoteRequest) SetSecurityID(v string)
- func (m QuoteRequest) SetSide(v string)
- func (m QuoteRequest) SetSymbol(v string)
- func (m QuoteRequest) SetSymbolSfx(v string)
- func (m QuoteRequest) ToMessage() quickfix.Message
- type RouteOut
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type QuoteRequest ¶ added in v0.4.0
type QuoteRequest struct { fix40.Header quickfix.Body fix40.Trailer //ReceiveTime is the time that this message was read from the socket connection ReceiveTime time.Time }
QuoteRequest is the fix40 QuoteRequest type, MsgType = R
func FromMessage ¶ added in v0.4.0
func FromMessage(m quickfix.Message) QuoteRequest
FromMessage creates a QuoteRequest from a quickfix.Message instance
func New ¶ added in v0.2.0
func New(quotereqid field.QuoteReqIDField, symbol field.SymbolField) (m QuoteRequest)
New returns a QuoteRequest initialized with the required fields for QuoteRequest
func (QuoteRequest) GetIDSource ¶ added in v0.4.0
func (m QuoteRequest) GetIDSource() (f field.IDSourceField, err quickfix.MessageRejectError)
GetIDSource gets IDSource, Tag 22
func (QuoteRequest) GetIssuer ¶ added in v0.4.0
func (m QuoteRequest) GetIssuer() (f field.IssuerField, err quickfix.MessageRejectError)
GetIssuer gets Issuer, Tag 106
func (QuoteRequest) GetOrderQty ¶ added in v0.4.0
func (m QuoteRequest) GetOrderQty() (f field.OrderQtyField, err quickfix.MessageRejectError)
GetOrderQty gets OrderQty, Tag 38
func (QuoteRequest) GetPrevClosePx ¶ added in v0.4.0
func (m QuoteRequest) GetPrevClosePx() (f field.PrevClosePxField, err quickfix.MessageRejectError)
GetPrevClosePx gets PrevClosePx, Tag 140
func (QuoteRequest) GetQuoteReqID ¶ added in v0.4.0
func (m QuoteRequest) GetQuoteReqID() (f field.QuoteReqIDField, err quickfix.MessageRejectError)
GetQuoteReqID gets QuoteReqID, Tag 131
func (QuoteRequest) GetSecurityDesc ¶ added in v0.4.0
func (m QuoteRequest) GetSecurityDesc() (f field.SecurityDescField, err quickfix.MessageRejectError)
GetSecurityDesc gets SecurityDesc, Tag 107
func (QuoteRequest) GetSecurityID ¶ added in v0.4.0
func (m QuoteRequest) GetSecurityID() (f field.SecurityIDField, err quickfix.MessageRejectError)
GetSecurityID gets SecurityID, Tag 48
func (QuoteRequest) GetSide ¶ added in v0.4.0
func (m QuoteRequest) GetSide() (f field.SideField, err quickfix.MessageRejectError)
GetSide gets Side, Tag 54
func (QuoteRequest) GetSymbol ¶ added in v0.4.0
func (m QuoteRequest) GetSymbol() (f field.SymbolField, err quickfix.MessageRejectError)
GetSymbol gets Symbol, Tag 55
func (QuoteRequest) GetSymbolSfx ¶ added in v0.4.0
func (m QuoteRequest) GetSymbolSfx() (f field.SymbolSfxField, err quickfix.MessageRejectError)
GetSymbolSfx gets SymbolSfx, Tag 65
func (QuoteRequest) HasIDSource ¶ added in v0.4.0
func (m QuoteRequest) HasIDSource() bool
HasIDSource returns true if IDSource is present, Tag 22
func (QuoteRequest) HasIssuer ¶ added in v0.4.0
func (m QuoteRequest) HasIssuer() bool
HasIssuer returns true if Issuer is present, Tag 106
func (QuoteRequest) HasOrderQty ¶ added in v0.4.0
func (m QuoteRequest) HasOrderQty() bool
HasOrderQty returns true if OrderQty is present, Tag 38
func (QuoteRequest) HasPrevClosePx ¶ added in v0.4.0
func (m QuoteRequest) HasPrevClosePx() bool
HasPrevClosePx returns true if PrevClosePx is present, Tag 140
func (QuoteRequest) HasQuoteReqID ¶ added in v0.4.0
func (m QuoteRequest) HasQuoteReqID() bool
HasQuoteReqID returns true if QuoteReqID is present, Tag 131
func (QuoteRequest) HasSecurityDesc ¶ added in v0.4.0
func (m QuoteRequest) HasSecurityDesc() bool
HasSecurityDesc returns true if SecurityDesc is present, Tag 107
func (QuoteRequest) HasSecurityID ¶ added in v0.4.0
func (m QuoteRequest) HasSecurityID() bool
HasSecurityID returns true if SecurityID is present, Tag 48
func (QuoteRequest) HasSide ¶ added in v0.4.0
func (m QuoteRequest) HasSide() bool
HasSide returns true if Side is present, Tag 54
func (QuoteRequest) HasSymbol ¶ added in v0.4.0
func (m QuoteRequest) HasSymbol() bool
HasSymbol returns true if Symbol is present, Tag 55
func (QuoteRequest) HasSymbolSfx ¶ added in v0.4.0
func (m QuoteRequest) HasSymbolSfx() bool
HasSymbolSfx returns true if SymbolSfx is present, Tag 65
func (QuoteRequest) SetIDSource ¶ added in v0.4.0
func (m QuoteRequest) SetIDSource(v string)
SetIDSource sets IDSource, Tag 22
func (QuoteRequest) SetIssuer ¶ added in v0.4.0
func (m QuoteRequest) SetIssuer(v string)
SetIssuer sets Issuer, Tag 106
func (QuoteRequest) SetOrderQty ¶ added in v0.4.0
func (m QuoteRequest) SetOrderQty(value decimal.Decimal, scale int32)
SetOrderQty sets OrderQty, Tag 38
func (QuoteRequest) SetPrevClosePx ¶ added in v0.4.0
func (m QuoteRequest) SetPrevClosePx(value decimal.Decimal, scale int32)
SetPrevClosePx sets PrevClosePx, Tag 140
func (QuoteRequest) SetQuoteReqID ¶ added in v0.4.0
func (m QuoteRequest) SetQuoteReqID(v string)
SetQuoteReqID sets QuoteReqID, Tag 131
func (QuoteRequest) SetSecurityDesc ¶ added in v0.4.0
func (m QuoteRequest) SetSecurityDesc(v string)
SetSecurityDesc sets SecurityDesc, Tag 107
func (QuoteRequest) SetSecurityID ¶ added in v0.4.0
func (m QuoteRequest) SetSecurityID(v string)
SetSecurityID sets SecurityID, Tag 48
func (QuoteRequest) SetSide ¶ added in v0.4.0
func (m QuoteRequest) SetSide(v string)
SetSide sets Side, Tag 54
func (QuoteRequest) SetSymbol ¶ added in v0.4.0
func (m QuoteRequest) SetSymbol(v string)
SetSymbol sets Symbol, Tag 55
func (QuoteRequest) SetSymbolSfx ¶ added in v0.4.0
func (m QuoteRequest) SetSymbolSfx(v string)
SetSymbolSfx sets SymbolSfx, Tag 65
func (QuoteRequest) ToMessage ¶ added in v0.4.0
func (m QuoteRequest) ToMessage() quickfix.Message
ToMessage returns a quickfix.Message instance
type RouteOut ¶
type RouteOut func(msg QuoteRequest, sessionID quickfix.SessionID) quickfix.MessageRejectError
A RouteOut is the callback type that should be implemented for routing Message