Documentation ¶
Index ¶
- func Route(router RouteOut) (string, string, quickfix.MessageRoute)
- type NewOrderBatch
- func (m NewOrderBatch) GetBatchID() (v string, err quickfix.MessageRejectError)
- func (m NewOrderBatch) GetNoOrders() (NoOrdersRepeatingGroup, quickfix.MessageRejectError)
- func (m NewOrderBatch) HasBatchID() bool
- func (m NewOrderBatch) HasNoOrders() bool
- func (m NewOrderBatch) SetBatchID(v string)
- func (m NewOrderBatch) SetNoOrders(f NoOrdersRepeatingGroup)
- func (m NewOrderBatch) ToMessage() *quickfix.Message
- type NoOrders
- func (m NoOrders) GetClOrdID() (v string, err quickfix.MessageRejectError)
- func (m NoOrders) GetExpireTime() (v time.Time, err quickfix.MessageRejectError)
- func (m NoOrders) GetHandlInst() (v enum.HandlInst, err quickfix.MessageRejectError)
- func (m NoOrders) GetOrdType() (v enum.OrdType, err quickfix.MessageRejectError)
- func (m NoOrders) GetOrderQty() (v decimal.Decimal, err quickfix.MessageRejectError)
- func (m NoOrders) GetPrice() (v decimal.Decimal, err quickfix.MessageRejectError)
- func (m NoOrders) GetSelfTradePrevention() (v enum.SelfTradePrevention, err quickfix.MessageRejectError)
- func (m NoOrders) GetSide() (v enum.Side, err quickfix.MessageRejectError)
- func (m NoOrders) GetSymbol() (v string, err quickfix.MessageRejectError)
- func (m NoOrders) GetTimeInForce() (v enum.TimeInForce, err quickfix.MessageRejectError)
- func (m NoOrders) GetTransactTime() (v time.Time, err quickfix.MessageRejectError)
- func (m NoOrders) HasClOrdID() bool
- func (m NoOrders) HasExpireTime() bool
- func (m NoOrders) HasHandlInst() bool
- func (m NoOrders) HasOrdType() bool
- func (m NoOrders) HasOrderQty() bool
- func (m NoOrders) HasPrice() bool
- func (m NoOrders) HasSelfTradePrevention() bool
- func (m NoOrders) HasSide() bool
- func (m NoOrders) HasSymbol() bool
- func (m NoOrders) HasTimeInForce() bool
- func (m NoOrders) HasTransactTime() bool
- func (m NoOrders) SetClOrdID(v string)
- func (m NoOrders) SetExpireTime(v time.Time)
- func (m NoOrders) SetHandlInst(v enum.HandlInst)
- func (m NoOrders) SetOrdType(v enum.OrdType)
- func (m NoOrders) SetOrderQty(value decimal.Decimal, scale int32)
- func (m NoOrders) SetPrice(value decimal.Decimal, scale int32)
- func (m NoOrders) SetSelfTradePrevention(v enum.SelfTradePrevention)
- func (m NoOrders) SetSide(v enum.Side)
- func (m NoOrders) SetSymbol(v string)
- func (m NoOrders) SetTimeInForce(v enum.TimeInForce)
- func (m NoOrders) SetTransactTime(v time.Time)
- type NoOrdersRepeatingGroup
- type RouteOut
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NewOrderBatch ¶
NewOrderBatch is the fix42 NewOrderBatch type, MsgType = U6.
func FromMessage ¶
func FromMessage(m *quickfix.Message) NewOrderBatch
FromMessage creates a NewOrderBatch from a quickfix.Message instance.
func New ¶
func New(batchid field.BatchIDField) (m NewOrderBatch)
New returns a NewOrderBatch initialized with the required fields for NewOrderBatch.
func (NewOrderBatch) GetBatchID ¶
func (m NewOrderBatch) GetBatchID() (v string, err quickfix.MessageRejectError)
GetBatchID gets BatchID, Tag 8014.
func (NewOrderBatch) GetNoOrders ¶
func (m NewOrderBatch) GetNoOrders() (NoOrdersRepeatingGroup, quickfix.MessageRejectError)
GetNoOrders gets NoOrders, Tag 73.
func (NewOrderBatch) HasBatchID ¶
func (m NewOrderBatch) HasBatchID() bool
HasBatchID returns true if BatchID is present, Tag 8014.
func (NewOrderBatch) HasNoOrders ¶
func (m NewOrderBatch) HasNoOrders() bool
HasNoOrders returns true if NoOrders is present, Tag 73.
func (NewOrderBatch) SetBatchID ¶
func (m NewOrderBatch) SetBatchID(v string)
SetBatchID sets BatchID, Tag 8014.
func (NewOrderBatch) SetNoOrders ¶
func (m NewOrderBatch) SetNoOrders(f NoOrdersRepeatingGroup)
SetNoOrders sets NoOrders, Tag 73.
func (NewOrderBatch) ToMessage ¶
func (m NewOrderBatch) ToMessage() *quickfix.Message
ToMessage returns a quickfix.Message instance.
type NoOrders ¶
NoOrders is a repeating group element, Tag 73.
func (NoOrders) GetClOrdID ¶
func (m NoOrders) GetClOrdID() (v string, err quickfix.MessageRejectError)
GetClOrdID gets ClOrdID, Tag 11.
func (NoOrders) GetExpireTime ¶
func (m NoOrders) GetExpireTime() (v time.Time, err quickfix.MessageRejectError)
GetExpireTime gets ExpireTime, Tag 126.
func (NoOrders) GetHandlInst ¶
func (m NoOrders) GetHandlInst() (v enum.HandlInst, err quickfix.MessageRejectError)
GetHandlInst gets HandlInst, Tag 21.
func (NoOrders) GetOrdType ¶
func (m NoOrders) GetOrdType() (v enum.OrdType, err quickfix.MessageRejectError)
GetOrdType gets OrdType, Tag 40.
func (NoOrders) GetOrderQty ¶
func (m NoOrders) GetOrderQty() (v decimal.Decimal, err quickfix.MessageRejectError)
GetOrderQty gets OrderQty, Tag 38.
func (NoOrders) GetPrice ¶
func (m NoOrders) GetPrice() (v decimal.Decimal, err quickfix.MessageRejectError)
GetPrice gets Price, Tag 44.
func (NoOrders) GetSelfTradePrevention ¶
func (m NoOrders) GetSelfTradePrevention() (v enum.SelfTradePrevention, err quickfix.MessageRejectError)
GetSelfTradePrevention gets SelfTradePrevention, Tag 7928.
func (NoOrders) GetSide ¶
func (m NoOrders) GetSide() (v enum.Side, err quickfix.MessageRejectError)
GetSide gets Side, Tag 54.
func (NoOrders) GetSymbol ¶
func (m NoOrders) GetSymbol() (v string, err quickfix.MessageRejectError)
GetSymbol gets Symbol, Tag 55.
func (NoOrders) GetTimeInForce ¶
func (m NoOrders) GetTimeInForce() (v enum.TimeInForce, err quickfix.MessageRejectError)
GetTimeInForce gets TimeInForce, Tag 59.
func (NoOrders) GetTransactTime ¶
func (m NoOrders) GetTransactTime() (v time.Time, err quickfix.MessageRejectError)
GetTransactTime gets TransactTime, Tag 60.
func (NoOrders) HasClOrdID ¶
HasClOrdID returns true if ClOrdID is present, Tag 11.
func (NoOrders) HasExpireTime ¶
HasExpireTime returns true if ExpireTime is present, Tag 126.
func (NoOrders) HasHandlInst ¶
HasHandlInst returns true if HandlInst is present, Tag 21.
func (NoOrders) HasOrdType ¶
HasOrdType returns true if OrdType is present, Tag 40.
func (NoOrders) HasOrderQty ¶
HasOrderQty returns true if OrderQty is present, Tag 38.
func (NoOrders) HasSelfTradePrevention ¶
HasSelfTradePrevention returns true if SelfTradePrevention is present, Tag 7928.
func (NoOrders) HasTimeInForce ¶
HasTimeInForce returns true if TimeInForce is present, Tag 59.
func (NoOrders) HasTransactTime ¶
HasTransactTime returns true if TransactTime is present, Tag 60.
func (NoOrders) SetClOrdID ¶
SetClOrdID sets ClOrdID, Tag 11.
func (NoOrders) SetExpireTime ¶
SetExpireTime sets ExpireTime, Tag 126.
func (NoOrders) SetHandlInst ¶
SetHandlInst sets HandlInst, Tag 21.
func (NoOrders) SetOrdType ¶
SetOrdType sets OrdType, Tag 40.
func (NoOrders) SetOrderQty ¶
SetOrderQty sets OrderQty, Tag 38.
func (NoOrders) SetSelfTradePrevention ¶
func (m NoOrders) SetSelfTradePrevention(v enum.SelfTradePrevention)
SetSelfTradePrevention sets SelfTradePrevention, Tag 7928.
func (NoOrders) SetTimeInForce ¶
func (m NoOrders) SetTimeInForce(v enum.TimeInForce)
SetTimeInForce sets TimeInForce, Tag 59.
func (NoOrders) SetTransactTime ¶
SetTransactTime sets TransactTime, Tag 60.
type NoOrdersRepeatingGroup ¶
type NoOrdersRepeatingGroup struct {
*quickfix.RepeatingGroup
}
NoOrdersRepeatingGroup is a repeating group, Tag 73.
func NewNoOrdersRepeatingGroup ¶
func NewNoOrdersRepeatingGroup() NoOrdersRepeatingGroup
NewNoOrdersRepeatingGroup returns an initialized, NoOrdersRepeatingGroup.
func (NoOrdersRepeatingGroup) Add ¶
func (m NoOrdersRepeatingGroup) Add() NoOrders
Add create and append a new NoOrders to this group.
func (NoOrdersRepeatingGroup) Get ¶
func (m NoOrdersRepeatingGroup) Get(i int) NoOrders
Get returns the ith NoOrders in the NoOrdersRepeatinGroup.
type RouteOut ¶
type RouteOut func(msg NewOrderBatch, sessionID quickfix.SessionID) quickfix.MessageRejectError
A RouteOut is the callback type that should be implemented for routing Message.