Documentation ¶
Overview ¶
Package advertisement msg type = 7.
Index ¶
- func Route(router RouteOut) (string, string, quickfix.MessageRoute)
- type Message
- func (m Message) Marshal() quickfix.Message
- func (m *Message) SetAdvId(v string)
- func (m *Message) SetAdvRefID(v string)
- func (m *Message) SetAdvSide(v string)
- func (m *Message) SetAdvTransType(v string)
- func (m *Message) SetCurrency(v string)
- func (m *Message) SetEncodedText(v string)
- func (m *Message) SetEncodedTextLen(v int)
- func (m *Message) SetInstrument(v instrument.Instrument)
- func (m *Message) SetLastMkt(v string)
- func (m *Message) SetNoLegs(v []NoLegs)
- func (m *Message) SetNoUnderlyings(v []NoUnderlyings)
- func (m *Message) SetPrice(v float64)
- func (m *Message) SetQtyType(v int)
- func (m *Message) SetQuantity(v float64)
- func (m *Message) SetText(v string)
- func (m *Message) SetTradeDate(v string)
- func (m *Message) SetTradingSessionID(v string)
- func (m *Message) SetTradingSessionSubID(v string)
- func (m *Message) SetTransactTime(v time.Time)
- func (m *Message) SetURLLink(v string)
- type NoLegs
- type NoUnderlyings
- type RouteOut
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Message ¶
type Message struct { FIXMsgType string `fix:"7"` fix44.Header //AdvId is a required field for Advertisement. AdvId string `fix:"2"` //AdvTransType is a required field for Advertisement. AdvTransType string `fix:"5"` //AdvRefID is a non-required field for Advertisement. AdvRefID *string `fix:"3"` //Instrument is a required component for Advertisement. instrument.Instrument //NoLegs is a non-required field for Advertisement. NoLegs []NoLegs `fix:"555,omitempty"` //NoUnderlyings is a non-required field for Advertisement. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` //AdvSide is a required field for Advertisement. AdvSide string `fix:"4"` //Quantity is a required field for Advertisement. Quantity float64 `fix:"53"` //QtyType is a non-required field for Advertisement. QtyType *int `fix:"854"` //Price is a non-required field for Advertisement. Price *float64 `fix:"44"` //Currency is a non-required field for Advertisement. Currency *string `fix:"15"` //TradeDate is a non-required field for Advertisement. TradeDate *string `fix:"75"` //TransactTime is a non-required field for Advertisement. TransactTime *time.Time `fix:"60"` //Text is a non-required field for Advertisement. Text *string `fix:"58"` //EncodedTextLen is a non-required field for Advertisement. EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for Advertisement. EncodedText *string `fix:"355"` //URLLink is a non-required field for Advertisement. URLLink *string `fix:"149"` //LastMkt is a non-required field for Advertisement. LastMkt *string `fix:"30"` //TradingSessionID is a non-required field for Advertisement. TradingSessionID *string `fix:"336"` //TradingSessionSubID is a non-required field for Advertisement. TradingSessionSubID *string `fix:"625"` fix44.Trailer }
Message is a Advertisement FIX Message
func New ¶ added in v0.2.0
func New(advid string, advtranstype string, instrument instrument.Instrument, advside string, quantity float64) *Message
New returns an initialized Advertisement instance
func (*Message) SetAdvRefID ¶ added in v0.2.0
func (*Message) SetAdvSide ¶ added in v0.2.0
func (*Message) SetAdvTransType ¶ added in v0.2.0
func (*Message) SetCurrency ¶ added in v0.2.0
func (*Message) SetEncodedText ¶ added in v0.2.0
func (*Message) SetEncodedTextLen ¶ added in v0.2.0
func (*Message) SetInstrument ¶ added in v0.2.0
func (m *Message) SetInstrument(v instrument.Instrument)
func (*Message) SetLastMkt ¶ added in v0.2.0
func (*Message) SetNoUnderlyings ¶ added in v0.2.0
func (m *Message) SetNoUnderlyings(v []NoUnderlyings)
func (*Message) SetQtyType ¶ added in v0.2.0
func (*Message) SetQuantity ¶ added in v0.2.0
func (*Message) SetTradeDate ¶ added in v0.2.0
func (*Message) SetTradingSessionID ¶ added in v0.2.0
func (*Message) SetTradingSessionSubID ¶ added in v0.2.0
func (*Message) SetTransactTime ¶ added in v0.2.0
func (*Message) SetURLLink ¶ added in v0.2.0
type NoLegs ¶
type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. InstrumentLeg *instrumentleg.InstrumentLeg }
NoLegs is a repeating group in Advertisement
func NewNoLegs ¶ added in v0.2.0
func NewNoLegs() *NoLegs
NewNoLegs returns an initialized NoLegs instance
func (*NoLegs) SetInstrumentLeg ¶ added in v0.2.0
func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg)
type NoUnderlyings ¶
type NoUnderlyings struct { //UnderlyingInstrument is a non-required component for NoUnderlyings. UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument }
NoUnderlyings is a repeating group in Advertisement
func NewNoUnderlyings ¶ added in v0.2.0
func NewNoUnderlyings() *NoUnderlyings
NewNoUnderlyings returns an initialized NoUnderlyings instance
func (*NoUnderlyings) SetUnderlyingInstrument ¶ added in v0.2.0
func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument)
Click to show internal directories.
Click to hide internal directories.