Documentation ¶
Index ¶
- func Route(router RouteOut) (string, string, quickfix.MessageRoute)
- type Advertisement
- func (m Advertisement) GetAdvId() (f field.AdvIdField, err quickfix.MessageRejectError)
- func (m Advertisement) GetAdvRefID() (f field.AdvRefIDField, err quickfix.MessageRejectError)
- func (m Advertisement) GetAdvSide() (f field.AdvSideField, err quickfix.MessageRejectError)
- func (m Advertisement) GetAdvTransType() (f field.AdvTransTypeField, err quickfix.MessageRejectError)
- func (m Advertisement) GetCurrency() (f field.CurrencyField, err quickfix.MessageRejectError)
- func (m Advertisement) GetIDSource() (f field.IDSourceField, err quickfix.MessageRejectError)
- func (m Advertisement) GetIssuer() (f field.IssuerField, err quickfix.MessageRejectError)
- func (m Advertisement) GetPrice() (f field.PriceField, err quickfix.MessageRejectError)
- func (m Advertisement) GetSecurityDesc() (f field.SecurityDescField, err quickfix.MessageRejectError)
- func (m Advertisement) GetSecurityID() (f field.SecurityIDField, err quickfix.MessageRejectError)
- func (m Advertisement) GetShares() (f field.SharesField, err quickfix.MessageRejectError)
- func (m Advertisement) GetSymbol() (f field.SymbolField, err quickfix.MessageRejectError)
- func (m Advertisement) GetSymbolSfx() (f field.SymbolSfxField, err quickfix.MessageRejectError)
- func (m Advertisement) GetText() (f field.TextField, err quickfix.MessageRejectError)
- func (m Advertisement) GetTransactTime() (f field.TransactTimeField, err quickfix.MessageRejectError)
- func (m Advertisement) HasAdvId() bool
- func (m Advertisement) HasAdvRefID() bool
- func (m Advertisement) HasAdvSide() bool
- func (m Advertisement) HasAdvTransType() bool
- func (m Advertisement) HasCurrency() bool
- func (m Advertisement) HasIDSource() bool
- func (m Advertisement) HasIssuer() bool
- func (m Advertisement) HasPrice() bool
- func (m Advertisement) HasSecurityDesc() bool
- func (m Advertisement) HasSecurityID() bool
- func (m Advertisement) HasShares() bool
- func (m Advertisement) HasSymbol() bool
- func (m Advertisement) HasSymbolSfx() bool
- func (m Advertisement) HasText() bool
- func (m Advertisement) HasTransactTime() bool
- func (m Advertisement) SetAdvId(v string)
- func (m Advertisement) SetAdvRefID(v string)
- func (m Advertisement) SetAdvSide(v string)
- func (m Advertisement) SetAdvTransType(v string)
- func (m Advertisement) SetCurrency(v string)
- func (m Advertisement) SetIDSource(v string)
- func (m Advertisement) SetIssuer(v string)
- func (m Advertisement) SetPrice(value decimal.Decimal, scale int32)
- func (m Advertisement) SetSecurityDesc(v string)
- func (m Advertisement) SetSecurityID(v string)
- func (m Advertisement) SetShares(value decimal.Decimal, scale int32)
- func (m Advertisement) SetSymbol(v string)
- func (m Advertisement) SetSymbolSfx(v string)
- func (m Advertisement) SetText(v string)
- func (m Advertisement) SetTransactTime(v time.Time)
- func (m Advertisement) ToMessage() quickfix.Message
- type RouteOut
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Advertisement ¶ added in v0.4.0
type Advertisement struct { fix40.Header quickfix.Body fix40.Trailer //ReceiveTime is the time that this message was read from the socket connection ReceiveTime time.Time }
Advertisement is the fix40 Advertisement type, MsgType = 7
func FromMessage ¶ added in v0.4.0
func FromMessage(m quickfix.Message) Advertisement
FromMessage creates a Advertisement from a quickfix.Message instance
func New ¶ added in v0.2.0
func New(advid field.AdvIdField, advtranstype field.AdvTransTypeField, symbol field.SymbolField, advside field.AdvSideField, shares field.SharesField) (m Advertisement)
New returns a Advertisement initialized with the required fields for Advertisement
func (Advertisement) GetAdvId ¶ added in v0.4.0
func (m Advertisement) GetAdvId() (f field.AdvIdField, err quickfix.MessageRejectError)
GetAdvId gets AdvId, Tag 2
func (Advertisement) GetAdvRefID ¶ added in v0.4.0
func (m Advertisement) GetAdvRefID() (f field.AdvRefIDField, err quickfix.MessageRejectError)
GetAdvRefID gets AdvRefID, Tag 3
func (Advertisement) GetAdvSide ¶ added in v0.4.0
func (m Advertisement) GetAdvSide() (f field.AdvSideField, err quickfix.MessageRejectError)
GetAdvSide gets AdvSide, Tag 4
func (Advertisement) GetAdvTransType ¶ added in v0.4.0
func (m Advertisement) GetAdvTransType() (f field.AdvTransTypeField, err quickfix.MessageRejectError)
GetAdvTransType gets AdvTransType, Tag 5
func (Advertisement) GetCurrency ¶ added in v0.4.0
func (m Advertisement) GetCurrency() (f field.CurrencyField, err quickfix.MessageRejectError)
GetCurrency gets Currency, Tag 15
func (Advertisement) GetIDSource ¶ added in v0.4.0
func (m Advertisement) GetIDSource() (f field.IDSourceField, err quickfix.MessageRejectError)
GetIDSource gets IDSource, Tag 22
func (Advertisement) GetIssuer ¶ added in v0.4.0
func (m Advertisement) GetIssuer() (f field.IssuerField, err quickfix.MessageRejectError)
GetIssuer gets Issuer, Tag 106
func (Advertisement) GetPrice ¶ added in v0.4.0
func (m Advertisement) GetPrice() (f field.PriceField, err quickfix.MessageRejectError)
GetPrice gets Price, Tag 44
func (Advertisement) GetSecurityDesc ¶ added in v0.4.0
func (m Advertisement) GetSecurityDesc() (f field.SecurityDescField, err quickfix.MessageRejectError)
GetSecurityDesc gets SecurityDesc, Tag 107
func (Advertisement) GetSecurityID ¶ added in v0.4.0
func (m Advertisement) GetSecurityID() (f field.SecurityIDField, err quickfix.MessageRejectError)
GetSecurityID gets SecurityID, Tag 48
func (Advertisement) GetShares ¶ added in v0.4.0
func (m Advertisement) GetShares() (f field.SharesField, err quickfix.MessageRejectError)
GetShares gets Shares, Tag 53
func (Advertisement) GetSymbol ¶ added in v0.4.0
func (m Advertisement) GetSymbol() (f field.SymbolField, err quickfix.MessageRejectError)
GetSymbol gets Symbol, Tag 55
func (Advertisement) GetSymbolSfx ¶ added in v0.4.0
func (m Advertisement) GetSymbolSfx() (f field.SymbolSfxField, err quickfix.MessageRejectError)
GetSymbolSfx gets SymbolSfx, Tag 65
func (Advertisement) GetText ¶ added in v0.4.0
func (m Advertisement) GetText() (f field.TextField, err quickfix.MessageRejectError)
GetText gets Text, Tag 58
func (Advertisement) GetTransactTime ¶ added in v0.4.0
func (m Advertisement) GetTransactTime() (f field.TransactTimeField, err quickfix.MessageRejectError)
GetTransactTime gets TransactTime, Tag 60
func (Advertisement) HasAdvId ¶ added in v0.4.0
func (m Advertisement) HasAdvId() bool
HasAdvId returns true if AdvId is present, Tag 2
func (Advertisement) HasAdvRefID ¶ added in v0.4.0
func (m Advertisement) HasAdvRefID() bool
HasAdvRefID returns true if AdvRefID is present, Tag 3
func (Advertisement) HasAdvSide ¶ added in v0.4.0
func (m Advertisement) HasAdvSide() bool
HasAdvSide returns true if AdvSide is present, Tag 4
func (Advertisement) HasAdvTransType ¶ added in v0.4.0
func (m Advertisement) HasAdvTransType() bool
HasAdvTransType returns true if AdvTransType is present, Tag 5
func (Advertisement) HasCurrency ¶ added in v0.4.0
func (m Advertisement) HasCurrency() bool
HasCurrency returns true if Currency is present, Tag 15
func (Advertisement) HasIDSource ¶ added in v0.4.0
func (m Advertisement) HasIDSource() bool
HasIDSource returns true if IDSource is present, Tag 22
func (Advertisement) HasIssuer ¶ added in v0.4.0
func (m Advertisement) HasIssuer() bool
HasIssuer returns true if Issuer is present, Tag 106
func (Advertisement) HasPrice ¶ added in v0.4.0
func (m Advertisement) HasPrice() bool
HasPrice returns true if Price is present, Tag 44
func (Advertisement) HasSecurityDesc ¶ added in v0.4.0
func (m Advertisement) HasSecurityDesc() bool
HasSecurityDesc returns true if SecurityDesc is present, Tag 107
func (Advertisement) HasSecurityID ¶ added in v0.4.0
func (m Advertisement) HasSecurityID() bool
HasSecurityID returns true if SecurityID is present, Tag 48
func (Advertisement) HasShares ¶ added in v0.4.0
func (m Advertisement) HasShares() bool
HasShares returns true if Shares is present, Tag 53
func (Advertisement) HasSymbol ¶ added in v0.4.0
func (m Advertisement) HasSymbol() bool
HasSymbol returns true if Symbol is present, Tag 55
func (Advertisement) HasSymbolSfx ¶ added in v0.4.0
func (m Advertisement) HasSymbolSfx() bool
HasSymbolSfx returns true if SymbolSfx is present, Tag 65
func (Advertisement) HasText ¶ added in v0.4.0
func (m Advertisement) HasText() bool
HasText returns true if Text is present, Tag 58
func (Advertisement) HasTransactTime ¶ added in v0.4.0
func (m Advertisement) HasTransactTime() bool
HasTransactTime returns true if TransactTime is present, Tag 60
func (Advertisement) SetAdvId ¶ added in v0.4.0
func (m Advertisement) SetAdvId(v string)
SetAdvId sets AdvId, Tag 2
func (Advertisement) SetAdvRefID ¶ added in v0.4.0
func (m Advertisement) SetAdvRefID(v string)
SetAdvRefID sets AdvRefID, Tag 3
func (Advertisement) SetAdvSide ¶ added in v0.4.0
func (m Advertisement) SetAdvSide(v string)
SetAdvSide sets AdvSide, Tag 4
func (Advertisement) SetAdvTransType ¶ added in v0.4.0
func (m Advertisement) SetAdvTransType(v string)
SetAdvTransType sets AdvTransType, Tag 5
func (Advertisement) SetCurrency ¶ added in v0.4.0
func (m Advertisement) SetCurrency(v string)
SetCurrency sets Currency, Tag 15
func (Advertisement) SetIDSource ¶ added in v0.4.0
func (m Advertisement) SetIDSource(v string)
SetIDSource sets IDSource, Tag 22
func (Advertisement) SetIssuer ¶ added in v0.4.0
func (m Advertisement) SetIssuer(v string)
SetIssuer sets Issuer, Tag 106
func (Advertisement) SetPrice ¶ added in v0.4.0
func (m Advertisement) SetPrice(value decimal.Decimal, scale int32)
SetPrice sets Price, Tag 44
func (Advertisement) SetSecurityDesc ¶ added in v0.4.0
func (m Advertisement) SetSecurityDesc(v string)
SetSecurityDesc sets SecurityDesc, Tag 107
func (Advertisement) SetSecurityID ¶ added in v0.4.0
func (m Advertisement) SetSecurityID(v string)
SetSecurityID sets SecurityID, Tag 48
func (Advertisement) SetShares ¶ added in v0.4.0
func (m Advertisement) SetShares(value decimal.Decimal, scale int32)
SetShares sets Shares, Tag 53
func (Advertisement) SetSymbol ¶ added in v0.4.0
func (m Advertisement) SetSymbol(v string)
SetSymbol sets Symbol, Tag 55
func (Advertisement) SetSymbolSfx ¶ added in v0.4.0
func (m Advertisement) SetSymbolSfx(v string)
SetSymbolSfx sets SymbolSfx, Tag 65
func (Advertisement) SetText ¶ added in v0.4.0
func (m Advertisement) SetText(v string)
SetText sets Text, Tag 58
func (Advertisement) SetTransactTime ¶ added in v0.4.0
func (m Advertisement) SetTransactTime(v time.Time)
SetTransactTime sets TransactTime, Tag 60
func (Advertisement) ToMessage ¶ added in v0.4.0
func (m Advertisement) ToMessage() quickfix.Message
ToMessage returns a quickfix.Message instance
type RouteOut ¶
type RouteOut func(msg Advertisement, sessionID quickfix.SessionID) quickfix.MessageRejectError
A RouteOut is the callback type that should be implemented for routing Message