2476 lines
75 KiB
Go
2476 lines
75 KiB
Go
// Code generated by quickfix. DO NOT EDIT.
|
|
package liststrikeprice
|
|
|
|
import (
|
|
"github.com/shopspring/decimal"
|
|
|
|
"quantex.com/qfixdpl/quickfix"
|
|
"quantex.com/qfixdpl/quickfix/gen/enum"
|
|
"quantex.com/qfixdpl/quickfix/gen/field"
|
|
"quantex.com/qfixdpl/quickfix/gen/fix44"
|
|
"quantex.com/qfixdpl/quickfix/gen/tag"
|
|
)
|
|
|
|
// ListStrikePrice is the fix44 ListStrikePrice type, MsgType = m.
|
|
type ListStrikePrice struct {
|
|
fix44.Header
|
|
*quickfix.Body
|
|
fix44.Trailer
|
|
Message *quickfix.Message
|
|
}
|
|
|
|
// FromMessage creates a ListStrikePrice from a quickfix.Message instance.
|
|
func FromMessage(m *quickfix.Message) ListStrikePrice {
|
|
return ListStrikePrice{
|
|
Header: fix44.Header{Header: &m.Header},
|
|
Body: &m.Body,
|
|
Trailer: fix44.Trailer{Trailer: &m.Trailer},
|
|
Message: m,
|
|
}
|
|
}
|
|
|
|
// ToMessage returns a quickfix.Message instance.
|
|
func (m ListStrikePrice) ToMessage() *quickfix.Message {
|
|
return m.Message
|
|
}
|
|
|
|
// New returns a ListStrikePrice initialized with the required fields for ListStrikePrice.
|
|
func New(listid field.ListIDField, totnostrikes field.TotNoStrikesField) (m ListStrikePrice) {
|
|
m.Message = quickfix.NewMessage()
|
|
m.Header = fix44.NewHeader(&m.Message.Header)
|
|
m.Body = &m.Message.Body
|
|
m.Trailer.Trailer = &m.Message.Trailer
|
|
|
|
m.Header.Set(field.NewMsgType("m"))
|
|
m.Set(listid)
|
|
m.Set(totnostrikes)
|
|
|
|
return
|
|
}
|
|
|
|
// A RouteOut is the callback type that should be implemented for routing Message.
|
|
type RouteOut func(msg ListStrikePrice, 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.4", "m", r
|
|
}
|
|
|
|
// SetListID sets ListID, Tag 66.
|
|
func (m ListStrikePrice) SetListID(v string) {
|
|
m.Set(field.NewListID(v))
|
|
}
|
|
|
|
// SetTotNoStrikes sets TotNoStrikes, Tag 422.
|
|
func (m ListStrikePrice) SetTotNoStrikes(v int) {
|
|
m.Set(field.NewTotNoStrikes(v))
|
|
}
|
|
|
|
// SetNoStrikes sets NoStrikes, Tag 428.
|
|
func (m ListStrikePrice) SetNoStrikes(f NoStrikesRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetNoUnderlyings sets NoUnderlyings, Tag 711.
|
|
func (m ListStrikePrice) SetNoUnderlyings(f NoUnderlyingsRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetLastFragment sets LastFragment, Tag 893.
|
|
func (m ListStrikePrice) SetLastFragment(v bool) {
|
|
m.Set(field.NewLastFragment(v))
|
|
}
|
|
|
|
// GetListID gets ListID, Tag 66.
|
|
func (m ListStrikePrice) GetListID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.ListIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetTotNoStrikes gets TotNoStrikes, Tag 422.
|
|
func (m ListStrikePrice) GetTotNoStrikes() (v int, err quickfix.MessageRejectError) {
|
|
var f field.TotNoStrikesField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoStrikes gets NoStrikes, Tag 428.
|
|
func (m ListStrikePrice) GetNoStrikes() (NoStrikesRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoStrikesRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetNoUnderlyings gets NoUnderlyings, Tag 711.
|
|
func (m ListStrikePrice) GetNoUnderlyings() (NoUnderlyingsRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoUnderlyingsRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetLastFragment gets LastFragment, Tag 893.
|
|
func (m ListStrikePrice) GetLastFragment() (v bool, err quickfix.MessageRejectError) {
|
|
var f field.LastFragmentField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasListID returns true if ListID is present, Tag 66.
|
|
func (m ListStrikePrice) HasListID() bool {
|
|
return m.Has(tag.ListID)
|
|
}
|
|
|
|
// HasTotNoStrikes returns true if TotNoStrikes is present, Tag 422.
|
|
func (m ListStrikePrice) HasTotNoStrikes() bool {
|
|
return m.Has(tag.TotNoStrikes)
|
|
}
|
|
|
|
// HasNoStrikes returns true if NoStrikes is present, Tag 428.
|
|
func (m ListStrikePrice) HasNoStrikes() bool {
|
|
return m.Has(tag.NoStrikes)
|
|
}
|
|
|
|
// HasNoUnderlyings returns true if NoUnderlyings is present, Tag 711.
|
|
func (m ListStrikePrice) HasNoUnderlyings() bool {
|
|
return m.Has(tag.NoUnderlyings)
|
|
}
|
|
|
|
// HasLastFragment returns true if LastFragment is present, Tag 893.
|
|
func (m ListStrikePrice) HasLastFragment() bool {
|
|
return m.Has(tag.LastFragment)
|
|
}
|
|
|
|
// NoStrikes is a repeating group element, Tag 428.
|
|
type NoStrikes struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetSymbol sets Symbol, Tag 55.
|
|
func (m NoStrikes) SetSymbol(v string) {
|
|
m.Set(field.NewSymbol(v))
|
|
}
|
|
|
|
// SetSymbolSfx sets SymbolSfx, Tag 65.
|
|
func (m NoStrikes) SetSymbolSfx(v enum.SymbolSfx) {
|
|
m.Set(field.NewSymbolSfx(v))
|
|
}
|
|
|
|
// SetSecurityID sets SecurityID, Tag 48.
|
|
func (m NoStrikes) SetSecurityID(v string) {
|
|
m.Set(field.NewSecurityID(v))
|
|
}
|
|
|
|
// SetSecurityIDSource sets SecurityIDSource, Tag 22.
|
|
func (m NoStrikes) SetSecurityIDSource(v enum.SecurityIDSource) {
|
|
m.Set(field.NewSecurityIDSource(v))
|
|
}
|
|
|
|
// SetNoSecurityAltID sets NoSecurityAltID, Tag 454.
|
|
func (m NoStrikes) SetNoSecurityAltID(f NoSecurityAltIDRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetProduct sets Product, Tag 460.
|
|
func (m NoStrikes) SetProduct(v enum.Product) {
|
|
m.Set(field.NewProduct(v))
|
|
}
|
|
|
|
// SetCFICode sets CFICode, Tag 461.
|
|
func (m NoStrikes) SetCFICode(v string) {
|
|
m.Set(field.NewCFICode(v))
|
|
}
|
|
|
|
// SetSecurityType sets SecurityType, Tag 167.
|
|
func (m NoStrikes) SetSecurityType(v enum.SecurityType) {
|
|
m.Set(field.NewSecurityType(v))
|
|
}
|
|
|
|
// SetSecuritySubType sets SecuritySubType, Tag 762.
|
|
func (m NoStrikes) SetSecuritySubType(v string) {
|
|
m.Set(field.NewSecuritySubType(v))
|
|
}
|
|
|
|
// SetMaturityMonthYear sets MaturityMonthYear, Tag 200.
|
|
func (m NoStrikes) SetMaturityMonthYear(v string) {
|
|
m.Set(field.NewMaturityMonthYear(v))
|
|
}
|
|
|
|
// SetMaturityDate sets MaturityDate, Tag 541.
|
|
func (m NoStrikes) SetMaturityDate(v string) {
|
|
m.Set(field.NewMaturityDate(v))
|
|
}
|
|
|
|
// SetCouponPaymentDate sets CouponPaymentDate, Tag 224.
|
|
func (m NoStrikes) SetCouponPaymentDate(v string) {
|
|
m.Set(field.NewCouponPaymentDate(v))
|
|
}
|
|
|
|
// SetIssueDate sets IssueDate, Tag 225.
|
|
func (m NoStrikes) SetIssueDate(v string) {
|
|
m.Set(field.NewIssueDate(v))
|
|
}
|
|
|
|
// SetRepoCollateralSecurityType sets RepoCollateralSecurityType, Tag 239.
|
|
func (m NoStrikes) SetRepoCollateralSecurityType(v int) {
|
|
m.Set(field.NewRepoCollateralSecurityType(v))
|
|
}
|
|
|
|
// SetRepurchaseTerm sets RepurchaseTerm, Tag 226.
|
|
func (m NoStrikes) SetRepurchaseTerm(v int) {
|
|
m.Set(field.NewRepurchaseTerm(v))
|
|
}
|
|
|
|
// SetRepurchaseRate sets RepurchaseRate, Tag 227.
|
|
func (m NoStrikes) SetRepurchaseRate(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewRepurchaseRate(value, scale))
|
|
}
|
|
|
|
// SetFactor sets Factor, Tag 228.
|
|
func (m NoStrikes) SetFactor(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewFactor(value, scale))
|
|
}
|
|
|
|
// SetCreditRating sets CreditRating, Tag 255.
|
|
func (m NoStrikes) SetCreditRating(v string) {
|
|
m.Set(field.NewCreditRating(v))
|
|
}
|
|
|
|
// SetInstrRegistry sets InstrRegistry, Tag 543.
|
|
func (m NoStrikes) SetInstrRegistry(v enum.InstrRegistry) {
|
|
m.Set(field.NewInstrRegistry(v))
|
|
}
|
|
|
|
// SetCountryOfIssue sets CountryOfIssue, Tag 470.
|
|
func (m NoStrikes) SetCountryOfIssue(v string) {
|
|
m.Set(field.NewCountryOfIssue(v))
|
|
}
|
|
|
|
// SetStateOrProvinceOfIssue sets StateOrProvinceOfIssue, Tag 471.
|
|
func (m NoStrikes) SetStateOrProvinceOfIssue(v string) {
|
|
m.Set(field.NewStateOrProvinceOfIssue(v))
|
|
}
|
|
|
|
// SetLocaleOfIssue sets LocaleOfIssue, Tag 472.
|
|
func (m NoStrikes) SetLocaleOfIssue(v string) {
|
|
m.Set(field.NewLocaleOfIssue(v))
|
|
}
|
|
|
|
// SetRedemptionDate sets RedemptionDate, Tag 240.
|
|
func (m NoStrikes) SetRedemptionDate(v string) {
|
|
m.Set(field.NewRedemptionDate(v))
|
|
}
|
|
|
|
// SetStrikePrice sets StrikePrice, Tag 202.
|
|
func (m NoStrikes) SetStrikePrice(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewStrikePrice(value, scale))
|
|
}
|
|
|
|
// SetStrikeCurrency sets StrikeCurrency, Tag 947.
|
|
func (m NoStrikes) SetStrikeCurrency(v string) {
|
|
m.Set(field.NewStrikeCurrency(v))
|
|
}
|
|
|
|
// SetOptAttribute sets OptAttribute, Tag 206.
|
|
func (m NoStrikes) SetOptAttribute(v string) {
|
|
m.Set(field.NewOptAttribute(v))
|
|
}
|
|
|
|
// SetContractMultiplier sets ContractMultiplier, Tag 231.
|
|
func (m NoStrikes) SetContractMultiplier(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewContractMultiplier(value, scale))
|
|
}
|
|
|
|
// SetCouponRate sets CouponRate, Tag 223.
|
|
func (m NoStrikes) SetCouponRate(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewCouponRate(value, scale))
|
|
}
|
|
|
|
// SetSecurityExchange sets SecurityExchange, Tag 207.
|
|
func (m NoStrikes) SetSecurityExchange(v string) {
|
|
m.Set(field.NewSecurityExchange(v))
|
|
}
|
|
|
|
// SetIssuer sets Issuer, Tag 106.
|
|
func (m NoStrikes) SetIssuer(v string) {
|
|
m.Set(field.NewIssuer(v))
|
|
}
|
|
|
|
// SetEncodedIssuerLen sets EncodedIssuerLen, Tag 348.
|
|
func (m NoStrikes) SetEncodedIssuerLen(v int) {
|
|
m.Set(field.NewEncodedIssuerLen(v))
|
|
}
|
|
|
|
// SetEncodedIssuer sets EncodedIssuer, Tag 349.
|
|
func (m NoStrikes) SetEncodedIssuer(v string) {
|
|
m.Set(field.NewEncodedIssuer(v))
|
|
}
|
|
|
|
// SetSecurityDesc sets SecurityDesc, Tag 107.
|
|
func (m NoStrikes) SetSecurityDesc(v string) {
|
|
m.Set(field.NewSecurityDesc(v))
|
|
}
|
|
|
|
// SetEncodedSecurityDescLen sets EncodedSecurityDescLen, Tag 350.
|
|
func (m NoStrikes) SetEncodedSecurityDescLen(v int) {
|
|
m.Set(field.NewEncodedSecurityDescLen(v))
|
|
}
|
|
|
|
// SetEncodedSecurityDesc sets EncodedSecurityDesc, Tag 351.
|
|
func (m NoStrikes) SetEncodedSecurityDesc(v string) {
|
|
m.Set(field.NewEncodedSecurityDesc(v))
|
|
}
|
|
|
|
// SetPool sets Pool, Tag 691.
|
|
func (m NoStrikes) SetPool(v string) {
|
|
m.Set(field.NewPool(v))
|
|
}
|
|
|
|
// SetContractSettlMonth sets ContractSettlMonth, Tag 667.
|
|
func (m NoStrikes) SetContractSettlMonth(v string) {
|
|
m.Set(field.NewContractSettlMonth(v))
|
|
}
|
|
|
|
// SetCPProgram sets CPProgram, Tag 875.
|
|
func (m NoStrikes) SetCPProgram(v enum.CPProgram) {
|
|
m.Set(field.NewCPProgram(v))
|
|
}
|
|
|
|
// SetCPRegType sets CPRegType, Tag 876.
|
|
func (m NoStrikes) SetCPRegType(v string) {
|
|
m.Set(field.NewCPRegType(v))
|
|
}
|
|
|
|
// SetNoEvents sets NoEvents, Tag 864.
|
|
func (m NoStrikes) SetNoEvents(f NoEventsRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetDatedDate sets DatedDate, Tag 873.
|
|
func (m NoStrikes) SetDatedDate(v string) {
|
|
m.Set(field.NewDatedDate(v))
|
|
}
|
|
|
|
// SetInterestAccrualDate sets InterestAccrualDate, Tag 874.
|
|
func (m NoStrikes) SetInterestAccrualDate(v string) {
|
|
m.Set(field.NewInterestAccrualDate(v))
|
|
}
|
|
|
|
// GetSymbol gets Symbol, Tag 55.
|
|
func (m NoStrikes) GetSymbol() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SymbolField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSymbolSfx gets SymbolSfx, Tag 65.
|
|
func (m NoStrikes) GetSymbolSfx() (v enum.SymbolSfx, err quickfix.MessageRejectError) {
|
|
var f field.SymbolSfxField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityID gets SecurityID, Tag 48.
|
|
func (m NoStrikes) GetSecurityID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecurityIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityIDSource gets SecurityIDSource, Tag 22.
|
|
func (m NoStrikes) GetSecurityIDSource() (v enum.SecurityIDSource, err quickfix.MessageRejectError) {
|
|
var f field.SecurityIDSourceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoSecurityAltID gets NoSecurityAltID, Tag 454.
|
|
func (m NoStrikes) GetNoSecurityAltID() (NoSecurityAltIDRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoSecurityAltIDRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetProduct gets Product, Tag 460.
|
|
func (m NoStrikes) 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 NoStrikes) GetCFICode() (v string, err quickfix.MessageRejectError) {
|
|
var f field.CFICodeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityType gets SecurityType, Tag 167.
|
|
func (m NoStrikes) GetSecurityType() (v enum.SecurityType, err quickfix.MessageRejectError) {
|
|
var f field.SecurityTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecuritySubType gets SecuritySubType, Tag 762.
|
|
func (m NoStrikes) GetSecuritySubType() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecuritySubTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetMaturityMonthYear gets MaturityMonthYear, Tag 200.
|
|
func (m NoStrikes) GetMaturityMonthYear() (v string, err quickfix.MessageRejectError) {
|
|
var f field.MaturityMonthYearField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetMaturityDate gets MaturityDate, Tag 541.
|
|
func (m NoStrikes) GetMaturityDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.MaturityDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCouponPaymentDate gets CouponPaymentDate, Tag 224.
|
|
func (m NoStrikes) 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 NoStrikes) GetIssueDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.IssueDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetRepoCollateralSecurityType gets RepoCollateralSecurityType, Tag 239.
|
|
func (m NoStrikes) GetRepoCollateralSecurityType() (v int, err quickfix.MessageRejectError) {
|
|
var f field.RepoCollateralSecurityTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetRepurchaseTerm gets RepurchaseTerm, Tag 226.
|
|
func (m NoStrikes) 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 NoStrikes) 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 NoStrikes) GetFactor() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.FactorField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCreditRating gets CreditRating, Tag 255.
|
|
func (m NoStrikes) GetCreditRating() (v string, err quickfix.MessageRejectError) {
|
|
var f field.CreditRatingField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetInstrRegistry gets InstrRegistry, Tag 543.
|
|
func (m NoStrikes) GetInstrRegistry() (v enum.InstrRegistry, err quickfix.MessageRejectError) {
|
|
var f field.InstrRegistryField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCountryOfIssue gets CountryOfIssue, Tag 470.
|
|
func (m NoStrikes) 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 NoStrikes) 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 NoStrikes) GetLocaleOfIssue() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LocaleOfIssueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetRedemptionDate gets RedemptionDate, Tag 240.
|
|
func (m NoStrikes) GetRedemptionDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.RedemptionDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetStrikePrice gets StrikePrice, Tag 202.
|
|
func (m NoStrikes) GetStrikePrice() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.StrikePriceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetStrikeCurrency gets StrikeCurrency, Tag 947.
|
|
func (m NoStrikes) GetStrikeCurrency() (v string, err quickfix.MessageRejectError) {
|
|
var f field.StrikeCurrencyField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetOptAttribute gets OptAttribute, Tag 206.
|
|
func (m NoStrikes) GetOptAttribute() (v string, err quickfix.MessageRejectError) {
|
|
var f field.OptAttributeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetContractMultiplier gets ContractMultiplier, Tag 231.
|
|
func (m NoStrikes) GetContractMultiplier() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.ContractMultiplierField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCouponRate gets CouponRate, Tag 223.
|
|
func (m NoStrikes) GetCouponRate() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.CouponRateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityExchange gets SecurityExchange, Tag 207.
|
|
func (m NoStrikes) GetSecurityExchange() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecurityExchangeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetIssuer gets Issuer, Tag 106.
|
|
func (m NoStrikes) GetIssuer() (v string, err quickfix.MessageRejectError) {
|
|
var f field.IssuerField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedIssuerLen gets EncodedIssuerLen, Tag 348.
|
|
func (m NoStrikes) 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 NoStrikes) GetEncodedIssuer() (v string, err quickfix.MessageRejectError) {
|
|
var f field.EncodedIssuerField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityDesc gets SecurityDesc, Tag 107.
|
|
func (m NoStrikes) GetSecurityDesc() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecurityDescField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedSecurityDescLen gets EncodedSecurityDescLen, Tag 350.
|
|
func (m NoStrikes) 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 NoStrikes) GetEncodedSecurityDesc() (v string, err quickfix.MessageRejectError) {
|
|
var f field.EncodedSecurityDescField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetPool gets Pool, Tag 691.
|
|
func (m NoStrikes) GetPool() (v string, err quickfix.MessageRejectError) {
|
|
var f field.PoolField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetContractSettlMonth gets ContractSettlMonth, Tag 667.
|
|
func (m NoStrikes) GetContractSettlMonth() (v string, err quickfix.MessageRejectError) {
|
|
var f field.ContractSettlMonthField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCPProgram gets CPProgram, Tag 875.
|
|
func (m NoStrikes) GetCPProgram() (v enum.CPProgram, err quickfix.MessageRejectError) {
|
|
var f field.CPProgramField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCPRegType gets CPRegType, Tag 876.
|
|
func (m NoStrikes) GetCPRegType() (v string, err quickfix.MessageRejectError) {
|
|
var f field.CPRegTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoEvents gets NoEvents, Tag 864.
|
|
func (m NoStrikes) GetNoEvents() (NoEventsRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoEventsRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetDatedDate gets DatedDate, Tag 873.
|
|
func (m NoStrikes) GetDatedDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.DatedDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetInterestAccrualDate gets InterestAccrualDate, Tag 874.
|
|
func (m NoStrikes) GetInterestAccrualDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.InterestAccrualDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasSymbol returns true if Symbol is present, Tag 55.
|
|
func (m NoStrikes) HasSymbol() bool {
|
|
return m.Has(tag.Symbol)
|
|
}
|
|
|
|
// HasSymbolSfx returns true if SymbolSfx is present, Tag 65.
|
|
func (m NoStrikes) HasSymbolSfx() bool {
|
|
return m.Has(tag.SymbolSfx)
|
|
}
|
|
|
|
// HasSecurityID returns true if SecurityID is present, Tag 48.
|
|
func (m NoStrikes) HasSecurityID() bool {
|
|
return m.Has(tag.SecurityID)
|
|
}
|
|
|
|
// HasSecurityIDSource returns true if SecurityIDSource is present, Tag 22.
|
|
func (m NoStrikes) HasSecurityIDSource() bool {
|
|
return m.Has(tag.SecurityIDSource)
|
|
}
|
|
|
|
// HasNoSecurityAltID returns true if NoSecurityAltID is present, Tag 454.
|
|
func (m NoStrikes) HasNoSecurityAltID() bool {
|
|
return m.Has(tag.NoSecurityAltID)
|
|
}
|
|
|
|
// HasProduct returns true if Product is present, Tag 460.
|
|
func (m NoStrikes) HasProduct() bool {
|
|
return m.Has(tag.Product)
|
|
}
|
|
|
|
// HasCFICode returns true if CFICode is present, Tag 461.
|
|
func (m NoStrikes) HasCFICode() bool {
|
|
return m.Has(tag.CFICode)
|
|
}
|
|
|
|
// HasSecurityType returns true if SecurityType is present, Tag 167.
|
|
func (m NoStrikes) HasSecurityType() bool {
|
|
return m.Has(tag.SecurityType)
|
|
}
|
|
|
|
// HasSecuritySubType returns true if SecuritySubType is present, Tag 762.
|
|
func (m NoStrikes) HasSecuritySubType() bool {
|
|
return m.Has(tag.SecuritySubType)
|
|
}
|
|
|
|
// HasMaturityMonthYear returns true if MaturityMonthYear is present, Tag 200.
|
|
func (m NoStrikes) HasMaturityMonthYear() bool {
|
|
return m.Has(tag.MaturityMonthYear)
|
|
}
|
|
|
|
// HasMaturityDate returns true if MaturityDate is present, Tag 541.
|
|
func (m NoStrikes) HasMaturityDate() bool {
|
|
return m.Has(tag.MaturityDate)
|
|
}
|
|
|
|
// HasCouponPaymentDate returns true if CouponPaymentDate is present, Tag 224.
|
|
func (m NoStrikes) HasCouponPaymentDate() bool {
|
|
return m.Has(tag.CouponPaymentDate)
|
|
}
|
|
|
|
// HasIssueDate returns true if IssueDate is present, Tag 225.
|
|
func (m NoStrikes) HasIssueDate() bool {
|
|
return m.Has(tag.IssueDate)
|
|
}
|
|
|
|
// HasRepoCollateralSecurityType returns true if RepoCollateralSecurityType is present, Tag 239.
|
|
func (m NoStrikes) HasRepoCollateralSecurityType() bool {
|
|
return m.Has(tag.RepoCollateralSecurityType)
|
|
}
|
|
|
|
// HasRepurchaseTerm returns true if RepurchaseTerm is present, Tag 226.
|
|
func (m NoStrikes) HasRepurchaseTerm() bool {
|
|
return m.Has(tag.RepurchaseTerm)
|
|
}
|
|
|
|
// HasRepurchaseRate returns true if RepurchaseRate is present, Tag 227.
|
|
func (m NoStrikes) HasRepurchaseRate() bool {
|
|
return m.Has(tag.RepurchaseRate)
|
|
}
|
|
|
|
// HasFactor returns true if Factor is present, Tag 228.
|
|
func (m NoStrikes) HasFactor() bool {
|
|
return m.Has(tag.Factor)
|
|
}
|
|
|
|
// HasCreditRating returns true if CreditRating is present, Tag 255.
|
|
func (m NoStrikes) HasCreditRating() bool {
|
|
return m.Has(tag.CreditRating)
|
|
}
|
|
|
|
// HasInstrRegistry returns true if InstrRegistry is present, Tag 543.
|
|
func (m NoStrikes) HasInstrRegistry() bool {
|
|
return m.Has(tag.InstrRegistry)
|
|
}
|
|
|
|
// HasCountryOfIssue returns true if CountryOfIssue is present, Tag 470.
|
|
func (m NoStrikes) HasCountryOfIssue() bool {
|
|
return m.Has(tag.CountryOfIssue)
|
|
}
|
|
|
|
// HasStateOrProvinceOfIssue returns true if StateOrProvinceOfIssue is present, Tag 471.
|
|
func (m NoStrikes) HasStateOrProvinceOfIssue() bool {
|
|
return m.Has(tag.StateOrProvinceOfIssue)
|
|
}
|
|
|
|
// HasLocaleOfIssue returns true if LocaleOfIssue is present, Tag 472.
|
|
func (m NoStrikes) HasLocaleOfIssue() bool {
|
|
return m.Has(tag.LocaleOfIssue)
|
|
}
|
|
|
|
// HasRedemptionDate returns true if RedemptionDate is present, Tag 240.
|
|
func (m NoStrikes) HasRedemptionDate() bool {
|
|
return m.Has(tag.RedemptionDate)
|
|
}
|
|
|
|
// HasStrikePrice returns true if StrikePrice is present, Tag 202.
|
|
func (m NoStrikes) HasStrikePrice() bool {
|
|
return m.Has(tag.StrikePrice)
|
|
}
|
|
|
|
// HasStrikeCurrency returns true if StrikeCurrency is present, Tag 947.
|
|
func (m NoStrikes) HasStrikeCurrency() bool {
|
|
return m.Has(tag.StrikeCurrency)
|
|
}
|
|
|
|
// HasOptAttribute returns true if OptAttribute is present, Tag 206.
|
|
func (m NoStrikes) HasOptAttribute() bool {
|
|
return m.Has(tag.OptAttribute)
|
|
}
|
|
|
|
// HasContractMultiplier returns true if ContractMultiplier is present, Tag 231.
|
|
func (m NoStrikes) HasContractMultiplier() bool {
|
|
return m.Has(tag.ContractMultiplier)
|
|
}
|
|
|
|
// HasCouponRate returns true if CouponRate is present, Tag 223.
|
|
func (m NoStrikes) HasCouponRate() bool {
|
|
return m.Has(tag.CouponRate)
|
|
}
|
|
|
|
// HasSecurityExchange returns true if SecurityExchange is present, Tag 207.
|
|
func (m NoStrikes) HasSecurityExchange() bool {
|
|
return m.Has(tag.SecurityExchange)
|
|
}
|
|
|
|
// HasIssuer returns true if Issuer is present, Tag 106.
|
|
func (m NoStrikes) HasIssuer() bool {
|
|
return m.Has(tag.Issuer)
|
|
}
|
|
|
|
// HasEncodedIssuerLen returns true if EncodedIssuerLen is present, Tag 348.
|
|
func (m NoStrikes) HasEncodedIssuerLen() bool {
|
|
return m.Has(tag.EncodedIssuerLen)
|
|
}
|
|
|
|
// HasEncodedIssuer returns true if EncodedIssuer is present, Tag 349.
|
|
func (m NoStrikes) HasEncodedIssuer() bool {
|
|
return m.Has(tag.EncodedIssuer)
|
|
}
|
|
|
|
// HasSecurityDesc returns true if SecurityDesc is present, Tag 107.
|
|
func (m NoStrikes) HasSecurityDesc() bool {
|
|
return m.Has(tag.SecurityDesc)
|
|
}
|
|
|
|
// HasEncodedSecurityDescLen returns true if EncodedSecurityDescLen is present, Tag 350.
|
|
func (m NoStrikes) HasEncodedSecurityDescLen() bool {
|
|
return m.Has(tag.EncodedSecurityDescLen)
|
|
}
|
|
|
|
// HasEncodedSecurityDesc returns true if EncodedSecurityDesc is present, Tag 351.
|
|
func (m NoStrikes) HasEncodedSecurityDesc() bool {
|
|
return m.Has(tag.EncodedSecurityDesc)
|
|
}
|
|
|
|
// HasPool returns true if Pool is present, Tag 691.
|
|
func (m NoStrikes) HasPool() bool {
|
|
return m.Has(tag.Pool)
|
|
}
|
|
|
|
// HasContractSettlMonth returns true if ContractSettlMonth is present, Tag 667.
|
|
func (m NoStrikes) HasContractSettlMonth() bool {
|
|
return m.Has(tag.ContractSettlMonth)
|
|
}
|
|
|
|
// HasCPProgram returns true if CPProgram is present, Tag 875.
|
|
func (m NoStrikes) HasCPProgram() bool {
|
|
return m.Has(tag.CPProgram)
|
|
}
|
|
|
|
// HasCPRegType returns true if CPRegType is present, Tag 876.
|
|
func (m NoStrikes) HasCPRegType() bool {
|
|
return m.Has(tag.CPRegType)
|
|
}
|
|
|
|
// HasNoEvents returns true if NoEvents is present, Tag 864.
|
|
func (m NoStrikes) HasNoEvents() bool {
|
|
return m.Has(tag.NoEvents)
|
|
}
|
|
|
|
// HasDatedDate returns true if DatedDate is present, Tag 873.
|
|
func (m NoStrikes) HasDatedDate() bool {
|
|
return m.Has(tag.DatedDate)
|
|
}
|
|
|
|
// HasInterestAccrualDate returns true if InterestAccrualDate is present, Tag 874.
|
|
func (m NoStrikes) HasInterestAccrualDate() bool {
|
|
return m.Has(tag.InterestAccrualDate)
|
|
}
|
|
|
|
// 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)}
|
|
}
|
|
|
|
// NoEvents is a repeating group element, Tag 864.
|
|
type NoEvents struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetEventType sets EventType, Tag 865.
|
|
func (m NoEvents) SetEventType(v enum.EventType) {
|
|
m.Set(field.NewEventType(v))
|
|
}
|
|
|
|
// SetEventDate sets EventDate, Tag 866.
|
|
func (m NoEvents) SetEventDate(v string) {
|
|
m.Set(field.NewEventDate(v))
|
|
}
|
|
|
|
// SetEventPx sets EventPx, Tag 867.
|
|
func (m NoEvents) SetEventPx(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewEventPx(value, scale))
|
|
}
|
|
|
|
// SetEventText sets EventText, Tag 868.
|
|
func (m NoEvents) SetEventText(v string) {
|
|
m.Set(field.NewEventText(v))
|
|
}
|
|
|
|
// GetEventType gets EventType, Tag 865.
|
|
func (m NoEvents) GetEventType() (v enum.EventType, err quickfix.MessageRejectError) {
|
|
var f field.EventTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEventDate gets EventDate, Tag 866.
|
|
func (m NoEvents) GetEventDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.EventDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEventPx gets EventPx, Tag 867.
|
|
func (m NoEvents) GetEventPx() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.EventPxField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEventText gets EventText, Tag 868.
|
|
func (m NoEvents) GetEventText() (v string, err quickfix.MessageRejectError) {
|
|
var f field.EventTextField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasEventType returns true if EventType is present, Tag 865.
|
|
func (m NoEvents) HasEventType() bool {
|
|
return m.Has(tag.EventType)
|
|
}
|
|
|
|
// HasEventDate returns true if EventDate is present, Tag 866.
|
|
func (m NoEvents) HasEventDate() bool {
|
|
return m.Has(tag.EventDate)
|
|
}
|
|
|
|
// HasEventPx returns true if EventPx is present, Tag 867.
|
|
func (m NoEvents) HasEventPx() bool {
|
|
return m.Has(tag.EventPx)
|
|
}
|
|
|
|
// HasEventText returns true if EventText is present, Tag 868.
|
|
func (m NoEvents) HasEventText() bool {
|
|
return m.Has(tag.EventText)
|
|
}
|
|
|
|
// NoEventsRepeatingGroup is a repeating group, Tag 864.
|
|
type NoEventsRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoEventsRepeatingGroup returns an initialized, NoEventsRepeatingGroup.
|
|
func NewNoEventsRepeatingGroup() NoEventsRepeatingGroup {
|
|
return NoEventsRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoEvents,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.EventType),
|
|
quickfix.GroupElement(tag.EventDate),
|
|
quickfix.GroupElement(tag.EventPx),
|
|
quickfix.GroupElement(tag.EventText),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoEvents to this group.
|
|
func (m NoEventsRepeatingGroup) Add() NoEvents {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoEvents{g}
|
|
}
|
|
|
|
// Get returns the ith NoEvents in the NoEventsRepeatinGroup.
|
|
func (m NoEventsRepeatingGroup) Get(i int) NoEvents {
|
|
return NoEvents{m.RepeatingGroup.Get(i)}
|
|
}
|
|
|
|
// NoStrikesRepeatingGroup is a repeating group, Tag 428.
|
|
type NoStrikesRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoStrikesRepeatingGroup returns an initialized, NoStrikesRepeatingGroup.
|
|
func NewNoStrikesRepeatingGroup() NoStrikesRepeatingGroup {
|
|
return NoStrikesRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoStrikes,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.Symbol),
|
|
quickfix.GroupElement(tag.SymbolSfx),
|
|
quickfix.GroupElement(tag.SecurityID),
|
|
quickfix.GroupElement(tag.SecurityIDSource),
|
|
NewNoSecurityAltIDRepeatingGroup(),
|
|
quickfix.GroupElement(tag.Product),
|
|
quickfix.GroupElement(tag.CFICode),
|
|
quickfix.GroupElement(tag.SecurityType),
|
|
quickfix.GroupElement(tag.SecuritySubType),
|
|
quickfix.GroupElement(tag.MaturityMonthYear),
|
|
quickfix.GroupElement(tag.MaturityDate),
|
|
quickfix.GroupElement(tag.CouponPaymentDate),
|
|
quickfix.GroupElement(tag.IssueDate),
|
|
quickfix.GroupElement(tag.RepoCollateralSecurityType),
|
|
quickfix.GroupElement(tag.RepurchaseTerm),
|
|
quickfix.GroupElement(tag.RepurchaseRate),
|
|
quickfix.GroupElement(tag.Factor),
|
|
quickfix.GroupElement(tag.CreditRating),
|
|
quickfix.GroupElement(tag.InstrRegistry),
|
|
quickfix.GroupElement(tag.CountryOfIssue),
|
|
quickfix.GroupElement(tag.StateOrProvinceOfIssue),
|
|
quickfix.GroupElement(tag.LocaleOfIssue),
|
|
quickfix.GroupElement(tag.RedemptionDate),
|
|
quickfix.GroupElement(tag.StrikePrice),
|
|
quickfix.GroupElement(tag.StrikeCurrency),
|
|
quickfix.GroupElement(tag.OptAttribute),
|
|
quickfix.GroupElement(tag.ContractMultiplier),
|
|
quickfix.GroupElement(tag.CouponRate),
|
|
quickfix.GroupElement(tag.SecurityExchange),
|
|
quickfix.GroupElement(tag.Issuer),
|
|
quickfix.GroupElement(tag.EncodedIssuerLen),
|
|
quickfix.GroupElement(tag.EncodedIssuer),
|
|
quickfix.GroupElement(tag.SecurityDesc),
|
|
quickfix.GroupElement(tag.EncodedSecurityDescLen),
|
|
quickfix.GroupElement(tag.EncodedSecurityDesc),
|
|
quickfix.GroupElement(tag.Pool),
|
|
quickfix.GroupElement(tag.ContractSettlMonth),
|
|
quickfix.GroupElement(tag.CPProgram),
|
|
quickfix.GroupElement(tag.CPRegType),
|
|
NewNoEventsRepeatingGroup(),
|
|
quickfix.GroupElement(tag.DatedDate),
|
|
quickfix.GroupElement(tag.InterestAccrualDate),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoStrikes to this group.
|
|
func (m NoStrikesRepeatingGroup) Add() NoStrikes {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoStrikes{g}
|
|
}
|
|
|
|
// Get returns the ith NoStrikes in the NoStrikesRepeatinGroup.
|
|
func (m NoStrikesRepeatingGroup) Get(i int) NoStrikes {
|
|
return NoStrikes{m.RepeatingGroup.Get(i)}
|
|
}
|
|
|
|
// NoUnderlyings is a repeating group element, Tag 711.
|
|
type NoUnderlyings struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetUnderlyingSymbol sets UnderlyingSymbol, Tag 311.
|
|
func (m NoUnderlyings) SetUnderlyingSymbol(v string) {
|
|
m.Set(field.NewUnderlyingSymbol(v))
|
|
}
|
|
|
|
// SetUnderlyingSymbolSfx sets UnderlyingSymbolSfx, Tag 312.
|
|
func (m NoUnderlyings) SetUnderlyingSymbolSfx(v string) {
|
|
m.Set(field.NewUnderlyingSymbolSfx(v))
|
|
}
|
|
|
|
// SetUnderlyingSecurityID sets UnderlyingSecurityID, Tag 309.
|
|
func (m NoUnderlyings) SetUnderlyingSecurityID(v string) {
|
|
m.Set(field.NewUnderlyingSecurityID(v))
|
|
}
|
|
|
|
// SetUnderlyingSecurityIDSource sets UnderlyingSecurityIDSource, Tag 305.
|
|
func (m NoUnderlyings) SetUnderlyingSecurityIDSource(v string) {
|
|
m.Set(field.NewUnderlyingSecurityIDSource(v))
|
|
}
|
|
|
|
// SetNoUnderlyingSecurityAltID sets NoUnderlyingSecurityAltID, Tag 457.
|
|
func (m NoUnderlyings) SetNoUnderlyingSecurityAltID(f NoUnderlyingSecurityAltIDRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetUnderlyingProduct sets UnderlyingProduct, Tag 462.
|
|
func (m NoUnderlyings) SetUnderlyingProduct(v int) {
|
|
m.Set(field.NewUnderlyingProduct(v))
|
|
}
|
|
|
|
// SetUnderlyingCFICode sets UnderlyingCFICode, Tag 463.
|
|
func (m NoUnderlyings) SetUnderlyingCFICode(v string) {
|
|
m.Set(field.NewUnderlyingCFICode(v))
|
|
}
|
|
|
|
// SetUnderlyingSecurityType sets UnderlyingSecurityType, Tag 310.
|
|
func (m NoUnderlyings) SetUnderlyingSecurityType(v string) {
|
|
m.Set(field.NewUnderlyingSecurityType(v))
|
|
}
|
|
|
|
// SetUnderlyingSecuritySubType sets UnderlyingSecuritySubType, Tag 763.
|
|
func (m NoUnderlyings) SetUnderlyingSecuritySubType(v string) {
|
|
m.Set(field.NewUnderlyingSecuritySubType(v))
|
|
}
|
|
|
|
// SetUnderlyingMaturityMonthYear sets UnderlyingMaturityMonthYear, Tag 313.
|
|
func (m NoUnderlyings) SetUnderlyingMaturityMonthYear(v string) {
|
|
m.Set(field.NewUnderlyingMaturityMonthYear(v))
|
|
}
|
|
|
|
// SetUnderlyingMaturityDate sets UnderlyingMaturityDate, Tag 542.
|
|
func (m NoUnderlyings) SetUnderlyingMaturityDate(v string) {
|
|
m.Set(field.NewUnderlyingMaturityDate(v))
|
|
}
|
|
|
|
// SetUnderlyingCouponPaymentDate sets UnderlyingCouponPaymentDate, Tag 241.
|
|
func (m NoUnderlyings) SetUnderlyingCouponPaymentDate(v string) {
|
|
m.Set(field.NewUnderlyingCouponPaymentDate(v))
|
|
}
|
|
|
|
// SetUnderlyingIssueDate sets UnderlyingIssueDate, Tag 242.
|
|
func (m NoUnderlyings) SetUnderlyingIssueDate(v string) {
|
|
m.Set(field.NewUnderlyingIssueDate(v))
|
|
}
|
|
|
|
// SetUnderlyingRepoCollateralSecurityType sets UnderlyingRepoCollateralSecurityType, Tag 243.
|
|
func (m NoUnderlyings) SetUnderlyingRepoCollateralSecurityType(v int) {
|
|
m.Set(field.NewUnderlyingRepoCollateralSecurityType(v))
|
|
}
|
|
|
|
// SetUnderlyingRepurchaseTerm sets UnderlyingRepurchaseTerm, Tag 244.
|
|
func (m NoUnderlyings) SetUnderlyingRepurchaseTerm(v int) {
|
|
m.Set(field.NewUnderlyingRepurchaseTerm(v))
|
|
}
|
|
|
|
// SetUnderlyingRepurchaseRate sets UnderlyingRepurchaseRate, Tag 245.
|
|
func (m NoUnderlyings) SetUnderlyingRepurchaseRate(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewUnderlyingRepurchaseRate(value, scale))
|
|
}
|
|
|
|
// SetUnderlyingFactor sets UnderlyingFactor, Tag 246.
|
|
func (m NoUnderlyings) SetUnderlyingFactor(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewUnderlyingFactor(value, scale))
|
|
}
|
|
|
|
// SetUnderlyingCreditRating sets UnderlyingCreditRating, Tag 256.
|
|
func (m NoUnderlyings) SetUnderlyingCreditRating(v string) {
|
|
m.Set(field.NewUnderlyingCreditRating(v))
|
|
}
|
|
|
|
// SetUnderlyingInstrRegistry sets UnderlyingInstrRegistry, Tag 595.
|
|
func (m NoUnderlyings) SetUnderlyingInstrRegistry(v string) {
|
|
m.Set(field.NewUnderlyingInstrRegistry(v))
|
|
}
|
|
|
|
// SetUnderlyingCountryOfIssue sets UnderlyingCountryOfIssue, Tag 592.
|
|
func (m NoUnderlyings) SetUnderlyingCountryOfIssue(v string) {
|
|
m.Set(field.NewUnderlyingCountryOfIssue(v))
|
|
}
|
|
|
|
// SetUnderlyingStateOrProvinceOfIssue sets UnderlyingStateOrProvinceOfIssue, Tag 593.
|
|
func (m NoUnderlyings) SetUnderlyingStateOrProvinceOfIssue(v string) {
|
|
m.Set(field.NewUnderlyingStateOrProvinceOfIssue(v))
|
|
}
|
|
|
|
// SetUnderlyingLocaleOfIssue sets UnderlyingLocaleOfIssue, Tag 594.
|
|
func (m NoUnderlyings) SetUnderlyingLocaleOfIssue(v string) {
|
|
m.Set(field.NewUnderlyingLocaleOfIssue(v))
|
|
}
|
|
|
|
// SetUnderlyingRedemptionDate sets UnderlyingRedemptionDate, Tag 247.
|
|
func (m NoUnderlyings) SetUnderlyingRedemptionDate(v string) {
|
|
m.Set(field.NewUnderlyingRedemptionDate(v))
|
|
}
|
|
|
|
// SetUnderlyingStrikePrice sets UnderlyingStrikePrice, Tag 316.
|
|
func (m NoUnderlyings) SetUnderlyingStrikePrice(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewUnderlyingStrikePrice(value, scale))
|
|
}
|
|
|
|
// SetUnderlyingStrikeCurrency sets UnderlyingStrikeCurrency, Tag 941.
|
|
func (m NoUnderlyings) SetUnderlyingStrikeCurrency(v string) {
|
|
m.Set(field.NewUnderlyingStrikeCurrency(v))
|
|
}
|
|
|
|
// SetUnderlyingOptAttribute sets UnderlyingOptAttribute, Tag 317.
|
|
func (m NoUnderlyings) SetUnderlyingOptAttribute(v string) {
|
|
m.Set(field.NewUnderlyingOptAttribute(v))
|
|
}
|
|
|
|
// SetUnderlyingContractMultiplier sets UnderlyingContractMultiplier, Tag 436.
|
|
func (m NoUnderlyings) SetUnderlyingContractMultiplier(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewUnderlyingContractMultiplier(value, scale))
|
|
}
|
|
|
|
// SetUnderlyingCouponRate sets UnderlyingCouponRate, Tag 435.
|
|
func (m NoUnderlyings) SetUnderlyingCouponRate(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewUnderlyingCouponRate(value, scale))
|
|
}
|
|
|
|
// SetUnderlyingSecurityExchange sets UnderlyingSecurityExchange, Tag 308.
|
|
func (m NoUnderlyings) SetUnderlyingSecurityExchange(v string) {
|
|
m.Set(field.NewUnderlyingSecurityExchange(v))
|
|
}
|
|
|
|
// SetUnderlyingIssuer sets UnderlyingIssuer, Tag 306.
|
|
func (m NoUnderlyings) SetUnderlyingIssuer(v string) {
|
|
m.Set(field.NewUnderlyingIssuer(v))
|
|
}
|
|
|
|
// SetEncodedUnderlyingIssuerLen sets EncodedUnderlyingIssuerLen, Tag 362.
|
|
func (m NoUnderlyings) SetEncodedUnderlyingIssuerLen(v int) {
|
|
m.Set(field.NewEncodedUnderlyingIssuerLen(v))
|
|
}
|
|
|
|
// SetEncodedUnderlyingIssuer sets EncodedUnderlyingIssuer, Tag 363.
|
|
func (m NoUnderlyings) SetEncodedUnderlyingIssuer(v string) {
|
|
m.Set(field.NewEncodedUnderlyingIssuer(v))
|
|
}
|
|
|
|
// SetUnderlyingSecurityDesc sets UnderlyingSecurityDesc, Tag 307.
|
|
func (m NoUnderlyings) SetUnderlyingSecurityDesc(v string) {
|
|
m.Set(field.NewUnderlyingSecurityDesc(v))
|
|
}
|
|
|
|
// SetEncodedUnderlyingSecurityDescLen sets EncodedUnderlyingSecurityDescLen, Tag 364.
|
|
func (m NoUnderlyings) SetEncodedUnderlyingSecurityDescLen(v int) {
|
|
m.Set(field.NewEncodedUnderlyingSecurityDescLen(v))
|
|
}
|
|
|
|
// SetEncodedUnderlyingSecurityDesc sets EncodedUnderlyingSecurityDesc, Tag 365.
|
|
func (m NoUnderlyings) SetEncodedUnderlyingSecurityDesc(v string) {
|
|
m.Set(field.NewEncodedUnderlyingSecurityDesc(v))
|
|
}
|
|
|
|
// SetUnderlyingCPProgram sets UnderlyingCPProgram, Tag 877.
|
|
func (m NoUnderlyings) SetUnderlyingCPProgram(v string) {
|
|
m.Set(field.NewUnderlyingCPProgram(v))
|
|
}
|
|
|
|
// SetUnderlyingCPRegType sets UnderlyingCPRegType, Tag 878.
|
|
func (m NoUnderlyings) SetUnderlyingCPRegType(v string) {
|
|
m.Set(field.NewUnderlyingCPRegType(v))
|
|
}
|
|
|
|
// SetUnderlyingCurrency sets UnderlyingCurrency, Tag 318.
|
|
func (m NoUnderlyings) SetUnderlyingCurrency(v string) {
|
|
m.Set(field.NewUnderlyingCurrency(v))
|
|
}
|
|
|
|
// SetUnderlyingQty sets UnderlyingQty, Tag 879.
|
|
func (m NoUnderlyings) SetUnderlyingQty(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewUnderlyingQty(value, scale))
|
|
}
|
|
|
|
// SetUnderlyingPx sets UnderlyingPx, Tag 810.
|
|
func (m NoUnderlyings) SetUnderlyingPx(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewUnderlyingPx(value, scale))
|
|
}
|
|
|
|
// SetUnderlyingDirtyPrice sets UnderlyingDirtyPrice, Tag 882.
|
|
func (m NoUnderlyings) SetUnderlyingDirtyPrice(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewUnderlyingDirtyPrice(value, scale))
|
|
}
|
|
|
|
// SetUnderlyingEndPrice sets UnderlyingEndPrice, Tag 883.
|
|
func (m NoUnderlyings) SetUnderlyingEndPrice(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewUnderlyingEndPrice(value, scale))
|
|
}
|
|
|
|
// SetUnderlyingStartValue sets UnderlyingStartValue, Tag 884.
|
|
func (m NoUnderlyings) SetUnderlyingStartValue(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewUnderlyingStartValue(value, scale))
|
|
}
|
|
|
|
// SetUnderlyingCurrentValue sets UnderlyingCurrentValue, Tag 885.
|
|
func (m NoUnderlyings) SetUnderlyingCurrentValue(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewUnderlyingCurrentValue(value, scale))
|
|
}
|
|
|
|
// SetUnderlyingEndValue sets UnderlyingEndValue, Tag 886.
|
|
func (m NoUnderlyings) SetUnderlyingEndValue(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewUnderlyingEndValue(value, scale))
|
|
}
|
|
|
|
// SetNoUnderlyingStips sets NoUnderlyingStips, Tag 887.
|
|
func (m NoUnderlyings) SetNoUnderlyingStips(f NoUnderlyingStipsRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetPrevClosePx sets PrevClosePx, Tag 140.
|
|
func (m NoUnderlyings) SetPrevClosePx(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewPrevClosePx(value, scale))
|
|
}
|
|
|
|
// SetClOrdID sets ClOrdID, Tag 11.
|
|
func (m NoUnderlyings) SetClOrdID(v string) {
|
|
m.Set(field.NewClOrdID(v))
|
|
}
|
|
|
|
// SetSecondaryClOrdID sets SecondaryClOrdID, Tag 526.
|
|
func (m NoUnderlyings) SetSecondaryClOrdID(v string) {
|
|
m.Set(field.NewSecondaryClOrdID(v))
|
|
}
|
|
|
|
// SetSide sets Side, Tag 54.
|
|
func (m NoUnderlyings) SetSide(v enum.Side) {
|
|
m.Set(field.NewSide(v))
|
|
}
|
|
|
|
// SetPrice sets Price, Tag 44.
|
|
func (m NoUnderlyings) SetPrice(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewPrice(value, scale))
|
|
}
|
|
|
|
// SetCurrency sets Currency, Tag 15.
|
|
func (m NoUnderlyings) SetCurrency(v string) {
|
|
m.Set(field.NewCurrency(v))
|
|
}
|
|
|
|
// SetText sets Text, Tag 58.
|
|
func (m NoUnderlyings) SetText(v string) {
|
|
m.Set(field.NewText(v))
|
|
}
|
|
|
|
// SetEncodedTextLen sets EncodedTextLen, Tag 354.
|
|
func (m NoUnderlyings) SetEncodedTextLen(v int) {
|
|
m.Set(field.NewEncodedTextLen(v))
|
|
}
|
|
|
|
// SetEncodedText sets EncodedText, Tag 355.
|
|
func (m NoUnderlyings) SetEncodedText(v string) {
|
|
m.Set(field.NewEncodedText(v))
|
|
}
|
|
|
|
// GetUnderlyingSymbol gets UnderlyingSymbol, Tag 311.
|
|
func (m NoUnderlyings) GetUnderlyingSymbol() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingSymbolField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingSymbolSfx gets UnderlyingSymbolSfx, Tag 312.
|
|
func (m NoUnderlyings) GetUnderlyingSymbolSfx() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingSymbolSfxField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingSecurityID gets UnderlyingSecurityID, Tag 309.
|
|
func (m NoUnderlyings) GetUnderlyingSecurityID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingSecurityIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingSecurityIDSource gets UnderlyingSecurityIDSource, Tag 305.
|
|
func (m NoUnderlyings) GetUnderlyingSecurityIDSource() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingSecurityIDSourceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoUnderlyingSecurityAltID gets NoUnderlyingSecurityAltID, Tag 457.
|
|
func (m NoUnderlyings) GetNoUnderlyingSecurityAltID() (NoUnderlyingSecurityAltIDRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoUnderlyingSecurityAltIDRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetUnderlyingProduct gets UnderlyingProduct, Tag 462.
|
|
func (m NoUnderlyings) GetUnderlyingProduct() (v int, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingProductField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingCFICode gets UnderlyingCFICode, Tag 463.
|
|
func (m NoUnderlyings) GetUnderlyingCFICode() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingCFICodeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingSecurityType gets UnderlyingSecurityType, Tag 310.
|
|
func (m NoUnderlyings) GetUnderlyingSecurityType() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingSecurityTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingSecuritySubType gets UnderlyingSecuritySubType, Tag 763.
|
|
func (m NoUnderlyings) GetUnderlyingSecuritySubType() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingSecuritySubTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingMaturityMonthYear gets UnderlyingMaturityMonthYear, Tag 313.
|
|
func (m NoUnderlyings) GetUnderlyingMaturityMonthYear() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingMaturityMonthYearField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingMaturityDate gets UnderlyingMaturityDate, Tag 542.
|
|
func (m NoUnderlyings) GetUnderlyingMaturityDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingMaturityDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingCouponPaymentDate gets UnderlyingCouponPaymentDate, Tag 241.
|
|
func (m NoUnderlyings) GetUnderlyingCouponPaymentDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingCouponPaymentDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingIssueDate gets UnderlyingIssueDate, Tag 242.
|
|
func (m NoUnderlyings) GetUnderlyingIssueDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingIssueDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingRepoCollateralSecurityType gets UnderlyingRepoCollateralSecurityType, Tag 243.
|
|
func (m NoUnderlyings) GetUnderlyingRepoCollateralSecurityType() (v int, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingRepoCollateralSecurityTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingRepurchaseTerm gets UnderlyingRepurchaseTerm, Tag 244.
|
|
func (m NoUnderlyings) GetUnderlyingRepurchaseTerm() (v int, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingRepurchaseTermField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingRepurchaseRate gets UnderlyingRepurchaseRate, Tag 245.
|
|
func (m NoUnderlyings) GetUnderlyingRepurchaseRate() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingRepurchaseRateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingFactor gets UnderlyingFactor, Tag 246.
|
|
func (m NoUnderlyings) GetUnderlyingFactor() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingFactorField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingCreditRating gets UnderlyingCreditRating, Tag 256.
|
|
func (m NoUnderlyings) GetUnderlyingCreditRating() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingCreditRatingField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingInstrRegistry gets UnderlyingInstrRegistry, Tag 595.
|
|
func (m NoUnderlyings) GetUnderlyingInstrRegistry() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingInstrRegistryField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingCountryOfIssue gets UnderlyingCountryOfIssue, Tag 592.
|
|
func (m NoUnderlyings) GetUnderlyingCountryOfIssue() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingCountryOfIssueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingStateOrProvinceOfIssue gets UnderlyingStateOrProvinceOfIssue, Tag 593.
|
|
func (m NoUnderlyings) GetUnderlyingStateOrProvinceOfIssue() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingStateOrProvinceOfIssueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingLocaleOfIssue gets UnderlyingLocaleOfIssue, Tag 594.
|
|
func (m NoUnderlyings) GetUnderlyingLocaleOfIssue() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingLocaleOfIssueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingRedemptionDate gets UnderlyingRedemptionDate, Tag 247.
|
|
func (m NoUnderlyings) GetUnderlyingRedemptionDate() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingRedemptionDateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingStrikePrice gets UnderlyingStrikePrice, Tag 316.
|
|
func (m NoUnderlyings) GetUnderlyingStrikePrice() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingStrikePriceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingStrikeCurrency gets UnderlyingStrikeCurrency, Tag 941.
|
|
func (m NoUnderlyings) GetUnderlyingStrikeCurrency() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingStrikeCurrencyField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingOptAttribute gets UnderlyingOptAttribute, Tag 317.
|
|
func (m NoUnderlyings) GetUnderlyingOptAttribute() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingOptAttributeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingContractMultiplier gets UnderlyingContractMultiplier, Tag 436.
|
|
func (m NoUnderlyings) GetUnderlyingContractMultiplier() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingContractMultiplierField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingCouponRate gets UnderlyingCouponRate, Tag 435.
|
|
func (m NoUnderlyings) GetUnderlyingCouponRate() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingCouponRateField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingSecurityExchange gets UnderlyingSecurityExchange, Tag 308.
|
|
func (m NoUnderlyings) GetUnderlyingSecurityExchange() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingSecurityExchangeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingIssuer gets UnderlyingIssuer, Tag 306.
|
|
func (m NoUnderlyings) GetUnderlyingIssuer() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingIssuerField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedUnderlyingIssuerLen gets EncodedUnderlyingIssuerLen, Tag 362.
|
|
func (m NoUnderlyings) GetEncodedUnderlyingIssuerLen() (v int, err quickfix.MessageRejectError) {
|
|
var f field.EncodedUnderlyingIssuerLenField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedUnderlyingIssuer gets EncodedUnderlyingIssuer, Tag 363.
|
|
func (m NoUnderlyings) GetEncodedUnderlyingIssuer() (v string, err quickfix.MessageRejectError) {
|
|
var f field.EncodedUnderlyingIssuerField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingSecurityDesc gets UnderlyingSecurityDesc, Tag 307.
|
|
func (m NoUnderlyings) GetUnderlyingSecurityDesc() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingSecurityDescField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedUnderlyingSecurityDescLen gets EncodedUnderlyingSecurityDescLen, Tag 364.
|
|
func (m NoUnderlyings) GetEncodedUnderlyingSecurityDescLen() (v int, err quickfix.MessageRejectError) {
|
|
var f field.EncodedUnderlyingSecurityDescLenField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedUnderlyingSecurityDesc gets EncodedUnderlyingSecurityDesc, Tag 365.
|
|
func (m NoUnderlyings) GetEncodedUnderlyingSecurityDesc() (v string, err quickfix.MessageRejectError) {
|
|
var f field.EncodedUnderlyingSecurityDescField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingCPProgram gets UnderlyingCPProgram, Tag 877.
|
|
func (m NoUnderlyings) GetUnderlyingCPProgram() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingCPProgramField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingCPRegType gets UnderlyingCPRegType, Tag 878.
|
|
func (m NoUnderlyings) GetUnderlyingCPRegType() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingCPRegTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingCurrency gets UnderlyingCurrency, Tag 318.
|
|
func (m NoUnderlyings) GetUnderlyingCurrency() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingCurrencyField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingQty gets UnderlyingQty, Tag 879.
|
|
func (m NoUnderlyings) GetUnderlyingQty() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingQtyField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingPx gets UnderlyingPx, Tag 810.
|
|
func (m NoUnderlyings) GetUnderlyingPx() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingPxField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingDirtyPrice gets UnderlyingDirtyPrice, Tag 882.
|
|
func (m NoUnderlyings) GetUnderlyingDirtyPrice() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingDirtyPriceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingEndPrice gets UnderlyingEndPrice, Tag 883.
|
|
func (m NoUnderlyings) GetUnderlyingEndPrice() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingEndPriceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingStartValue gets UnderlyingStartValue, Tag 884.
|
|
func (m NoUnderlyings) GetUnderlyingStartValue() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingStartValueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingCurrentValue gets UnderlyingCurrentValue, Tag 885.
|
|
func (m NoUnderlyings) GetUnderlyingCurrentValue() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingCurrentValueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingEndValue gets UnderlyingEndValue, Tag 886.
|
|
func (m NoUnderlyings) GetUnderlyingEndValue() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingEndValueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoUnderlyingStips gets NoUnderlyingStips, Tag 887.
|
|
func (m NoUnderlyings) GetNoUnderlyingStips() (NoUnderlyingStipsRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoUnderlyingStipsRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetPrevClosePx gets PrevClosePx, Tag 140.
|
|
func (m NoUnderlyings) GetPrevClosePx() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.PrevClosePxField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetClOrdID gets ClOrdID, Tag 11.
|
|
func (m NoUnderlyings) GetClOrdID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.ClOrdIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecondaryClOrdID gets SecondaryClOrdID, Tag 526.
|
|
func (m NoUnderlyings) GetSecondaryClOrdID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecondaryClOrdIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSide gets Side, Tag 54.
|
|
func (m NoUnderlyings) GetSide() (v enum.Side, err quickfix.MessageRejectError) {
|
|
var f field.SideField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetPrice gets Price, Tag 44.
|
|
func (m NoUnderlyings) GetPrice() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.PriceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCurrency gets Currency, Tag 15.
|
|
func (m NoUnderlyings) GetCurrency() (v string, err quickfix.MessageRejectError) {
|
|
var f field.CurrencyField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetText gets Text, Tag 58.
|
|
func (m NoUnderlyings) GetText() (v string, err quickfix.MessageRejectError) {
|
|
var f field.TextField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedTextLen gets EncodedTextLen, Tag 354.
|
|
func (m NoUnderlyings) 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 NoUnderlyings) GetEncodedText() (v string, err quickfix.MessageRejectError) {
|
|
var f field.EncodedTextField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasUnderlyingSymbol returns true if UnderlyingSymbol is present, Tag 311.
|
|
func (m NoUnderlyings) HasUnderlyingSymbol() bool {
|
|
return m.Has(tag.UnderlyingSymbol)
|
|
}
|
|
|
|
// HasUnderlyingSymbolSfx returns true if UnderlyingSymbolSfx is present, Tag 312.
|
|
func (m NoUnderlyings) HasUnderlyingSymbolSfx() bool {
|
|
return m.Has(tag.UnderlyingSymbolSfx)
|
|
}
|
|
|
|
// HasUnderlyingSecurityID returns true if UnderlyingSecurityID is present, Tag 309.
|
|
func (m NoUnderlyings) HasUnderlyingSecurityID() bool {
|
|
return m.Has(tag.UnderlyingSecurityID)
|
|
}
|
|
|
|
// HasUnderlyingSecurityIDSource returns true if UnderlyingSecurityIDSource is present, Tag 305.
|
|
func (m NoUnderlyings) HasUnderlyingSecurityIDSource() bool {
|
|
return m.Has(tag.UnderlyingSecurityIDSource)
|
|
}
|
|
|
|
// HasNoUnderlyingSecurityAltID returns true if NoUnderlyingSecurityAltID is present, Tag 457.
|
|
func (m NoUnderlyings) HasNoUnderlyingSecurityAltID() bool {
|
|
return m.Has(tag.NoUnderlyingSecurityAltID)
|
|
}
|
|
|
|
// HasUnderlyingProduct returns true if UnderlyingProduct is present, Tag 462.
|
|
func (m NoUnderlyings) HasUnderlyingProduct() bool {
|
|
return m.Has(tag.UnderlyingProduct)
|
|
}
|
|
|
|
// HasUnderlyingCFICode returns true if UnderlyingCFICode is present, Tag 463.
|
|
func (m NoUnderlyings) HasUnderlyingCFICode() bool {
|
|
return m.Has(tag.UnderlyingCFICode)
|
|
}
|
|
|
|
// HasUnderlyingSecurityType returns true if UnderlyingSecurityType is present, Tag 310.
|
|
func (m NoUnderlyings) HasUnderlyingSecurityType() bool {
|
|
return m.Has(tag.UnderlyingSecurityType)
|
|
}
|
|
|
|
// HasUnderlyingSecuritySubType returns true if UnderlyingSecuritySubType is present, Tag 763.
|
|
func (m NoUnderlyings) HasUnderlyingSecuritySubType() bool {
|
|
return m.Has(tag.UnderlyingSecuritySubType)
|
|
}
|
|
|
|
// HasUnderlyingMaturityMonthYear returns true if UnderlyingMaturityMonthYear is present, Tag 313.
|
|
func (m NoUnderlyings) HasUnderlyingMaturityMonthYear() bool {
|
|
return m.Has(tag.UnderlyingMaturityMonthYear)
|
|
}
|
|
|
|
// HasUnderlyingMaturityDate returns true if UnderlyingMaturityDate is present, Tag 542.
|
|
func (m NoUnderlyings) HasUnderlyingMaturityDate() bool {
|
|
return m.Has(tag.UnderlyingMaturityDate)
|
|
}
|
|
|
|
// HasUnderlyingCouponPaymentDate returns true if UnderlyingCouponPaymentDate is present, Tag 241.
|
|
func (m NoUnderlyings) HasUnderlyingCouponPaymentDate() bool {
|
|
return m.Has(tag.UnderlyingCouponPaymentDate)
|
|
}
|
|
|
|
// HasUnderlyingIssueDate returns true if UnderlyingIssueDate is present, Tag 242.
|
|
func (m NoUnderlyings) HasUnderlyingIssueDate() bool {
|
|
return m.Has(tag.UnderlyingIssueDate)
|
|
}
|
|
|
|
// HasUnderlyingRepoCollateralSecurityType returns true if UnderlyingRepoCollateralSecurityType is present, Tag 243.
|
|
func (m NoUnderlyings) HasUnderlyingRepoCollateralSecurityType() bool {
|
|
return m.Has(tag.UnderlyingRepoCollateralSecurityType)
|
|
}
|
|
|
|
// HasUnderlyingRepurchaseTerm returns true if UnderlyingRepurchaseTerm is present, Tag 244.
|
|
func (m NoUnderlyings) HasUnderlyingRepurchaseTerm() bool {
|
|
return m.Has(tag.UnderlyingRepurchaseTerm)
|
|
}
|
|
|
|
// HasUnderlyingRepurchaseRate returns true if UnderlyingRepurchaseRate is present, Tag 245.
|
|
func (m NoUnderlyings) HasUnderlyingRepurchaseRate() bool {
|
|
return m.Has(tag.UnderlyingRepurchaseRate)
|
|
}
|
|
|
|
// HasUnderlyingFactor returns true if UnderlyingFactor is present, Tag 246.
|
|
func (m NoUnderlyings) HasUnderlyingFactor() bool {
|
|
return m.Has(tag.UnderlyingFactor)
|
|
}
|
|
|
|
// HasUnderlyingCreditRating returns true if UnderlyingCreditRating is present, Tag 256.
|
|
func (m NoUnderlyings) HasUnderlyingCreditRating() bool {
|
|
return m.Has(tag.UnderlyingCreditRating)
|
|
}
|
|
|
|
// HasUnderlyingInstrRegistry returns true if UnderlyingInstrRegistry is present, Tag 595.
|
|
func (m NoUnderlyings) HasUnderlyingInstrRegistry() bool {
|
|
return m.Has(tag.UnderlyingInstrRegistry)
|
|
}
|
|
|
|
// HasUnderlyingCountryOfIssue returns true if UnderlyingCountryOfIssue is present, Tag 592.
|
|
func (m NoUnderlyings) HasUnderlyingCountryOfIssue() bool {
|
|
return m.Has(tag.UnderlyingCountryOfIssue)
|
|
}
|
|
|
|
// HasUnderlyingStateOrProvinceOfIssue returns true if UnderlyingStateOrProvinceOfIssue is present, Tag 593.
|
|
func (m NoUnderlyings) HasUnderlyingStateOrProvinceOfIssue() bool {
|
|
return m.Has(tag.UnderlyingStateOrProvinceOfIssue)
|
|
}
|
|
|
|
// HasUnderlyingLocaleOfIssue returns true if UnderlyingLocaleOfIssue is present, Tag 594.
|
|
func (m NoUnderlyings) HasUnderlyingLocaleOfIssue() bool {
|
|
return m.Has(tag.UnderlyingLocaleOfIssue)
|
|
}
|
|
|
|
// HasUnderlyingRedemptionDate returns true if UnderlyingRedemptionDate is present, Tag 247.
|
|
func (m NoUnderlyings) HasUnderlyingRedemptionDate() bool {
|
|
return m.Has(tag.UnderlyingRedemptionDate)
|
|
}
|
|
|
|
// HasUnderlyingStrikePrice returns true if UnderlyingStrikePrice is present, Tag 316.
|
|
func (m NoUnderlyings) HasUnderlyingStrikePrice() bool {
|
|
return m.Has(tag.UnderlyingStrikePrice)
|
|
}
|
|
|
|
// HasUnderlyingStrikeCurrency returns true if UnderlyingStrikeCurrency is present, Tag 941.
|
|
func (m NoUnderlyings) HasUnderlyingStrikeCurrency() bool {
|
|
return m.Has(tag.UnderlyingStrikeCurrency)
|
|
}
|
|
|
|
// HasUnderlyingOptAttribute returns true if UnderlyingOptAttribute is present, Tag 317.
|
|
func (m NoUnderlyings) HasUnderlyingOptAttribute() bool {
|
|
return m.Has(tag.UnderlyingOptAttribute)
|
|
}
|
|
|
|
// HasUnderlyingContractMultiplier returns true if UnderlyingContractMultiplier is present, Tag 436.
|
|
func (m NoUnderlyings) HasUnderlyingContractMultiplier() bool {
|
|
return m.Has(tag.UnderlyingContractMultiplier)
|
|
}
|
|
|
|
// HasUnderlyingCouponRate returns true if UnderlyingCouponRate is present, Tag 435.
|
|
func (m NoUnderlyings) HasUnderlyingCouponRate() bool {
|
|
return m.Has(tag.UnderlyingCouponRate)
|
|
}
|
|
|
|
// HasUnderlyingSecurityExchange returns true if UnderlyingSecurityExchange is present, Tag 308.
|
|
func (m NoUnderlyings) HasUnderlyingSecurityExchange() bool {
|
|
return m.Has(tag.UnderlyingSecurityExchange)
|
|
}
|
|
|
|
// HasUnderlyingIssuer returns true if UnderlyingIssuer is present, Tag 306.
|
|
func (m NoUnderlyings) HasUnderlyingIssuer() bool {
|
|
return m.Has(tag.UnderlyingIssuer)
|
|
}
|
|
|
|
// HasEncodedUnderlyingIssuerLen returns true if EncodedUnderlyingIssuerLen is present, Tag 362.
|
|
func (m NoUnderlyings) HasEncodedUnderlyingIssuerLen() bool {
|
|
return m.Has(tag.EncodedUnderlyingIssuerLen)
|
|
}
|
|
|
|
// HasEncodedUnderlyingIssuer returns true if EncodedUnderlyingIssuer is present, Tag 363.
|
|
func (m NoUnderlyings) HasEncodedUnderlyingIssuer() bool {
|
|
return m.Has(tag.EncodedUnderlyingIssuer)
|
|
}
|
|
|
|
// HasUnderlyingSecurityDesc returns true if UnderlyingSecurityDesc is present, Tag 307.
|
|
func (m NoUnderlyings) HasUnderlyingSecurityDesc() bool {
|
|
return m.Has(tag.UnderlyingSecurityDesc)
|
|
}
|
|
|
|
// HasEncodedUnderlyingSecurityDescLen returns true if EncodedUnderlyingSecurityDescLen is present, Tag 364.
|
|
func (m NoUnderlyings) HasEncodedUnderlyingSecurityDescLen() bool {
|
|
return m.Has(tag.EncodedUnderlyingSecurityDescLen)
|
|
}
|
|
|
|
// HasEncodedUnderlyingSecurityDesc returns true if EncodedUnderlyingSecurityDesc is present, Tag 365.
|
|
func (m NoUnderlyings) HasEncodedUnderlyingSecurityDesc() bool {
|
|
return m.Has(tag.EncodedUnderlyingSecurityDesc)
|
|
}
|
|
|
|
// HasUnderlyingCPProgram returns true if UnderlyingCPProgram is present, Tag 877.
|
|
func (m NoUnderlyings) HasUnderlyingCPProgram() bool {
|
|
return m.Has(tag.UnderlyingCPProgram)
|
|
}
|
|
|
|
// HasUnderlyingCPRegType returns true if UnderlyingCPRegType is present, Tag 878.
|
|
func (m NoUnderlyings) HasUnderlyingCPRegType() bool {
|
|
return m.Has(tag.UnderlyingCPRegType)
|
|
}
|
|
|
|
// HasUnderlyingCurrency returns true if UnderlyingCurrency is present, Tag 318.
|
|
func (m NoUnderlyings) HasUnderlyingCurrency() bool {
|
|
return m.Has(tag.UnderlyingCurrency)
|
|
}
|
|
|
|
// HasUnderlyingQty returns true if UnderlyingQty is present, Tag 879.
|
|
func (m NoUnderlyings) HasUnderlyingQty() bool {
|
|
return m.Has(tag.UnderlyingQty)
|
|
}
|
|
|
|
// HasUnderlyingPx returns true if UnderlyingPx is present, Tag 810.
|
|
func (m NoUnderlyings) HasUnderlyingPx() bool {
|
|
return m.Has(tag.UnderlyingPx)
|
|
}
|
|
|
|
// HasUnderlyingDirtyPrice returns true if UnderlyingDirtyPrice is present, Tag 882.
|
|
func (m NoUnderlyings) HasUnderlyingDirtyPrice() bool {
|
|
return m.Has(tag.UnderlyingDirtyPrice)
|
|
}
|
|
|
|
// HasUnderlyingEndPrice returns true if UnderlyingEndPrice is present, Tag 883.
|
|
func (m NoUnderlyings) HasUnderlyingEndPrice() bool {
|
|
return m.Has(tag.UnderlyingEndPrice)
|
|
}
|
|
|
|
// HasUnderlyingStartValue returns true if UnderlyingStartValue is present, Tag 884.
|
|
func (m NoUnderlyings) HasUnderlyingStartValue() bool {
|
|
return m.Has(tag.UnderlyingStartValue)
|
|
}
|
|
|
|
// HasUnderlyingCurrentValue returns true if UnderlyingCurrentValue is present, Tag 885.
|
|
func (m NoUnderlyings) HasUnderlyingCurrentValue() bool {
|
|
return m.Has(tag.UnderlyingCurrentValue)
|
|
}
|
|
|
|
// HasUnderlyingEndValue returns true if UnderlyingEndValue is present, Tag 886.
|
|
func (m NoUnderlyings) HasUnderlyingEndValue() bool {
|
|
return m.Has(tag.UnderlyingEndValue)
|
|
}
|
|
|
|
// HasNoUnderlyingStips returns true if NoUnderlyingStips is present, Tag 887.
|
|
func (m NoUnderlyings) HasNoUnderlyingStips() bool {
|
|
return m.Has(tag.NoUnderlyingStips)
|
|
}
|
|
|
|
// HasPrevClosePx returns true if PrevClosePx is present, Tag 140.
|
|
func (m NoUnderlyings) HasPrevClosePx() bool {
|
|
return m.Has(tag.PrevClosePx)
|
|
}
|
|
|
|
// HasClOrdID returns true if ClOrdID is present, Tag 11.
|
|
func (m NoUnderlyings) HasClOrdID() bool {
|
|
return m.Has(tag.ClOrdID)
|
|
}
|
|
|
|
// HasSecondaryClOrdID returns true if SecondaryClOrdID is present, Tag 526.
|
|
func (m NoUnderlyings) HasSecondaryClOrdID() bool {
|
|
return m.Has(tag.SecondaryClOrdID)
|
|
}
|
|
|
|
// HasSide returns true if Side is present, Tag 54.
|
|
func (m NoUnderlyings) HasSide() bool {
|
|
return m.Has(tag.Side)
|
|
}
|
|
|
|
// HasPrice returns true if Price is present, Tag 44.
|
|
func (m NoUnderlyings) HasPrice() bool {
|
|
return m.Has(tag.Price)
|
|
}
|
|
|
|
// HasCurrency returns true if Currency is present, Tag 15.
|
|
func (m NoUnderlyings) HasCurrency() bool {
|
|
return m.Has(tag.Currency)
|
|
}
|
|
|
|
// HasText returns true if Text is present, Tag 58.
|
|
func (m NoUnderlyings) HasText() bool {
|
|
return m.Has(tag.Text)
|
|
}
|
|
|
|
// HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.
|
|
func (m NoUnderlyings) HasEncodedTextLen() bool {
|
|
return m.Has(tag.EncodedTextLen)
|
|
}
|
|
|
|
// HasEncodedText returns true if EncodedText is present, Tag 355.
|
|
func (m NoUnderlyings) HasEncodedText() bool {
|
|
return m.Has(tag.EncodedText)
|
|
}
|
|
|
|
// NoUnderlyingSecurityAltID is a repeating group element, Tag 457.
|
|
type NoUnderlyingSecurityAltID struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetUnderlyingSecurityAltID sets UnderlyingSecurityAltID, Tag 458.
|
|
func (m NoUnderlyingSecurityAltID) SetUnderlyingSecurityAltID(v string) {
|
|
m.Set(field.NewUnderlyingSecurityAltID(v))
|
|
}
|
|
|
|
// SetUnderlyingSecurityAltIDSource sets UnderlyingSecurityAltIDSource, Tag 459.
|
|
func (m NoUnderlyingSecurityAltID) SetUnderlyingSecurityAltIDSource(v string) {
|
|
m.Set(field.NewUnderlyingSecurityAltIDSource(v))
|
|
}
|
|
|
|
// GetUnderlyingSecurityAltID gets UnderlyingSecurityAltID, Tag 458.
|
|
func (m NoUnderlyingSecurityAltID) GetUnderlyingSecurityAltID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingSecurityAltIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingSecurityAltIDSource gets UnderlyingSecurityAltIDSource, Tag 459.
|
|
func (m NoUnderlyingSecurityAltID) GetUnderlyingSecurityAltIDSource() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingSecurityAltIDSourceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasUnderlyingSecurityAltID returns true if UnderlyingSecurityAltID is present, Tag 458.
|
|
func (m NoUnderlyingSecurityAltID) HasUnderlyingSecurityAltID() bool {
|
|
return m.Has(tag.UnderlyingSecurityAltID)
|
|
}
|
|
|
|
// HasUnderlyingSecurityAltIDSource returns true if UnderlyingSecurityAltIDSource is present, Tag 459.
|
|
func (m NoUnderlyingSecurityAltID) HasUnderlyingSecurityAltIDSource() bool {
|
|
return m.Has(tag.UnderlyingSecurityAltIDSource)
|
|
}
|
|
|
|
// NoUnderlyingSecurityAltIDRepeatingGroup is a repeating group, Tag 457.
|
|
type NoUnderlyingSecurityAltIDRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoUnderlyingSecurityAltIDRepeatingGroup returns an initialized, NoUnderlyingSecurityAltIDRepeatingGroup.
|
|
func NewNoUnderlyingSecurityAltIDRepeatingGroup() NoUnderlyingSecurityAltIDRepeatingGroup {
|
|
return NoUnderlyingSecurityAltIDRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoUnderlyingSecurityAltID,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.UnderlyingSecurityAltID),
|
|
quickfix.GroupElement(tag.UnderlyingSecurityAltIDSource),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoUnderlyingSecurityAltID to this group.
|
|
func (m NoUnderlyingSecurityAltIDRepeatingGroup) Add() NoUnderlyingSecurityAltID {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoUnderlyingSecurityAltID{g}
|
|
}
|
|
|
|
// Get returns the ith NoUnderlyingSecurityAltID in the NoUnderlyingSecurityAltIDRepeatinGroup.
|
|
func (m NoUnderlyingSecurityAltIDRepeatingGroup) Get(i int) NoUnderlyingSecurityAltID {
|
|
return NoUnderlyingSecurityAltID{m.RepeatingGroup.Get(i)}
|
|
}
|
|
|
|
// NoUnderlyingStips is a repeating group element, Tag 887.
|
|
type NoUnderlyingStips struct {
|
|
*quickfix.Group
|
|
}
|
|
|
|
// SetUnderlyingStipType sets UnderlyingStipType, Tag 888.
|
|
func (m NoUnderlyingStips) SetUnderlyingStipType(v string) {
|
|
m.Set(field.NewUnderlyingStipType(v))
|
|
}
|
|
|
|
// SetUnderlyingStipValue sets UnderlyingStipValue, Tag 889.
|
|
func (m NoUnderlyingStips) SetUnderlyingStipValue(v string) {
|
|
m.Set(field.NewUnderlyingStipValue(v))
|
|
}
|
|
|
|
// GetUnderlyingStipType gets UnderlyingStipType, Tag 888.
|
|
func (m NoUnderlyingStips) GetUnderlyingStipType() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingStipTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetUnderlyingStipValue gets UnderlyingStipValue, Tag 889.
|
|
func (m NoUnderlyingStips) GetUnderlyingStipValue() (v string, err quickfix.MessageRejectError) {
|
|
var f field.UnderlyingStipValueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasUnderlyingStipType returns true if UnderlyingStipType is present, Tag 888.
|
|
func (m NoUnderlyingStips) HasUnderlyingStipType() bool {
|
|
return m.Has(tag.UnderlyingStipType)
|
|
}
|
|
|
|
// HasUnderlyingStipValue returns true if UnderlyingStipValue is present, Tag 889.
|
|
func (m NoUnderlyingStips) HasUnderlyingStipValue() bool {
|
|
return m.Has(tag.UnderlyingStipValue)
|
|
}
|
|
|
|
// NoUnderlyingStipsRepeatingGroup is a repeating group, Tag 887.
|
|
type NoUnderlyingStipsRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoUnderlyingStipsRepeatingGroup returns an initialized, NoUnderlyingStipsRepeatingGroup.
|
|
func NewNoUnderlyingStipsRepeatingGroup() NoUnderlyingStipsRepeatingGroup {
|
|
return NoUnderlyingStipsRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoUnderlyingStips,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.UnderlyingStipType),
|
|
quickfix.GroupElement(tag.UnderlyingStipValue),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoUnderlyingStips to this group.
|
|
func (m NoUnderlyingStipsRepeatingGroup) Add() NoUnderlyingStips {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoUnderlyingStips{g}
|
|
}
|
|
|
|
// Get returns the ith NoUnderlyingStips in the NoUnderlyingStipsRepeatinGroup.
|
|
func (m NoUnderlyingStipsRepeatingGroup) Get(i int) NoUnderlyingStips {
|
|
return NoUnderlyingStips{m.RepeatingGroup.Get(i)}
|
|
}
|
|
|
|
// NoUnderlyingsRepeatingGroup is a repeating group, Tag 711.
|
|
type NoUnderlyingsRepeatingGroup struct {
|
|
*quickfix.RepeatingGroup
|
|
}
|
|
|
|
// NewNoUnderlyingsRepeatingGroup returns an initialized, NoUnderlyingsRepeatingGroup.
|
|
func NewNoUnderlyingsRepeatingGroup() NoUnderlyingsRepeatingGroup {
|
|
return NoUnderlyingsRepeatingGroup{
|
|
quickfix.NewRepeatingGroup(
|
|
tag.NoUnderlyings,
|
|
quickfix.GroupTemplate{
|
|
quickfix.GroupElement(tag.UnderlyingSymbol),
|
|
quickfix.GroupElement(tag.UnderlyingSymbolSfx),
|
|
quickfix.GroupElement(tag.UnderlyingSecurityID),
|
|
quickfix.GroupElement(tag.UnderlyingSecurityIDSource),
|
|
NewNoUnderlyingSecurityAltIDRepeatingGroup(),
|
|
quickfix.GroupElement(tag.UnderlyingProduct),
|
|
quickfix.GroupElement(tag.UnderlyingCFICode),
|
|
quickfix.GroupElement(tag.UnderlyingSecurityType),
|
|
quickfix.GroupElement(tag.UnderlyingSecuritySubType),
|
|
quickfix.GroupElement(tag.UnderlyingMaturityMonthYear),
|
|
quickfix.GroupElement(tag.UnderlyingMaturityDate),
|
|
quickfix.GroupElement(tag.UnderlyingCouponPaymentDate),
|
|
quickfix.GroupElement(tag.UnderlyingIssueDate),
|
|
quickfix.GroupElement(tag.UnderlyingRepoCollateralSecurityType),
|
|
quickfix.GroupElement(tag.UnderlyingRepurchaseTerm),
|
|
quickfix.GroupElement(tag.UnderlyingRepurchaseRate),
|
|
quickfix.GroupElement(tag.UnderlyingFactor),
|
|
quickfix.GroupElement(tag.UnderlyingCreditRating),
|
|
quickfix.GroupElement(tag.UnderlyingInstrRegistry),
|
|
quickfix.GroupElement(tag.UnderlyingCountryOfIssue),
|
|
quickfix.GroupElement(tag.UnderlyingStateOrProvinceOfIssue),
|
|
quickfix.GroupElement(tag.UnderlyingLocaleOfIssue),
|
|
quickfix.GroupElement(tag.UnderlyingRedemptionDate),
|
|
quickfix.GroupElement(tag.UnderlyingStrikePrice),
|
|
quickfix.GroupElement(tag.UnderlyingStrikeCurrency),
|
|
quickfix.GroupElement(tag.UnderlyingOptAttribute),
|
|
quickfix.GroupElement(tag.UnderlyingContractMultiplier),
|
|
quickfix.GroupElement(tag.UnderlyingCouponRate),
|
|
quickfix.GroupElement(tag.UnderlyingSecurityExchange),
|
|
quickfix.GroupElement(tag.UnderlyingIssuer),
|
|
quickfix.GroupElement(tag.EncodedUnderlyingIssuerLen),
|
|
quickfix.GroupElement(tag.EncodedUnderlyingIssuer),
|
|
quickfix.GroupElement(tag.UnderlyingSecurityDesc),
|
|
quickfix.GroupElement(tag.EncodedUnderlyingSecurityDescLen),
|
|
quickfix.GroupElement(tag.EncodedUnderlyingSecurityDesc),
|
|
quickfix.GroupElement(tag.UnderlyingCPProgram),
|
|
quickfix.GroupElement(tag.UnderlyingCPRegType),
|
|
quickfix.GroupElement(tag.UnderlyingCurrency),
|
|
quickfix.GroupElement(tag.UnderlyingQty),
|
|
quickfix.GroupElement(tag.UnderlyingPx),
|
|
quickfix.GroupElement(tag.UnderlyingDirtyPrice),
|
|
quickfix.GroupElement(tag.UnderlyingEndPrice),
|
|
quickfix.GroupElement(tag.UnderlyingStartValue),
|
|
quickfix.GroupElement(tag.UnderlyingCurrentValue),
|
|
quickfix.GroupElement(tag.UnderlyingEndValue),
|
|
NewNoUnderlyingStipsRepeatingGroup(),
|
|
quickfix.GroupElement(tag.PrevClosePx),
|
|
quickfix.GroupElement(tag.ClOrdID),
|
|
quickfix.GroupElement(tag.SecondaryClOrdID),
|
|
quickfix.GroupElement(tag.Side),
|
|
quickfix.GroupElement(tag.Price),
|
|
quickfix.GroupElement(tag.Currency),
|
|
quickfix.GroupElement(tag.Text),
|
|
quickfix.GroupElement(tag.EncodedTextLen),
|
|
quickfix.GroupElement(tag.EncodedText),
|
|
},
|
|
),
|
|
}
|
|
}
|
|
|
|
// Add create and append a new NoUnderlyings to this group.
|
|
func (m NoUnderlyingsRepeatingGroup) Add() NoUnderlyings {
|
|
g := m.RepeatingGroup.Add()
|
|
return NoUnderlyings{g}
|
|
}
|
|
|
|
// Get returns the ith NoUnderlyings in the NoUnderlyingsRepeatinGroup.
|
|
func (m NoUnderlyingsRepeatingGroup) Get(i int) NoUnderlyings {
|
|
return NoUnderlyings{m.RepeatingGroup.Get(i)}
|
|
}
|