Documentation ¶
Overview ¶
Package dontknowtrade msg type = Q.
Index ¶
- func Route(router RouteOut) (string, string, quickfix.MessageRoute)
- type Message
- func (m Message) Marshal() quickfix.Message
- func (m *Message) SetDKReason(v string)
- func (m *Message) SetEncodedText(v string)
- func (m *Message) SetEncodedTextLen(v int)
- func (m *Message) SetExecID(v string)
- func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp)
- func (m *Message) SetInstrument(v instrument.Instrument)
- func (m *Message) SetLastPx(v float64)
- func (m *Message) SetLastQty(v float64)
- func (m *Message) SetOrderID(v string)
- func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData)
- func (m *Message) SetSecondaryOrderID(v string)
- func (m *Message) SetSide(v string)
- func (m *Message) SetText(v string)
- func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp)
- type RouteOut
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Message ¶
type Message struct { FIXMsgType string `fix:"Q"` fixt11.Header //OrderID is a required field for DontKnowTrade. OrderID string `fix:"37"` //SecondaryOrderID is a non-required field for DontKnowTrade. SecondaryOrderID *string `fix:"198"` //ExecID is a required field for DontKnowTrade. ExecID string `fix:"17"` //DKReason is a required field for DontKnowTrade. DKReason string `fix:"127"` //Instrument is a required component for DontKnowTrade. instrument.Instrument //UndInstrmtGrp is a non-required component for DontKnowTrade. UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp //InstrmtLegGrp is a non-required component for DontKnowTrade. InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp //Side is a required field for DontKnowTrade. Side string `fix:"54"` //OrderQtyData is a required component for DontKnowTrade. orderqtydata.OrderQtyData //LastQty is a non-required field for DontKnowTrade. LastQty *float64 `fix:"32"` //LastPx is a non-required field for DontKnowTrade. LastPx *float64 `fix:"31"` //Text is a non-required field for DontKnowTrade. Text *string `fix:"58"` //EncodedTextLen is a non-required field for DontKnowTrade. EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for DontKnowTrade. EncodedText *string `fix:"355"` fixt11.Trailer }
Message is a DontKnowTrade FIX Message
func New ¶ added in v0.2.0
func New(orderid string, execid string, dkreason string, instrument instrument.Instrument, side string, orderqtydata orderqtydata.OrderQtyData) *Message
New returns an initialized DontKnowTrade instance
func (*Message) SetDKReason ¶ added in v0.2.0
func (*Message) SetEncodedText ¶ added in v0.2.0
func (*Message) SetEncodedTextLen ¶ added in v0.2.0
func (*Message) SetInstrmtLegGrp ¶ added in v0.2.0
func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp)
func (*Message) SetInstrument ¶ added in v0.2.0
func (m *Message) SetInstrument(v instrument.Instrument)
func (*Message) SetLastQty ¶ added in v0.2.0
func (*Message) SetOrderID ¶ added in v0.2.0
func (*Message) SetOrderQtyData ¶ added in v0.2.0
func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData)
func (*Message) SetSecondaryOrderID ¶ added in v0.2.0
func (*Message) SetUndInstrmtGrp ¶ added in v0.2.0
func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp)
Click to show internal directories.
Click to hide internal directories.