Documentation ¶
Overview ¶
Package ioi msg type = 6.
Index ¶
- func Route(router RouteOut) (string, string, quickfix.MessageRoute)
- type Message
- func (m Message) Marshal() quickfix.Message
- func (m *Message) SetCurrency(v string)
- func (m *Message) SetEncodedText(v string)
- func (m *Message) SetEncodedTextLen(v int)
- func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails)
- func (m *Message) SetIOIID(v string)
- func (m *Message) SetIOINaturalFlag(v bool)
- func (m *Message) SetIOIQltyInd(v string)
- func (m *Message) SetIOIQty(v string)
- func (m *Message) SetIOIRefID(v string)
- func (m *Message) SetIOITransType(v string)
- func (m *Message) SetInstrument(v instrument.Instrument)
- func (m *Message) SetNoIOIQualifiers(v []NoIOIQualifiers)
- func (m *Message) SetNoLegs(v []NoLegs)
- func (m *Message) SetNoRoutingIDs(v []NoRoutingIDs)
- func (m *Message) SetNoUnderlyings(v []NoUnderlyings)
- func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData)
- func (m *Message) SetPrice(v float64)
- func (m *Message) SetPriceType(v int)
- func (m *Message) SetQtyType(v int)
- func (m *Message) SetSide(v string)
- func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData)
- func (m *Message) SetStipulations(v stipulations.Stipulations)
- func (m *Message) SetText(v string)
- func (m *Message) SetTransactTime(v time.Time)
- func (m *Message) SetURLLink(v string)
- func (m *Message) SetValidUntilTime(v time.Time)
- func (m *Message) SetYieldData(v yielddata.YieldData)
- type NoIOIQualifiers
- type NoLegs
- type NoRoutingIDs
- type NoUnderlyings
- type RouteOut
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Message ¶
type Message struct { FIXMsgType string `fix:"6"` fix44.Header //IOIID is a required field for IOI. IOIID string `fix:"23"` //IOITransType is a required field for IOI. IOITransType string `fix:"28"` //IOIRefID is a non-required field for IOI. IOIRefID *string `fix:"26"` //Instrument is a required component for IOI. instrument.Instrument //FinancingDetails is a non-required component for IOI. FinancingDetails *financingdetails.FinancingDetails //NoUnderlyings is a non-required field for IOI. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` //Side is a required field for IOI. Side string `fix:"54"` //QtyType is a non-required field for IOI. QtyType *int `fix:"854"` //OrderQtyData is a non-required component for IOI. OrderQtyData *orderqtydata.OrderQtyData //IOIQty is a required field for IOI. IOIQty string `fix:"27"` //Currency is a non-required field for IOI. Currency *string `fix:"15"` //Stipulations is a non-required component for IOI. Stipulations *stipulations.Stipulations //NoLegs is a non-required field for IOI. NoLegs []NoLegs `fix:"555,omitempty"` //PriceType is a non-required field for IOI. PriceType *int `fix:"423"` //Price is a non-required field for IOI. Price *float64 `fix:"44"` //ValidUntilTime is a non-required field for IOI. ValidUntilTime *time.Time `fix:"62"` //IOIQltyInd is a non-required field for IOI. IOIQltyInd *string `fix:"25"` //IOINaturalFlag is a non-required field for IOI. IOINaturalFlag *bool `fix:"130"` //NoIOIQualifiers is a non-required field for IOI. NoIOIQualifiers []NoIOIQualifiers `fix:"199,omitempty"` //Text is a non-required field for IOI. Text *string `fix:"58"` //EncodedTextLen is a non-required field for IOI. EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for IOI. EncodedText *string `fix:"355"` //TransactTime is a non-required field for IOI. TransactTime *time.Time `fix:"60"` //URLLink is a non-required field for IOI. URLLink *string `fix:"149"` //NoRoutingIDs is a non-required field for IOI. NoRoutingIDs []NoRoutingIDs `fix:"215,omitempty"` //SpreadOrBenchmarkCurveData is a non-required component for IOI. SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //YieldData is a non-required component for IOI. YieldData *yielddata.YieldData fix44.Trailer }
Message is a IOI FIX Message
func New ¶
func New(ioiid string, ioitranstype string, instrument instrument.Instrument, side string, ioiqty string) *Message
New returns an initialized IOI instance
func (*Message) SetCurrency ¶
func (*Message) SetEncodedText ¶
func (*Message) SetEncodedTextLen ¶
func (*Message) SetFinancingDetails ¶
func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails)
func (*Message) SetIOINaturalFlag ¶
func (*Message) SetIOIQltyInd ¶
func (*Message) SetIOIRefID ¶
func (*Message) SetIOITransType ¶
func (*Message) SetInstrument ¶
func (m *Message) SetInstrument(v instrument.Instrument)
func (*Message) SetNoIOIQualifiers ¶
func (m *Message) SetNoIOIQualifiers(v []NoIOIQualifiers)
func (*Message) SetNoRoutingIDs ¶
func (m *Message) SetNoRoutingIDs(v []NoRoutingIDs)
func (*Message) SetNoUnderlyings ¶
func (m *Message) SetNoUnderlyings(v []NoUnderlyings)
func (*Message) SetOrderQtyData ¶
func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData)
func (*Message) SetPriceType ¶
func (*Message) SetQtyType ¶
func (*Message) SetSpreadOrBenchmarkCurveData ¶
func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData)
func (*Message) SetStipulations ¶
func (m *Message) SetStipulations(v stipulations.Stipulations)
func (*Message) SetTransactTime ¶
func (*Message) SetURLLink ¶
func (*Message) SetValidUntilTime ¶
func (*Message) SetYieldData ¶
type NoIOIQualifiers ¶
type NoIOIQualifiers struct { //IOIQualifier is a non-required field for NoIOIQualifiers. IOIQualifier *string `fix:"104"` }
NoIOIQualifiers is a repeating group in IOI
func NewNoIOIQualifiers ¶
func NewNoIOIQualifiers() *NoIOIQualifiers
NewNoIOIQualifiers returns an initialized NoIOIQualifiers instance
func (*NoIOIQualifiers) SetIOIQualifier ¶
func (m *NoIOIQualifiers) SetIOIQualifier(v string)
type NoLegs ¶
type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. InstrumentLeg *instrumentleg.InstrumentLeg //LegIOIQty is a non-required field for NoLegs. LegIOIQty *string `fix:"682"` //LegStipulations is a non-required component for NoLegs. LegStipulations *legstipulations.LegStipulations }
NoLegs is a repeating group in IOI
func (*NoLegs) SetInstrumentLeg ¶
func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg)
func (*NoLegs) SetLegIOIQty ¶
func (*NoLegs) SetLegStipulations ¶
func (m *NoLegs) SetLegStipulations(v legstipulations.LegStipulations)
type NoRoutingIDs ¶
type NoRoutingIDs struct { //RoutingType is a non-required field for NoRoutingIDs. RoutingType *int `fix:"216"` //RoutingID is a non-required field for NoRoutingIDs. RoutingID *string `fix:"217"` }
NoRoutingIDs is a repeating group in IOI
func NewNoRoutingIDs ¶
func NewNoRoutingIDs() *NoRoutingIDs
NewNoRoutingIDs returns an initialized NoRoutingIDs instance
func (*NoRoutingIDs) SetRoutingID ¶
func (m *NoRoutingIDs) SetRoutingID(v string)
func (*NoRoutingIDs) SetRoutingType ¶
func (m *NoRoutingIDs) SetRoutingType(v int)
type NoUnderlyings ¶
type NoUnderlyings struct { //UnderlyingInstrument is a non-required component for NoUnderlyings. UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument }
NoUnderlyings is a repeating group in IOI
func NewNoUnderlyings ¶
func NewNoUnderlyings() *NoUnderlyings
NewNoUnderlyings returns an initialized NoUnderlyings instance
func (*NoUnderlyings) SetUnderlyingInstrument ¶
func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument)
Click to show internal directories.
Click to hide internal directories.