Documentation ¶
Index ¶
- func Route(router RouteOut) (string, string, quickfix.MessageRoute)
- type DontKnowTrade
- func (m DontKnowTrade) GetDKReason() (v enum.DKReason, err quickfix.MessageRejectError)
- func (m DontKnowTrade) GetExecID() (v string, err quickfix.MessageRejectError)
- func (m DontKnowTrade) GetLastPx() (v decimal.Decimal, err quickfix.MessageRejectError)
- func (m DontKnowTrade) GetLastShares() (v decimal.Decimal, err quickfix.MessageRejectError)
- func (m DontKnowTrade) GetOrderID() (v string, err quickfix.MessageRejectError)
- func (m DontKnowTrade) GetOrderQty() (v decimal.Decimal, err quickfix.MessageRejectError)
- func (m DontKnowTrade) GetSide() (v enum.Side, err quickfix.MessageRejectError)
- func (m DontKnowTrade) GetSymbol() (v string, err quickfix.MessageRejectError)
- func (m DontKnowTrade) GetText() (v string, err quickfix.MessageRejectError)
- func (m DontKnowTrade) HasDKReason() bool
- func (m DontKnowTrade) HasExecID() bool
- func (m DontKnowTrade) HasLastPx() bool
- func (m DontKnowTrade) HasLastShares() bool
- func (m DontKnowTrade) HasOrderID() bool
- func (m DontKnowTrade) HasOrderQty() bool
- func (m DontKnowTrade) HasSide() bool
- func (m DontKnowTrade) HasSymbol() bool
- func (m DontKnowTrade) HasText() bool
- func (m DontKnowTrade) SetDKReason(v enum.DKReason)
- func (m DontKnowTrade) SetExecID(v string)
- func (m DontKnowTrade) SetLastPx(value decimal.Decimal, scale int32)
- func (m DontKnowTrade) SetLastShares(value decimal.Decimal, scale int32)
- func (m DontKnowTrade) SetOrderID(v string)
- func (m DontKnowTrade) SetOrderQty(value decimal.Decimal, scale int32)
- func (m DontKnowTrade) SetSide(v enum.Side)
- func (m DontKnowTrade) SetSymbol(v string)
- func (m DontKnowTrade) SetText(v string)
- func (m DontKnowTrade) ToMessage() *quickfix.Message
- type RouteOut
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DontKnowTrade ¶ added in v0.4.0
DontKnowTrade is the fix40 DontKnowTrade type, MsgType = Q
func FromMessage ¶ added in v0.4.0
func FromMessage(m *quickfix.Message) DontKnowTrade
FromMessage creates a DontKnowTrade from a quickfix.Message instance
func New ¶ added in v0.2.0
func New(dkreason field.DKReasonField, symbol field.SymbolField, side field.SideField, orderqty field.OrderQtyField, lastshares field.LastSharesField, lastpx field.LastPxField) (m DontKnowTrade)
New returns a DontKnowTrade initialized with the required fields for DontKnowTrade
func (DontKnowTrade) GetDKReason ¶ added in v0.4.0
func (m DontKnowTrade) GetDKReason() (v enum.DKReason, err quickfix.MessageRejectError)
GetDKReason gets DKReason, Tag 127
func (DontKnowTrade) GetExecID ¶ added in v0.4.0
func (m DontKnowTrade) GetExecID() (v string, err quickfix.MessageRejectError)
GetExecID gets ExecID, Tag 17
func (DontKnowTrade) GetLastPx ¶ added in v0.4.0
func (m DontKnowTrade) GetLastPx() (v decimal.Decimal, err quickfix.MessageRejectError)
GetLastPx gets LastPx, Tag 31
func (DontKnowTrade) GetLastShares ¶ added in v0.4.0
func (m DontKnowTrade) GetLastShares() (v decimal.Decimal, err quickfix.MessageRejectError)
GetLastShares gets LastShares, Tag 32
func (DontKnowTrade) GetOrderID ¶ added in v0.4.0
func (m DontKnowTrade) GetOrderID() (v string, err quickfix.MessageRejectError)
GetOrderID gets OrderID, Tag 37
func (DontKnowTrade) GetOrderQty ¶ added in v0.4.0
func (m DontKnowTrade) GetOrderQty() (v decimal.Decimal, err quickfix.MessageRejectError)
GetOrderQty gets OrderQty, Tag 38
func (DontKnowTrade) GetSide ¶ added in v0.4.0
func (m DontKnowTrade) GetSide() (v enum.Side, err quickfix.MessageRejectError)
GetSide gets Side, Tag 54
func (DontKnowTrade) GetSymbol ¶ added in v0.4.0
func (m DontKnowTrade) GetSymbol() (v string, err quickfix.MessageRejectError)
GetSymbol gets Symbol, Tag 55
func (DontKnowTrade) GetText ¶ added in v0.4.0
func (m DontKnowTrade) GetText() (v string, err quickfix.MessageRejectError)
GetText gets Text, Tag 58
func (DontKnowTrade) HasDKReason ¶ added in v0.4.0
func (m DontKnowTrade) HasDKReason() bool
HasDKReason returns true if DKReason is present, Tag 127
func (DontKnowTrade) HasExecID ¶ added in v0.4.0
func (m DontKnowTrade) HasExecID() bool
HasExecID returns true if ExecID is present, Tag 17
func (DontKnowTrade) HasLastPx ¶ added in v0.4.0
func (m DontKnowTrade) HasLastPx() bool
HasLastPx returns true if LastPx is present, Tag 31
func (DontKnowTrade) HasLastShares ¶ added in v0.4.0
func (m DontKnowTrade) HasLastShares() bool
HasLastShares returns true if LastShares is present, Tag 32
func (DontKnowTrade) HasOrderID ¶ added in v0.4.0
func (m DontKnowTrade) HasOrderID() bool
HasOrderID returns true if OrderID is present, Tag 37
func (DontKnowTrade) HasOrderQty ¶ added in v0.4.0
func (m DontKnowTrade) HasOrderQty() bool
HasOrderQty returns true if OrderQty is present, Tag 38
func (DontKnowTrade) HasSide ¶ added in v0.4.0
func (m DontKnowTrade) HasSide() bool
HasSide returns true if Side is present, Tag 54
func (DontKnowTrade) HasSymbol ¶ added in v0.4.0
func (m DontKnowTrade) HasSymbol() bool
HasSymbol returns true if Symbol is present, Tag 55
func (DontKnowTrade) HasText ¶ added in v0.4.0
func (m DontKnowTrade) HasText() bool
HasText returns true if Text is present, Tag 58
func (DontKnowTrade) SetDKReason ¶ added in v0.4.0
func (m DontKnowTrade) SetDKReason(v enum.DKReason)
SetDKReason sets DKReason, Tag 127
func (DontKnowTrade) SetExecID ¶ added in v0.4.0
func (m DontKnowTrade) SetExecID(v string)
SetExecID sets ExecID, Tag 17
func (DontKnowTrade) SetLastPx ¶ added in v0.4.0
func (m DontKnowTrade) SetLastPx(value decimal.Decimal, scale int32)
SetLastPx sets LastPx, Tag 31
func (DontKnowTrade) SetLastShares ¶ added in v0.4.0
func (m DontKnowTrade) SetLastShares(value decimal.Decimal, scale int32)
SetLastShares sets LastShares, Tag 32
func (DontKnowTrade) SetOrderID ¶ added in v0.4.0
func (m DontKnowTrade) SetOrderID(v string)
SetOrderID sets OrderID, Tag 37
func (DontKnowTrade) SetOrderQty ¶ added in v0.4.0
func (m DontKnowTrade) SetOrderQty(value decimal.Decimal, scale int32)
SetOrderQty sets OrderQty, Tag 38
func (DontKnowTrade) SetSide ¶ added in v0.4.0
func (m DontKnowTrade) SetSide(v enum.Side)
SetSide sets Side, Tag 54
func (DontKnowTrade) SetSymbol ¶ added in v0.4.0
func (m DontKnowTrade) SetSymbol(v string)
SetSymbol sets Symbol, Tag 55
func (DontKnowTrade) SetText ¶ added in v0.4.0
func (m DontKnowTrade) SetText(v string)
SetText sets Text, Tag 58
func (DontKnowTrade) ToMessage ¶ added in v0.4.0
func (m DontKnowTrade) ToMessage() *quickfix.Message
ToMessage returns a quickfix.Message instance
type RouteOut ¶
type RouteOut func(msg DontKnowTrade, sessionID quickfix.SessionID) quickfix.MessageRejectError
A RouteOut is the callback type that should be implemented for routing Message