3413 lines
96 KiB
Go
3413 lines
96 KiB
Go
// Code generated by quickfix. DO NOT EDIT.
|
|
package newordermultileg
|
|
|
|
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/fix43"
|
|
"quantex.com/qfixpt/quickfix/gen/tag"
|
|
)
|
|
|
|
// NewOrderMultileg is the fix43 NewOrderMultileg type, MsgType = AB.
|
|
type NewOrderMultileg struct {
|
|
fix43.Header
|
|
*quickfix.Body
|
|
fix43.Trailer
|
|
Message *quickfix.Message
|
|
}
|
|
|
|
// FromMessage creates a NewOrderMultileg from a quickfix.Message instance.
|
|
func FromMessage(m *quickfix.Message) NewOrderMultileg {
|
|
return NewOrderMultileg{
|
|
Header: fix43.Header{Header: &m.Header},
|
|
Body: &m.Body,
|
|
Trailer: fix43.Trailer{Trailer: &m.Trailer},
|
|
Message: m,
|
|
}
|
|
}
|
|
|
|
// ToMessage returns a quickfix.Message instance.
|
|
func (m NewOrderMultileg) ToMessage() *quickfix.Message {
|
|
return m.Message
|
|
}
|
|
|
|
// New returns a NewOrderMultileg initialized with the required fields for NewOrderMultileg.
|
|
func New(clordid field.ClOrdIDField, handlinst field.HandlInstField, side field.SideField, transacttime field.TransactTimeField, ordtype field.OrdTypeField) (m NewOrderMultileg) {
|
|
m.Message = quickfix.NewMessage()
|
|
m.Header = fix43.NewHeader(&m.Message.Header)
|
|
m.Body = &m.Message.Body
|
|
m.Trailer.Trailer = &m.Message.Trailer
|
|
|
|
m.Header.Set(field.NewMsgType("AB"))
|
|
m.Set(clordid)
|
|
m.Set(handlinst)
|
|
m.Set(side)
|
|
m.Set(transacttime)
|
|
m.Set(ordtype)
|
|
|
|
return
|
|
}
|
|
|
|
// A RouteOut is the callback type that should be implemented for routing Message.
|
|
type RouteOut func(msg NewOrderMultileg, 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.3", "AB", r
|
|
}
|
|
|
|
// SetAccount sets Account, Tag 1.
|
|
func (m NewOrderMultileg) SetAccount(v string) {
|
|
m.Set(field.NewAccount(v))
|
|
}
|
|
|
|
// SetClOrdID sets ClOrdID, Tag 11.
|
|
func (m NewOrderMultileg) SetClOrdID(v string) {
|
|
m.Set(field.NewClOrdID(v))
|
|
}
|
|
|
|
// SetCommission sets Commission, Tag 12.
|
|
func (m NewOrderMultileg) SetCommission(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewCommission(value, scale))
|
|
}
|
|
|
|
// SetCommType sets CommType, Tag 13.
|
|
func (m NewOrderMultileg) SetCommType(v enum.CommType) {
|
|
m.Set(field.NewCommType(v))
|
|
}
|
|
|
|
// SetCurrency sets Currency, Tag 15.
|
|
func (m NewOrderMultileg) SetCurrency(v string) {
|
|
m.Set(field.NewCurrency(v))
|
|
}
|
|
|
|
// SetExecInst sets ExecInst, Tag 18.
|
|
func (m NewOrderMultileg) SetExecInst(v enum.ExecInst) {
|
|
m.Set(field.NewExecInst(v))
|
|
}
|
|
|
|
// SetHandlInst sets HandlInst, Tag 21.
|
|
func (m NewOrderMultileg) SetHandlInst(v enum.HandlInst) {
|
|
m.Set(field.NewHandlInst(v))
|
|
}
|
|
|
|
// SetSecurityIDSource sets SecurityIDSource, Tag 22.
|
|
func (m NewOrderMultileg) SetSecurityIDSource(v enum.SecurityIDSource) {
|
|
m.Set(field.NewSecurityIDSource(v))
|
|
}
|
|
|
|
// SetIOIid sets IOIid, Tag 23.
|
|
func (m NewOrderMultileg) SetIOIid(v string) {
|
|
m.Set(field.NewIOIid(v))
|
|
}
|
|
|
|
// SetOrderQty sets OrderQty, Tag 38.
|
|
func (m NewOrderMultileg) SetOrderQty(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewOrderQty(value, scale))
|
|
}
|
|
|
|
// SetOrdType sets OrdType, Tag 40.
|
|
func (m NewOrderMultileg) SetOrdType(v enum.OrdType) {
|
|
m.Set(field.NewOrdType(v))
|
|
}
|
|
|
|
// SetPrice sets Price, Tag 44.
|
|
func (m NewOrderMultileg) SetPrice(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewPrice(value, scale))
|
|
}
|
|
|
|
// SetSecurityID sets SecurityID, Tag 48.
|
|
func (m NewOrderMultileg) SetSecurityID(v string) {
|
|
m.Set(field.NewSecurityID(v))
|
|
}
|
|
|
|
// SetSide sets Side, Tag 54.
|
|
func (m NewOrderMultileg) SetSide(v enum.Side) {
|
|
m.Set(field.NewSide(v))
|
|
}
|
|
|
|
// SetSymbol sets Symbol, Tag 55.
|
|
func (m NewOrderMultileg) SetSymbol(v string) {
|
|
m.Set(field.NewSymbol(v))
|
|
}
|
|
|
|
// SetText sets Text, Tag 58.
|
|
func (m NewOrderMultileg) SetText(v string) {
|
|
m.Set(field.NewText(v))
|
|
}
|
|
|
|
// SetTimeInForce sets TimeInForce, Tag 59.
|
|
func (m NewOrderMultileg) SetTimeInForce(v enum.TimeInForce) {
|
|
m.Set(field.NewTimeInForce(v))
|
|
}
|
|
|
|
// SetTransactTime sets TransactTime, Tag 60.
|
|
func (m NewOrderMultileg) SetTransactTime(v time.Time) {
|
|
m.Set(field.NewTransactTime(v))
|
|
}
|
|
|
|
// SetSettlmntTyp sets SettlmntTyp, Tag 63.
|
|
func (m NewOrderMultileg) SetSettlmntTyp(v enum.SettlmntTyp) {
|
|
m.Set(field.NewSettlmntTyp(v))
|
|
}
|
|
|
|
// SetFutSettDate sets FutSettDate, Tag 64.
|
|
func (m NewOrderMultileg) SetFutSettDate(v string) {
|
|
m.Set(field.NewFutSettDate(v))
|
|
}
|
|
|
|
// SetSymbolSfx sets SymbolSfx, Tag 65.
|
|
func (m NewOrderMultileg) SetSymbolSfx(v enum.SymbolSfx) {
|
|
m.Set(field.NewSymbolSfx(v))
|
|
}
|
|
|
|
// SetPositionEffect sets PositionEffect, Tag 77.
|
|
func (m NewOrderMultileg) SetPositionEffect(v enum.PositionEffect) {
|
|
m.Set(field.NewPositionEffect(v))
|
|
}
|
|
|
|
// SetNoAllocs sets NoAllocs, Tag 78.
|
|
func (m NewOrderMultileg) SetNoAllocs(f NoAllocsRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetProcessCode sets ProcessCode, Tag 81.
|
|
func (m NewOrderMultileg) SetProcessCode(v enum.ProcessCode) {
|
|
m.Set(field.NewProcessCode(v))
|
|
}
|
|
|
|
// SetStopPx sets StopPx, Tag 99.
|
|
func (m NewOrderMultileg) SetStopPx(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewStopPx(value, scale))
|
|
}
|
|
|
|
// SetExDestination sets ExDestination, Tag 100.
|
|
func (m NewOrderMultileg) SetExDestination(v enum.ExDestination) {
|
|
m.Set(field.NewExDestination(v))
|
|
}
|
|
|
|
// SetIssuer sets Issuer, Tag 106.
|
|
func (m NewOrderMultileg) SetIssuer(v string) {
|
|
m.Set(field.NewIssuer(v))
|
|
}
|
|
|
|
// SetSecurityDesc sets SecurityDesc, Tag 107.
|
|
func (m NewOrderMultileg) SetSecurityDesc(v string) {
|
|
m.Set(field.NewSecurityDesc(v))
|
|
}
|
|
|
|
// SetMinQty sets MinQty, Tag 110.
|
|
func (m NewOrderMultileg) SetMinQty(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewMinQty(value, scale))
|
|
}
|
|
|
|
// SetMaxFloor sets MaxFloor, Tag 111.
|
|
func (m NewOrderMultileg) SetMaxFloor(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewMaxFloor(value, scale))
|
|
}
|
|
|
|
// SetLocateReqd sets LocateReqd, Tag 114.
|
|
func (m NewOrderMultileg) SetLocateReqd(v bool) {
|
|
m.Set(field.NewLocateReqd(v))
|
|
}
|
|
|
|
// SetQuoteID sets QuoteID, Tag 117.
|
|
func (m NewOrderMultileg) SetQuoteID(v string) {
|
|
m.Set(field.NewQuoteID(v))
|
|
}
|
|
|
|
// SetNetMoney sets NetMoney, Tag 118.
|
|
func (m NewOrderMultileg) SetNetMoney(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewNetMoney(value, scale))
|
|
}
|
|
|
|
// SetSettlCurrency sets SettlCurrency, Tag 120.
|
|
func (m NewOrderMultileg) SetSettlCurrency(v string) {
|
|
m.Set(field.NewSettlCurrency(v))
|
|
}
|
|
|
|
// SetForexReq sets ForexReq, Tag 121.
|
|
func (m NewOrderMultileg) SetForexReq(v bool) {
|
|
m.Set(field.NewForexReq(v))
|
|
}
|
|
|
|
// SetExpireTime sets ExpireTime, Tag 126.
|
|
func (m NewOrderMultileg) SetExpireTime(v time.Time) {
|
|
m.Set(field.NewExpireTime(v))
|
|
}
|
|
|
|
// SetPrevClosePx sets PrevClosePx, Tag 140.
|
|
func (m NewOrderMultileg) SetPrevClosePx(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewPrevClosePx(value, scale))
|
|
}
|
|
|
|
// SetCashOrderQty sets CashOrderQty, Tag 152.
|
|
func (m NewOrderMultileg) SetCashOrderQty(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewCashOrderQty(value, scale))
|
|
}
|
|
|
|
// SetSecurityType sets SecurityType, Tag 167.
|
|
func (m NewOrderMultileg) SetSecurityType(v enum.SecurityType) {
|
|
m.Set(field.NewSecurityType(v))
|
|
}
|
|
|
|
// SetEffectiveTime sets EffectiveTime, Tag 168.
|
|
func (m NewOrderMultileg) SetEffectiveTime(v time.Time) {
|
|
m.Set(field.NewEffectiveTime(v))
|
|
}
|
|
|
|
// SetMaturityMonthYear sets MaturityMonthYear, Tag 200.
|
|
func (m NewOrderMultileg) SetMaturityMonthYear(v string) {
|
|
m.Set(field.NewMaturityMonthYear(v))
|
|
}
|
|
|
|
// SetStrikePrice sets StrikePrice, Tag 202.
|
|
func (m NewOrderMultileg) SetStrikePrice(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewStrikePrice(value, scale))
|
|
}
|
|
|
|
// SetCoveredOrUncovered sets CoveredOrUncovered, Tag 203.
|
|
func (m NewOrderMultileg) SetCoveredOrUncovered(v enum.CoveredOrUncovered) {
|
|
m.Set(field.NewCoveredOrUncovered(v))
|
|
}
|
|
|
|
// SetOptAttribute sets OptAttribute, Tag 206.
|
|
func (m NewOrderMultileg) SetOptAttribute(v string) {
|
|
m.Set(field.NewOptAttribute(v))
|
|
}
|
|
|
|
// SetSecurityExchange sets SecurityExchange, Tag 207.
|
|
func (m NewOrderMultileg) SetSecurityExchange(v string) {
|
|
m.Set(field.NewSecurityExchange(v))
|
|
}
|
|
|
|
// SetMaxShow sets MaxShow, Tag 210.
|
|
func (m NewOrderMultileg) SetMaxShow(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewMaxShow(value, scale))
|
|
}
|
|
|
|
// SetPegDifference sets PegDifference, Tag 211.
|
|
func (m NewOrderMultileg) SetPegDifference(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewPegDifference(value, scale))
|
|
}
|
|
|
|
// SetCouponRate sets CouponRate, Tag 223.
|
|
func (m NewOrderMultileg) SetCouponRate(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewCouponRate(value, scale))
|
|
}
|
|
|
|
// SetCouponPaymentDate sets CouponPaymentDate, Tag 224.
|
|
func (m NewOrderMultileg) SetCouponPaymentDate(v string) {
|
|
m.Set(field.NewCouponPaymentDate(v))
|
|
}
|
|
|
|
// SetIssueDate sets IssueDate, Tag 225.
|
|
func (m NewOrderMultileg) SetIssueDate(v string) {
|
|
m.Set(field.NewIssueDate(v))
|
|
}
|
|
|
|
// SetRepurchaseTerm sets RepurchaseTerm, Tag 226.
|
|
func (m NewOrderMultileg) SetRepurchaseTerm(v int) {
|
|
m.Set(field.NewRepurchaseTerm(v))
|
|
}
|
|
|
|
// SetRepurchaseRate sets RepurchaseRate, Tag 227.
|
|
func (m NewOrderMultileg) SetRepurchaseRate(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewRepurchaseRate(value, scale))
|
|
}
|
|
|
|
// SetFactor sets Factor, Tag 228.
|
|
func (m NewOrderMultileg) SetFactor(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewFactor(value, scale))
|
|
}
|
|
|
|
// SetContractMultiplier sets ContractMultiplier, Tag 231.
|
|
func (m NewOrderMultileg) SetContractMultiplier(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewContractMultiplier(value, scale))
|
|
}
|
|
|
|
// SetRepoCollateralSecurityType sets RepoCollateralSecurityType, Tag 239.
|
|
func (m NewOrderMultileg) SetRepoCollateralSecurityType(v int) {
|
|
m.Set(field.NewRepoCollateralSecurityType(v))
|
|
}
|
|
|
|
// SetRedemptionDate sets RedemptionDate, Tag 240.
|
|
func (m NewOrderMultileg) SetRedemptionDate(v string) {
|
|
m.Set(field.NewRedemptionDate(v))
|
|
}
|
|
|
|
// SetCreditRating sets CreditRating, Tag 255.
|
|
func (m NewOrderMultileg) SetCreditRating(v string) {
|
|
m.Set(field.NewCreditRating(v))
|
|
}
|
|
|
|
// SetEncodedIssuerLen sets EncodedIssuerLen, Tag 348.
|
|
func (m NewOrderMultileg) SetEncodedIssuerLen(v int) {
|
|
m.Set(field.NewEncodedIssuerLen(v))
|
|
}
|
|
|
|
// SetEncodedIssuer sets EncodedIssuer, Tag 349.
|
|
func (m NewOrderMultileg) SetEncodedIssuer(v string) {
|
|
m.Set(field.NewEncodedIssuer(v))
|
|
}
|
|
|
|
// SetEncodedSecurityDescLen sets EncodedSecurityDescLen, Tag 350.
|
|
func (m NewOrderMultileg) SetEncodedSecurityDescLen(v int) {
|
|
m.Set(field.NewEncodedSecurityDescLen(v))
|
|
}
|
|
|
|
// SetEncodedSecurityDesc sets EncodedSecurityDesc, Tag 351.
|
|
func (m NewOrderMultileg) SetEncodedSecurityDesc(v string) {
|
|
m.Set(field.NewEncodedSecurityDesc(v))
|
|
}
|
|
|
|
// SetEncodedTextLen sets EncodedTextLen, Tag 354.
|
|
func (m NewOrderMultileg) SetEncodedTextLen(v int) {
|
|
m.Set(field.NewEncodedTextLen(v))
|
|
}
|
|
|
|
// SetEncodedText sets EncodedText, Tag 355.
|
|
func (m NewOrderMultileg) SetEncodedText(v string) {
|
|
m.Set(field.NewEncodedText(v))
|
|
}
|
|
|
|
// SetComplianceID sets ComplianceID, Tag 376.
|
|
func (m NewOrderMultileg) SetComplianceID(v string) {
|
|
m.Set(field.NewComplianceID(v))
|
|
}
|
|
|
|
// SetSolicitedFlag sets SolicitedFlag, Tag 377.
|
|
func (m NewOrderMultileg) SetSolicitedFlag(v bool) {
|
|
m.Set(field.NewSolicitedFlag(v))
|
|
}
|
|
|
|
// SetNoTradingSessions sets NoTradingSessions, Tag 386.
|
|
func (m NewOrderMultileg) SetNoTradingSessions(f NoTradingSessionsRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetDiscretionInst sets DiscretionInst, Tag 388.
|
|
func (m NewOrderMultileg) SetDiscretionInst(v enum.DiscretionInst) {
|
|
m.Set(field.NewDiscretionInst(v))
|
|
}
|
|
|
|
// SetDiscretionOffset sets DiscretionOffset, Tag 389.
|
|
func (m NewOrderMultileg) SetDiscretionOffset(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewDiscretionOffset(value, scale))
|
|
}
|
|
|
|
// SetPriceType sets PriceType, Tag 423.
|
|
func (m NewOrderMultileg) SetPriceType(v enum.PriceType) {
|
|
m.Set(field.NewPriceType(v))
|
|
}
|
|
|
|
// SetGTBookingInst sets GTBookingInst, Tag 427.
|
|
func (m NewOrderMultileg) SetGTBookingInst(v enum.GTBookingInst) {
|
|
m.Set(field.NewGTBookingInst(v))
|
|
}
|
|
|
|
// SetExpireDate sets ExpireDate, Tag 432.
|
|
func (m NewOrderMultileg) SetExpireDate(v string) {
|
|
m.Set(field.NewExpireDate(v))
|
|
}
|
|
|
|
// SetNoPartyIDs sets NoPartyIDs, Tag 453.
|
|
func (m NewOrderMultileg) SetNoPartyIDs(f NoPartyIDsRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetNoSecurityAltID sets NoSecurityAltID, Tag 454.
|
|
func (m NewOrderMultileg) SetNoSecurityAltID(f NoSecurityAltIDRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetProduct sets Product, Tag 460.
|
|
func (m NewOrderMultileg) SetProduct(v enum.Product) {
|
|
m.Set(field.NewProduct(v))
|
|
}
|
|
|
|
// SetCFICode sets CFICode, Tag 461.
|
|
func (m NewOrderMultileg) SetCFICode(v string) {
|
|
m.Set(field.NewCFICode(v))
|
|
}
|
|
|
|
// SetQuantityType sets QuantityType, Tag 465.
|
|
func (m NewOrderMultileg) SetQuantityType(v enum.QuantityType) {
|
|
m.Set(field.NewQuantityType(v))
|
|
}
|
|
|
|
// SetRoundingDirection sets RoundingDirection, Tag 468.
|
|
func (m NewOrderMultileg) SetRoundingDirection(v enum.RoundingDirection) {
|
|
m.Set(field.NewRoundingDirection(v))
|
|
}
|
|
|
|
// SetRoundingModulus sets RoundingModulus, Tag 469.
|
|
func (m NewOrderMultileg) SetRoundingModulus(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewRoundingModulus(value, scale))
|
|
}
|
|
|
|
// SetCountryOfIssue sets CountryOfIssue, Tag 470.
|
|
func (m NewOrderMultileg) SetCountryOfIssue(v string) {
|
|
m.Set(field.NewCountryOfIssue(v))
|
|
}
|
|
|
|
// SetStateOrProvinceOfIssue sets StateOrProvinceOfIssue, Tag 471.
|
|
func (m NewOrderMultileg) SetStateOrProvinceOfIssue(v string) {
|
|
m.Set(field.NewStateOrProvinceOfIssue(v))
|
|
}
|
|
|
|
// SetLocaleOfIssue sets LocaleOfIssue, Tag 472.
|
|
func (m NewOrderMultileg) SetLocaleOfIssue(v string) {
|
|
m.Set(field.NewLocaleOfIssue(v))
|
|
}
|
|
|
|
// SetCommCurrency sets CommCurrency, Tag 479.
|
|
func (m NewOrderMultileg) SetCommCurrency(v string) {
|
|
m.Set(field.NewCommCurrency(v))
|
|
}
|
|
|
|
// SetCancellationRights sets CancellationRights, Tag 480.
|
|
func (m NewOrderMultileg) SetCancellationRights(v enum.CancellationRights) {
|
|
m.Set(field.NewCancellationRights(v))
|
|
}
|
|
|
|
// SetMoneyLaunderingStatus sets MoneyLaunderingStatus, Tag 481.
|
|
func (m NewOrderMultileg) SetMoneyLaunderingStatus(v enum.MoneyLaunderingStatus) {
|
|
m.Set(field.NewMoneyLaunderingStatus(v))
|
|
}
|
|
|
|
// SetDesignation sets Designation, Tag 494.
|
|
func (m NewOrderMultileg) SetDesignation(v string) {
|
|
m.Set(field.NewDesignation(v))
|
|
}
|
|
|
|
// SetFundRenewWaiv sets FundRenewWaiv, Tag 497.
|
|
func (m NewOrderMultileg) SetFundRenewWaiv(v enum.FundRenewWaiv) {
|
|
m.Set(field.NewFundRenewWaiv(v))
|
|
}
|
|
|
|
// SetRegistID sets RegistID, Tag 513.
|
|
func (m NewOrderMultileg) SetRegistID(v string) {
|
|
m.Set(field.NewRegistID(v))
|
|
}
|
|
|
|
// SetOrderPercent sets OrderPercent, Tag 516.
|
|
func (m NewOrderMultileg) SetOrderPercent(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewOrderPercent(value, scale))
|
|
}
|
|
|
|
// SetSecondaryClOrdID sets SecondaryClOrdID, Tag 526.
|
|
func (m NewOrderMultileg) SetSecondaryClOrdID(v string) {
|
|
m.Set(field.NewSecondaryClOrdID(v))
|
|
}
|
|
|
|
// SetOrderCapacity sets OrderCapacity, Tag 528.
|
|
func (m NewOrderMultileg) SetOrderCapacity(v enum.OrderCapacity) {
|
|
m.Set(field.NewOrderCapacity(v))
|
|
}
|
|
|
|
// SetOrderRestrictions sets OrderRestrictions, Tag 529.
|
|
func (m NewOrderMultileg) SetOrderRestrictions(v enum.OrderRestrictions) {
|
|
m.Set(field.NewOrderRestrictions(v))
|
|
}
|
|
|
|
// SetMaturityDate sets MaturityDate, Tag 541.
|
|
func (m NewOrderMultileg) SetMaturityDate(v string) {
|
|
m.Set(field.NewMaturityDate(v))
|
|
}
|
|
|
|
// SetInstrRegistry sets InstrRegistry, Tag 543.
|
|
func (m NewOrderMultileg) SetInstrRegistry(v enum.InstrRegistry) {
|
|
m.Set(field.NewInstrRegistry(v))
|
|
}
|
|
|
|
// SetCashMargin sets CashMargin, Tag 544.
|
|
func (m NewOrderMultileg) SetCashMargin(v enum.CashMargin) {
|
|
m.Set(field.NewCashMargin(v))
|
|
}
|
|
|
|
// SetNoLegs sets NoLegs, Tag 555.
|
|
func (m NewOrderMultileg) SetNoLegs(f NoLegsRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetMultiLegRptTypeReq sets MultiLegRptTypeReq, Tag 563.
|
|
func (m NewOrderMultileg) SetMultiLegRptTypeReq(v enum.MultiLegRptTypeReq) {
|
|
m.Set(field.NewMultiLegRptTypeReq(v))
|
|
}
|
|
|
|
// SetAccountType sets AccountType, Tag 581.
|
|
func (m NewOrderMultileg) SetAccountType(v enum.AccountType) {
|
|
m.Set(field.NewAccountType(v))
|
|
}
|
|
|
|
// SetCustOrderCapacity sets CustOrderCapacity, Tag 582.
|
|
func (m NewOrderMultileg) SetCustOrderCapacity(v enum.CustOrderCapacity) {
|
|
m.Set(field.NewCustOrderCapacity(v))
|
|
}
|
|
|
|
// SetClOrdLinkID sets ClOrdLinkID, Tag 583.
|
|
func (m NewOrderMultileg) SetClOrdLinkID(v string) {
|
|
m.Set(field.NewClOrdLinkID(v))
|
|
}
|
|
|
|
// SetDayBookingInst sets DayBookingInst, Tag 589.
|
|
func (m NewOrderMultileg) SetDayBookingInst(v enum.DayBookingInst) {
|
|
m.Set(field.NewDayBookingInst(v))
|
|
}
|
|
|
|
// SetBookingUnit sets BookingUnit, Tag 590.
|
|
func (m NewOrderMultileg) SetBookingUnit(v enum.BookingUnit) {
|
|
m.Set(field.NewBookingUnit(v))
|
|
}
|
|
|
|
// SetPreallocMethod sets PreallocMethod, Tag 591.
|
|
func (m NewOrderMultileg) SetPreallocMethod(v enum.PreallocMethod) {
|
|
m.Set(field.NewPreallocMethod(v))
|
|
}
|
|
|
|
// SetClearingFeeIndicator sets ClearingFeeIndicator, Tag 635.
|
|
func (m NewOrderMultileg) SetClearingFeeIndicator(v enum.ClearingFeeIndicator) {
|
|
m.Set(field.NewClearingFeeIndicator(v))
|
|
}
|
|
|
|
// GetAccount gets Account, Tag 1.
|
|
func (m NewOrderMultileg) GetAccount() (v string, err quickfix.MessageRejectError) {
|
|
var f field.AccountField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetClOrdID gets ClOrdID, Tag 11.
|
|
func (m NewOrderMultileg) GetClOrdID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.ClOrdIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCommission gets Commission, Tag 12.
|
|
func (m NewOrderMultileg) 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 NewOrderMultileg) GetCommType() (v enum.CommType, err quickfix.MessageRejectError) {
|
|
var f field.CommTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCurrency gets Currency, Tag 15.
|
|
func (m NewOrderMultileg) GetCurrency() (v string, err quickfix.MessageRejectError) {
|
|
var f field.CurrencyField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetExecInst gets ExecInst, Tag 18.
|
|
func (m NewOrderMultileg) GetExecInst() (v enum.ExecInst, err quickfix.MessageRejectError) {
|
|
var f field.ExecInstField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetHandlInst gets HandlInst, Tag 21.
|
|
func (m NewOrderMultileg) GetHandlInst() (v enum.HandlInst, err quickfix.MessageRejectError) {
|
|
var f field.HandlInstField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityIDSource gets SecurityIDSource, Tag 22.
|
|
func (m NewOrderMultileg) GetSecurityIDSource() (v enum.SecurityIDSource, err quickfix.MessageRejectError) {
|
|
var f field.SecurityIDSourceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetIOIid gets IOIid, Tag 23.
|
|
func (m NewOrderMultileg) GetIOIid() (v string, err quickfix.MessageRejectError) {
|
|
var f field.IOIidField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetOrderQty gets OrderQty, Tag 38.
|
|
func (m NewOrderMultileg) GetOrderQty() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.OrderQtyField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetOrdType gets OrdType, Tag 40.
|
|
func (m NewOrderMultileg) 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 NewOrderMultileg) GetPrice() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.PriceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityID gets SecurityID, Tag 48.
|
|
func (m NewOrderMultileg) GetSecurityID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecurityIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSide gets Side, Tag 54.
|
|
func (m NewOrderMultileg) GetSide() (v enum.Side, err quickfix.MessageRejectError) {
|
|
var f field.SideField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSymbol gets Symbol, Tag 55.
|
|
func (m NewOrderMultileg) GetSymbol() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SymbolField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetText gets Text, Tag 58.
|
|
func (m NewOrderMultileg) GetText() (v string, err quickfix.MessageRejectError) {
|
|
var f field.TextField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetTimeInForce gets TimeInForce, Tag 59.
|
|
func (m NewOrderMultileg) GetTimeInForce() (v enum.TimeInForce, err quickfix.MessageRejectError) {
|
|
var f field.TimeInForceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetTransactTime gets TransactTime, Tag 60.
|
|
func (m NewOrderMultileg) GetTransactTime() (v time.Time, err quickfix.MessageRejectError) {
|
|
var f field.TransactTimeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSettlmntTyp gets SettlmntTyp, Tag 63.
|
|
func (m NewOrderMultileg) 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 NewOrderMultileg) GetFutSettDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.FutSettDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSymbolSfx gets SymbolSfx, Tag 65.
|
|
func (m NewOrderMultileg) GetSymbolSfx() (v enum.SymbolSfx, err quickfix.MessageRejectError) {
|
|
var f field.SymbolSfxField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetPositionEffect gets PositionEffect, Tag 77.
|
|
func (m NewOrderMultileg) GetPositionEffect() (v enum.PositionEffect, err quickfix.MessageRejectError) {
|
|
var f field.PositionEffectField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoAllocs gets NoAllocs, Tag 78.
|
|
func (m NewOrderMultileg) GetNoAllocs() (NoAllocsRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoAllocsRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetProcessCode gets ProcessCode, Tag 81.
|
|
func (m NewOrderMultileg) GetProcessCode() (v enum.ProcessCode, err quickfix.MessageRejectError) {
|
|
var f field.ProcessCodeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetStopPx gets StopPx, Tag 99.
|
|
func (m NewOrderMultileg) GetStopPx() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.StopPxField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetExDestination gets ExDestination, Tag 100.
|
|
func (m NewOrderMultileg) GetExDestination() (v enum.ExDestination, err quickfix.MessageRejectError) {
|
|
var f field.ExDestinationField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetIssuer gets Issuer, Tag 106.
|
|
func (m NewOrderMultileg) GetIssuer() (v string, err quickfix.MessageRejectError) {
|
|
var f field.IssuerField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityDesc gets SecurityDesc, Tag 107.
|
|
func (m NewOrderMultileg) GetSecurityDesc() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecurityDescField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetMinQty gets MinQty, Tag 110.
|
|
func (m NewOrderMultileg) 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 NewOrderMultileg) GetMaxFloor() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.MaxFloorField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLocateReqd gets LocateReqd, Tag 114.
|
|
func (m NewOrderMultileg) GetLocateReqd() (v bool, err quickfix.MessageRejectError) {
|
|
var f field.LocateReqdField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetQuoteID gets QuoteID, Tag 117.
|
|
func (m NewOrderMultileg) GetQuoteID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.QuoteIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNetMoney gets NetMoney, Tag 118.
|
|
func (m NewOrderMultileg) GetNetMoney() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.NetMoneyField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSettlCurrency gets SettlCurrency, Tag 120.
|
|
func (m NewOrderMultileg) GetSettlCurrency() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SettlCurrencyField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetForexReq gets ForexReq, Tag 121.
|
|
func (m NewOrderMultileg) GetForexReq() (v bool, err quickfix.MessageRejectError) {
|
|
var f field.ForexReqField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetExpireTime gets ExpireTime, Tag 126.
|
|
func (m NewOrderMultileg) GetExpireTime() (v time.Time, err quickfix.MessageRejectError) {
|
|
var f field.ExpireTimeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetPrevClosePx gets PrevClosePx, Tag 140.
|
|
func (m NewOrderMultileg) GetPrevClosePx() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.PrevClosePxField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCashOrderQty gets CashOrderQty, Tag 152.
|
|
func (m NewOrderMultileg) GetCashOrderQty() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.CashOrderQtyField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityType gets SecurityType, Tag 167.
|
|
func (m NewOrderMultileg) GetSecurityType() (v enum.SecurityType, err quickfix.MessageRejectError) {
|
|
var f field.SecurityTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEffectiveTime gets EffectiveTime, Tag 168.
|
|
func (m NewOrderMultileg) GetEffectiveTime() (v time.Time, err quickfix.MessageRejectError) {
|
|
var f field.EffectiveTimeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetMaturityMonthYear gets MaturityMonthYear, Tag 200.
|
|
func (m NewOrderMultileg) GetMaturityMonthYear() (v string, err quickfix.MessageRejectError) {
|
|
var f field.MaturityMonthYearField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetStrikePrice gets StrikePrice, Tag 202.
|
|
func (m NewOrderMultileg) GetStrikePrice() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.StrikePriceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCoveredOrUncovered gets CoveredOrUncovered, Tag 203.
|
|
func (m NewOrderMultileg) GetCoveredOrUncovered() (v enum.CoveredOrUncovered, err quickfix.MessageRejectError) {
|
|
var f field.CoveredOrUncoveredField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetOptAttribute gets OptAttribute, Tag 206.
|
|
func (m NewOrderMultileg) GetOptAttribute() (v string, err quickfix.MessageRejectError) {
|
|
var f field.OptAttributeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityExchange gets SecurityExchange, Tag 207.
|
|
func (m NewOrderMultileg) GetSecurityExchange() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecurityExchangeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetMaxShow gets MaxShow, Tag 210.
|
|
func (m NewOrderMultileg) 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 NewOrderMultileg) GetPegDifference() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.PegDifferenceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCouponRate gets CouponRate, Tag 223.
|
|
func (m NewOrderMultileg) GetCouponRate() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.CouponRateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCouponPaymentDate gets CouponPaymentDate, Tag 224.
|
|
func (m NewOrderMultileg) GetCouponPaymentDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.CouponPaymentDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetIssueDate gets IssueDate, Tag 225.
|
|
func (m NewOrderMultileg) GetIssueDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.IssueDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetRepurchaseTerm gets RepurchaseTerm, Tag 226.
|
|
func (m NewOrderMultileg) GetRepurchaseTerm() (v int, err quickfix.MessageRejectError) {
|
|
var f field.RepurchaseTermField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetRepurchaseRate gets RepurchaseRate, Tag 227.
|
|
func (m NewOrderMultileg) GetRepurchaseRate() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.RepurchaseRateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetFactor gets Factor, Tag 228.
|
|
func (m NewOrderMultileg) GetFactor() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.FactorField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetContractMultiplier gets ContractMultiplier, Tag 231.
|
|
func (m NewOrderMultileg) GetContractMultiplier() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.ContractMultiplierField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetRepoCollateralSecurityType gets RepoCollateralSecurityType, Tag 239.
|
|
func (m NewOrderMultileg) GetRepoCollateralSecurityType() (v int, err quickfix.MessageRejectError) {
|
|
var f field.RepoCollateralSecurityTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetRedemptionDate gets RedemptionDate, Tag 240.
|
|
func (m NewOrderMultileg) GetRedemptionDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.RedemptionDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCreditRating gets CreditRating, Tag 255.
|
|
func (m NewOrderMultileg) GetCreditRating() (v string, err quickfix.MessageRejectError) {
|
|
var f field.CreditRatingField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedIssuerLen gets EncodedIssuerLen, Tag 348.
|
|
func (m NewOrderMultileg) 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 NewOrderMultileg) GetEncodedIssuer() (v string, err quickfix.MessageRejectError) {
|
|
var f field.EncodedIssuerField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedSecurityDescLen gets EncodedSecurityDescLen, Tag 350.
|
|
func (m NewOrderMultileg) 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 NewOrderMultileg) GetEncodedSecurityDesc() (v string, err quickfix.MessageRejectError) {
|
|
var f field.EncodedSecurityDescField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedTextLen gets EncodedTextLen, Tag 354.
|
|
func (m NewOrderMultileg) 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 NewOrderMultileg) GetEncodedText() (v string, err quickfix.MessageRejectError) {
|
|
var f field.EncodedTextField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetComplianceID gets ComplianceID, Tag 376.
|
|
func (m NewOrderMultileg) 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 NewOrderMultileg) GetSolicitedFlag() (v bool, err quickfix.MessageRejectError) {
|
|
var f field.SolicitedFlagField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoTradingSessions gets NoTradingSessions, Tag 386.
|
|
func (m NewOrderMultileg) GetNoTradingSessions() (NoTradingSessionsRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoTradingSessionsRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetDiscretionInst gets DiscretionInst, Tag 388.
|
|
func (m NewOrderMultileg) 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 NewOrderMultileg) GetDiscretionOffset() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.DiscretionOffsetField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetPriceType gets PriceType, Tag 423.
|
|
func (m NewOrderMultileg) GetPriceType() (v enum.PriceType, err quickfix.MessageRejectError) {
|
|
var f field.PriceTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetGTBookingInst gets GTBookingInst, Tag 427.
|
|
func (m NewOrderMultileg) GetGTBookingInst() (v enum.GTBookingInst, err quickfix.MessageRejectError) {
|
|
var f field.GTBookingInstField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetExpireDate gets ExpireDate, Tag 432.
|
|
func (m NewOrderMultileg) GetExpireDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.ExpireDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoPartyIDs gets NoPartyIDs, Tag 453.
|
|
func (m NewOrderMultileg) GetNoPartyIDs() (NoPartyIDsRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoPartyIDsRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetNoSecurityAltID gets NoSecurityAltID, Tag 454.
|
|
func (m NewOrderMultileg) GetNoSecurityAltID() (NoSecurityAltIDRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoSecurityAltIDRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetProduct gets Product, Tag 460.
|
|
func (m NewOrderMultileg) GetProduct() (v enum.Product, err quickfix.MessageRejectError) {
|
|
var f field.ProductField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCFICode gets CFICode, Tag 461.
|
|
func (m NewOrderMultileg) GetCFICode() (v string, err quickfix.MessageRejectError) {
|
|
var f field.CFICodeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetQuantityType gets QuantityType, Tag 465.
|
|
func (m NewOrderMultileg) GetQuantityType() (v enum.QuantityType, err quickfix.MessageRejectError) {
|
|
var f field.QuantityTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetRoundingDirection gets RoundingDirection, Tag 468.
|
|
func (m NewOrderMultileg) GetRoundingDirection() (v enum.RoundingDirection, err quickfix.MessageRejectError) {
|
|
var f field.RoundingDirectionField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetRoundingModulus gets RoundingModulus, Tag 469.
|
|
func (m NewOrderMultileg) GetRoundingModulus() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.RoundingModulusField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCountryOfIssue gets CountryOfIssue, Tag 470.
|
|
func (m NewOrderMultileg) GetCountryOfIssue() (v string, err quickfix.MessageRejectError) {
|
|
var f field.CountryOfIssueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetStateOrProvinceOfIssue gets StateOrProvinceOfIssue, Tag 471.
|
|
func (m NewOrderMultileg) GetStateOrProvinceOfIssue() (v string, err quickfix.MessageRejectError) {
|
|
var f field.StateOrProvinceOfIssueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLocaleOfIssue gets LocaleOfIssue, Tag 472.
|
|
func (m NewOrderMultileg) GetLocaleOfIssue() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LocaleOfIssueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCommCurrency gets CommCurrency, Tag 479.
|
|
func (m NewOrderMultileg) GetCommCurrency() (v string, err quickfix.MessageRejectError) {
|
|
var f field.CommCurrencyField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCancellationRights gets CancellationRights, Tag 480.
|
|
func (m NewOrderMultileg) GetCancellationRights() (v enum.CancellationRights, err quickfix.MessageRejectError) {
|
|
var f field.CancellationRightsField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetMoneyLaunderingStatus gets MoneyLaunderingStatus, Tag 481.
|
|
func (m NewOrderMultileg) GetMoneyLaunderingStatus() (v enum.MoneyLaunderingStatus, err quickfix.MessageRejectError) {
|
|
var f field.MoneyLaunderingStatusField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetDesignation gets Designation, Tag 494.
|
|
func (m NewOrderMultileg) GetDesignation() (v string, err quickfix.MessageRejectError) {
|
|
var f field.DesignationField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetFundRenewWaiv gets FundRenewWaiv, Tag 497.
|
|
func (m NewOrderMultileg) GetFundRenewWaiv() (v enum.FundRenewWaiv, err quickfix.MessageRejectError) {
|
|
var f field.FundRenewWaivField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetRegistID gets RegistID, Tag 513.
|
|
func (m NewOrderMultileg) GetRegistID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.RegistIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetOrderPercent gets OrderPercent, Tag 516.
|
|
func (m NewOrderMultileg) GetOrderPercent() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.OrderPercentField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecondaryClOrdID gets SecondaryClOrdID, Tag 526.
|
|
func (m NewOrderMultileg) GetSecondaryClOrdID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecondaryClOrdIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetOrderCapacity gets OrderCapacity, Tag 528.
|
|
func (m NewOrderMultileg) GetOrderCapacity() (v enum.OrderCapacity, err quickfix.MessageRejectError) {
|
|
var f field.OrderCapacityField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetOrderRestrictions gets OrderRestrictions, Tag 529.
|
|
func (m NewOrderMultileg) GetOrderRestrictions() (v enum.OrderRestrictions, err quickfix.MessageRejectError) {
|
|
var f field.OrderRestrictionsField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetMaturityDate gets MaturityDate, Tag 541.
|
|
func (m NewOrderMultileg) GetMaturityDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.MaturityDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetInstrRegistry gets InstrRegistry, Tag 543.
|
|
func (m NewOrderMultileg) GetInstrRegistry() (v enum.InstrRegistry, err quickfix.MessageRejectError) {
|
|
var f field.InstrRegistryField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCashMargin gets CashMargin, Tag 544.
|
|
func (m NewOrderMultileg) GetCashMargin() (v enum.CashMargin, err quickfix.MessageRejectError) {
|
|
var f field.CashMarginField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoLegs gets NoLegs, Tag 555.
|
|
func (m NewOrderMultileg) GetNoLegs() (NoLegsRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoLegsRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetMultiLegRptTypeReq gets MultiLegRptTypeReq, Tag 563.
|
|
func (m NewOrderMultileg) GetMultiLegRptTypeReq() (v enum.MultiLegRptTypeReq, err quickfix.MessageRejectError) {
|
|
var f field.MultiLegRptTypeReqField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetAccountType gets AccountType, Tag 581.
|
|
func (m NewOrderMultileg) GetAccountType() (v enum.AccountType, err quickfix.MessageRejectError) {
|
|
var f field.AccountTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCustOrderCapacity gets CustOrderCapacity, Tag 582.
|
|
func (m NewOrderMultileg) GetCustOrderCapacity() (v enum.CustOrderCapacity, err quickfix.MessageRejectError) {
|
|
var f field.CustOrderCapacityField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetClOrdLinkID gets ClOrdLinkID, Tag 583.
|
|
func (m NewOrderMultileg) GetClOrdLinkID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.ClOrdLinkIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetDayBookingInst gets DayBookingInst, Tag 589.
|
|
func (m NewOrderMultileg) GetDayBookingInst() (v enum.DayBookingInst, err quickfix.MessageRejectError) {
|
|
var f field.DayBookingInstField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetBookingUnit gets BookingUnit, Tag 590.
|
|
func (m NewOrderMultileg) GetBookingUnit() (v enum.BookingUnit, err quickfix.MessageRejectError) {
|
|
var f field.BookingUnitField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetPreallocMethod gets PreallocMethod, Tag 591.
|
|
func (m NewOrderMultileg) GetPreallocMethod() (v enum.PreallocMethod, err quickfix.MessageRejectError) {
|
|
var f field.PreallocMethodField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetClearingFeeIndicator gets ClearingFeeIndicator, Tag 635.
|
|
func (m NewOrderMultileg) GetClearingFeeIndicator() (v enum.ClearingFeeIndicator, err quickfix.MessageRejectError) {
|
|
var f field.ClearingFeeIndicatorField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasAccount returns true if Account is present, Tag 1.
|
|
func (m NewOrderMultileg) HasAccount() bool {
|
|
return m.Has(tag.Account)
|
|
}
|
|
|
|
// HasClOrdID returns true if ClOrdID is present, Tag 11.
|
|
func (m NewOrderMultileg) HasClOrdID() bool {
|
|
return m.Has(tag.ClOrdID)
|
|
}
|
|
|
|
// HasCommission returns true if Commission is present, Tag 12.
|
|
func (m NewOrderMultileg) HasCommission() bool {
|
|
return m.Has(tag.Commission)
|
|
}
|
|
|
|
// HasCommType returns true if CommType is present, Tag 13.
|
|
func (m NewOrderMultileg) HasCommType() bool {
|
|
return m.Has(tag.CommType)
|
|
}
|
|
|
|
// HasCurrency returns true if Currency is present, Tag 15.
|
|
func (m NewOrderMultileg) HasCurrency() bool {
|
|
return m.Has(tag.Currency)
|
|
}
|
|
|
|
// HasExecInst returns true if ExecInst is present, Tag 18.
|
|
func (m NewOrderMultileg) HasExecInst() bool {
|
|
return m.Has(tag.ExecInst)
|
|
}
|
|
|
|
// HasHandlInst returns true if HandlInst is present, Tag 21.
|
|
func (m NewOrderMultileg) HasHandlInst() bool {
|
|
return m.Has(tag.HandlInst)
|
|
}
|
|
|
|
// HasSecurityIDSource returns true if SecurityIDSource is present, Tag 22.
|
|
func (m NewOrderMultileg) HasSecurityIDSource() bool {
|
|
return m.Has(tag.SecurityIDSource)
|
|
}
|
|
|
|
// HasIOIid returns true if IOIid is present, Tag 23.
|
|
func (m NewOrderMultileg) HasIOIid() bool {
|
|
return m.Has(tag.IOIid)
|
|
}
|
|
|
|
// HasOrderQty returns true if OrderQty is present, Tag 38.
|
|
func (m NewOrderMultileg) HasOrderQty() bool {
|
|
return m.Has(tag.OrderQty)
|
|
}
|
|
|
|
// HasOrdType returns true if OrdType is present, Tag 40.
|
|
func (m NewOrderMultileg) HasOrdType() bool {
|
|
return m.Has(tag.OrdType)
|
|
}
|
|
|
|
// HasPrice returns true if Price is present, Tag 44.
|
|
func (m NewOrderMultileg) HasPrice() bool {
|
|
return m.Has(tag.Price)
|
|
}
|
|
|
|
// HasSecurityID returns true if SecurityID is present, Tag 48.
|
|
func (m NewOrderMultileg) HasSecurityID() bool {
|
|
return m.Has(tag.SecurityID)
|
|
}
|
|
|
|
// HasSide returns true if Side is present, Tag 54.
|
|
func (m NewOrderMultileg) HasSide() bool {
|
|
return m.Has(tag.Side)
|
|
}
|
|
|
|
// HasSymbol returns true if Symbol is present, Tag 55.
|
|
func (m NewOrderMultileg) HasSymbol() bool {
|
|
return m.Has(tag.Symbol)
|
|
}
|
|
|
|
// HasText returns true if Text is present, Tag 58.
|
|
func (m NewOrderMultileg) HasText() bool {
|
|
return m.Has(tag.Text)
|
|
}
|
|
|
|
// HasTimeInForce returns true if TimeInForce is present, Tag 59.
|
|
func (m NewOrderMultileg) HasTimeInForce() bool {
|
|
return m.Has(tag.TimeInForce)
|
|
}
|
|
|
|
// HasTransactTime returns true if TransactTime is present, Tag 60.
|
|
func (m NewOrderMultileg) HasTransactTime() bool {
|
|
return m.Has(tag.TransactTime)
|
|
}
|
|
|
|
// HasSettlmntTyp returns true if SettlmntTyp is present, Tag 63.
|
|
func (m NewOrderMultileg) HasSettlmntTyp() bool {
|
|
return m.Has(tag.SettlmntTyp)
|
|
}
|
|
|
|
// HasFutSettDate returns true if FutSettDate is present, Tag 64.
|
|
func (m NewOrderMultileg) HasFutSettDate() bool {
|
|
return m.Has(tag.FutSettDate)
|
|
}
|
|
|
|
// HasSymbolSfx returns true if SymbolSfx is present, Tag 65.
|
|
func (m NewOrderMultileg) HasSymbolSfx() bool {
|
|
return m.Has(tag.SymbolSfx)
|
|
}
|
|
|
|
// HasPositionEffect returns true if PositionEffect is present, Tag 77.
|
|
func (m NewOrderMultileg) HasPositionEffect() bool {
|
|
return m.Has(tag.PositionEffect)
|
|
}
|
|
|
|
// HasNoAllocs returns true if NoAllocs is present, Tag 78.
|
|
func (m NewOrderMultileg) HasNoAllocs() bool {
|
|
return m.Has(tag.NoAllocs)
|
|
}
|
|
|
|
// HasProcessCode returns true if ProcessCode is present, Tag 81.
|
|
func (m NewOrderMultileg) HasProcessCode() bool {
|
|
return m.Has(tag.ProcessCode)
|
|
}
|
|
|
|
// HasStopPx returns true if StopPx is present, Tag 99.
|
|
func (m NewOrderMultileg) HasStopPx() bool {
|
|
return m.Has(tag.StopPx)
|
|
}
|
|
|
|
// HasExDestination returns true if ExDestination is present, Tag 100.
|
|
func (m NewOrderMultileg) HasExDestination() bool {
|
|
return m.Has(tag.ExDestination)
|
|
}
|
|
|
|
// HasIssuer returns true if Issuer is present, Tag 106.
|
|
func (m NewOrderMultileg) HasIssuer() bool {
|
|
return m.Has(tag.Issuer)
|
|
}
|
|
|
|
// HasSecurityDesc returns true if SecurityDesc is present, Tag 107.
|
|
func (m NewOrderMultileg) HasSecurityDesc() bool {
|
|
return m.Has(tag.SecurityDesc)
|
|
}
|
|
|
|
// HasMinQty returns true if MinQty is present, Tag 110.
|
|
func (m NewOrderMultileg) HasMinQty() bool {
|
|
return m.Has(tag.MinQty)
|
|
}
|
|
|
|
// HasMaxFloor returns true if MaxFloor is present, Tag 111.
|
|
func (m NewOrderMultileg) HasMaxFloor() bool {
|
|
return m.Has(tag.MaxFloor)
|
|
}
|
|
|
|
// HasLocateReqd returns true if LocateReqd is present, Tag 114.
|
|
func (m NewOrderMultileg) HasLocateReqd() bool {
|
|
return m.Has(tag.LocateReqd)
|
|
}
|
|
|
|
// HasQuoteID returns true if QuoteID is present, Tag 117.
|
|
func (m NewOrderMultileg) HasQuoteID() bool {
|
|
return m.Has(tag.QuoteID)
|
|
}
|
|
|
|
// HasNetMoney returns true if NetMoney is present, Tag 118.
|
|
func (m NewOrderMultileg) HasNetMoney() bool {
|
|
return m.Has(tag.NetMoney)
|
|
}
|
|
|
|
// HasSettlCurrency returns true if SettlCurrency is present, Tag 120.
|
|
func (m NewOrderMultileg) HasSettlCurrency() bool {
|
|
return m.Has(tag.SettlCurrency)
|
|
}
|
|
|
|
// HasForexReq returns true if ForexReq is present, Tag 121.
|
|
func (m NewOrderMultileg) HasForexReq() bool {
|
|
return m.Has(tag.ForexReq)
|
|
}
|
|
|
|
// HasExpireTime returns true if ExpireTime is present, Tag 126.
|
|
func (m NewOrderMultileg) HasExpireTime() bool {
|
|
return m.Has(tag.ExpireTime)
|
|
}
|
|
|
|
// HasPrevClosePx returns true if PrevClosePx is present, Tag 140.
|
|
func (m NewOrderMultileg) HasPrevClosePx() bool {
|
|
return m.Has(tag.PrevClosePx)
|
|
}
|
|
|
|
// HasCashOrderQty returns true if CashOrderQty is present, Tag 152.
|
|
func (m NewOrderMultileg) HasCashOrderQty() bool {
|
|
return m.Has(tag.CashOrderQty)
|
|
}
|
|
|
|
// HasSecurityType returns true if SecurityType is present, Tag 167.
|
|
func (m NewOrderMultileg) HasSecurityType() bool {
|
|
return m.Has(tag.SecurityType)
|
|
}
|
|
|
|
// HasEffectiveTime returns true if EffectiveTime is present, Tag 168.
|
|
func (m NewOrderMultileg) HasEffectiveTime() bool {
|
|
return m.Has(tag.EffectiveTime)
|
|
}
|
|
|
|
// HasMaturityMonthYear returns true if MaturityMonthYear is present, Tag 200.
|
|
func (m NewOrderMultileg) HasMaturityMonthYear() bool {
|
|
return m.Has(tag.MaturityMonthYear)
|
|
}
|
|
|
|
// HasStrikePrice returns true if StrikePrice is present, Tag 202.
|
|
func (m NewOrderMultileg) HasStrikePrice() bool {
|
|
return m.Has(tag.StrikePrice)
|
|
}
|
|
|
|
// HasCoveredOrUncovered returns true if CoveredOrUncovered is present, Tag 203.
|
|
func (m NewOrderMultileg) HasCoveredOrUncovered() bool {
|
|
return m.Has(tag.CoveredOrUncovered)
|
|
}
|
|
|
|
// HasOptAttribute returns true if OptAttribute is present, Tag 206.
|
|
func (m NewOrderMultileg) HasOptAttribute() bool {
|
|
return m.Has(tag.OptAttribute)
|
|
}
|
|
|
|
// HasSecurityExchange returns true if SecurityExchange is present, Tag 207.
|
|
func (m NewOrderMultileg) HasSecurityExchange() bool {
|
|
return m.Has(tag.SecurityExchange)
|
|
}
|
|
|
|
// HasMaxShow returns true if MaxShow is present, Tag 210.
|
|
func (m NewOrderMultileg) HasMaxShow() bool {
|
|
return m.Has(tag.MaxShow)
|
|
}
|
|
|
|
// HasPegDifference returns true if PegDifference is present, Tag 211.
|
|
func (m NewOrderMultileg) HasPegDifference() bool {
|
|
return m.Has(tag.PegDifference)
|
|
}
|
|
|
|
// HasCouponRate returns true if CouponRate is present, Tag 223.
|
|
func (m NewOrderMultileg) HasCouponRate() bool {
|
|
return m.Has(tag.CouponRate)
|
|
}
|
|
|
|
// HasCouponPaymentDate returns true if CouponPaymentDate is present, Tag 224.
|
|
func (m NewOrderMultileg) HasCouponPaymentDate() bool {
|
|
return m.Has(tag.CouponPaymentDate)
|
|
}
|
|
|
|
// HasIssueDate returns true if IssueDate is present, Tag 225.
|
|
func (m NewOrderMultileg) HasIssueDate() bool {
|
|
return m.Has(tag.IssueDate)
|
|
}
|
|
|
|
// HasRepurchaseTerm returns true if RepurchaseTerm is present, Tag 226.
|
|
func (m NewOrderMultileg) HasRepurchaseTerm() bool {
|
|
return m.Has(tag.RepurchaseTerm)
|
|
}
|
|
|
|
// HasRepurchaseRate returns true if RepurchaseRate is present, Tag 227.
|
|
func (m NewOrderMultileg) HasRepurchaseRate() bool {
|
|
return m.Has(tag.RepurchaseRate)
|
|
}
|
|
|
|
// HasFactor returns true if Factor is present, Tag 228.
|
|
func (m NewOrderMultileg) HasFactor() bool {
|
|
return m.Has(tag.Factor)
|
|
}
|
|
|
|
// HasContractMultiplier returns true if ContractMultiplier is present, Tag 231.
|
|
func (m NewOrderMultileg) HasContractMultiplier() bool {
|
|
return m.Has(tag.ContractMultiplier)
|
|
}
|
|
|
|
// HasRepoCollateralSecurityType returns true if RepoCollateralSecurityType is present, Tag 239.
|
|
func (m NewOrderMultileg) HasRepoCollateralSecurityType() bool {
|
|
return m.Has(tag.RepoCollateralSecurityType)
|
|
}
|
|
|
|
// HasRedemptionDate returns true if RedemptionDate is present, Tag 240.
|
|
func (m NewOrderMultileg) HasRedemptionDate() bool {
|
|
return m.Has(tag.RedemptionDate)
|
|
}
|
|
|
|
// HasCreditRating returns true if CreditRating is present, Tag 255.
|
|
func (m NewOrderMultileg) HasCreditRating() bool {
|
|
return m.Has(tag.CreditRating)
|
|
}
|
|
|
|
// HasEncodedIssuerLen returns true if EncodedIssuerLen is present, Tag 348.
|
|
func (m NewOrderMultileg) HasEncodedIssuerLen() bool {
|
|
return m.Has(tag.EncodedIssuerLen)
|
|
}
|
|
|
|
// HasEncodedIssuer returns true if EncodedIssuer is present, Tag 349.
|
|
func (m NewOrderMultileg) HasEncodedIssuer() bool {
|
|
return m.Has(tag.EncodedIssuer)
|
|
}
|
|
|
|
// HasEncodedSecurityDescLen returns true if EncodedSecurityDescLen is present, Tag 350.
|
|
func (m NewOrderMultileg) HasEncodedSecurityDescLen() bool {
|
|
return m.Has(tag.EncodedSecurityDescLen)
|
|
}
|
|
|
|
// HasEncodedSecurityDesc returns true if EncodedSecurityDesc is present, Tag 351.
|
|
func (m NewOrderMultileg) HasEncodedSecurityDesc() bool {
|
|
return m.Has(tag.EncodedSecurityDesc)
|
|
}
|
|
|
|
// HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.
|
|
func (m NewOrderMultileg) HasEncodedTextLen() bool {
|
|
return m.Has(tag.EncodedTextLen)
|
|
}
|
|
|
|
// HasEncodedText returns true if EncodedText is present, Tag 355.
|
|
func (m NewOrderMultileg) HasEncodedText() bool {
|
|
return m.Has(tag.EncodedText)
|
|
}
|
|
|
|
// HasComplianceID returns true if ComplianceID is present, Tag 376.
|
|
func (m NewOrderMultileg) HasComplianceID() bool {
|
|
return m.Has(tag.ComplianceID)
|
|
}
|
|
|
|
// HasSolicitedFlag returns true if SolicitedFlag is present, Tag 377.
|
|
func (m NewOrderMultileg) HasSolicitedFlag() bool {
|
|
return m.Has(tag.SolicitedFlag)
|
|
}
|
|
|
|
// HasNoTradingSessions returns true if NoTradingSessions is present, Tag 386.
|
|
func (m NewOrderMultileg) HasNoTradingSessions() bool {
|
|
return m.Has(tag.NoTradingSessions)
|
|
}
|
|
|
|
// HasDiscretionInst returns true if DiscretionInst is present, Tag 388.
|
|
func (m NewOrderMultileg) HasDiscretionInst() bool {
|
|
return m.Has(tag.DiscretionInst)
|
|
}
|
|
|
|
// HasDiscretionOffset returns true if DiscretionOffset is present, Tag 389.
|
|
func (m NewOrderMultileg) HasDiscretionOffset() bool {
|
|
return m.Has(tag.DiscretionOffset)
|
|
}
|
|
|
|
// HasPriceType returns true if PriceType is present, Tag 423.
|
|
func (m NewOrderMultileg) HasPriceType() bool {
|
|
return m.Has(tag.PriceType)
|
|
}
|
|
|
|
// HasGTBookingInst returns true if GTBookingInst is present, Tag 427.
|
|
func (m NewOrderMultileg) HasGTBookingInst() bool {
|
|
return m.Has(tag.GTBookingInst)
|
|
}
|
|
|
|
// HasExpireDate returns true if ExpireDate is present, Tag 432.
|
|
func (m NewOrderMultileg) HasExpireDate() bool {
|
|
return m.Has(tag.ExpireDate)
|
|
}
|
|
|
|
// HasNoPartyIDs returns true if NoPartyIDs is present, Tag 453.
|
|
func (m NewOrderMultileg) HasNoPartyIDs() bool {
|
|
return m.Has(tag.NoPartyIDs)
|
|
}
|
|
|
|
// HasNoSecurityAltID returns true if NoSecurityAltID is present, Tag 454.
|
|
func (m NewOrderMultileg) HasNoSecurityAltID() bool {
|
|
return m.Has(tag.NoSecurityAltID)
|
|
}
|
|
|
|
// HasProduct returns true if Product is present, Tag 460.
|
|
func (m NewOrderMultileg) HasProduct() bool {
|
|
return m.Has(tag.Product)
|
|
}
|
|
|
|
// HasCFICode returns true if CFICode is present, Tag 461.
|
|
func (m NewOrderMultileg) HasCFICode() bool {
|
|
return m.Has(tag.CFICode)
|
|
}
|
|
|
|
// HasQuantityType returns true if QuantityType is present, Tag 465.
|
|
func (m NewOrderMultileg) HasQuantityType() bool {
|
|
return m.Has(tag.QuantityType)
|
|
}
|
|
|
|
// HasRoundingDirection returns true if RoundingDirection is present, Tag 468.
|
|
func (m NewOrderMultileg) HasRoundingDirection() bool {
|
|
return m.Has(tag.RoundingDirection)
|
|
}
|
|
|
|
// HasRoundingModulus returns true if RoundingModulus is present, Tag 469.
|
|
func (m NewOrderMultileg) HasRoundingModulus() bool {
|
|
return m.Has(tag.RoundingModulus)
|
|
}
|
|
|
|
// HasCountryOfIssue returns true if CountryOfIssue is present, Tag 470.
|
|
func (m NewOrderMultileg) HasCountryOfIssue() bool {
|
|
return m.Has(tag.CountryOfIssue)
|
|
}
|
|
|
|
// HasStateOrProvinceOfIssue returns true if StateOrProvinceOfIssue is present, Tag 471.
|
|
func (m NewOrderMultileg) HasStateOrProvinceOfIssue() bool {
|
|
return m.Has(tag.StateOrProvinceOfIssue)
|
|
}
|
|
|
|
// HasLocaleOfIssue returns true if LocaleOfIssue is present, Tag 472.
|
|
func (m NewOrderMultileg) HasLocaleOfIssue() bool {
|
|
return m.Has(tag.LocaleOfIssue)
|
|
}
|
|
|
|
// HasCommCurrency returns true if CommCurrency is present, Tag 479.
|
|
func (m NewOrderMultileg) HasCommCurrency() bool {
|
|
return m.Has(tag.CommCurrency)
|
|
}
|
|
|
|
// HasCancellationRights returns true if CancellationRights is present, Tag 480.
|
|
func (m NewOrderMultileg) HasCancellationRights() bool {
|
|
return m.Has(tag.CancellationRights)
|
|
}
|
|
|
|
// HasMoneyLaunderingStatus returns true if MoneyLaunderingStatus is present, Tag 481.
|
|
func (m NewOrderMultileg) HasMoneyLaunderingStatus() bool {
|
|
return m.Has(tag.MoneyLaunderingStatus)
|
|
}
|
|
|
|
// HasDesignation returns true if Designation is present, Tag 494.
|
|
func (m NewOrderMultileg) HasDesignation() bool {
|
|
return m.Has(tag.Designation)
|
|
}
|
|
|
|
// HasFundRenewWaiv returns true if FundRenewWaiv is present, Tag 497.
|
|
func (m NewOrderMultileg) HasFundRenewWaiv() bool {
|
|
return m.Has(tag.FundRenewWaiv)
|
|
}
|
|
|
|
// HasRegistID returns true if RegistID is present, Tag 513.
|
|
func (m NewOrderMultileg) HasRegistID() bool {
|
|
return m.Has(tag.RegistID)
|
|
}
|
|
|
|
// HasOrderPercent returns true if OrderPercent is present, Tag 516.
|
|
func (m NewOrderMultileg) HasOrderPercent() bool {
|
|
return m.Has(tag.OrderPercent)
|
|
}
|
|
|
|
// HasSecondaryClOrdID returns true if SecondaryClOrdID is present, Tag 526.
|
|
func (m NewOrderMultileg) HasSecondaryClOrdID() bool {
|
|
return m.Has(tag.SecondaryClOrdID)
|
|
}
|
|
|
|
// HasOrderCapacity returns true if OrderCapacity is present, Tag 528.
|
|
func (m NewOrderMultileg) HasOrderCapacity() bool {
|
|
return m.Has(tag.OrderCapacity)
|
|
}
|
|
|
|
// HasOrderRestrictions returns true if OrderRestrictions is present, Tag 529.
|
|
func (m NewOrderMultileg) HasOrderRestrictions() bool {
|
|
return m.Has(tag.OrderRestrictions)
|
|
}
|
|
|
|
// HasMaturityDate returns true if MaturityDate is present, Tag 541.
|
|
func (m NewOrderMultileg) HasMaturityDate() bool {
|
|
return m.Has(tag.MaturityDate)
|
|
}
|
|
|
|
// HasInstrRegistry returns true if InstrRegistry is present, Tag 543.
|
|
func (m NewOrderMultileg) HasInstrRegistry() bool {
|
|
return m.Has(tag.InstrRegistry)
|
|
}
|
|
|
|
// HasCashMargin returns true if CashMargin is present, Tag 544.
|
|
func (m NewOrderMultileg) HasCashMargin() bool {
|
|
return m.Has(tag.CashMargin)
|
|
}
|
|
|
|
// HasNoLegs returns true if NoLegs is present, Tag 555.
|
|
func (m NewOrderMultileg) HasNoLegs() bool {
|
|
return m.Has(tag.NoLegs)
|
|
}
|
|
|
|
// HasMultiLegRptTypeReq returns true if MultiLegRptTypeReq is present, Tag 563.
|
|
func (m NewOrderMultileg) HasMultiLegRptTypeReq() bool {
|
|
return m.Has(tag.MultiLegRptTypeReq)
|
|
}
|
|
|
|
// HasAccountType returns true if AccountType is present, Tag 581.
|
|
func (m NewOrderMultileg) HasAccountType() bool {
|
|
return m.Has(tag.AccountType)
|
|
}
|
|
|
|
// HasCustOrderCapacity returns true if CustOrderCapacity is present, Tag 582.
|
|
func (m NewOrderMultileg) HasCustOrderCapacity() bool {
|
|
return m.Has(tag.CustOrderCapacity)
|
|
}
|
|
|
|
// HasClOrdLinkID returns true if ClOrdLinkID is present, Tag 583.
|
|
func (m NewOrderMultileg) HasClOrdLinkID() bool {
|
|
return m.Has(tag.ClOrdLinkID)
|
|
}
|
|
|
|
// HasDayBookingInst returns true if DayBookingInst is present, Tag 589.
|
|
func (m NewOrderMultileg) HasDayBookingInst() bool {
|
|
return m.Has(tag.DayBookingInst)
|
|
}
|
|
|
|
// HasBookingUnit returns true if BookingUnit is present, Tag 590.
|
|
func (m NewOrderMultileg) HasBookingUnit() bool {
|
|
return m.Has(tag.BookingUnit)
|
|
}
|
|
|
|
// HasPreallocMethod returns true if PreallocMethod is present, Tag 591.
|
|
func (m NewOrderMultileg) HasPreallocMethod() bool {
|
|
return m.Has(tag.PreallocMethod)
|
|
}
|
|
|
|
// HasClearingFeeIndicator returns true if ClearingFeeIndicator is present, Tag 635.
|
|
func (m NewOrderMultileg) HasClearingFeeIndicator() bool {
|
|
return m.Has(tag.ClearingFeeIndicator)
|
|
}
|
|
|
|
// 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))
|
|
}
|
|
|
|
// SetIndividualAllocID sets IndividualAllocID, Tag 467.
|
|
func (m NoAllocs) SetIndividualAllocID(v string) {
|
|
m.Set(field.NewIndividualAllocID(v))
|
|
}
|
|
|
|
// SetAllocQty sets AllocQty, Tag 80.
|
|
func (m NoAllocs) SetAllocQty(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewAllocQty(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
|
|
}
|
|
|
|
// GetIndividualAllocID gets IndividualAllocID, Tag 467.
|
|
func (m NoAllocs) GetIndividualAllocID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.IndividualAllocIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetAllocQty gets AllocQty, Tag 80.
|
|
func (m NoAllocs) GetAllocQty() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.AllocQtyField
|
|
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)
|
|
}
|
|
|
|
// HasIndividualAllocID returns true if IndividualAllocID is present, Tag 467.
|
|
func (m NoAllocs) HasIndividualAllocID() bool {
|
|
return m.Has(tag.IndividualAllocID)
|
|
}
|
|
|
|
// HasAllocQty returns true if AllocQty is present, Tag 80.
|
|
func (m NoAllocs) HasAllocQty() bool {
|
|
return m.Has(tag.AllocQty)
|
|
}
|
|
|
|
// 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.IndividualAllocID),
|
|
quickfix.GroupElement(tag.AllocQty),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// 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))
|
|
}
|
|
|
|
// SetTradingSessionSubID sets TradingSessionSubID, Tag 625.
|
|
func (m NoTradingSessions) SetTradingSessionSubID(v enum.TradingSessionSubID) {
|
|
m.Set(field.NewTradingSessionSubID(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
|
|
}
|
|
|
|
// GetTradingSessionSubID gets TradingSessionSubID, Tag 625.
|
|
func (m NoTradingSessions) GetTradingSessionSubID() (v enum.TradingSessionSubID, err quickfix.MessageRejectError) {
|
|
var f field.TradingSessionSubIDField
|
|
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)
|
|
}
|
|
|
|
// HasTradingSessionSubID returns true if TradingSessionSubID is present, Tag 625.
|
|
func (m NoTradingSessions) HasTradingSessionSubID() bool {
|
|
return m.Has(tag.TradingSessionSubID)
|
|
}
|
|
|
|
// 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),
|
|
quickfix.GroupElement(tag.TradingSessionSubID),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// 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)}
|
|
}
|
|
|
|
// NoPartyIDs is a repeating group element, Tag 453.
|
|
type NoPartyIDs struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetPartyID sets PartyID, Tag 448.
|
|
func (m NoPartyIDs) SetPartyID(v string) {
|
|
m.Set(field.NewPartyID(v))
|
|
}
|
|
|
|
// SetPartyIDSource sets PartyIDSource, Tag 447.
|
|
func (m NoPartyIDs) SetPartyIDSource(v enum.PartyIDSource) {
|
|
m.Set(field.NewPartyIDSource(v))
|
|
}
|
|
|
|
// SetPartyRole sets PartyRole, Tag 452.
|
|
func (m NoPartyIDs) SetPartyRole(v enum.PartyRole) {
|
|
m.Set(field.NewPartyRole(v))
|
|
}
|
|
|
|
// SetPartySubID sets PartySubID, Tag 523.
|
|
func (m NoPartyIDs) SetPartySubID(v string) {
|
|
m.Set(field.NewPartySubID(v))
|
|
}
|
|
|
|
// GetPartyID gets PartyID, Tag 448.
|
|
func (m NoPartyIDs) GetPartyID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.PartyIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetPartyIDSource gets PartyIDSource, Tag 447.
|
|
func (m NoPartyIDs) GetPartyIDSource() (v enum.PartyIDSource, err quickfix.MessageRejectError) {
|
|
var f field.PartyIDSourceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetPartyRole gets PartyRole, Tag 452.
|
|
func (m NoPartyIDs) GetPartyRole() (v enum.PartyRole, err quickfix.MessageRejectError) {
|
|
var f field.PartyRoleField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetPartySubID gets PartySubID, Tag 523.
|
|
func (m NoPartyIDs) GetPartySubID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.PartySubIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasPartyID returns true if PartyID is present, Tag 448.
|
|
func (m NoPartyIDs) HasPartyID() bool {
|
|
return m.Has(tag.PartyID)
|
|
}
|
|
|
|
// HasPartyIDSource returns true if PartyIDSource is present, Tag 447.
|
|
func (m NoPartyIDs) HasPartyIDSource() bool {
|
|
return m.Has(tag.PartyIDSource)
|
|
}
|
|
|
|
// HasPartyRole returns true if PartyRole is present, Tag 452.
|
|
func (m NoPartyIDs) HasPartyRole() bool {
|
|
return m.Has(tag.PartyRole)
|
|
}
|
|
|
|
// HasPartySubID returns true if PartySubID is present, Tag 523.
|
|
func (m NoPartyIDs) HasPartySubID() bool {
|
|
return m.Has(tag.PartySubID)
|
|
}
|
|
|
|
// NoPartyIDsRepeatingGroup is a repeating group, Tag 453.
|
|
type NoPartyIDsRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoPartyIDsRepeatingGroup returns an initialized, NoPartyIDsRepeatingGroup.
|
|
func NewNoPartyIDsRepeatingGroup() NoPartyIDsRepeatingGroup {
|
|
return NoPartyIDsRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoPartyIDs,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.PartyID),
|
|
quickfix.GroupElement(tag.PartyIDSource),
|
|
quickfix.GroupElement(tag.PartyRole),
|
|
quickfix.GroupElement(tag.PartySubID),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoPartyIDs to this group.
|
|
func (m NoPartyIDsRepeatingGroup) Add() NoPartyIDs {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoPartyIDs{g}
|
|
}
|
|
|
|
// Get returns the ith NoPartyIDs in the NoPartyIDsRepeatinGroup.
|
|
func (m NoPartyIDsRepeatingGroup) Get(i int) NoPartyIDs {
|
|
return NoPartyIDs{m.RepeatingGroup.Get(i)}
|
|
}
|
|
|
|
// NoSecurityAltID is a repeating group element, Tag 454.
|
|
type NoSecurityAltID struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetSecurityAltID sets SecurityAltID, Tag 455.
|
|
func (m NoSecurityAltID) SetSecurityAltID(v string) {
|
|
m.Set(field.NewSecurityAltID(v))
|
|
}
|
|
|
|
// SetSecurityAltIDSource sets SecurityAltIDSource, Tag 456.
|
|
func (m NoSecurityAltID) SetSecurityAltIDSource(v string) {
|
|
m.Set(field.NewSecurityAltIDSource(v))
|
|
}
|
|
|
|
// GetSecurityAltID gets SecurityAltID, Tag 455.
|
|
func (m NoSecurityAltID) GetSecurityAltID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecurityAltIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityAltIDSource gets SecurityAltIDSource, Tag 456.
|
|
func (m NoSecurityAltID) GetSecurityAltIDSource() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecurityAltIDSourceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasSecurityAltID returns true if SecurityAltID is present, Tag 455.
|
|
func (m NoSecurityAltID) HasSecurityAltID() bool {
|
|
return m.Has(tag.SecurityAltID)
|
|
}
|
|
|
|
// HasSecurityAltIDSource returns true if SecurityAltIDSource is present, Tag 456.
|
|
func (m NoSecurityAltID) HasSecurityAltIDSource() bool {
|
|
return m.Has(tag.SecurityAltIDSource)
|
|
}
|
|
|
|
// NoSecurityAltIDRepeatingGroup is a repeating group, Tag 454.
|
|
type NoSecurityAltIDRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoSecurityAltIDRepeatingGroup returns an initialized, NoSecurityAltIDRepeatingGroup.
|
|
func NewNoSecurityAltIDRepeatingGroup() NoSecurityAltIDRepeatingGroup {
|
|
return NoSecurityAltIDRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoSecurityAltID,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.SecurityAltID),
|
|
quickfix.GroupElement(tag.SecurityAltIDSource),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoSecurityAltID to this group.
|
|
func (m NoSecurityAltIDRepeatingGroup) Add() NoSecurityAltID {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoSecurityAltID{g}
|
|
}
|
|
|
|
// Get returns the ith NoSecurityAltID in the NoSecurityAltIDRepeatinGroup.
|
|
func (m NoSecurityAltIDRepeatingGroup) Get(i int) NoSecurityAltID {
|
|
return NoSecurityAltID{m.RepeatingGroup.Get(i)}
|
|
}
|
|
|
|
// NoLegs is a repeating group element, Tag 555.
|
|
type NoLegs struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetLegSymbol sets LegSymbol, Tag 600.
|
|
func (m NoLegs) SetLegSymbol(v string) {
|
|
m.Set(field.NewLegSymbol(v))
|
|
}
|
|
|
|
// SetLegSymbolSfx sets LegSymbolSfx, Tag 601.
|
|
func (m NoLegs) SetLegSymbolSfx(v string) {
|
|
m.Set(field.NewLegSymbolSfx(v))
|
|
}
|
|
|
|
// SetLegSecurityID sets LegSecurityID, Tag 602.
|
|
func (m NoLegs) SetLegSecurityID(v string) {
|
|
m.Set(field.NewLegSecurityID(v))
|
|
}
|
|
|
|
// SetLegSecurityIDSource sets LegSecurityIDSource, Tag 603.
|
|
func (m NoLegs) SetLegSecurityIDSource(v string) {
|
|
m.Set(field.NewLegSecurityIDSource(v))
|
|
}
|
|
|
|
// SetNoLegSecurityAltID sets NoLegSecurityAltID, Tag 604.
|
|
func (m NoLegs) SetNoLegSecurityAltID(f NoLegSecurityAltIDRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetLegProduct sets LegProduct, Tag 607.
|
|
func (m NoLegs) SetLegProduct(v int) {
|
|
m.Set(field.NewLegProduct(v))
|
|
}
|
|
|
|
// SetLegCFICode sets LegCFICode, Tag 608.
|
|
func (m NoLegs) SetLegCFICode(v string) {
|
|
m.Set(field.NewLegCFICode(v))
|
|
}
|
|
|
|
// SetLegSecurityType sets LegSecurityType, Tag 609.
|
|
func (m NoLegs) SetLegSecurityType(v string) {
|
|
m.Set(field.NewLegSecurityType(v))
|
|
}
|
|
|
|
// SetLegMaturityMonthYear sets LegMaturityMonthYear, Tag 610.
|
|
func (m NoLegs) SetLegMaturityMonthYear(v string) {
|
|
m.Set(field.NewLegMaturityMonthYear(v))
|
|
}
|
|
|
|
// SetLegMaturityDate sets LegMaturityDate, Tag 611.
|
|
func (m NoLegs) SetLegMaturityDate(v string) {
|
|
m.Set(field.NewLegMaturityDate(v))
|
|
}
|
|
|
|
// SetLegCouponPaymentDate sets LegCouponPaymentDate, Tag 248.
|
|
func (m NoLegs) SetLegCouponPaymentDate(v string) {
|
|
m.Set(field.NewLegCouponPaymentDate(v))
|
|
}
|
|
|
|
// SetLegIssueDate sets LegIssueDate, Tag 249.
|
|
func (m NoLegs) SetLegIssueDate(v string) {
|
|
m.Set(field.NewLegIssueDate(v))
|
|
}
|
|
|
|
// SetLegRepoCollateralSecurityType sets LegRepoCollateralSecurityType, Tag 250.
|
|
func (m NoLegs) SetLegRepoCollateralSecurityType(v int) {
|
|
m.Set(field.NewLegRepoCollateralSecurityType(v))
|
|
}
|
|
|
|
// SetLegRepurchaseTerm sets LegRepurchaseTerm, Tag 251.
|
|
func (m NoLegs) SetLegRepurchaseTerm(v int) {
|
|
m.Set(field.NewLegRepurchaseTerm(v))
|
|
}
|
|
|
|
// SetLegRepurchaseRate sets LegRepurchaseRate, Tag 252.
|
|
func (m NoLegs) SetLegRepurchaseRate(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewLegRepurchaseRate(value, scale))
|
|
}
|
|
|
|
// SetLegFactor sets LegFactor, Tag 253.
|
|
func (m NoLegs) SetLegFactor(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewLegFactor(value, scale))
|
|
}
|
|
|
|
// SetLegCreditRating sets LegCreditRating, Tag 257.
|
|
func (m NoLegs) SetLegCreditRating(v string) {
|
|
m.Set(field.NewLegCreditRating(v))
|
|
}
|
|
|
|
// SetLegInstrRegistry sets LegInstrRegistry, Tag 599.
|
|
func (m NoLegs) SetLegInstrRegistry(v string) {
|
|
m.Set(field.NewLegInstrRegistry(v))
|
|
}
|
|
|
|
// SetLegCountryOfIssue sets LegCountryOfIssue, Tag 596.
|
|
func (m NoLegs) SetLegCountryOfIssue(v string) {
|
|
m.Set(field.NewLegCountryOfIssue(v))
|
|
}
|
|
|
|
// SetLegStateOrProvinceOfIssue sets LegStateOrProvinceOfIssue, Tag 597.
|
|
func (m NoLegs) SetLegStateOrProvinceOfIssue(v string) {
|
|
m.Set(field.NewLegStateOrProvinceOfIssue(v))
|
|
}
|
|
|
|
// SetLegLocaleOfIssue sets LegLocaleOfIssue, Tag 598.
|
|
func (m NoLegs) SetLegLocaleOfIssue(v string) {
|
|
m.Set(field.NewLegLocaleOfIssue(v))
|
|
}
|
|
|
|
// SetLegRedemptionDate sets LegRedemptionDate, Tag 254.
|
|
func (m NoLegs) SetLegRedemptionDate(v string) {
|
|
m.Set(field.NewLegRedemptionDate(v))
|
|
}
|
|
|
|
// SetLegStrikePrice sets LegStrikePrice, Tag 612.
|
|
func (m NoLegs) SetLegStrikePrice(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewLegStrikePrice(value, scale))
|
|
}
|
|
|
|
// SetLegOptAttribute sets LegOptAttribute, Tag 613.
|
|
func (m NoLegs) SetLegOptAttribute(v string) {
|
|
m.Set(field.NewLegOptAttribute(v))
|
|
}
|
|
|
|
// SetLegContractMultiplier sets LegContractMultiplier, Tag 614.
|
|
func (m NoLegs) SetLegContractMultiplier(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewLegContractMultiplier(value, scale))
|
|
}
|
|
|
|
// SetLegCouponRate sets LegCouponRate, Tag 615.
|
|
func (m NoLegs) SetLegCouponRate(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewLegCouponRate(value, scale))
|
|
}
|
|
|
|
// SetLegSecurityExchange sets LegSecurityExchange, Tag 616.
|
|
func (m NoLegs) SetLegSecurityExchange(v string) {
|
|
m.Set(field.NewLegSecurityExchange(v))
|
|
}
|
|
|
|
// SetLegIssuer sets LegIssuer, Tag 617.
|
|
func (m NoLegs) SetLegIssuer(v string) {
|
|
m.Set(field.NewLegIssuer(v))
|
|
}
|
|
|
|
// SetEncodedLegIssuerLen sets EncodedLegIssuerLen, Tag 618.
|
|
func (m NoLegs) SetEncodedLegIssuerLen(v int) {
|
|
m.Set(field.NewEncodedLegIssuerLen(v))
|
|
}
|
|
|
|
// SetEncodedLegIssuer sets EncodedLegIssuer, Tag 619.
|
|
func (m NoLegs) SetEncodedLegIssuer(v string) {
|
|
m.Set(field.NewEncodedLegIssuer(v))
|
|
}
|
|
|
|
// SetLegSecurityDesc sets LegSecurityDesc, Tag 620.
|
|
func (m NoLegs) SetLegSecurityDesc(v string) {
|
|
m.Set(field.NewLegSecurityDesc(v))
|
|
}
|
|
|
|
// SetEncodedLegSecurityDescLen sets EncodedLegSecurityDescLen, Tag 621.
|
|
func (m NoLegs) SetEncodedLegSecurityDescLen(v int) {
|
|
m.Set(field.NewEncodedLegSecurityDescLen(v))
|
|
}
|
|
|
|
// SetEncodedLegSecurityDesc sets EncodedLegSecurityDesc, Tag 622.
|
|
func (m NoLegs) SetEncodedLegSecurityDesc(v string) {
|
|
m.Set(field.NewEncodedLegSecurityDesc(v))
|
|
}
|
|
|
|
// SetLegRatioQty sets LegRatioQty, Tag 623.
|
|
func (m NoLegs) SetLegRatioQty(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewLegRatioQty(value, scale))
|
|
}
|
|
|
|
// SetLegSide sets LegSide, Tag 624.
|
|
func (m NoLegs) SetLegSide(v string) {
|
|
m.Set(field.NewLegSide(v))
|
|
}
|
|
|
|
// SetLegPositionEffect sets LegPositionEffect, Tag 564.
|
|
func (m NoLegs) SetLegPositionEffect(v string) {
|
|
m.Set(field.NewLegPositionEffect(v))
|
|
}
|
|
|
|
// SetLegCoveredOrUncovered sets LegCoveredOrUncovered, Tag 565.
|
|
func (m NoLegs) SetLegCoveredOrUncovered(v int) {
|
|
m.Set(field.NewLegCoveredOrUncovered(v))
|
|
}
|
|
|
|
// SetNoNestedPartyIDs sets NoNestedPartyIDs, Tag 539.
|
|
func (m NoLegs) SetNoNestedPartyIDs(f NoNestedPartyIDsRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetLegRefID sets LegRefID, Tag 654.
|
|
func (m NoLegs) SetLegRefID(v string) {
|
|
m.Set(field.NewLegRefID(v))
|
|
}
|
|
|
|
// SetLegPrice sets LegPrice, Tag 566.
|
|
func (m NoLegs) SetLegPrice(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewLegPrice(value, scale))
|
|
}
|
|
|
|
// SetLegSettlmntTyp sets LegSettlmntTyp, Tag 587.
|
|
func (m NoLegs) SetLegSettlmntTyp(v string) {
|
|
m.Set(field.NewLegSettlmntTyp(v))
|
|
}
|
|
|
|
// SetLegFutSettDate sets LegFutSettDate, Tag 588.
|
|
func (m NoLegs) SetLegFutSettDate(v string) {
|
|
m.Set(field.NewLegFutSettDate(v))
|
|
}
|
|
|
|
// GetLegSymbol gets LegSymbol, Tag 600.
|
|
func (m NoLegs) GetLegSymbol() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegSymbolField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegSymbolSfx gets LegSymbolSfx, Tag 601.
|
|
func (m NoLegs) GetLegSymbolSfx() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegSymbolSfxField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegSecurityID gets LegSecurityID, Tag 602.
|
|
func (m NoLegs) GetLegSecurityID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegSecurityIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegSecurityIDSource gets LegSecurityIDSource, Tag 603.
|
|
func (m NoLegs) GetLegSecurityIDSource() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegSecurityIDSourceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoLegSecurityAltID gets NoLegSecurityAltID, Tag 604.
|
|
func (m NoLegs) GetNoLegSecurityAltID() (NoLegSecurityAltIDRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoLegSecurityAltIDRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetLegProduct gets LegProduct, Tag 607.
|
|
func (m NoLegs) GetLegProduct() (v int, err quickfix.MessageRejectError) {
|
|
var f field.LegProductField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegCFICode gets LegCFICode, Tag 608.
|
|
func (m NoLegs) GetLegCFICode() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegCFICodeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegSecurityType gets LegSecurityType, Tag 609.
|
|
func (m NoLegs) GetLegSecurityType() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegSecurityTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegMaturityMonthYear gets LegMaturityMonthYear, Tag 610.
|
|
func (m NoLegs) GetLegMaturityMonthYear() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegMaturityMonthYearField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegMaturityDate gets LegMaturityDate, Tag 611.
|
|
func (m NoLegs) GetLegMaturityDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegMaturityDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegCouponPaymentDate gets LegCouponPaymentDate, Tag 248.
|
|
func (m NoLegs) GetLegCouponPaymentDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegCouponPaymentDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegIssueDate gets LegIssueDate, Tag 249.
|
|
func (m NoLegs) GetLegIssueDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegIssueDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegRepoCollateralSecurityType gets LegRepoCollateralSecurityType, Tag 250.
|
|
func (m NoLegs) GetLegRepoCollateralSecurityType() (v int, err quickfix.MessageRejectError) {
|
|
var f field.LegRepoCollateralSecurityTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegRepurchaseTerm gets LegRepurchaseTerm, Tag 251.
|
|
func (m NoLegs) GetLegRepurchaseTerm() (v int, err quickfix.MessageRejectError) {
|
|
var f field.LegRepurchaseTermField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegRepurchaseRate gets LegRepurchaseRate, Tag 252.
|
|
func (m NoLegs) GetLegRepurchaseRate() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.LegRepurchaseRateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegFactor gets LegFactor, Tag 253.
|
|
func (m NoLegs) GetLegFactor() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.LegFactorField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegCreditRating gets LegCreditRating, Tag 257.
|
|
func (m NoLegs) GetLegCreditRating() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegCreditRatingField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegInstrRegistry gets LegInstrRegistry, Tag 599.
|
|
func (m NoLegs) GetLegInstrRegistry() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegInstrRegistryField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegCountryOfIssue gets LegCountryOfIssue, Tag 596.
|
|
func (m NoLegs) GetLegCountryOfIssue() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegCountryOfIssueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegStateOrProvinceOfIssue gets LegStateOrProvinceOfIssue, Tag 597.
|
|
func (m NoLegs) GetLegStateOrProvinceOfIssue() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegStateOrProvinceOfIssueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegLocaleOfIssue gets LegLocaleOfIssue, Tag 598.
|
|
func (m NoLegs) GetLegLocaleOfIssue() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegLocaleOfIssueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegRedemptionDate gets LegRedemptionDate, Tag 254.
|
|
func (m NoLegs) GetLegRedemptionDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegRedemptionDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegStrikePrice gets LegStrikePrice, Tag 612.
|
|
func (m NoLegs) GetLegStrikePrice() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.LegStrikePriceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegOptAttribute gets LegOptAttribute, Tag 613.
|
|
func (m NoLegs) GetLegOptAttribute() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegOptAttributeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegContractMultiplier gets LegContractMultiplier, Tag 614.
|
|
func (m NoLegs) GetLegContractMultiplier() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.LegContractMultiplierField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegCouponRate gets LegCouponRate, Tag 615.
|
|
func (m NoLegs) GetLegCouponRate() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.LegCouponRateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegSecurityExchange gets LegSecurityExchange, Tag 616.
|
|
func (m NoLegs) GetLegSecurityExchange() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegSecurityExchangeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegIssuer gets LegIssuer, Tag 617.
|
|
func (m NoLegs) GetLegIssuer() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegIssuerField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedLegIssuerLen gets EncodedLegIssuerLen, Tag 618.
|
|
func (m NoLegs) GetEncodedLegIssuerLen() (v int, err quickfix.MessageRejectError) {
|
|
var f field.EncodedLegIssuerLenField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedLegIssuer gets EncodedLegIssuer, Tag 619.
|
|
func (m NoLegs) GetEncodedLegIssuer() (v string, err quickfix.MessageRejectError) {
|
|
var f field.EncodedLegIssuerField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegSecurityDesc gets LegSecurityDesc, Tag 620.
|
|
func (m NoLegs) GetLegSecurityDesc() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegSecurityDescField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedLegSecurityDescLen gets EncodedLegSecurityDescLen, Tag 621.
|
|
func (m NoLegs) GetEncodedLegSecurityDescLen() (v int, err quickfix.MessageRejectError) {
|
|
var f field.EncodedLegSecurityDescLenField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedLegSecurityDesc gets EncodedLegSecurityDesc, Tag 622.
|
|
func (m NoLegs) GetEncodedLegSecurityDesc() (v string, err quickfix.MessageRejectError) {
|
|
var f field.EncodedLegSecurityDescField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegRatioQty gets LegRatioQty, Tag 623.
|
|
func (m NoLegs) GetLegRatioQty() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.LegRatioQtyField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegSide gets LegSide, Tag 624.
|
|
func (m NoLegs) GetLegSide() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegSideField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegPositionEffect gets LegPositionEffect, Tag 564.
|
|
func (m NoLegs) GetLegPositionEffect() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegPositionEffectField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegCoveredOrUncovered gets LegCoveredOrUncovered, Tag 565.
|
|
func (m NoLegs) GetLegCoveredOrUncovered() (v int, err quickfix.MessageRejectError) {
|
|
var f field.LegCoveredOrUncoveredField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoNestedPartyIDs gets NoNestedPartyIDs, Tag 539.
|
|
func (m NoLegs) GetNoNestedPartyIDs() (NoNestedPartyIDsRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoNestedPartyIDsRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetLegRefID gets LegRefID, Tag 654.
|
|
func (m NoLegs) GetLegRefID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegRefIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegPrice gets LegPrice, Tag 566.
|
|
func (m NoLegs) GetLegPrice() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.LegPriceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegSettlmntTyp gets LegSettlmntTyp, Tag 587.
|
|
func (m NoLegs) GetLegSettlmntTyp() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegSettlmntTypField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegFutSettDate gets LegFutSettDate, Tag 588.
|
|
func (m NoLegs) GetLegFutSettDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegFutSettDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasLegSymbol returns true if LegSymbol is present, Tag 600.
|
|
func (m NoLegs) HasLegSymbol() bool {
|
|
return m.Has(tag.LegSymbol)
|
|
}
|
|
|
|
// HasLegSymbolSfx returns true if LegSymbolSfx is present, Tag 601.
|
|
func (m NoLegs) HasLegSymbolSfx() bool {
|
|
return m.Has(tag.LegSymbolSfx)
|
|
}
|
|
|
|
// HasLegSecurityID returns true if LegSecurityID is present, Tag 602.
|
|
func (m NoLegs) HasLegSecurityID() bool {
|
|
return m.Has(tag.LegSecurityID)
|
|
}
|
|
|
|
// HasLegSecurityIDSource returns true if LegSecurityIDSource is present, Tag 603.
|
|
func (m NoLegs) HasLegSecurityIDSource() bool {
|
|
return m.Has(tag.LegSecurityIDSource)
|
|
}
|
|
|
|
// HasNoLegSecurityAltID returns true if NoLegSecurityAltID is present, Tag 604.
|
|
func (m NoLegs) HasNoLegSecurityAltID() bool {
|
|
return m.Has(tag.NoLegSecurityAltID)
|
|
}
|
|
|
|
// HasLegProduct returns true if LegProduct is present, Tag 607.
|
|
func (m NoLegs) HasLegProduct() bool {
|
|
return m.Has(tag.LegProduct)
|
|
}
|
|
|
|
// HasLegCFICode returns true if LegCFICode is present, Tag 608.
|
|
func (m NoLegs) HasLegCFICode() bool {
|
|
return m.Has(tag.LegCFICode)
|
|
}
|
|
|
|
// HasLegSecurityType returns true if LegSecurityType is present, Tag 609.
|
|
func (m NoLegs) HasLegSecurityType() bool {
|
|
return m.Has(tag.LegSecurityType)
|
|
}
|
|
|
|
// HasLegMaturityMonthYear returns true if LegMaturityMonthYear is present, Tag 610.
|
|
func (m NoLegs) HasLegMaturityMonthYear() bool {
|
|
return m.Has(tag.LegMaturityMonthYear)
|
|
}
|
|
|
|
// HasLegMaturityDate returns true if LegMaturityDate is present, Tag 611.
|
|
func (m NoLegs) HasLegMaturityDate() bool {
|
|
return m.Has(tag.LegMaturityDate)
|
|
}
|
|
|
|
// HasLegCouponPaymentDate returns true if LegCouponPaymentDate is present, Tag 248.
|
|
func (m NoLegs) HasLegCouponPaymentDate() bool {
|
|
return m.Has(tag.LegCouponPaymentDate)
|
|
}
|
|
|
|
// HasLegIssueDate returns true if LegIssueDate is present, Tag 249.
|
|
func (m NoLegs) HasLegIssueDate() bool {
|
|
return m.Has(tag.LegIssueDate)
|
|
}
|
|
|
|
// HasLegRepoCollateralSecurityType returns true if LegRepoCollateralSecurityType is present, Tag 250.
|
|
func (m NoLegs) HasLegRepoCollateralSecurityType() bool {
|
|
return m.Has(tag.LegRepoCollateralSecurityType)
|
|
}
|
|
|
|
// HasLegRepurchaseTerm returns true if LegRepurchaseTerm is present, Tag 251.
|
|
func (m NoLegs) HasLegRepurchaseTerm() bool {
|
|
return m.Has(tag.LegRepurchaseTerm)
|
|
}
|
|
|
|
// HasLegRepurchaseRate returns true if LegRepurchaseRate is present, Tag 252.
|
|
func (m NoLegs) HasLegRepurchaseRate() bool {
|
|
return m.Has(tag.LegRepurchaseRate)
|
|
}
|
|
|
|
// HasLegFactor returns true if LegFactor is present, Tag 253.
|
|
func (m NoLegs) HasLegFactor() bool {
|
|
return m.Has(tag.LegFactor)
|
|
}
|
|
|
|
// HasLegCreditRating returns true if LegCreditRating is present, Tag 257.
|
|
func (m NoLegs) HasLegCreditRating() bool {
|
|
return m.Has(tag.LegCreditRating)
|
|
}
|
|
|
|
// HasLegInstrRegistry returns true if LegInstrRegistry is present, Tag 599.
|
|
func (m NoLegs) HasLegInstrRegistry() bool {
|
|
return m.Has(tag.LegInstrRegistry)
|
|
}
|
|
|
|
// HasLegCountryOfIssue returns true if LegCountryOfIssue is present, Tag 596.
|
|
func (m NoLegs) HasLegCountryOfIssue() bool {
|
|
return m.Has(tag.LegCountryOfIssue)
|
|
}
|
|
|
|
// HasLegStateOrProvinceOfIssue returns true if LegStateOrProvinceOfIssue is present, Tag 597.
|
|
func (m NoLegs) HasLegStateOrProvinceOfIssue() bool {
|
|
return m.Has(tag.LegStateOrProvinceOfIssue)
|
|
}
|
|
|
|
// HasLegLocaleOfIssue returns true if LegLocaleOfIssue is present, Tag 598.
|
|
func (m NoLegs) HasLegLocaleOfIssue() bool {
|
|
return m.Has(tag.LegLocaleOfIssue)
|
|
}
|
|
|
|
// HasLegRedemptionDate returns true if LegRedemptionDate is present, Tag 254.
|
|
func (m NoLegs) HasLegRedemptionDate() bool {
|
|
return m.Has(tag.LegRedemptionDate)
|
|
}
|
|
|
|
// HasLegStrikePrice returns true if LegStrikePrice is present, Tag 612.
|
|
func (m NoLegs) HasLegStrikePrice() bool {
|
|
return m.Has(tag.LegStrikePrice)
|
|
}
|
|
|
|
// HasLegOptAttribute returns true if LegOptAttribute is present, Tag 613.
|
|
func (m NoLegs) HasLegOptAttribute() bool {
|
|
return m.Has(tag.LegOptAttribute)
|
|
}
|
|
|
|
// HasLegContractMultiplier returns true if LegContractMultiplier is present, Tag 614.
|
|
func (m NoLegs) HasLegContractMultiplier() bool {
|
|
return m.Has(tag.LegContractMultiplier)
|
|
}
|
|
|
|
// HasLegCouponRate returns true if LegCouponRate is present, Tag 615.
|
|
func (m NoLegs) HasLegCouponRate() bool {
|
|
return m.Has(tag.LegCouponRate)
|
|
}
|
|
|
|
// HasLegSecurityExchange returns true if LegSecurityExchange is present, Tag 616.
|
|
func (m NoLegs) HasLegSecurityExchange() bool {
|
|
return m.Has(tag.LegSecurityExchange)
|
|
}
|
|
|
|
// HasLegIssuer returns true if LegIssuer is present, Tag 617.
|
|
func (m NoLegs) HasLegIssuer() bool {
|
|
return m.Has(tag.LegIssuer)
|
|
}
|
|
|
|
// HasEncodedLegIssuerLen returns true if EncodedLegIssuerLen is present, Tag 618.
|
|
func (m NoLegs) HasEncodedLegIssuerLen() bool {
|
|
return m.Has(tag.EncodedLegIssuerLen)
|
|
}
|
|
|
|
// HasEncodedLegIssuer returns true if EncodedLegIssuer is present, Tag 619.
|
|
func (m NoLegs) HasEncodedLegIssuer() bool {
|
|
return m.Has(tag.EncodedLegIssuer)
|
|
}
|
|
|
|
// HasLegSecurityDesc returns true if LegSecurityDesc is present, Tag 620.
|
|
func (m NoLegs) HasLegSecurityDesc() bool {
|
|
return m.Has(tag.LegSecurityDesc)
|
|
}
|
|
|
|
// HasEncodedLegSecurityDescLen returns true if EncodedLegSecurityDescLen is present, Tag 621.
|
|
func (m NoLegs) HasEncodedLegSecurityDescLen() bool {
|
|
return m.Has(tag.EncodedLegSecurityDescLen)
|
|
}
|
|
|
|
// HasEncodedLegSecurityDesc returns true if EncodedLegSecurityDesc is present, Tag 622.
|
|
func (m NoLegs) HasEncodedLegSecurityDesc() bool {
|
|
return m.Has(tag.EncodedLegSecurityDesc)
|
|
}
|
|
|
|
// HasLegRatioQty returns true if LegRatioQty is present, Tag 623.
|
|
func (m NoLegs) HasLegRatioQty() bool {
|
|
return m.Has(tag.LegRatioQty)
|
|
}
|
|
|
|
// HasLegSide returns true if LegSide is present, Tag 624.
|
|
func (m NoLegs) HasLegSide() bool {
|
|
return m.Has(tag.LegSide)
|
|
}
|
|
|
|
// HasLegPositionEffect returns true if LegPositionEffect is present, Tag 564.
|
|
func (m NoLegs) HasLegPositionEffect() bool {
|
|
return m.Has(tag.LegPositionEffect)
|
|
}
|
|
|
|
// HasLegCoveredOrUncovered returns true if LegCoveredOrUncovered is present, Tag 565.
|
|
func (m NoLegs) HasLegCoveredOrUncovered() bool {
|
|
return m.Has(tag.LegCoveredOrUncovered)
|
|
}
|
|
|
|
// HasNoNestedPartyIDs returns true if NoNestedPartyIDs is present, Tag 539.
|
|
func (m NoLegs) HasNoNestedPartyIDs() bool {
|
|
return m.Has(tag.NoNestedPartyIDs)
|
|
}
|
|
|
|
// HasLegRefID returns true if LegRefID is present, Tag 654.
|
|
func (m NoLegs) HasLegRefID() bool {
|
|
return m.Has(tag.LegRefID)
|
|
}
|
|
|
|
// HasLegPrice returns true if LegPrice is present, Tag 566.
|
|
func (m NoLegs) HasLegPrice() bool {
|
|
return m.Has(tag.LegPrice)
|
|
}
|
|
|
|
// HasLegSettlmntTyp returns true if LegSettlmntTyp is present, Tag 587.
|
|
func (m NoLegs) HasLegSettlmntTyp() bool {
|
|
return m.Has(tag.LegSettlmntTyp)
|
|
}
|
|
|
|
// HasLegFutSettDate returns true if LegFutSettDate is present, Tag 588.
|
|
func (m NoLegs) HasLegFutSettDate() bool {
|
|
return m.Has(tag.LegFutSettDate)
|
|
}
|
|
|
|
// NoLegSecurityAltID is a repeating group element, Tag 604.
|
|
type NoLegSecurityAltID struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetLegSecurityAltID sets LegSecurityAltID, Tag 605.
|
|
func (m NoLegSecurityAltID) SetLegSecurityAltID(v string) {
|
|
m.Set(field.NewLegSecurityAltID(v))
|
|
}
|
|
|
|
// SetLegSecurityAltIDSource sets LegSecurityAltIDSource, Tag 606.
|
|
func (m NoLegSecurityAltID) SetLegSecurityAltIDSource(v string) {
|
|
m.Set(field.NewLegSecurityAltIDSource(v))
|
|
}
|
|
|
|
// GetLegSecurityAltID gets LegSecurityAltID, Tag 605.
|
|
func (m NoLegSecurityAltID) GetLegSecurityAltID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegSecurityAltIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetLegSecurityAltIDSource gets LegSecurityAltIDSource, Tag 606.
|
|
func (m NoLegSecurityAltID) GetLegSecurityAltIDSource() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LegSecurityAltIDSourceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasLegSecurityAltID returns true if LegSecurityAltID is present, Tag 605.
|
|
func (m NoLegSecurityAltID) HasLegSecurityAltID() bool {
|
|
return m.Has(tag.LegSecurityAltID)
|
|
}
|
|
|
|
// HasLegSecurityAltIDSource returns true if LegSecurityAltIDSource is present, Tag 606.
|
|
func (m NoLegSecurityAltID) HasLegSecurityAltIDSource() bool {
|
|
return m.Has(tag.LegSecurityAltIDSource)
|
|
}
|
|
|
|
// NoLegSecurityAltIDRepeatingGroup is a repeating group, Tag 604.
|
|
type NoLegSecurityAltIDRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoLegSecurityAltIDRepeatingGroup returns an initialized, NoLegSecurityAltIDRepeatingGroup.
|
|
func NewNoLegSecurityAltIDRepeatingGroup() NoLegSecurityAltIDRepeatingGroup {
|
|
return NoLegSecurityAltIDRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoLegSecurityAltID,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.LegSecurityAltID),
|
|
quickfix.GroupElement(tag.LegSecurityAltIDSource),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoLegSecurityAltID to this group.
|
|
func (m NoLegSecurityAltIDRepeatingGroup) Add() NoLegSecurityAltID {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoLegSecurityAltID{g}
|
|
}
|
|
|
|
// Get returns the ith NoLegSecurityAltID in the NoLegSecurityAltIDRepeatinGroup.
|
|
func (m NoLegSecurityAltIDRepeatingGroup) Get(i int) NoLegSecurityAltID {
|
|
return NoLegSecurityAltID{m.RepeatingGroup.Get(i)}
|
|
}
|
|
|
|
// NoNestedPartyIDs is a repeating group element, Tag 539.
|
|
type NoNestedPartyIDs struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetNestedPartyID sets NestedPartyID, Tag 524.
|
|
func (m NoNestedPartyIDs) SetNestedPartyID(v string) {
|
|
m.Set(field.NewNestedPartyID(v))
|
|
}
|
|
|
|
// SetNestedPartyIDSource sets NestedPartyIDSource, Tag 525.
|
|
func (m NoNestedPartyIDs) SetNestedPartyIDSource(v string) {
|
|
m.Set(field.NewNestedPartyIDSource(v))
|
|
}
|
|
|
|
// SetNestedPartyRole sets NestedPartyRole, Tag 538.
|
|
func (m NoNestedPartyIDs) SetNestedPartyRole(v int) {
|
|
m.Set(field.NewNestedPartyRole(v))
|
|
}
|
|
|
|
// SetNestedPartySubID sets NestedPartySubID, Tag 545.
|
|
func (m NoNestedPartyIDs) SetNestedPartySubID(v string) {
|
|
m.Set(field.NewNestedPartySubID(v))
|
|
}
|
|
|
|
// GetNestedPartyID gets NestedPartyID, Tag 524.
|
|
func (m NoNestedPartyIDs) GetNestedPartyID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.NestedPartyIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNestedPartyIDSource gets NestedPartyIDSource, Tag 525.
|
|
func (m NoNestedPartyIDs) GetNestedPartyIDSource() (v string, err quickfix.MessageRejectError) {
|
|
var f field.NestedPartyIDSourceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNestedPartyRole gets NestedPartyRole, Tag 538.
|
|
func (m NoNestedPartyIDs) GetNestedPartyRole() (v int, err quickfix.MessageRejectError) {
|
|
var f field.NestedPartyRoleField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNestedPartySubID gets NestedPartySubID, Tag 545.
|
|
func (m NoNestedPartyIDs) GetNestedPartySubID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.NestedPartySubIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasNestedPartyID returns true if NestedPartyID is present, Tag 524.
|
|
func (m NoNestedPartyIDs) HasNestedPartyID() bool {
|
|
return m.Has(tag.NestedPartyID)
|
|
}
|
|
|
|
// HasNestedPartyIDSource returns true if NestedPartyIDSource is present, Tag 525.
|
|
func (m NoNestedPartyIDs) HasNestedPartyIDSource() bool {
|
|
return m.Has(tag.NestedPartyIDSource)
|
|
}
|
|
|
|
// HasNestedPartyRole returns true if NestedPartyRole is present, Tag 538.
|
|
func (m NoNestedPartyIDs) HasNestedPartyRole() bool {
|
|
return m.Has(tag.NestedPartyRole)
|
|
}
|
|
|
|
// HasNestedPartySubID returns true if NestedPartySubID is present, Tag 545.
|
|
func (m NoNestedPartyIDs) HasNestedPartySubID() bool {
|
|
return m.Has(tag.NestedPartySubID)
|
|
}
|
|
|
|
// NoNestedPartyIDsRepeatingGroup is a repeating group, Tag 539.
|
|
type NoNestedPartyIDsRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoNestedPartyIDsRepeatingGroup returns an initialized, NoNestedPartyIDsRepeatingGroup.
|
|
func NewNoNestedPartyIDsRepeatingGroup() NoNestedPartyIDsRepeatingGroup {
|
|
return NoNestedPartyIDsRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoNestedPartyIDs,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.NestedPartyID),
|
|
quickfix.GroupElement(tag.NestedPartyIDSource),
|
|
quickfix.GroupElement(tag.NestedPartyRole),
|
|
quickfix.GroupElement(tag.NestedPartySubID),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoNestedPartyIDs to this group.
|
|
func (m NoNestedPartyIDsRepeatingGroup) Add() NoNestedPartyIDs {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoNestedPartyIDs{g}
|
|
}
|
|
|
|
// Get returns the ith NoNestedPartyIDs in the NoNestedPartyIDsRepeatinGroup.
|
|
func (m NoNestedPartyIDsRepeatingGroup) Get(i int) NoNestedPartyIDs {
|
|
return NoNestedPartyIDs{m.RepeatingGroup.Get(i)}
|
|
}
|
|
|
|
// NoLegsRepeatingGroup is a repeating group, Tag 555.
|
|
type NoLegsRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoLegsRepeatingGroup returns an initialized, NoLegsRepeatingGroup.
|
|
func NewNoLegsRepeatingGroup() NoLegsRepeatingGroup {
|
|
return NoLegsRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoLegs,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.LegSymbol),
|
|
quickfix.GroupElement(tag.LegSymbolSfx),
|
|
quickfix.GroupElement(tag.LegSecurityID),
|
|
quickfix.GroupElement(tag.LegSecurityIDSource),
|
|
NewNoLegSecurityAltIDRepeatingGroup(),
|
|
quickfix.GroupElement(tag.LegProduct),
|
|
quickfix.GroupElement(tag.LegCFICode),
|
|
quickfix.GroupElement(tag.LegSecurityType),
|
|
quickfix.GroupElement(tag.LegMaturityMonthYear),
|
|
quickfix.GroupElement(tag.LegMaturityDate),
|
|
quickfix.GroupElement(tag.LegCouponPaymentDate),
|
|
quickfix.GroupElement(tag.LegIssueDate),
|
|
quickfix.GroupElement(tag.LegRepoCollateralSecurityType),
|
|
quickfix.GroupElement(tag.LegRepurchaseTerm),
|
|
quickfix.GroupElement(tag.LegRepurchaseRate),
|
|
quickfix.GroupElement(tag.LegFactor),
|
|
quickfix.GroupElement(tag.LegCreditRating),
|
|
quickfix.GroupElement(tag.LegInstrRegistry),
|
|
quickfix.GroupElement(tag.LegCountryOfIssue),
|
|
quickfix.GroupElement(tag.LegStateOrProvinceOfIssue),
|
|
quickfix.GroupElement(tag.LegLocaleOfIssue),
|
|
quickfix.GroupElement(tag.LegRedemptionDate),
|
|
quickfix.GroupElement(tag.LegStrikePrice),
|
|
quickfix.GroupElement(tag.LegOptAttribute),
|
|
quickfix.GroupElement(tag.LegContractMultiplier),
|
|
quickfix.GroupElement(tag.LegCouponRate),
|
|
quickfix.GroupElement(tag.LegSecurityExchange),
|
|
quickfix.GroupElement(tag.LegIssuer),
|
|
quickfix.GroupElement(tag.EncodedLegIssuerLen),
|
|
quickfix.GroupElement(tag.EncodedLegIssuer),
|
|
quickfix.GroupElement(tag.LegSecurityDesc),
|
|
quickfix.GroupElement(tag.EncodedLegSecurityDescLen),
|
|
quickfix.GroupElement(tag.EncodedLegSecurityDesc),
|
|
quickfix.GroupElement(tag.LegRatioQty),
|
|
quickfix.GroupElement(tag.LegSide),
|
|
quickfix.GroupElement(tag.LegPositionEffect),
|
|
quickfix.GroupElement(tag.LegCoveredOrUncovered),
|
|
NewNoNestedPartyIDsRepeatingGroup(),
|
|
quickfix.GroupElement(tag.LegRefID),
|
|
quickfix.GroupElement(tag.LegPrice),
|
|
quickfix.GroupElement(tag.LegSettlmntTyp),
|
|
quickfix.GroupElement(tag.LegFutSettDate),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoLegs to this group.
|
|
func (m NoLegsRepeatingGroup) Add() NoLegs {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoLegs{g}
|
|
}
|
|
|
|
// Get returns the ith NoLegs in the NoLegsRepeatinGroup.
|
|
func (m NoLegsRepeatingGroup) Get(i int) NoLegs {
|
|
return NoLegs{m.RepeatingGroup.Get(i)}
|
|
}
|