853 lines
25 KiB
Go
853 lines
25 KiB
Go
// Code generated by quickfix. DO NOT EDIT.
|
|
package securitystatusrequest
|
|
|
|
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/fix43"
|
|
"quantex.com/qfixdpl/quickfix/gen/tag"
|
|
)
|
|
|
|
// SecurityStatusRequest is the fix43 SecurityStatusRequest type, MsgType = e.
|
|
type SecurityStatusRequest struct {
|
|
fix43.Header
|
|
*quickfix.Body
|
|
fix43.Trailer
|
|
Message *quickfix.Message
|
|
}
|
|
|
|
// FromMessage creates a SecurityStatusRequest from a quickfix.Message instance.
|
|
func FromMessage(m *quickfix.Message) SecurityStatusRequest {
|
|
return SecurityStatusRequest{
|
|
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 SecurityStatusRequest) ToMessage() *quickfix.Message {
|
|
return m.Message
|
|
}
|
|
|
|
// New returns a SecurityStatusRequest initialized with the required fields for SecurityStatusRequest.
|
|
func New(securitystatusreqid field.SecurityStatusReqIDField, subscriptionrequesttype field.SubscriptionRequestTypeField) (m SecurityStatusRequest) {
|
|
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("e"))
|
|
m.Set(securitystatusreqid)
|
|
m.Set(subscriptionrequesttype)
|
|
|
|
return
|
|
}
|
|
|
|
// A RouteOut is the callback type that should be implemented for routing Message.
|
|
type RouteOut func(msg SecurityStatusRequest, 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", "e", r
|
|
}
|
|
|
|
// SetCurrency sets Currency, Tag 15.
|
|
func (m SecurityStatusRequest) SetCurrency(v string) {
|
|
m.Set(field.NewCurrency(v))
|
|
}
|
|
|
|
// SetSecurityIDSource sets SecurityIDSource, Tag 22.
|
|
func (m SecurityStatusRequest) SetSecurityIDSource(v enum.SecurityIDSource) {
|
|
m.Set(field.NewSecurityIDSource(v))
|
|
}
|
|
|
|
// SetSecurityID sets SecurityID, Tag 48.
|
|
func (m SecurityStatusRequest) SetSecurityID(v string) {
|
|
m.Set(field.NewSecurityID(v))
|
|
}
|
|
|
|
// SetSymbol sets Symbol, Tag 55.
|
|
func (m SecurityStatusRequest) SetSymbol(v string) {
|
|
m.Set(field.NewSymbol(v))
|
|
}
|
|
|
|
// SetSymbolSfx sets SymbolSfx, Tag 65.
|
|
func (m SecurityStatusRequest) SetSymbolSfx(v enum.SymbolSfx) {
|
|
m.Set(field.NewSymbolSfx(v))
|
|
}
|
|
|
|
// SetIssuer sets Issuer, Tag 106.
|
|
func (m SecurityStatusRequest) SetIssuer(v string) {
|
|
m.Set(field.NewIssuer(v))
|
|
}
|
|
|
|
// SetSecurityDesc sets SecurityDesc, Tag 107.
|
|
func (m SecurityStatusRequest) SetSecurityDesc(v string) {
|
|
m.Set(field.NewSecurityDesc(v))
|
|
}
|
|
|
|
// SetSecurityType sets SecurityType, Tag 167.
|
|
func (m SecurityStatusRequest) SetSecurityType(v enum.SecurityType) {
|
|
m.Set(field.NewSecurityType(v))
|
|
}
|
|
|
|
// SetMaturityMonthYear sets MaturityMonthYear, Tag 200.
|
|
func (m SecurityStatusRequest) SetMaturityMonthYear(v string) {
|
|
m.Set(field.NewMaturityMonthYear(v))
|
|
}
|
|
|
|
// SetStrikePrice sets StrikePrice, Tag 202.
|
|
func (m SecurityStatusRequest) SetStrikePrice(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewStrikePrice(value, scale))
|
|
}
|
|
|
|
// SetOptAttribute sets OptAttribute, Tag 206.
|
|
func (m SecurityStatusRequest) SetOptAttribute(v string) {
|
|
m.Set(field.NewOptAttribute(v))
|
|
}
|
|
|
|
// SetSecurityExchange sets SecurityExchange, Tag 207.
|
|
func (m SecurityStatusRequest) SetSecurityExchange(v string) {
|
|
m.Set(field.NewSecurityExchange(v))
|
|
}
|
|
|
|
// SetCouponRate sets CouponRate, Tag 223.
|
|
func (m SecurityStatusRequest) SetCouponRate(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewCouponRate(value, scale))
|
|
}
|
|
|
|
// SetCouponPaymentDate sets CouponPaymentDate, Tag 224.
|
|
func (m SecurityStatusRequest) SetCouponPaymentDate(v string) {
|
|
m.Set(field.NewCouponPaymentDate(v))
|
|
}
|
|
|
|
// SetIssueDate sets IssueDate, Tag 225.
|
|
func (m SecurityStatusRequest) SetIssueDate(v string) {
|
|
m.Set(field.NewIssueDate(v))
|
|
}
|
|
|
|
// SetRepurchaseTerm sets RepurchaseTerm, Tag 226.
|
|
func (m SecurityStatusRequest) SetRepurchaseTerm(v int) {
|
|
m.Set(field.NewRepurchaseTerm(v))
|
|
}
|
|
|
|
// SetRepurchaseRate sets RepurchaseRate, Tag 227.
|
|
func (m SecurityStatusRequest) SetRepurchaseRate(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewRepurchaseRate(value, scale))
|
|
}
|
|
|
|
// SetFactor sets Factor, Tag 228.
|
|
func (m SecurityStatusRequest) SetFactor(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewFactor(value, scale))
|
|
}
|
|
|
|
// SetContractMultiplier sets ContractMultiplier, Tag 231.
|
|
func (m SecurityStatusRequest) SetContractMultiplier(value decimal.Decimal, scale int32) {
|
|
m.Set(field.NewContractMultiplier(value, scale))
|
|
}
|
|
|
|
// SetRepoCollateralSecurityType sets RepoCollateralSecurityType, Tag 239.
|
|
func (m SecurityStatusRequest) SetRepoCollateralSecurityType(v int) {
|
|
m.Set(field.NewRepoCollateralSecurityType(v))
|
|
}
|
|
|
|
// SetRedemptionDate sets RedemptionDate, Tag 240.
|
|
func (m SecurityStatusRequest) SetRedemptionDate(v string) {
|
|
m.Set(field.NewRedemptionDate(v))
|
|
}
|
|
|
|
// SetCreditRating sets CreditRating, Tag 255.
|
|
func (m SecurityStatusRequest) SetCreditRating(v string) {
|
|
m.Set(field.NewCreditRating(v))
|
|
}
|
|
|
|
// SetSubscriptionRequestType sets SubscriptionRequestType, Tag 263.
|
|
func (m SecurityStatusRequest) SetSubscriptionRequestType(v enum.SubscriptionRequestType) {
|
|
m.Set(field.NewSubscriptionRequestType(v))
|
|
}
|
|
|
|
// SetSecurityStatusReqID sets SecurityStatusReqID, Tag 324.
|
|
func (m SecurityStatusRequest) SetSecurityStatusReqID(v string) {
|
|
m.Set(field.NewSecurityStatusReqID(v))
|
|
}
|
|
|
|
// SetTradingSessionID sets TradingSessionID, Tag 336.
|
|
func (m SecurityStatusRequest) SetTradingSessionID(v enum.TradingSessionID) {
|
|
m.Set(field.NewTradingSessionID(v))
|
|
}
|
|
|
|
// SetEncodedIssuerLen sets EncodedIssuerLen, Tag 348.
|
|
func (m SecurityStatusRequest) SetEncodedIssuerLen(v int) {
|
|
m.Set(field.NewEncodedIssuerLen(v))
|
|
}
|
|
|
|
// SetEncodedIssuer sets EncodedIssuer, Tag 349.
|
|
func (m SecurityStatusRequest) SetEncodedIssuer(v string) {
|
|
m.Set(field.NewEncodedIssuer(v))
|
|
}
|
|
|
|
// SetEncodedSecurityDescLen sets EncodedSecurityDescLen, Tag 350.
|
|
func (m SecurityStatusRequest) SetEncodedSecurityDescLen(v int) {
|
|
m.Set(field.NewEncodedSecurityDescLen(v))
|
|
}
|
|
|
|
// SetEncodedSecurityDesc sets EncodedSecurityDesc, Tag 351.
|
|
func (m SecurityStatusRequest) SetEncodedSecurityDesc(v string) {
|
|
m.Set(field.NewEncodedSecurityDesc(v))
|
|
}
|
|
|
|
// SetNoSecurityAltID sets NoSecurityAltID, Tag 454.
|
|
func (m SecurityStatusRequest) SetNoSecurityAltID(f NoSecurityAltIDRepeatingGroup) {
|
|
m.SetGroup(f)
|
|
}
|
|
|
|
// SetProduct sets Product, Tag 460.
|
|
func (m SecurityStatusRequest) SetProduct(v enum.Product) {
|
|
m.Set(field.NewProduct(v))
|
|
}
|
|
|
|
// SetCFICode sets CFICode, Tag 461.
|
|
func (m SecurityStatusRequest) SetCFICode(v string) {
|
|
m.Set(field.NewCFICode(v))
|
|
}
|
|
|
|
// SetCountryOfIssue sets CountryOfIssue, Tag 470.
|
|
func (m SecurityStatusRequest) SetCountryOfIssue(v string) {
|
|
m.Set(field.NewCountryOfIssue(v))
|
|
}
|
|
|
|
// SetStateOrProvinceOfIssue sets StateOrProvinceOfIssue, Tag 471.
|
|
func (m SecurityStatusRequest) SetStateOrProvinceOfIssue(v string) {
|
|
m.Set(field.NewStateOrProvinceOfIssue(v))
|
|
}
|
|
|
|
// SetLocaleOfIssue sets LocaleOfIssue, Tag 472.
|
|
func (m SecurityStatusRequest) SetLocaleOfIssue(v string) {
|
|
m.Set(field.NewLocaleOfIssue(v))
|
|
}
|
|
|
|
// SetMaturityDate sets MaturityDate, Tag 541.
|
|
func (m SecurityStatusRequest) SetMaturityDate(v string) {
|
|
m.Set(field.NewMaturityDate(v))
|
|
}
|
|
|
|
// SetInstrRegistry sets InstrRegistry, Tag 543.
|
|
func (m SecurityStatusRequest) SetInstrRegistry(v enum.InstrRegistry) {
|
|
m.Set(field.NewInstrRegistry(v))
|
|
}
|
|
|
|
// SetTradingSessionSubID sets TradingSessionSubID, Tag 625.
|
|
func (m SecurityStatusRequest) SetTradingSessionSubID(v enum.TradingSessionSubID) {
|
|
m.Set(field.NewTradingSessionSubID(v))
|
|
}
|
|
|
|
// GetCurrency gets Currency, Tag 15.
|
|
func (m SecurityStatusRequest) GetCurrency() (v string, err quickfix.MessageRejectError) {
|
|
var f field.CurrencyField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityIDSource gets SecurityIDSource, Tag 22.
|
|
func (m SecurityStatusRequest) GetSecurityIDSource() (v enum.SecurityIDSource, err quickfix.MessageRejectError) {
|
|
var f field.SecurityIDSourceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityID gets SecurityID, Tag 48.
|
|
func (m SecurityStatusRequest) GetSecurityID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecurityIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSymbol gets Symbol, Tag 55.
|
|
func (m SecurityStatusRequest) 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 SecurityStatusRequest) GetSymbolSfx() (v enum.SymbolSfx, err quickfix.MessageRejectError) {
|
|
var f field.SymbolSfxField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetIssuer gets Issuer, Tag 106.
|
|
func (m SecurityStatusRequest) 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 SecurityStatusRequest) GetSecurityDesc() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecurityDescField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityType gets SecurityType, Tag 167.
|
|
func (m SecurityStatusRequest) GetSecurityType() (v enum.SecurityType, err quickfix.MessageRejectError) {
|
|
var f field.SecurityTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetMaturityMonthYear gets MaturityMonthYear, Tag 200.
|
|
func (m SecurityStatusRequest) 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 SecurityStatusRequest) GetStrikePrice() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
|
var f field.StrikePriceField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetOptAttribute gets OptAttribute, Tag 206.
|
|
func (m SecurityStatusRequest) 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 SecurityStatusRequest) GetSecurityExchange() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecurityExchangeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCouponRate gets CouponRate, Tag 223.
|
|
func (m SecurityStatusRequest) 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 SecurityStatusRequest) 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 SecurityStatusRequest) 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 SecurityStatusRequest) 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 SecurityStatusRequest) 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 SecurityStatusRequest) 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 SecurityStatusRequest) 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 SecurityStatusRequest) 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 SecurityStatusRequest) 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 SecurityStatusRequest) GetCreditRating() (v string, err quickfix.MessageRejectError) {
|
|
var f field.CreditRatingField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSubscriptionRequestType gets SubscriptionRequestType, Tag 263.
|
|
func (m SecurityStatusRequest) GetSubscriptionRequestType() (v enum.SubscriptionRequestType, err quickfix.MessageRejectError) {
|
|
var f field.SubscriptionRequestTypeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetSecurityStatusReqID gets SecurityStatusReqID, Tag 324.
|
|
func (m SecurityStatusRequest) GetSecurityStatusReqID() (v string, err quickfix.MessageRejectError) {
|
|
var f field.SecurityStatusReqIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetTradingSessionID gets TradingSessionID, Tag 336.
|
|
func (m SecurityStatusRequest) GetTradingSessionID() (v enum.TradingSessionID, err quickfix.MessageRejectError) {
|
|
var f field.TradingSessionIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetEncodedIssuerLen gets EncodedIssuerLen, Tag 348.
|
|
func (m SecurityStatusRequest) 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 SecurityStatusRequest) 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 SecurityStatusRequest) 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 SecurityStatusRequest) GetEncodedSecurityDesc() (v string, err quickfix.MessageRejectError) {
|
|
var f field.EncodedSecurityDescField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetNoSecurityAltID gets NoSecurityAltID, Tag 454.
|
|
func (m SecurityStatusRequest) GetNoSecurityAltID() (NoSecurityAltIDRepeatingGroup, quickfix.MessageRejectError) {
|
|
f := NewNoSecurityAltIDRepeatingGroup()
|
|
err := m.GetGroup(f)
|
|
return f, err
|
|
}
|
|
|
|
// GetProduct gets Product, Tag 460.
|
|
func (m SecurityStatusRequest) 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 SecurityStatusRequest) GetCFICode() (v string, err quickfix.MessageRejectError) {
|
|
var f field.CFICodeField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetCountryOfIssue gets CountryOfIssue, Tag 470.
|
|
func (m SecurityStatusRequest) 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 SecurityStatusRequest) 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 SecurityStatusRequest) GetLocaleOfIssue() (v string, err quickfix.MessageRejectError) {
|
|
var f field.LocaleOfIssueField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetMaturityDate gets MaturityDate, Tag 541.
|
|
func (m SecurityStatusRequest) 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 SecurityStatusRequest) GetInstrRegistry() (v enum.InstrRegistry, err quickfix.MessageRejectError) {
|
|
var f field.InstrRegistryField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// GetTradingSessionSubID gets TradingSessionSubID, Tag 625.
|
|
func (m SecurityStatusRequest) GetTradingSessionSubID() (v enum.TradingSessionSubID, err quickfix.MessageRejectError) {
|
|
var f field.TradingSessionSubIDField
|
|
if err = m.Get(&f); err == nil {
|
|
v = f.Value()
|
|
}
|
|
return
|
|
}
|
|
|
|
// HasCurrency returns true if Currency is present, Tag 15.
|
|
func (m SecurityStatusRequest) HasCurrency() bool {
|
|
return m.Has(tag.Currency)
|
|
}
|
|
|
|
// HasSecurityIDSource returns true if SecurityIDSource is present, Tag 22.
|
|
func (m SecurityStatusRequest) HasSecurityIDSource() bool {
|
|
return m.Has(tag.SecurityIDSource)
|
|
}
|
|
|
|
// HasSecurityID returns true if SecurityID is present, Tag 48.
|
|
func (m SecurityStatusRequest) HasSecurityID() bool {
|
|
return m.Has(tag.SecurityID)
|
|
}
|
|
|
|
// HasSymbol returns true if Symbol is present, Tag 55.
|
|
func (m SecurityStatusRequest) HasSymbol() bool {
|
|
return m.Has(tag.Symbol)
|
|
}
|
|
|
|
// HasSymbolSfx returns true if SymbolSfx is present, Tag 65.
|
|
func (m SecurityStatusRequest) HasSymbolSfx() bool {
|
|
return m.Has(tag.SymbolSfx)
|
|
}
|
|
|
|
// HasIssuer returns true if Issuer is present, Tag 106.
|
|
func (m SecurityStatusRequest) HasIssuer() bool {
|
|
return m.Has(tag.Issuer)
|
|
}
|
|
|
|
// HasSecurityDesc returns true if SecurityDesc is present, Tag 107.
|
|
func (m SecurityStatusRequest) HasSecurityDesc() bool {
|
|
return m.Has(tag.SecurityDesc)
|
|
}
|
|
|
|
// HasSecurityType returns true if SecurityType is present, Tag 167.
|
|
func (m SecurityStatusRequest) HasSecurityType() bool {
|
|
return m.Has(tag.SecurityType)
|
|
}
|
|
|
|
// HasMaturityMonthYear returns true if MaturityMonthYear is present, Tag 200.
|
|
func (m SecurityStatusRequest) HasMaturityMonthYear() bool {
|
|
return m.Has(tag.MaturityMonthYear)
|
|
}
|
|
|
|
// HasStrikePrice returns true if StrikePrice is present, Tag 202.
|
|
func (m SecurityStatusRequest) HasStrikePrice() bool {
|
|
return m.Has(tag.StrikePrice)
|
|
}
|
|
|
|
// HasOptAttribute returns true if OptAttribute is present, Tag 206.
|
|
func (m SecurityStatusRequest) HasOptAttribute() bool {
|
|
return m.Has(tag.OptAttribute)
|
|
}
|
|
|
|
// HasSecurityExchange returns true if SecurityExchange is present, Tag 207.
|
|
func (m SecurityStatusRequest) HasSecurityExchange() bool {
|
|
return m.Has(tag.SecurityExchange)
|
|
}
|
|
|
|
// HasCouponRate returns true if CouponRate is present, Tag 223.
|
|
func (m SecurityStatusRequest) HasCouponRate() bool {
|
|
return m.Has(tag.CouponRate)
|
|
}
|
|
|
|
// HasCouponPaymentDate returns true if CouponPaymentDate is present, Tag 224.
|
|
func (m SecurityStatusRequest) HasCouponPaymentDate() bool {
|
|
return m.Has(tag.CouponPaymentDate)
|
|
}
|
|
|
|
// HasIssueDate returns true if IssueDate is present, Tag 225.
|
|
func (m SecurityStatusRequest) HasIssueDate() bool {
|
|
return m.Has(tag.IssueDate)
|
|
}
|
|
|
|
// HasRepurchaseTerm returns true if RepurchaseTerm is present, Tag 226.
|
|
func (m SecurityStatusRequest) HasRepurchaseTerm() bool {
|
|
return m.Has(tag.RepurchaseTerm)
|
|
}
|
|
|
|
// HasRepurchaseRate returns true if RepurchaseRate is present, Tag 227.
|
|
func (m SecurityStatusRequest) HasRepurchaseRate() bool {
|
|
return m.Has(tag.RepurchaseRate)
|
|
}
|
|
|
|
// HasFactor returns true if Factor is present, Tag 228.
|
|
func (m SecurityStatusRequest) HasFactor() bool {
|
|
return m.Has(tag.Factor)
|
|
}
|
|
|
|
// HasContractMultiplier returns true if ContractMultiplier is present, Tag 231.
|
|
func (m SecurityStatusRequest) HasContractMultiplier() bool {
|
|
return m.Has(tag.ContractMultiplier)
|
|
}
|
|
|
|
// HasRepoCollateralSecurityType returns true if RepoCollateralSecurityType is present, Tag 239.
|
|
func (m SecurityStatusRequest) HasRepoCollateralSecurityType() bool {
|
|
return m.Has(tag.RepoCollateralSecurityType)
|
|
}
|
|
|
|
// HasRedemptionDate returns true if RedemptionDate is present, Tag 240.
|
|
func (m SecurityStatusRequest) HasRedemptionDate() bool {
|
|
return m.Has(tag.RedemptionDate)
|
|
}
|
|
|
|
// HasCreditRating returns true if CreditRating is present, Tag 255.
|
|
func (m SecurityStatusRequest) HasCreditRating() bool {
|
|
return m.Has(tag.CreditRating)
|
|
}
|
|
|
|
// HasSubscriptionRequestType returns true if SubscriptionRequestType is present, Tag 263.
|
|
func (m SecurityStatusRequest) HasSubscriptionRequestType() bool {
|
|
return m.Has(tag.SubscriptionRequestType)
|
|
}
|
|
|
|
// HasSecurityStatusReqID returns true if SecurityStatusReqID is present, Tag 324.
|
|
func (m SecurityStatusRequest) HasSecurityStatusReqID() bool {
|
|
return m.Has(tag.SecurityStatusReqID)
|
|
}
|
|
|
|
// HasTradingSessionID returns true if TradingSessionID is present, Tag 336.
|
|
func (m SecurityStatusRequest) HasTradingSessionID() bool {
|
|
return m.Has(tag.TradingSessionID)
|
|
}
|
|
|
|
// HasEncodedIssuerLen returns true if EncodedIssuerLen is present, Tag 348.
|
|
func (m SecurityStatusRequest) HasEncodedIssuerLen() bool {
|
|
return m.Has(tag.EncodedIssuerLen)
|
|
}
|
|
|
|
// HasEncodedIssuer returns true if EncodedIssuer is present, Tag 349.
|
|
func (m SecurityStatusRequest) HasEncodedIssuer() bool {
|
|
return m.Has(tag.EncodedIssuer)
|
|
}
|
|
|
|
// HasEncodedSecurityDescLen returns true if EncodedSecurityDescLen is present, Tag 350.
|
|
func (m SecurityStatusRequest) HasEncodedSecurityDescLen() bool {
|
|
return m.Has(tag.EncodedSecurityDescLen)
|
|
}
|
|
|
|
// HasEncodedSecurityDesc returns true if EncodedSecurityDesc is present, Tag 351.
|
|
func (m SecurityStatusRequest) HasEncodedSecurityDesc() bool {
|
|
return m.Has(tag.EncodedSecurityDesc)
|
|
}
|
|
|
|
// HasNoSecurityAltID returns true if NoSecurityAltID is present, Tag 454.
|
|
func (m SecurityStatusRequest) HasNoSecurityAltID() bool {
|
|
return m.Has(tag.NoSecurityAltID)
|
|
}
|
|
|
|
// HasProduct returns true if Product is present, Tag 460.
|
|
func (m SecurityStatusRequest) HasProduct() bool {
|
|
return m.Has(tag.Product)
|
|
}
|
|
|
|
// HasCFICode returns true if CFICode is present, Tag 461.
|
|
func (m SecurityStatusRequest) HasCFICode() bool {
|
|
return m.Has(tag.CFICode)
|
|
}
|
|
|
|
// HasCountryOfIssue returns true if CountryOfIssue is present, Tag 470.
|
|
func (m SecurityStatusRequest) HasCountryOfIssue() bool {
|
|
return m.Has(tag.CountryOfIssue)
|
|
}
|
|
|
|
// HasStateOrProvinceOfIssue returns true if StateOrProvinceOfIssue is present, Tag 471.
|
|
func (m SecurityStatusRequest) HasStateOrProvinceOfIssue() bool {
|
|
return m.Has(tag.StateOrProvinceOfIssue)
|
|
}
|
|
|
|
// HasLocaleOfIssue returns true if LocaleOfIssue is present, Tag 472.
|
|
func (m SecurityStatusRequest) HasLocaleOfIssue() bool {
|
|
return m.Has(tag.LocaleOfIssue)
|
|
}
|
|
|
|
// HasMaturityDate returns true if MaturityDate is present, Tag 541.
|
|
func (m SecurityStatusRequest) HasMaturityDate() bool {
|
|
return m.Has(tag.MaturityDate)
|
|
}
|
|
|
|
// HasInstrRegistry returns true if InstrRegistry is present, Tag 543.
|
|
func (m SecurityStatusRequest) HasInstrRegistry() bool {
|
|
return m.Has(tag.InstrRegistry)
|
|
}
|
|
|
|
// HasTradingSessionSubID returns true if TradingSessionSubID is present, Tag 625.
|
|
func (m SecurityStatusRequest) HasTradingSessionSubID() bool {
|
|
return m.Has(tag.TradingSessionSubID)
|
|
}
|
|
|
|
// 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)}
|
|
}
|