1922 lines
51 KiB
Go
1922 lines
51 KiB
Go
// Code generated by quickfix. DO NOT EDIT.
|
|
package neworderlist
|
|
|
|
import (
|
|
"time"
|
|
|
|
"github.com/shopspring/decimal"
|
|
|
|
"quantex.com/qfixpt/quickfix"
|
|
"quantex.com/qfixpt/quickfix/gen/enum"
|
|
"quantex.com/qfixpt/quickfix/gen/field"
|
|
"quantex.com/qfixpt/quickfix/gen/fix42"
|
|
"quantex.com/qfixpt/quickfix/gen/tag"
|
|
)
|
|
|
|
// NewOrderList is the fix42 NewOrderList type, MsgType = E.
|
|
type NewOrderList struct {
|
|
fix42.Header
|
|
*quickfix.Body
|
|
fix42.Trailer
|
|
Message *quickfix.Message
|
|
}
|
|
|
|
// FromMessage creates a NewOrderList from a quickfix.Message instance.
|
|
func FromMessage(m *quickfix.Message) NewOrderList {
|
|
return NewOrderList{
|
|
Header: fix42.Header{Header: &m.Header},
|
|
Body: &m.Body,
|
|
Trailer: fix42.Trailer{Trailer: &m.Trailer},
|
|
Message: m,
|
|
}
|
|
}
|
|
|
|
// ToMessage returns a quickfix.Message instance.
|
|
func (m NewOrderList) ToMessage() *quickfix.Message {
|
|
return m.Message
|
|
}
|
|
|
|
// New returns a NewOrderList initialized with the required fields for NewOrderList.
|
|
func New(listid field.ListIDField, bidtype field.BidTypeField, totnoorders field.TotNoOrdersField) (m NewOrderList) {
|
|
m.Message = quickfix.NewMessage()
|
|
m.Header = fix42.NewHeader(&m.Message.Header)
|
|
m.Body = &m.Message.Body
|
|
m.Trailer.Trailer = &m.Message.Trailer
|
|
|
|
m.Header.Set(field.NewMsgType("E"))
|
|
m.Set(listid)
|
|
m.Set(bidtype)
|
|
m.Set(totnoorders)
|
|
|
|
return
|
|
}
|
|
|
|
// A RouteOut is the callback type that should be implemented for routing Message.
|
|
type RouteOut func(msg NewOrderList, sessionID quickfix.SessionID) quickfix.MessageRejectError
|
|
|
|
// Route returns the beginstring, message type, and MessageRoute for this Message type.
|
|
func Route(router RouteOut) (string, string, quickfix.MessageRoute) {
|
|
r := func(msg *quickfix.Message, sessionID quickfix.SessionID) quickfix.MessageRejectError {
|
|
return router(FromMessage(msg), sessionID)
|
|
}
|
|
return "FIX.4.2", "E", r
|
|
}
|
|
|
|
// SetListID sets ListID, Tag 66.
|
|
func (m NewOrderList) SetListID(v string) {
|
|
m.Set(field.NewListID(v))
|
|
}
|
|
|
|
// SetTotNoOrders sets TotNoOrders, Tag 68.
|
|
func (m NewOrderList) SetTotNoOrders(v int) {
|
|
m.Set(field.NewTotNoOrders(v))
|
|
}
|
|
|
|
// SetListExecInst sets ListExecInst, Tag 69.
|
|
func (m NewOrderList) SetListExecInst(v string) {
|
|
m.Set(field.NewListExecInst(v))
|
|
}
|
|
|
|
// SetNoOrders sets NoOrders, Tag 73.
|
|
func (m NewOrderList) SetNoOrders(f NoOrdersRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetEncodedListExecInstLen sets EncodedListExecInstLen, Tag 352.
|
|
func (m NewOrderList) SetEncodedListExecInstLen(v int) {
|
|
m.Set(field.NewEncodedListExecInstLen(v))
|
|
}
|
|
|
|
// SetEncodedListExecInst sets EncodedListExecInst, Tag 353.
|
|
func (m NewOrderList) SetEncodedListExecInst(v string) {
|
|
m.Set(field.NewEncodedListExecInst(v))
|
|
}
|
|
|
|
// SetBidID sets BidID, Tag 390.
|
|
func (m NewOrderList) SetBidID(v string) {
|
|
m.Set(field.NewBidID(v))
|
|
}
|
|
|
|
// SetClientBidID sets ClientBidID, Tag 391.
|
|
func (m NewOrderList) SetClientBidID(v string) {
|
|
m.Set(field.NewClientBidID(v))
|
|
}
|
|
|
|
// SetBidType sets BidType, Tag 394.
|
|
func (m NewOrderList) SetBidType(v enum.BidType) {
|
|
m.Set(field.NewBidType(v))
|
|
}
|
|
|
|
// SetProgRptReqs sets ProgRptReqs, Tag 414.
|
|
func (m NewOrderList) SetProgRptReqs(v enum.ProgRptReqs) {
|
|
m.Set(field.NewProgRptReqs(v))
|
|
}
|
|
|
|
// SetProgPeriodInterval sets ProgPeriodInterval, Tag 415.
|
|
func (m NewOrderList) SetProgPeriodInterval(v int) {
|
|
m.Set(field.NewProgPeriodInterval(v))
|
|
}
|
|
|
|
// SetListExecInstType sets ListExecInstType, Tag 433.
|
|
func (m NewOrderList) SetListExecInstType(v enum.ListExecInstType) {
|
|
m.Set(field.NewListExecInstType(v))
|
|
}
|
|
|
|
// GetListID gets ListID, Tag 66.
|
|
func (m NewOrderList) GetListID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.ListIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetTotNoOrders gets TotNoOrders, Tag 68.
|
|
func (m NewOrderList) GetTotNoOrders() (v int, err quickfix.MessageRejectError) {
|
|
var f field.TotNoOrdersField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetListExecInst gets ListExecInst, Tag 69.
|
|
func (m NewOrderList) GetListExecInst() (v string, err quickfix.MessageRejectError) {
|
|
var f field.ListExecInstField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoOrders gets NoOrders, Tag 73.
|
|
func (m NewOrderList) GetNoOrders() (NoOrdersRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoOrdersRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetEncodedListExecInstLen gets EncodedListExecInstLen, Tag 352.
|
|
func (m NewOrderList) GetEncodedListExecInstLen() (v int, err quickfix.MessageRejectError) {
|
|
var f field.EncodedListExecInstLenField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedListExecInst gets EncodedListExecInst, Tag 353.
|
|
func (m NewOrderList) GetEncodedListExecInst() (v string, err quickfix.MessageRejectError) {
|
|
var f field.EncodedListExecInstField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetBidID gets BidID, Tag 390.
|
|
func (m NewOrderList) GetBidID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.BidIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetClientBidID gets ClientBidID, Tag 391.
|
|
func (m NewOrderList) GetClientBidID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.ClientBidIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetBidType gets BidType, Tag 394.
|
|
func (m NewOrderList) GetBidType() (v enum.BidType, err quickfix.MessageRejectError) {
|
|
var f field.BidTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetProgRptReqs gets ProgRptReqs, Tag 414.
|
|
func (m NewOrderList) GetProgRptReqs() (v enum.ProgRptReqs, err quickfix.MessageRejectError) {
|
|
var f field.ProgRptReqsField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetProgPeriodInterval gets ProgPeriodInterval, Tag 415.
|
|
func (m NewOrderList) GetProgPeriodInterval() (v int, err quickfix.MessageRejectError) {
|
|
var f field.ProgPeriodIntervalField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetListExecInstType gets ListExecInstType, Tag 433.
|
|
func (m NewOrderList) GetListExecInstType() (v enum.ListExecInstType, err quickfix.MessageRejectError) {
|
|
var f field.ListExecInstTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasListID returns true if ListID is present, Tag 66.
|
|
func (m NewOrderList) HasListID() bool {
|
|
return m.Has(tag.ListID)
|
|
}
|
|
|
|
// HasTotNoOrders returns true if TotNoOrders is present, Tag 68.
|
|
func (m NewOrderList) HasTotNoOrders() bool {
|
|
return m.Has(tag.TotNoOrders)
|
|
}
|
|
|
|
// HasListExecInst returns true if ListExecInst is present, Tag 69.
|
|
func (m NewOrderList) HasListExecInst() bool {
|
|
return m.Has(tag.ListExecInst)
|
|
}
|
|
|
|
// HasNoOrders returns true if NoOrders is present, Tag 73.
|
|
func (m NewOrderList) HasNoOrders() bool {
|
|
return m.Has(tag.NoOrders)
|
|
}
|
|
|
|
// HasEncodedListExecInstLen returns true if EncodedListExecInstLen is present, Tag 352.
|
|
func (m NewOrderList) HasEncodedListExecInstLen() bool {
|
|
return m.Has(tag.EncodedListExecInstLen)
|
|
}
|
|
|
|
// HasEncodedListExecInst returns true if EncodedListExecInst is present, Tag 353.
|
|
func (m NewOrderList) HasEncodedListExecInst() bool {
|
|
return m.Has(tag.EncodedListExecInst)
|
|
}
|
|
|
|
// HasBidID returns true if BidID is present, Tag 390.
|
|
func (m NewOrderList) HasBidID() bool {
|
|
return m.Has(tag.BidID)
|
|
}
|
|
|
|
// HasClientBidID returns true if ClientBidID is present, Tag 391.
|
|
func (m NewOrderList) HasClientBidID() bool {
|
|
return m.Has(tag.ClientBidID)
|
|
}
|
|
|
|
// HasBidType returns true if BidType is present, Tag 394.
|
|
func (m NewOrderList) HasBidType() bool {
|
|
return m.Has(tag.BidType)
|
|
}
|
|
|
|
// HasProgRptReqs returns true if ProgRptReqs is present, Tag 414.
|
|
func (m NewOrderList) HasProgRptReqs() bool {
|
|
return m.Has(tag.ProgRptReqs)
|
|
}
|
|
|
|
// HasProgPeriodInterval returns true if ProgPeriodInterval is present, Tag 415.
|
|
func (m NewOrderList) HasProgPeriodInterval() bool {
|
|
return m.Has(tag.ProgPeriodInterval)
|
|
}
|
|
|
|
// HasListExecInstType returns true if ListExecInstType is present, Tag 433.
|
|
func (m NewOrderList) HasListExecInstType() bool {
|
|
return m.Has(tag.ListExecInstType)
|
|
}
|
|
|
|
// NoOrders is a repeating group element, Tag 73.
|
|
type NoOrders struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetClOrdID sets ClOrdID, Tag 11.
|
|
func (m NoOrders) SetClOrdID(v string) {
|
|
m.Set(field.NewClOrdID(v))
|
|
}
|
|
|
|
// SetListSeqNo sets ListSeqNo, Tag 67.
|
|
func (m NoOrders) SetListSeqNo(v int) {
|
|
m.Set(field.NewListSeqNo(v))
|
|
}
|
|
|
|
// SetSettlInstMode sets SettlInstMode, Tag 160.
|
|
func (m NoOrders) SetSettlInstMode(v enum.SettlInstMode) {
|
|
m.Set(field.NewSettlInstMode(v))
|
|
}
|
|
|
|
// SetClientID sets ClientID, Tag 109.
|
|
func (m NoOrders) SetClientID(v string) {
|
|
m.Set(field.NewClientID(v))
|
|
}
|
|
|
|
// SetExecBroker sets ExecBroker, Tag 76.
|
|
func (m NoOrders) SetExecBroker(v string) {
|
|
m.Set(field.NewExecBroker(v))
|
|
}
|
|
|
|
// SetAccount sets Account, Tag 1.
|
|
func (m NoOrders) SetAccount(v string) {
|
|
m.Set(field.NewAccount(v))
|
|
}
|
|
|
|
// SetNoAllocs sets NoAllocs, Tag 78.
|
|
func (m NoOrders) SetNoAllocs(f NoAllocsRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetSettlmntTyp sets SettlmntTyp, Tag 63.
|
|
func (m NoOrders) SetSettlmntTyp(v enum.SettlmntTyp) {
|
|
m.Set(field.NewSettlmntTyp(v))
|
|
}
|
|
|
|
// SetFutSettDate sets FutSettDate, Tag 64.
|
|
func (m NoOrders) SetFutSettDate(v string) {
|
|
m.Set(field.NewFutSettDate(v))
|
|
}
|
|
|
|
// SetHandlInst sets HandlInst, Tag 21.
|
|
func (m NoOrders) SetHandlInst(v enum.HandlInst) {
|
|
m.Set(field.NewHandlInst(v))
|
|
}
|
|
|
|
// SetExecInst sets ExecInst, Tag 18.
|
|
func (m NoOrders) SetExecInst(v enum.ExecInst) {
|
|
m.Set(field.NewExecInst(v))
|
|
}
|
|
|
|
// SetMinQty sets MinQty, Tag 110.
|
|
func (m NoOrders) SetMinQty(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewMinQty(value, scale))
|
|
}
|
|
|
|
// SetMaxFloor sets MaxFloor, Tag 111.
|
|
func (m NoOrders) SetMaxFloor(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewMaxFloor(value, scale))
|
|
}
|
|
|
|
// SetExDestination sets ExDestination, Tag 100.
|
|
func (m NoOrders) SetExDestination(v enum.ExDestination) {
|
|
m.Set(field.NewExDestination(v))
|
|
}
|
|
|
|
// SetNoTradingSessions sets NoTradingSessions, Tag 386.
|
|
func (m NoOrders) SetNoTradingSessions(f NoTradingSessionsRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetProcessCode sets ProcessCode, Tag 81.
|
|
func (m NoOrders) SetProcessCode(v enum.ProcessCode) {
|
|
m.Set(field.NewProcessCode(v))
|
|
}
|
|
|
|
// SetSymbol sets Symbol, Tag 55.
|
|
func (m NoOrders) SetSymbol(v string) {
|
|
m.Set(field.NewSymbol(v))
|
|
}
|
|
|
|
// SetSymbolSfx sets SymbolSfx, Tag 65.
|
|
func (m NoOrders) SetSymbolSfx(v enum.SymbolSfx) {
|
|
m.Set(field.NewSymbolSfx(v))
|
|
}
|
|
|
|
// SetSecurityID sets SecurityID, Tag 48.
|
|
func (m NoOrders) SetSecurityID(v string) {
|
|
m.Set(field.NewSecurityID(v))
|
|
}
|
|
|
|
// SetIDSource sets IDSource, Tag 22.
|
|
func (m NoOrders) SetIDSource(v enum.IDSource) {
|
|
m.Set(field.NewIDSource(v))
|
|
}
|
|
|
|
// SetSecurityType sets SecurityType, Tag 167.
|
|
func (m NoOrders) SetSecurityType(v enum.SecurityType) {
|
|
m.Set(field.NewSecurityType(v))
|
|
}
|
|
|
|
// SetMaturityMonthYear sets MaturityMonthYear, Tag 200.
|
|
func (m NoOrders) SetMaturityMonthYear(v string) {
|
|
m.Set(field.NewMaturityMonthYear(v))
|
|
}
|
|
|
|
// SetMaturityDay sets MaturityDay, Tag 205.
|
|
func (m NoOrders) SetMaturityDay(v int) {
|
|
m.Set(field.NewMaturityDay(v))
|
|
}
|
|
|
|
// SetPutOrCall sets PutOrCall, Tag 201.
|
|
func (m NoOrders) SetPutOrCall(v enum.PutOrCall) {
|
|
m.Set(field.NewPutOrCall(v))
|
|
}
|
|
|
|
// SetStrikePrice sets StrikePrice, Tag 202.
|
|
func (m NoOrders) SetStrikePrice(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewStrikePrice(value, scale))
|
|
}
|
|
|
|
// SetOptAttribute sets OptAttribute, Tag 206.
|
|
func (m NoOrders) SetOptAttribute(v string) {
|
|
m.Set(field.NewOptAttribute(v))
|
|
}
|
|
|
|
// SetContractMultiplier sets ContractMultiplier, Tag 231.
|
|
func (m NoOrders) SetContractMultiplier(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewContractMultiplier(value, scale))
|
|
}
|
|
|
|
// SetCouponRate sets CouponRate, Tag 223.
|
|
func (m NoOrders) SetCouponRate(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewCouponRate(value, scale))
|
|
}
|
|
|
|
// SetSecurityExchange sets SecurityExchange, Tag 207.
|
|
func (m NoOrders) SetSecurityExchange(v string) {
|
|
m.Set(field.NewSecurityExchange(v))
|
|
}
|
|
|
|
// SetIssuer sets Issuer, Tag 106.
|
|
func (m NoOrders) SetIssuer(v string) {
|
|
m.Set(field.NewIssuer(v))
|
|
}
|
|
|
|
// SetEncodedIssuerLen sets EncodedIssuerLen, Tag 348.
|
|
func (m NoOrders) SetEncodedIssuerLen(v int) {
|
|
m.Set(field.NewEncodedIssuerLen(v))
|
|
}
|
|
|
|
// SetEncodedIssuer sets EncodedIssuer, Tag 349.
|
|
func (m NoOrders) SetEncodedIssuer(v string) {
|
|
m.Set(field.NewEncodedIssuer(v))
|
|
}
|
|
|
|
// SetSecurityDesc sets SecurityDesc, Tag 107.
|
|
func (m NoOrders) SetSecurityDesc(v string) {
|
|
m.Set(field.NewSecurityDesc(v))
|
|
}
|
|
|
|
// SetEncodedSecurityDescLen sets EncodedSecurityDescLen, Tag 350.
|
|
func (m NoOrders) SetEncodedSecurityDescLen(v int) {
|
|
m.Set(field.NewEncodedSecurityDescLen(v))
|
|
}
|
|
|
|
// SetEncodedSecurityDesc sets EncodedSecurityDesc, Tag 351.
|
|
func (m NoOrders) SetEncodedSecurityDesc(v string) {
|
|
m.Set(field.NewEncodedSecurityDesc(v))
|
|
}
|
|
|
|
// SetPrevClosePx sets PrevClosePx, Tag 140.
|
|
func (m NoOrders) SetPrevClosePx(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewPrevClosePx(value, scale))
|
|
}
|
|
|
|
// SetSide sets Side, Tag 54.
|
|
func (m NoOrders) SetSide(v enum.Side) {
|
|
m.Set(field.NewSide(v))
|
|
}
|
|
|
|
// SetSideValueInd sets SideValueInd, Tag 401.
|
|
func (m NoOrders) SetSideValueInd(v enum.SideValueInd) {
|
|
m.Set(field.NewSideValueInd(v))
|
|
}
|
|
|
|
// SetLocateReqd sets LocateReqd, Tag 114.
|
|
func (m NoOrders) SetLocateReqd(v bool) {
|
|
m.Set(field.NewLocateReqd(v))
|
|
}
|
|
|
|
// SetTransactTime sets TransactTime, Tag 60.
|
|
func (m NoOrders) SetTransactTime(v time.Time) {
|
|
m.Set(field.NewTransactTime(v))
|
|
}
|
|
|
|
// SetOrderQty sets OrderQty, Tag 38.
|
|
func (m NoOrders) SetOrderQty(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewOrderQty(value, scale))
|
|
}
|
|
|
|
// SetCashOrderQty sets CashOrderQty, Tag 152.
|
|
func (m NoOrders) SetCashOrderQty(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewCashOrderQty(value, scale))
|
|
}
|
|
|
|
// SetOrdType sets OrdType, Tag 40.
|
|
func (m NoOrders) SetOrdType(v enum.OrdType) {
|
|
m.Set(field.NewOrdType(v))
|
|
}
|
|
|
|
// SetPrice sets Price, Tag 44.
|
|
func (m NoOrders) SetPrice(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewPrice(value, scale))
|
|
}
|
|
|
|
// SetStopPx sets StopPx, Tag 99.
|
|
func (m NoOrders) SetStopPx(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewStopPx(value, scale))
|
|
}
|
|
|
|
// SetCurrency sets Currency, Tag 15.
|
|
func (m NoOrders) SetCurrency(v string) {
|
|
m.Set(field.NewCurrency(v))
|
|
}
|
|
|
|
// SetComplianceID sets ComplianceID, Tag 376.
|
|
func (m NoOrders) SetComplianceID(v string) {
|
|
m.Set(field.NewComplianceID(v))
|
|
}
|
|
|
|
// SetSolicitedFlag sets SolicitedFlag, Tag 377.
|
|
func (m NoOrders) SetSolicitedFlag(v bool) {
|
|
m.Set(field.NewSolicitedFlag(v))
|
|
}
|
|
|
|
// SetIOIid sets IOIid, Tag 23.
|
|
func (m NoOrders) SetIOIid(v string) {
|
|
m.Set(field.NewIOIid(v))
|
|
}
|
|
|
|
// SetQuoteID sets QuoteID, Tag 117.
|
|
func (m NoOrders) SetQuoteID(v string) {
|
|
m.Set(field.NewQuoteID(v))
|
|
}
|
|
|
|
// SetTimeInForce sets TimeInForce, Tag 59.
|
|
func (m NoOrders) SetTimeInForce(v enum.TimeInForce) {
|
|
m.Set(field.NewTimeInForce(v))
|
|
}
|
|
|
|
// SetEffectiveTime sets EffectiveTime, Tag 168.
|
|
func (m NoOrders) SetEffectiveTime(v time.Time) {
|
|
m.Set(field.NewEffectiveTime(v))
|
|
}
|
|
|
|
// SetExpireDate sets ExpireDate, Tag 432.
|
|
func (m NoOrders) SetExpireDate(v string) {
|
|
m.Set(field.NewExpireDate(v))
|
|
}
|
|
|
|
// SetExpireTime sets ExpireTime, Tag 126.
|
|
func (m NoOrders) SetExpireTime(v time.Time) {
|
|
m.Set(field.NewExpireTime(v))
|
|
}
|
|
|
|
// SetGTBookingInst sets GTBookingInst, Tag 427.
|
|
func (m NoOrders) SetGTBookingInst(v enum.GTBookingInst) {
|
|
m.Set(field.NewGTBookingInst(v))
|
|
}
|
|
|
|
// SetCommission sets Commission, Tag 12.
|
|
func (m NoOrders) SetCommission(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewCommission(value, scale))
|
|
}
|
|
|
|
// SetCommType sets CommType, Tag 13.
|
|
func (m NoOrders) SetCommType(v enum.CommType) {
|
|
m.Set(field.NewCommType(v))
|
|
}
|
|
|
|
// SetRule80A sets Rule80A, Tag 47.
|
|
func (m NoOrders) SetRule80A(v enum.Rule80A) {
|
|
m.Set(field.NewRule80A(v))
|
|
}
|
|
|
|
// SetForexReq sets ForexReq, Tag 121.
|
|
func (m NoOrders) SetForexReq(v bool) {
|
|
m.Set(field.NewForexReq(v))
|
|
}
|
|
|
|
// SetSettlCurrency sets SettlCurrency, Tag 120.
|
|
func (m NoOrders) SetSettlCurrency(v string) {
|
|
m.Set(field.NewSettlCurrency(v))
|
|
}
|
|
|
|
// SetText sets Text, Tag 58.
|
|
func (m NoOrders) SetText(v string) {
|
|
m.Set(field.NewText(v))
|
|
}
|
|
|
|
// SetEncodedTextLen sets EncodedTextLen, Tag 354.
|
|
func (m NoOrders) SetEncodedTextLen(v int) {
|
|
m.Set(field.NewEncodedTextLen(v))
|
|
}
|
|
|
|
// SetEncodedText sets EncodedText, Tag 355.
|
|
func (m NoOrders) SetEncodedText(v string) {
|
|
m.Set(field.NewEncodedText(v))
|
|
}
|
|
|
|
// SetFutSettDate2 sets FutSettDate2, Tag 193.
|
|
func (m NoOrders) SetFutSettDate2(v string) {
|
|
m.Set(field.NewFutSettDate2(v))
|
|
}
|
|
|
|
// SetOrderQty2 sets OrderQty2, Tag 192.
|
|
func (m NoOrders) SetOrderQty2(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewOrderQty2(value, scale))
|
|
}
|
|
|
|
// SetOpenClose sets OpenClose, Tag 77.
|
|
func (m NoOrders) SetOpenClose(v enum.OpenClose) {
|
|
m.Set(field.NewOpenClose(v))
|
|
}
|
|
|
|
// SetCoveredOrUncovered sets CoveredOrUncovered, Tag 203.
|
|
func (m NoOrders) SetCoveredOrUncovered(v enum.CoveredOrUncovered) {
|
|
m.Set(field.NewCoveredOrUncovered(v))
|
|
}
|
|
|
|
// SetCustomerOrFirm sets CustomerOrFirm, Tag 204.
|
|
func (m NoOrders) SetCustomerOrFirm(v enum.CustomerOrFirm) {
|
|
m.Set(field.NewCustomerOrFirm(v))
|
|
}
|
|
|
|
// SetMaxShow sets MaxShow, Tag 210.
|
|
func (m NoOrders) SetMaxShow(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewMaxShow(value, scale))
|
|
}
|
|
|
|
// SetPegDifference sets PegDifference, Tag 211.
|
|
func (m NoOrders) SetPegDifference(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewPegDifference(value, scale))
|
|
}
|
|
|
|
// SetDiscretionInst sets DiscretionInst, Tag 388.
|
|
func (m NoOrders) SetDiscretionInst(v enum.DiscretionInst) {
|
|
m.Set(field.NewDiscretionInst(v))
|
|
}
|
|
|
|
// SetDiscretionOffset sets DiscretionOffset, Tag 389.
|
|
func (m NoOrders) SetDiscretionOffset(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewDiscretionOffset(value, scale))
|
|
}
|
|
|
|
// SetClearingFirm sets ClearingFirm, Tag 439.
|
|
func (m NoOrders) SetClearingFirm(v string) {
|
|
m.Set(field.NewClearingFirm(v))
|
|
}
|
|
|
|
// SetClearingAccount sets ClearingAccount, Tag 440.
|
|
func (m NoOrders) SetClearingAccount(v string) {
|
|
m.Set(field.NewClearingAccount(v))
|
|
}
|
|
|
|
// GetClOrdID gets ClOrdID, Tag 11.
|
|
func (m NoOrders) GetClOrdID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.ClOrdIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetListSeqNo gets ListSeqNo, Tag 67.
|
|
func (m NoOrders) GetListSeqNo() (v int, err quickfix.MessageRejectError) {
|
|
var f field.ListSeqNoField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSettlInstMode gets SettlInstMode, Tag 160.
|
|
func (m NoOrders) GetSettlInstMode() (v enum.SettlInstMode, err quickfix.MessageRejectError) {
|
|
var f field.SettlInstModeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetClientID gets ClientID, Tag 109.
|
|
func (m NoOrders) GetClientID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.ClientIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetExecBroker gets ExecBroker, Tag 76.
|
|
func (m NoOrders) GetExecBroker() (v string, err quickfix.MessageRejectError) {
|
|
var f field.ExecBrokerField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetAccount gets Account, Tag 1.
|
|
func (m NoOrders) GetAccount() (v string, err quickfix.MessageRejectError) {
|
|
var f field.AccountField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoAllocs gets NoAllocs, Tag 78.
|
|
func (m NoOrders) GetNoAllocs() (NoAllocsRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoAllocsRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetSettlmntTyp gets SettlmntTyp, Tag 63.
|
|
func (m NoOrders) GetSettlmntTyp() (v enum.SettlmntTyp, err quickfix.MessageRejectError) {
|
|
var f field.SettlmntTypField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetFutSettDate gets FutSettDate, Tag 64.
|
|
func (m NoOrders) GetFutSettDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.FutSettDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetHandlInst gets HandlInst, Tag 21.
|
|
func (m NoOrders) GetHandlInst() (v enum.HandlInst, err quickfix.MessageRejectError) {
|
|
var f field.HandlInstField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetExecInst gets ExecInst, Tag 18.
|
|
func (m NoOrders) GetExecInst() (v enum.ExecInst, err quickfix.MessageRejectError) {
|
|
var f field.ExecInstField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetMinQty gets MinQty, Tag 110.
|
|
func (m NoOrders) GetMinQty() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.MinQtyField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetMaxFloor gets MaxFloor, Tag 111.
|
|
func (m NoOrders) GetMaxFloor() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.MaxFloorField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetExDestination gets ExDestination, Tag 100.
|
|
func (m NoOrders) GetExDestination() (v enum.ExDestination, err quickfix.MessageRejectError) {
|
|
var f field.ExDestinationField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoTradingSessions gets NoTradingSessions, Tag 386.
|
|
func (m NoOrders) GetNoTradingSessions() (NoTradingSessionsRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoTradingSessionsRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetProcessCode gets ProcessCode, Tag 81.
|
|
func (m NoOrders) GetProcessCode() (v enum.ProcessCode, err quickfix.MessageRejectError) {
|
|
var f field.ProcessCodeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSymbol gets Symbol, Tag 55.
|
|
func (m NoOrders) GetSymbol() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SymbolField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSymbolSfx gets SymbolSfx, Tag 65.
|
|
func (m NoOrders) GetSymbolSfx() (v enum.SymbolSfx, err quickfix.MessageRejectError) {
|
|
var f field.SymbolSfxField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityID gets SecurityID, Tag 48.
|
|
func (m NoOrders) GetSecurityID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecurityIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetIDSource gets IDSource, Tag 22.
|
|
func (m NoOrders) GetIDSource() (v enum.IDSource, err quickfix.MessageRejectError) {
|
|
var f field.IDSourceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityType gets SecurityType, Tag 167.
|
|
func (m NoOrders) GetSecurityType() (v enum.SecurityType, err quickfix.MessageRejectError) {
|
|
var f field.SecurityTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetMaturityMonthYear gets MaturityMonthYear, Tag 200.
|
|
func (m NoOrders) GetMaturityMonthYear() (v string, err quickfix.MessageRejectError) {
|
|
var f field.MaturityMonthYearField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetMaturityDay gets MaturityDay, Tag 205.
|
|
func (m NoOrders) GetMaturityDay() (v int, err quickfix.MessageRejectError) {
|
|
var f field.MaturityDayField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetPutOrCall gets PutOrCall, Tag 201.
|
|
func (m NoOrders) GetPutOrCall() (v enum.PutOrCall, err quickfix.MessageRejectError) {
|
|
var f field.PutOrCallField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetStrikePrice gets StrikePrice, Tag 202.
|
|
func (m NoOrders) GetStrikePrice() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.StrikePriceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetOptAttribute gets OptAttribute, Tag 206.
|
|
func (m NoOrders) GetOptAttribute() (v string, err quickfix.MessageRejectError) {
|
|
var f field.OptAttributeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetContractMultiplier gets ContractMultiplier, Tag 231.
|
|
func (m NoOrders) GetContractMultiplier() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.ContractMultiplierField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCouponRate gets CouponRate, Tag 223.
|
|
func (m NoOrders) GetCouponRate() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.CouponRateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityExchange gets SecurityExchange, Tag 207.
|
|
func (m NoOrders) GetSecurityExchange() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecurityExchangeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetIssuer gets Issuer, Tag 106.
|
|
func (m NoOrders) GetIssuer() (v string, err quickfix.MessageRejectError) {
|
|
var f field.IssuerField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedIssuerLen gets EncodedIssuerLen, Tag 348.
|
|
func (m NoOrders) GetEncodedIssuerLen() (v int, err quickfix.MessageRejectError) {
|
|
var f field.EncodedIssuerLenField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedIssuer gets EncodedIssuer, Tag 349.
|
|
func (m NoOrders) GetEncodedIssuer() (v string, err quickfix.MessageRejectError) {
|
|
var f field.EncodedIssuerField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityDesc gets SecurityDesc, Tag 107.
|
|
func (m NoOrders) GetSecurityDesc() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecurityDescField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedSecurityDescLen gets EncodedSecurityDescLen, Tag 350.
|
|
func (m NoOrders) GetEncodedSecurityDescLen() (v int, err quickfix.MessageRejectError) {
|
|
var f field.EncodedSecurityDescLenField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedSecurityDesc gets EncodedSecurityDesc, Tag 351.
|
|
func (m NoOrders) GetEncodedSecurityDesc() (v string, err quickfix.MessageRejectError) {
|
|
var f field.EncodedSecurityDescField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetPrevClosePx gets PrevClosePx, Tag 140.
|
|
func (m NoOrders) GetPrevClosePx() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.PrevClosePxField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSide gets Side, Tag 54.
|
|
func (m NoOrders) GetSide() (v enum.Side, err quickfix.MessageRejectError) {
|
|
var f field.SideField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSideValueInd gets SideValueInd, Tag 401.
|
|
func (m NoOrders) GetSideValueInd() (v enum.SideValueInd, err quickfix.MessageRejectError) {
|
|
var f field.SideValueIndField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLocateReqd gets LocateReqd, Tag 114.
|
|
func (m NoOrders) GetLocateReqd() (v bool, err quickfix.MessageRejectError) {
|
|
var f field.LocateReqdField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetTransactTime gets TransactTime, Tag 60.
|
|
func (m NoOrders) GetTransactTime() (v time.Time, err quickfix.MessageRejectError) {
|
|
var f field.TransactTimeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetOrderQty gets OrderQty, Tag 38.
|
|
func (m NoOrders) GetOrderQty() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.OrderQtyField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCashOrderQty gets CashOrderQty, Tag 152.
|
|
func (m NoOrders) GetCashOrderQty() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.CashOrderQtyField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetOrdType gets OrdType, Tag 40.
|
|
func (m NoOrders) GetOrdType() (v enum.OrdType, err quickfix.MessageRejectError) {
|
|
var f field.OrdTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetPrice gets Price, Tag 44.
|
|
func (m NoOrders) GetPrice() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.PriceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetStopPx gets StopPx, Tag 99.
|
|
func (m NoOrders) GetStopPx() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.StopPxField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCurrency gets Currency, Tag 15.
|
|
func (m NoOrders) GetCurrency() (v string, err quickfix.MessageRejectError) {
|
|
var f field.CurrencyField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetComplianceID gets ComplianceID, Tag 376.
|
|
func (m NoOrders) GetComplianceID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.ComplianceIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSolicitedFlag gets SolicitedFlag, Tag 377.
|
|
func (m NoOrders) GetSolicitedFlag() (v bool, err quickfix.MessageRejectError) {
|
|
var f field.SolicitedFlagField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetIOIid gets IOIid, Tag 23.
|
|
func (m NoOrders) GetIOIid() (v string, err quickfix.MessageRejectError) {
|
|
var f field.IOIidField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetQuoteID gets QuoteID, Tag 117.
|
|
func (m NoOrders) GetQuoteID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.QuoteIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetTimeInForce gets TimeInForce, Tag 59.
|
|
func (m NoOrders) GetTimeInForce() (v enum.TimeInForce, err quickfix.MessageRejectError) {
|
|
var f field.TimeInForceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEffectiveTime gets EffectiveTime, Tag 168.
|
|
func (m NoOrders) GetEffectiveTime() (v time.Time, err quickfix.MessageRejectError) {
|
|
var f field.EffectiveTimeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetExpireDate gets ExpireDate, Tag 432.
|
|
func (m NoOrders) GetExpireDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.ExpireDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetExpireTime gets ExpireTime, Tag 126.
|
|
func (m NoOrders) GetExpireTime() (v time.Time, err quickfix.MessageRejectError) {
|
|
var f field.ExpireTimeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetGTBookingInst gets GTBookingInst, Tag 427.
|
|
func (m NoOrders) GetGTBookingInst() (v enum.GTBookingInst, err quickfix.MessageRejectError) {
|
|
var f field.GTBookingInstField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCommission gets Commission, Tag 12.
|
|
func (m NoOrders) GetCommission() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.CommissionField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCommType gets CommType, Tag 13.
|
|
func (m NoOrders) GetCommType() (v enum.CommType, err quickfix.MessageRejectError) {
|
|
var f field.CommTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetRule80A gets Rule80A, Tag 47.
|
|
func (m NoOrders) GetRule80A() (v enum.Rule80A, err quickfix.MessageRejectError) {
|
|
var f field.Rule80AField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetForexReq gets ForexReq, Tag 121.
|
|
func (m NoOrders) GetForexReq() (v bool, err quickfix.MessageRejectError) {
|
|
var f field.ForexReqField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSettlCurrency gets SettlCurrency, Tag 120.
|
|
func (m NoOrders) GetSettlCurrency() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SettlCurrencyField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetText gets Text, Tag 58.
|
|
func (m NoOrders) GetText() (v string, err quickfix.MessageRejectError) {
|
|
var f field.TextField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedTextLen gets EncodedTextLen, Tag 354.
|
|
func (m NoOrders) GetEncodedTextLen() (v int, err quickfix.MessageRejectError) {
|
|
var f field.EncodedTextLenField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedText gets EncodedText, Tag 355.
|
|
func (m NoOrders) GetEncodedText() (v string, err quickfix.MessageRejectError) {
|
|
var f field.EncodedTextField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetFutSettDate2 gets FutSettDate2, Tag 193.
|
|
func (m NoOrders) GetFutSettDate2() (v string, err quickfix.MessageRejectError) {
|
|
var f field.FutSettDate2Field
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetOrderQty2 gets OrderQty2, Tag 192.
|
|
func (m NoOrders) GetOrderQty2() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.OrderQty2Field
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetOpenClose gets OpenClose, Tag 77.
|
|
func (m NoOrders) GetOpenClose() (v enum.OpenClose, err quickfix.MessageRejectError) {
|
|
var f field.OpenCloseField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCoveredOrUncovered gets CoveredOrUncovered, Tag 203.
|
|
func (m NoOrders) GetCoveredOrUncovered() (v enum.CoveredOrUncovered, err quickfix.MessageRejectError) {
|
|
var f field.CoveredOrUncoveredField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCustomerOrFirm gets CustomerOrFirm, Tag 204.
|
|
func (m NoOrders) GetCustomerOrFirm() (v enum.CustomerOrFirm, err quickfix.MessageRejectError) {
|
|
var f field.CustomerOrFirmField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetMaxShow gets MaxShow, Tag 210.
|
|
func (m NoOrders) GetMaxShow() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.MaxShowField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetPegDifference gets PegDifference, Tag 211.
|
|
func (m NoOrders) GetPegDifference() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.PegDifferenceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetDiscretionInst gets DiscretionInst, Tag 388.
|
|
func (m NoOrders) GetDiscretionInst() (v enum.DiscretionInst, err quickfix.MessageRejectError) {
|
|
var f field.DiscretionInstField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetDiscretionOffset gets DiscretionOffset, Tag 389.
|
|
func (m NoOrders) GetDiscretionOffset() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.DiscretionOffsetField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetClearingFirm gets ClearingFirm, Tag 439.
|
|
func (m NoOrders) GetClearingFirm() (v string, err quickfix.MessageRejectError) {
|
|
var f field.ClearingFirmField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetClearingAccount gets ClearingAccount, Tag 440.
|
|
func (m NoOrders) GetClearingAccount() (v string, err quickfix.MessageRejectError) {
|
|
var f field.ClearingAccountField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasClOrdID returns true if ClOrdID is present, Tag 11.
|
|
func (m NoOrders) HasClOrdID() bool {
|
|
return m.Has(tag.ClOrdID)
|
|
}
|
|
|
|
// HasListSeqNo returns true if ListSeqNo is present, Tag 67.
|
|
func (m NoOrders) HasListSeqNo() bool {
|
|
return m.Has(tag.ListSeqNo)
|
|
}
|
|
|
|
// HasSettlInstMode returns true if SettlInstMode is present, Tag 160.
|
|
func (m NoOrders) HasSettlInstMode() bool {
|
|
return m.Has(tag.SettlInstMode)
|
|
}
|
|
|
|
// HasClientID returns true if ClientID is present, Tag 109.
|
|
func (m NoOrders) HasClientID() bool {
|
|
return m.Has(tag.ClientID)
|
|
}
|
|
|
|
// HasExecBroker returns true if ExecBroker is present, Tag 76.
|
|
func (m NoOrders) HasExecBroker() bool {
|
|
return m.Has(tag.ExecBroker)
|
|
}
|
|
|
|
// HasAccount returns true if Account is present, Tag 1.
|
|
func (m NoOrders) HasAccount() bool {
|
|
return m.Has(tag.Account)
|
|
}
|
|
|
|
// HasNoAllocs returns true if NoAllocs is present, Tag 78.
|
|
func (m NoOrders) HasNoAllocs() bool {
|
|
return m.Has(tag.NoAllocs)
|
|
}
|
|
|
|
// HasSettlmntTyp returns true if SettlmntTyp is present, Tag 63.
|
|
func (m NoOrders) HasSettlmntTyp() bool {
|
|
return m.Has(tag.SettlmntTyp)
|
|
}
|
|
|
|
// HasFutSettDate returns true if FutSettDate is present, Tag 64.
|
|
func (m NoOrders) HasFutSettDate() bool {
|
|
return m.Has(tag.FutSettDate)
|
|
}
|
|
|
|
// HasHandlInst returns true if HandlInst is present, Tag 21.
|
|
func (m NoOrders) HasHandlInst() bool {
|
|
return m.Has(tag.HandlInst)
|
|
}
|
|
|
|
// HasExecInst returns true if ExecInst is present, Tag 18.
|
|
func (m NoOrders) HasExecInst() bool {
|
|
return m.Has(tag.ExecInst)
|
|
}
|
|
|
|
// HasMinQty returns true if MinQty is present, Tag 110.
|
|
func (m NoOrders) HasMinQty() bool {
|
|
return m.Has(tag.MinQty)
|
|
}
|
|
|
|
// HasMaxFloor returns true if MaxFloor is present, Tag 111.
|
|
func (m NoOrders) HasMaxFloor() bool {
|
|
return m.Has(tag.MaxFloor)
|
|
}
|
|
|
|
// HasExDestination returns true if ExDestination is present, Tag 100.
|
|
func (m NoOrders) HasExDestination() bool {
|
|
return m.Has(tag.ExDestination)
|
|
}
|
|
|
|
// HasNoTradingSessions returns true if NoTradingSessions is present, Tag 386.
|
|
func (m NoOrders) HasNoTradingSessions() bool {
|
|
return m.Has(tag.NoTradingSessions)
|
|
}
|
|
|
|
// HasProcessCode returns true if ProcessCode is present, Tag 81.
|
|
func (m NoOrders) HasProcessCode() bool {
|
|
return m.Has(tag.ProcessCode)
|
|
}
|
|
|
|
// HasSymbol returns true if Symbol is present, Tag 55.
|
|
func (m NoOrders) HasSymbol() bool {
|
|
return m.Has(tag.Symbol)
|
|
}
|
|
|
|
// HasSymbolSfx returns true if SymbolSfx is present, Tag 65.
|
|
func (m NoOrders) HasSymbolSfx() bool {
|
|
return m.Has(tag.SymbolSfx)
|
|
}
|
|
|
|
// HasSecurityID returns true if SecurityID is present, Tag 48.
|
|
func (m NoOrders) HasSecurityID() bool {
|
|
return m.Has(tag.SecurityID)
|
|
}
|
|
|
|
// HasIDSource returns true if IDSource is present, Tag 22.
|
|
func (m NoOrders) HasIDSource() bool {
|
|
return m.Has(tag.IDSource)
|
|
}
|
|
|
|
// HasSecurityType returns true if SecurityType is present, Tag 167.
|
|
func (m NoOrders) HasSecurityType() bool {
|
|
return m.Has(tag.SecurityType)
|
|
}
|
|
|
|
// HasMaturityMonthYear returns true if MaturityMonthYear is present, Tag 200.
|
|
func (m NoOrders) HasMaturityMonthYear() bool {
|
|
return m.Has(tag.MaturityMonthYear)
|
|
}
|
|
|
|
// HasMaturityDay returns true if MaturityDay is present, Tag 205.
|
|
func (m NoOrders) HasMaturityDay() bool {
|
|
return m.Has(tag.MaturityDay)
|
|
}
|
|
|
|
// HasPutOrCall returns true if PutOrCall is present, Tag 201.
|
|
func (m NoOrders) HasPutOrCall() bool {
|
|
return m.Has(tag.PutOrCall)
|
|
}
|
|
|
|
// HasStrikePrice returns true if StrikePrice is present, Tag 202.
|
|
func (m NoOrders) HasStrikePrice() bool {
|
|
return m.Has(tag.StrikePrice)
|
|
}
|
|
|
|
// HasOptAttribute returns true if OptAttribute is present, Tag 206.
|
|
func (m NoOrders) HasOptAttribute() bool {
|
|
return m.Has(tag.OptAttribute)
|
|
}
|
|
|
|
// HasContractMultiplier returns true if ContractMultiplier is present, Tag 231.
|
|
func (m NoOrders) HasContractMultiplier() bool {
|
|
return m.Has(tag.ContractMultiplier)
|
|
}
|
|
|
|
// HasCouponRate returns true if CouponRate is present, Tag 223.
|
|
func (m NoOrders) HasCouponRate() bool {
|
|
return m.Has(tag.CouponRate)
|
|
}
|
|
|
|
// HasSecurityExchange returns true if SecurityExchange is present, Tag 207.
|
|
func (m NoOrders) HasSecurityExchange() bool {
|
|
return m.Has(tag.SecurityExchange)
|
|
}
|
|
|
|
// HasIssuer returns true if Issuer is present, Tag 106.
|
|
func (m NoOrders) HasIssuer() bool {
|
|
return m.Has(tag.Issuer)
|
|
}
|
|
|
|
// HasEncodedIssuerLen returns true if EncodedIssuerLen is present, Tag 348.
|
|
func (m NoOrders) HasEncodedIssuerLen() bool {
|
|
return m.Has(tag.EncodedIssuerLen)
|
|
}
|
|
|
|
// HasEncodedIssuer returns true if EncodedIssuer is present, Tag 349.
|
|
func (m NoOrders) HasEncodedIssuer() bool {
|
|
return m.Has(tag.EncodedIssuer)
|
|
}
|
|
|
|
// HasSecurityDesc returns true if SecurityDesc is present, Tag 107.
|
|
func (m NoOrders) HasSecurityDesc() bool {
|
|
return m.Has(tag.SecurityDesc)
|
|
}
|
|
|
|
// HasEncodedSecurityDescLen returns true if EncodedSecurityDescLen is present, Tag 350.
|
|
func (m NoOrders) HasEncodedSecurityDescLen() bool {
|
|
return m.Has(tag.EncodedSecurityDescLen)
|
|
}
|
|
|
|
// HasEncodedSecurityDesc returns true if EncodedSecurityDesc is present, Tag 351.
|
|
func (m NoOrders) HasEncodedSecurityDesc() bool {
|
|
return m.Has(tag.EncodedSecurityDesc)
|
|
}
|
|
|
|
// HasPrevClosePx returns true if PrevClosePx is present, Tag 140.
|
|
func (m NoOrders) HasPrevClosePx() bool {
|
|
return m.Has(tag.PrevClosePx)
|
|
}
|
|
|
|
// HasSide returns true if Side is present, Tag 54.
|
|
func (m NoOrders) HasSide() bool {
|
|
return m.Has(tag.Side)
|
|
}
|
|
|
|
// HasSideValueInd returns true if SideValueInd is present, Tag 401.
|
|
func (m NoOrders) HasSideValueInd() bool {
|
|
return m.Has(tag.SideValueInd)
|
|
}
|
|
|
|
// HasLocateReqd returns true if LocateReqd is present, Tag 114.
|
|
func (m NoOrders) HasLocateReqd() bool {
|
|
return m.Has(tag.LocateReqd)
|
|
}
|
|
|
|
// HasTransactTime returns true if TransactTime is present, Tag 60.
|
|
func (m NoOrders) HasTransactTime() bool {
|
|
return m.Has(tag.TransactTime)
|
|
}
|
|
|
|
// HasOrderQty returns true if OrderQty is present, Tag 38.
|
|
func (m NoOrders) HasOrderQty() bool {
|
|
return m.Has(tag.OrderQty)
|
|
}
|
|
|
|
// HasCashOrderQty returns true if CashOrderQty is present, Tag 152.
|
|
func (m NoOrders) HasCashOrderQty() bool {
|
|
return m.Has(tag.CashOrderQty)
|
|
}
|
|
|
|
// HasOrdType returns true if OrdType is present, Tag 40.
|
|
func (m NoOrders) HasOrdType() bool {
|
|
return m.Has(tag.OrdType)
|
|
}
|
|
|
|
// HasPrice returns true if Price is present, Tag 44.
|
|
func (m NoOrders) HasPrice() bool {
|
|
return m.Has(tag.Price)
|
|
}
|
|
|
|
// HasStopPx returns true if StopPx is present, Tag 99.
|
|
func (m NoOrders) HasStopPx() bool {
|
|
return m.Has(tag.StopPx)
|
|
}
|
|
|
|
// HasCurrency returns true if Currency is present, Tag 15.
|
|
func (m NoOrders) HasCurrency() bool {
|
|
return m.Has(tag.Currency)
|
|
}
|
|
|
|
// HasComplianceID returns true if ComplianceID is present, Tag 376.
|
|
func (m NoOrders) HasComplianceID() bool {
|
|
return m.Has(tag.ComplianceID)
|
|
}
|
|
|
|
// HasSolicitedFlag returns true if SolicitedFlag is present, Tag 377.
|
|
func (m NoOrders) HasSolicitedFlag() bool {
|
|
return m.Has(tag.SolicitedFlag)
|
|
}
|
|
|
|
// HasIOIid returns true if IOIid is present, Tag 23.
|
|
func (m NoOrders) HasIOIid() bool {
|
|
return m.Has(tag.IOIid)
|
|
}
|
|
|
|
// HasQuoteID returns true if QuoteID is present, Tag 117.
|
|
func (m NoOrders) HasQuoteID() bool {
|
|
return m.Has(tag.QuoteID)
|
|
}
|
|
|
|
// HasTimeInForce returns true if TimeInForce is present, Tag 59.
|
|
func (m NoOrders) HasTimeInForce() bool {
|
|
return m.Has(tag.TimeInForce)
|
|
}
|
|
|
|
// HasEffectiveTime returns true if EffectiveTime is present, Tag 168.
|
|
func (m NoOrders) HasEffectiveTime() bool {
|
|
return m.Has(tag.EffectiveTime)
|
|
}
|
|
|
|
// HasExpireDate returns true if ExpireDate is present, Tag 432.
|
|
func (m NoOrders) HasExpireDate() bool {
|
|
return m.Has(tag.ExpireDate)
|
|
}
|
|
|
|
// HasExpireTime returns true if ExpireTime is present, Tag 126.
|
|
func (m NoOrders) HasExpireTime() bool {
|
|
return m.Has(tag.ExpireTime)
|
|
}
|
|
|
|
// HasGTBookingInst returns true if GTBookingInst is present, Tag 427.
|
|
func (m NoOrders) HasGTBookingInst() bool {
|
|
return m.Has(tag.GTBookingInst)
|
|
}
|
|
|
|
// HasCommission returns true if Commission is present, Tag 12.
|
|
func (m NoOrders) HasCommission() bool {
|
|
return m.Has(tag.Commission)
|
|
}
|
|
|
|
// HasCommType returns true if CommType is present, Tag 13.
|
|
func (m NoOrders) HasCommType() bool {
|
|
return m.Has(tag.CommType)
|
|
}
|
|
|
|
// HasRule80A returns true if Rule80A is present, Tag 47.
|
|
func (m NoOrders) HasRule80A() bool {
|
|
return m.Has(tag.Rule80A)
|
|
}
|
|
|
|
// HasForexReq returns true if ForexReq is present, Tag 121.
|
|
func (m NoOrders) HasForexReq() bool {
|
|
return m.Has(tag.ForexReq)
|
|
}
|
|
|
|
// HasSettlCurrency returns true if SettlCurrency is present, Tag 120.
|
|
func (m NoOrders) HasSettlCurrency() bool {
|
|
return m.Has(tag.SettlCurrency)
|
|
}
|
|
|
|
// HasText returns true if Text is present, Tag 58.
|
|
func (m NoOrders) HasText() bool {
|
|
return m.Has(tag.Text)
|
|
}
|
|
|
|
// HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.
|
|
func (m NoOrders) HasEncodedTextLen() bool {
|
|
return m.Has(tag.EncodedTextLen)
|
|
}
|
|
|
|
// HasEncodedText returns true if EncodedText is present, Tag 355.
|
|
func (m NoOrders) HasEncodedText() bool {
|
|
return m.Has(tag.EncodedText)
|
|
}
|
|
|
|
// HasFutSettDate2 returns true if FutSettDate2 is present, Tag 193.
|
|
func (m NoOrders) HasFutSettDate2() bool {
|
|
return m.Has(tag.FutSettDate2)
|
|
}
|
|
|
|
// HasOrderQty2 returns true if OrderQty2 is present, Tag 192.
|
|
func (m NoOrders) HasOrderQty2() bool {
|
|
return m.Has(tag.OrderQty2)
|
|
}
|
|
|
|
// HasOpenClose returns true if OpenClose is present, Tag 77.
|
|
func (m NoOrders) HasOpenClose() bool {
|
|
return m.Has(tag.OpenClose)
|
|
}
|
|
|
|
// HasCoveredOrUncovered returns true if CoveredOrUncovered is present, Tag 203.
|
|
func (m NoOrders) HasCoveredOrUncovered() bool {
|
|
return m.Has(tag.CoveredOrUncovered)
|
|
}
|
|
|
|
// HasCustomerOrFirm returns true if CustomerOrFirm is present, Tag 204.
|
|
func (m NoOrders) HasCustomerOrFirm() bool {
|
|
return m.Has(tag.CustomerOrFirm)
|
|
}
|
|
|
|
// HasMaxShow returns true if MaxShow is present, Tag 210.
|
|
func (m NoOrders) HasMaxShow() bool {
|
|
return m.Has(tag.MaxShow)
|
|
}
|
|
|
|
// HasPegDifference returns true if PegDifference is present, Tag 211.
|
|
func (m NoOrders) HasPegDifference() bool {
|
|
return m.Has(tag.PegDifference)
|
|
}
|
|
|
|
// HasDiscretionInst returns true if DiscretionInst is present, Tag 388.
|
|
func (m NoOrders) HasDiscretionInst() bool {
|
|
return m.Has(tag.DiscretionInst)
|
|
}
|
|
|
|
// HasDiscretionOffset returns true if DiscretionOffset is present, Tag 389.
|
|
func (m NoOrders) HasDiscretionOffset() bool {
|
|
return m.Has(tag.DiscretionOffset)
|
|
}
|
|
|
|
// HasClearingFirm returns true if ClearingFirm is present, Tag 439.
|
|
func (m NoOrders) HasClearingFirm() bool {
|
|
return m.Has(tag.ClearingFirm)
|
|
}
|
|
|
|
// HasClearingAccount returns true if ClearingAccount is present, Tag 440.
|
|
func (m NoOrders) HasClearingAccount() bool {
|
|
return m.Has(tag.ClearingAccount)
|
|
}
|
|
|
|
// NoAllocs is a repeating group element, Tag 78.
|
|
type NoAllocs struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetAllocAccount sets AllocAccount, Tag 79.
|
|
func (m NoAllocs) SetAllocAccount(v string) {
|
|
m.Set(field.NewAllocAccount(v))
|
|
}
|
|
|
|
// SetAllocShares sets AllocShares, Tag 80.
|
|
func (m NoAllocs) SetAllocShares(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewAllocShares(value, scale))
|
|
}
|
|
|
|
// GetAllocAccount gets AllocAccount, Tag 79.
|
|
func (m NoAllocs) GetAllocAccount() (v string, err quickfix.MessageRejectError) {
|
|
var f field.AllocAccountField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetAllocShares gets AllocShares, Tag 80.
|
|
func (m NoAllocs) GetAllocShares() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.AllocSharesField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasAllocAccount returns true if AllocAccount is present, Tag 79.
|
|
func (m NoAllocs) HasAllocAccount() bool {
|
|
return m.Has(tag.AllocAccount)
|
|
}
|
|
|
|
// HasAllocShares returns true if AllocShares is present, Tag 80.
|
|
func (m NoAllocs) HasAllocShares() bool {
|
|
return m.Has(tag.AllocShares)
|
|
}
|
|
|
|
// NoAllocsRepeatingGroup is a repeating group, Tag 78.
|
|
type NoAllocsRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoAllocsRepeatingGroup returns an initialized, NoAllocsRepeatingGroup.
|
|
func NewNoAllocsRepeatingGroup() NoAllocsRepeatingGroup {
|
|
return NoAllocsRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoAllocs,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.AllocAccount),
|
|
quickfix.GroupElement(tag.AllocShares),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoAllocs to this group.
|
|
func (m NoAllocsRepeatingGroup) Add() NoAllocs {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoAllocs{g}
|
|
}
|
|
|
|
// Get returns the ith NoAllocs in the NoAllocsRepeatinGroup.
|
|
func (m NoAllocsRepeatingGroup) Get(i int) NoAllocs {
|
|
return NoAllocs{m.RepeatingGroup.Get(i)}
|
|
}
|
|
|
|
// NoTradingSessions is a repeating group element, Tag 386.
|
|
type NoTradingSessions struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetTradingSessionID sets TradingSessionID, Tag 336.
|
|
func (m NoTradingSessions) SetTradingSessionID(v enum.TradingSessionID) {
|
|
m.Set(field.NewTradingSessionID(v))
|
|
}
|
|
|
|
// GetTradingSessionID gets TradingSessionID, Tag 336.
|
|
func (m NoTradingSessions) GetTradingSessionID() (v enum.TradingSessionID, err quickfix.MessageRejectError) {
|
|
var f field.TradingSessionIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasTradingSessionID returns true if TradingSessionID is present, Tag 336.
|
|
func (m NoTradingSessions) HasTradingSessionID() bool {
|
|
return m.Has(tag.TradingSessionID)
|
|
}
|
|
|
|
// NoTradingSessionsRepeatingGroup is a repeating group, Tag 386.
|
|
type NoTradingSessionsRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoTradingSessionsRepeatingGroup returns an initialized, NoTradingSessionsRepeatingGroup.
|
|
func NewNoTradingSessionsRepeatingGroup() NoTradingSessionsRepeatingGroup {
|
|
return NoTradingSessionsRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoTradingSessions,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.TradingSessionID),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoTradingSessions to this group.
|
|
func (m NoTradingSessionsRepeatingGroup) Add() NoTradingSessions {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoTradingSessions{g}
|
|
}
|
|
|
|
// Get returns the ith NoTradingSessions in the NoTradingSessionsRepeatinGroup.
|
|
func (m NoTradingSessionsRepeatingGroup) Get(i int) NoTradingSessions {
|
|
return NoTradingSessions{m.RepeatingGroup.Get(i)}
|
|
}
|
|
|
|
// NoOrdersRepeatingGroup is a repeating group, Tag 73.
|
|
type NoOrdersRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoOrdersRepeatingGroup returns an initialized, NoOrdersRepeatingGroup.
|
|
func NewNoOrdersRepeatingGroup() NoOrdersRepeatingGroup {
|
|
return NoOrdersRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoOrders,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.ClOrdID),
|
|
quickfix.GroupElement(tag.ListSeqNo),
|
|
quickfix.GroupElement(tag.SettlInstMode),
|
|
quickfix.GroupElement(tag.ClientID),
|
|
quickfix.GroupElement(tag.ExecBroker),
|
|
quickfix.GroupElement(tag.Account),
|
|
NewNoAllocsRepeatingGroup(),
|
|
quickfix.GroupElement(tag.SettlmntTyp),
|
|
quickfix.GroupElement(tag.FutSettDate),
|
|
quickfix.GroupElement(tag.HandlInst),
|
|
quickfix.GroupElement(tag.ExecInst),
|
|
quickfix.GroupElement(tag.MinQty),
|
|
quickfix.GroupElement(tag.MaxFloor),
|
|
quickfix.GroupElement(tag.ExDestination),
|
|
NewNoTradingSessionsRepeatingGroup(),
|
|
quickfix.GroupElement(tag.ProcessCode),
|
|
quickfix.GroupElement(tag.Symbol),
|
|
quickfix.GroupElement(tag.SymbolSfx),
|
|
quickfix.GroupElement(tag.SecurityID),
|
|
quickfix.GroupElement(tag.IDSource),
|
|
quickfix.GroupElement(tag.SecurityType),
|
|
quickfix.GroupElement(tag.MaturityMonthYear),
|
|
quickfix.GroupElement(tag.MaturityDay),
|
|
quickfix.GroupElement(tag.PutOrCall),
|
|
quickfix.GroupElement(tag.StrikePrice),
|
|
quickfix.GroupElement(tag.OptAttribute),
|
|
quickfix.GroupElement(tag.ContractMultiplier),
|
|
quickfix.GroupElement(tag.CouponRate),
|
|
quickfix.GroupElement(tag.SecurityExchange),
|
|
quickfix.GroupElement(tag.Issuer),
|
|
quickfix.GroupElement(tag.EncodedIssuerLen),
|
|
quickfix.GroupElement(tag.EncodedIssuer),
|
|
quickfix.GroupElement(tag.SecurityDesc),
|
|
quickfix.GroupElement(tag.EncodedSecurityDescLen),
|
|
quickfix.GroupElement(tag.EncodedSecurityDesc),
|
|
quickfix.GroupElement(tag.PrevClosePx),
|
|
quickfix.GroupElement(tag.Side),
|
|
quickfix.GroupElement(tag.SideValueInd),
|
|
quickfix.GroupElement(tag.LocateReqd),
|
|
quickfix.GroupElement(tag.TransactTime),
|
|
quickfix.GroupElement(tag.OrderQty),
|
|
quickfix.GroupElement(tag.CashOrderQty),
|
|
quickfix.GroupElement(tag.OrdType),
|
|
quickfix.GroupElement(tag.Price),
|
|
quickfix.GroupElement(tag.StopPx),
|
|
quickfix.GroupElement(tag.Currency),
|
|
quickfix.GroupElement(tag.ComplianceID),
|
|
quickfix.GroupElement(tag.SolicitedFlag),
|
|
quickfix.GroupElement(tag.IOIid),
|
|
quickfix.GroupElement(tag.QuoteID),
|
|
quickfix.GroupElement(tag.TimeInForce),
|
|
quickfix.GroupElement(tag.EffectiveTime),
|
|
quickfix.GroupElement(tag.ExpireDate),
|
|
quickfix.GroupElement(tag.ExpireTime),
|
|
quickfix.GroupElement(tag.GTBookingInst),
|
|
quickfix.GroupElement(tag.Commission),
|
|
quickfix.GroupElement(tag.CommType),
|
|
quickfix.GroupElement(tag.Rule80A),
|
|
quickfix.GroupElement(tag.ForexReq),
|
|
quickfix.GroupElement(tag.SettlCurrency),
|
|
quickfix.GroupElement(tag.Text),
|
|
quickfix.GroupElement(tag.EncodedTextLen),
|
|
quickfix.GroupElement(tag.EncodedText),
|
|
quickfix.GroupElement(tag.FutSettDate2),
|
|
quickfix.GroupElement(tag.OrderQty2),
|
|
quickfix.GroupElement(tag.OpenClose),
|
|
quickfix.GroupElement(tag.CoveredOrUncovered),
|
|
quickfix.GroupElement(tag.CustomerOrFirm),
|
|
quickfix.GroupElement(tag.MaxShow),
|
|
quickfix.GroupElement(tag.PegDifference),
|
|
quickfix.GroupElement(tag.DiscretionInst),
|
|
quickfix.GroupElement(tag.DiscretionOffset),
|
|
quickfix.GroupElement(tag.ClearingFirm),
|
|
quickfix.GroupElement(tag.ClearingAccount),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoOrders to this group.
|
|
func (m NoOrdersRepeatingGroup) Add() NoOrders {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoOrders{g}
|
|
}
|
|
|
|
// Get returns the ith NoOrders in the NoOrdersRepeatinGroup.
|
|
func (m NoOrdersRepeatingGroup) Get(i int) NoOrders {
|
|
return NoOrders{m.RepeatingGroup.Get(i)}
|
|
}
|