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 ¶
DontKnowTrade is the fix40 DontKnowTrade type, MsgType = Q
func FromMessage ¶
func FromMessage(m *quickfix.Message) DontKnowTrade
FromMessage creates a DontKnowTrade from a quickfix.Message instance
func New ¶
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 ¶
func (m DontKnowTrade) GetDKReason() (v enum.DKReason, err quickfix.MessageRejectError)
GetDKReason gets DKReason, Tag 127
func (DontKnowTrade) GetExecID ¶
func (m DontKnowTrade) GetExecID() (v string, err quickfix.MessageRejectError)
GetExecID gets ExecID, Tag 17
func (DontKnowTrade) GetLastPx ¶
func (m DontKnowTrade) GetLastPx() (v decimal.Decimal, err quickfix.MessageRejectError)
GetLastPx gets LastPx, Tag 31
func (DontKnowTrade) GetLastShares ¶
func (m DontKnowTrade) GetLastShares() (v decimal.Decimal, err quickfix.MessageRejectError)
GetLastShares gets LastShares, Tag 32
func (DontKnowTrade) GetOrderID ¶
func (m DontKnowTrade) GetOrderID() (v string, err quickfix.MessageRejectError)
GetOrderID gets OrderID, Tag 37
func (DontKnowTrade) GetOrderQty ¶
func (m DontKnowTrade) GetOrderQty() (v decimal.Decimal, err quickfix.MessageRejectError)
GetOrderQty gets OrderQty, Tag 38
func (DontKnowTrade) GetSide ¶
func (m DontKnowTrade) GetSide() (v enum.Side, err quickfix.MessageRejectError)
GetSide gets Side, Tag 54
func (DontKnowTrade) GetSymbol ¶
func (m DontKnowTrade) GetSymbol() (v string, err quickfix.MessageRejectError)
GetSymbol gets Symbol, Tag 55
func (DontKnowTrade) GetText ¶
func (m DontKnowTrade) GetText() (v string, err quickfix.MessageRejectError)
GetText gets Text, Tag 58
func (DontKnowTrade) HasDKReason ¶
func (m DontKnowTrade) HasDKReason() bool
HasDKReason returns true if DKReason is present, Tag 127
func (DontKnowTrade) HasExecID ¶
func (m DontKnowTrade) HasExecID() bool
HasExecID returns true if ExecID is present, Tag 17
func (DontKnowTrade) HasLastPx ¶
func (m DontKnowTrade) HasLastPx() bool
HasLastPx returns true if LastPx is present, Tag 31
func (DontKnowTrade) HasLastShares ¶
func (m DontKnowTrade) HasLastShares() bool
HasLastShares returns true if LastShares is present, Tag 32
func (DontKnowTrade) HasOrderID ¶
func (m DontKnowTrade) HasOrderID() bool
HasOrderID returns true if OrderID is present, Tag 37
func (DontKnowTrade) HasOrderQty ¶
func (m DontKnowTrade) HasOrderQty() bool
HasOrderQty returns true if OrderQty is present, Tag 38
func (DontKnowTrade) HasSide ¶
func (m DontKnowTrade) HasSide() bool
HasSide returns true if Side is present, Tag 54
func (DontKnowTrade) HasSymbol ¶
func (m DontKnowTrade) HasSymbol() bool
HasSymbol returns true if Symbol is present, Tag 55
func (DontKnowTrade) HasText ¶
func (m DontKnowTrade) HasText() bool
HasText returns true if Text is present, Tag 58
func (DontKnowTrade) SetDKReason ¶
func (m DontKnowTrade) SetDKReason(v enum.DKReason)
SetDKReason sets DKReason, Tag 127
func (DontKnowTrade) SetExecID ¶
func (m DontKnowTrade) SetExecID(v string)
SetExecID sets ExecID, Tag 17
func (DontKnowTrade) SetLastPx ¶
func (m DontKnowTrade) SetLastPx(value decimal.Decimal, scale int32)
SetLastPx sets LastPx, Tag 31
func (DontKnowTrade) SetLastShares ¶
func (m DontKnowTrade) SetLastShares(value decimal.Decimal, scale int32)
SetLastShares sets LastShares, Tag 32
func (DontKnowTrade) SetOrderID ¶
func (m DontKnowTrade) SetOrderID(v string)
SetOrderID sets OrderID, Tag 37
func (DontKnowTrade) SetOrderQty ¶
func (m DontKnowTrade) SetOrderQty(value decimal.Decimal, scale int32)
SetOrderQty sets OrderQty, Tag 38
func (DontKnowTrade) SetSide ¶
func (m DontKnowTrade) SetSide(v enum.Side)
SetSide sets Side, Tag 54
func (DontKnowTrade) SetSymbol ¶
func (m DontKnowTrade) SetSymbol(v string)
SetSymbol sets Symbol, Tag 55
func (DontKnowTrade) ToMessage ¶
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