adding quickfix library
This commit is contained in:
1065
quickfix/gen/fix43/advertisement/Advertisement.generated.go
Normal file
1065
quickfix/gen/fix43/advertisement/Advertisement.generated.go
Normal file
File diff suppressed because it is too large
Load Diff
2547
quickfix/gen/fix43/allocation/Allocation.generated.go
Normal file
2547
quickfix/gen/fix43/allocation/Allocation.generated.go
Normal file
File diff suppressed because it is too large
Load Diff
361
quickfix/gen/fix43/allocationack/AllocationAck.generated.go
Normal file
361
quickfix/gen/fix43/allocationack/AllocationAck.generated.go
Normal file
@ -0,0 +1,361 @@
|
||||
// Code generated by quickfix. DO NOT EDIT.
|
||||
package allocationack
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/quickfixgo/quickfix"
|
||||
"github.com/quickfixgo/quickfix/gen/enum"
|
||||
"github.com/quickfixgo/quickfix/gen/field"
|
||||
"github.com/quickfixgo/quickfix/gen/fix43"
|
||||
"github.com/quickfixgo/quickfix/gen/tag"
|
||||
)
|
||||
|
||||
// AllocationAck is the fix43 AllocationAck type, MsgType = P.
|
||||
type AllocationAck struct {
|
||||
fix43.Header
|
||||
*quickfix.Body
|
||||
fix43.Trailer
|
||||
Message *quickfix.Message
|
||||
}
|
||||
|
||||
// FromMessage creates a AllocationAck from a quickfix.Message instance.
|
||||
func FromMessage(m *quickfix.Message) AllocationAck {
|
||||
return AllocationAck{
|
||||
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 AllocationAck) ToMessage() *quickfix.Message {
|
||||
return m.Message
|
||||
}
|
||||
|
||||
// New returns a AllocationAck initialized with the required fields for AllocationAck.
|
||||
func New(allocid field.AllocIDField, tradedate field.TradeDateField, allocstatus field.AllocStatusField) (m AllocationAck) {
|
||||
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("P"))
|
||||
m.Set(allocid)
|
||||
m.Set(tradedate)
|
||||
m.Set(allocstatus)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// A RouteOut is the callback type that should be implemented for routing Message.
|
||||
type RouteOut func(msg AllocationAck, 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", "P", r
|
||||
}
|
||||
|
||||
// SetText sets Text, Tag 58.
|
||||
func (m AllocationAck) SetText(v string) {
|
||||
m.Set(field.NewText(v))
|
||||
}
|
||||
|
||||
// SetTransactTime sets TransactTime, Tag 60.
|
||||
func (m AllocationAck) SetTransactTime(v time.Time) {
|
||||
m.Set(field.NewTransactTime(v))
|
||||
}
|
||||
|
||||
// SetAllocID sets AllocID, Tag 70.
|
||||
func (m AllocationAck) SetAllocID(v string) {
|
||||
m.Set(field.NewAllocID(v))
|
||||
}
|
||||
|
||||
// SetTradeDate sets TradeDate, Tag 75.
|
||||
func (m AllocationAck) SetTradeDate(v string) {
|
||||
m.Set(field.NewTradeDate(v))
|
||||
}
|
||||
|
||||
// SetAllocStatus sets AllocStatus, Tag 87.
|
||||
func (m AllocationAck) SetAllocStatus(v enum.AllocStatus) {
|
||||
m.Set(field.NewAllocStatus(v))
|
||||
}
|
||||
|
||||
// SetAllocRejCode sets AllocRejCode, Tag 88.
|
||||
func (m AllocationAck) SetAllocRejCode(v enum.AllocRejCode) {
|
||||
m.Set(field.NewAllocRejCode(v))
|
||||
}
|
||||
|
||||
// SetEncodedTextLen sets EncodedTextLen, Tag 354.
|
||||
func (m AllocationAck) SetEncodedTextLen(v int) {
|
||||
m.Set(field.NewEncodedTextLen(v))
|
||||
}
|
||||
|
||||
// SetEncodedText sets EncodedText, Tag 355.
|
||||
func (m AllocationAck) SetEncodedText(v string) {
|
||||
m.Set(field.NewEncodedText(v))
|
||||
}
|
||||
|
||||
// SetNoPartyIDs sets NoPartyIDs, Tag 453.
|
||||
func (m AllocationAck) SetNoPartyIDs(f NoPartyIDsRepeatingGroup) {
|
||||
m.SetGroup(f)
|
||||
}
|
||||
|
||||
// SetLegalConfirm sets LegalConfirm, Tag 650.
|
||||
func (m AllocationAck) SetLegalConfirm(v bool) {
|
||||
m.Set(field.NewLegalConfirm(v))
|
||||
}
|
||||
|
||||
// GetText gets Text, Tag 58.
|
||||
func (m AllocationAck) GetText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.TextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTransactTime gets TransactTime, Tag 60.
|
||||
func (m AllocationAck) GetTransactTime() (v time.Time, err quickfix.MessageRejectError) {
|
||||
var f field.TransactTimeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetAllocID gets AllocID, Tag 70.
|
||||
func (m AllocationAck) GetAllocID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.AllocIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTradeDate gets TradeDate, Tag 75.
|
||||
func (m AllocationAck) GetTradeDate() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.TradeDateField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetAllocStatus gets AllocStatus, Tag 87.
|
||||
func (m AllocationAck) GetAllocStatus() (v enum.AllocStatus, err quickfix.MessageRejectError) {
|
||||
var f field.AllocStatusField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetAllocRejCode gets AllocRejCode, Tag 88.
|
||||
func (m AllocationAck) GetAllocRejCode() (v enum.AllocRejCode, err quickfix.MessageRejectError) {
|
||||
var f field.AllocRejCodeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetEncodedTextLen gets EncodedTextLen, Tag 354.
|
||||
func (m AllocationAck) 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 AllocationAck) GetEncodedText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.EncodedTextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetNoPartyIDs gets NoPartyIDs, Tag 453.
|
||||
func (m AllocationAck) GetNoPartyIDs() (NoPartyIDsRepeatingGroup, quickfix.MessageRejectError) {
|
||||
f := NewNoPartyIDsRepeatingGroup()
|
||||
err := m.GetGroup(f)
|
||||
return f, err
|
||||
}
|
||||
|
||||
// GetLegalConfirm gets LegalConfirm, Tag 650.
|
||||
func (m AllocationAck) GetLegalConfirm() (v bool, err quickfix.MessageRejectError) {
|
||||
var f field.LegalConfirmField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasText returns true if Text is present, Tag 58.
|
||||
func (m AllocationAck) HasText() bool {
|
||||
return m.Has(tag.Text)
|
||||
}
|
||||
|
||||
// HasTransactTime returns true if TransactTime is present, Tag 60.
|
||||
func (m AllocationAck) HasTransactTime() bool {
|
||||
return m.Has(tag.TransactTime)
|
||||
}
|
||||
|
||||
// HasAllocID returns true if AllocID is present, Tag 70.
|
||||
func (m AllocationAck) HasAllocID() bool {
|
||||
return m.Has(tag.AllocID)
|
||||
}
|
||||
|
||||
// HasTradeDate returns true if TradeDate is present, Tag 75.
|
||||
func (m AllocationAck) HasTradeDate() bool {
|
||||
return m.Has(tag.TradeDate)
|
||||
}
|
||||
|
||||
// HasAllocStatus returns true if AllocStatus is present, Tag 87.
|
||||
func (m AllocationAck) HasAllocStatus() bool {
|
||||
return m.Has(tag.AllocStatus)
|
||||
}
|
||||
|
||||
// HasAllocRejCode returns true if AllocRejCode is present, Tag 88.
|
||||
func (m AllocationAck) HasAllocRejCode() bool {
|
||||
return m.Has(tag.AllocRejCode)
|
||||
}
|
||||
|
||||
// HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.
|
||||
func (m AllocationAck) HasEncodedTextLen() bool {
|
||||
return m.Has(tag.EncodedTextLen)
|
||||
}
|
||||
|
||||
// HasEncodedText returns true if EncodedText is present, Tag 355.
|
||||
func (m AllocationAck) HasEncodedText() bool {
|
||||
return m.Has(tag.EncodedText)
|
||||
}
|
||||
|
||||
// HasNoPartyIDs returns true if NoPartyIDs is present, Tag 453.
|
||||
func (m AllocationAck) HasNoPartyIDs() bool {
|
||||
return m.Has(tag.NoPartyIDs)
|
||||
}
|
||||
|
||||
// HasLegalConfirm returns true if LegalConfirm is present, Tag 650.
|
||||
func (m AllocationAck) HasLegalConfirm() bool {
|
||||
return m.Has(tag.LegalConfirm)
|
||||
}
|
||||
|
||||
// NoPartyIDs is a repeating group element, Tag 453.
|
||||
type NoPartyIDs struct {
|
||||
*quickfix.Group
|
||||
}
|
||||
|
||||
// SetPartyID sets PartyID, Tag 448.
|
||||
func (m NoPartyIDs) SetPartyID(v string) {
|
||||
m.Set(field.NewPartyID(v))
|
||||
}
|
||||
|
||||
// SetPartyIDSource sets PartyIDSource, Tag 447.
|
||||
func (m NoPartyIDs) SetPartyIDSource(v enum.PartyIDSource) {
|
||||
m.Set(field.NewPartyIDSource(v))
|
||||
}
|
||||
|
||||
// SetPartyRole sets PartyRole, Tag 452.
|
||||
func (m NoPartyIDs) SetPartyRole(v enum.PartyRole) {
|
||||
m.Set(field.NewPartyRole(v))
|
||||
}
|
||||
|
||||
// SetPartySubID sets PartySubID, Tag 523.
|
||||
func (m NoPartyIDs) SetPartySubID(v string) {
|
||||
m.Set(field.NewPartySubID(v))
|
||||
}
|
||||
|
||||
// GetPartyID gets PartyID, Tag 448.
|
||||
func (m NoPartyIDs) GetPartyID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.PartyIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetPartyIDSource gets PartyIDSource, Tag 447.
|
||||
func (m NoPartyIDs) GetPartyIDSource() (v enum.PartyIDSource, err quickfix.MessageRejectError) {
|
||||
var f field.PartyIDSourceField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetPartyRole gets PartyRole, Tag 452.
|
||||
func (m NoPartyIDs) GetPartyRole() (v enum.PartyRole, err quickfix.MessageRejectError) {
|
||||
var f field.PartyRoleField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetPartySubID gets PartySubID, Tag 523.
|
||||
func (m NoPartyIDs) GetPartySubID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.PartySubIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasPartyID returns true if PartyID is present, Tag 448.
|
||||
func (m NoPartyIDs) HasPartyID() bool {
|
||||
return m.Has(tag.PartyID)
|
||||
}
|
||||
|
||||
// HasPartyIDSource returns true if PartyIDSource is present, Tag 447.
|
||||
func (m NoPartyIDs) HasPartyIDSource() bool {
|
||||
return m.Has(tag.PartyIDSource)
|
||||
}
|
||||
|
||||
// HasPartyRole returns true if PartyRole is present, Tag 452.
|
||||
func (m NoPartyIDs) HasPartyRole() bool {
|
||||
return m.Has(tag.PartyRole)
|
||||
}
|
||||
|
||||
// HasPartySubID returns true if PartySubID is present, Tag 523.
|
||||
func (m NoPartyIDs) HasPartySubID() bool {
|
||||
return m.Has(tag.PartySubID)
|
||||
}
|
||||
|
||||
// NoPartyIDsRepeatingGroup is a repeating group, Tag 453.
|
||||
type NoPartyIDsRepeatingGroup struct {
|
||||
*quickfix.RepeatingGroup
|
||||
}
|
||||
|
||||
// NewNoPartyIDsRepeatingGroup returns an initialized, NoPartyIDsRepeatingGroup.
|
||||
func NewNoPartyIDsRepeatingGroup() NoPartyIDsRepeatingGroup {
|
||||
return NoPartyIDsRepeatingGroup{
|
||||
quickfix.NewRepeatingGroup(
|
||||
tag.NoPartyIDs,
|
||||
quickfix.GroupTemplate{
|
||||
quickfix.GroupElement(tag.PartyID),
|
||||
quickfix.GroupElement(tag.PartyIDSource),
|
||||
quickfix.GroupElement(tag.PartyRole),
|
||||
quickfix.GroupElement(tag.PartySubID),
|
||||
},
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
// Add create and append a new NoPartyIDs to this group.
|
||||
func (m NoPartyIDsRepeatingGroup) Add() NoPartyIDs {
|
||||
g := m.RepeatingGroup.Add()
|
||||
return NoPartyIDs{g}
|
||||
}
|
||||
|
||||
// Get returns the ith NoPartyIDs in the NoPartyIDsRepeatinGroup.
|
||||
func (m NoPartyIDsRepeatingGroup) Get(i int) NoPartyIDs {
|
||||
return NoPartyIDs{m.RepeatingGroup.Get(i)}
|
||||
}
|
||||
1057
quickfix/gen/fix43/bidrequest/BidRequest.generated.go
Normal file
1057
quickfix/gen/fix43/bidrequest/BidRequest.generated.go
Normal file
File diff suppressed because it is too large
Load Diff
505
quickfix/gen/fix43/bidresponse/BidResponse.generated.go
Normal file
505
quickfix/gen/fix43/bidresponse/BidResponse.generated.go
Normal file
@ -0,0 +1,505 @@
|
||||
// Code generated by quickfix. DO NOT EDIT.
|
||||
package bidresponse
|
||||
|
||||
import (
|
||||
"github.com/shopspring/decimal"
|
||||
|
||||
"github.com/quickfixgo/quickfix"
|
||||
"github.com/quickfixgo/quickfix/gen/enum"
|
||||
"github.com/quickfixgo/quickfix/gen/field"
|
||||
"github.com/quickfixgo/quickfix/gen/fix43"
|
||||
"github.com/quickfixgo/quickfix/gen/tag"
|
||||
)
|
||||
|
||||
// BidResponse is the fix43 BidResponse type, MsgType = l.
|
||||
type BidResponse struct {
|
||||
fix43.Header
|
||||
*quickfix.Body
|
||||
fix43.Trailer
|
||||
Message *quickfix.Message
|
||||
}
|
||||
|
||||
// FromMessage creates a BidResponse from a quickfix.Message instance.
|
||||
func FromMessage(m *quickfix.Message) BidResponse {
|
||||
return BidResponse{
|
||||
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 BidResponse) ToMessage() *quickfix.Message {
|
||||
return m.Message
|
||||
}
|
||||
|
||||
// New returns a BidResponse initialized with the required fields for BidResponse.
|
||||
func New() (m BidResponse) {
|
||||
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("l"))
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// A RouteOut is the callback type that should be implemented for routing Message.
|
||||
type RouteOut func(msg BidResponse, 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", "l", r
|
||||
}
|
||||
|
||||
// SetBidID sets BidID, Tag 390.
|
||||
func (m BidResponse) SetBidID(v string) {
|
||||
m.Set(field.NewBidID(v))
|
||||
}
|
||||
|
||||
// SetClientBidID sets ClientBidID, Tag 391.
|
||||
func (m BidResponse) SetClientBidID(v string) {
|
||||
m.Set(field.NewClientBidID(v))
|
||||
}
|
||||
|
||||
// SetNoBidComponents sets NoBidComponents, Tag 420.
|
||||
func (m BidResponse) SetNoBidComponents(f NoBidComponentsRepeatingGroup) {
|
||||
m.SetGroup(f)
|
||||
}
|
||||
|
||||
// GetBidID gets BidID, Tag 390.
|
||||
func (m BidResponse) GetBidID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.BidIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetClientBidID gets ClientBidID, Tag 391.
|
||||
func (m BidResponse) GetClientBidID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.ClientBidIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetNoBidComponents gets NoBidComponents, Tag 420.
|
||||
func (m BidResponse) GetNoBidComponents() (NoBidComponentsRepeatingGroup, quickfix.MessageRejectError) {
|
||||
f := NewNoBidComponentsRepeatingGroup()
|
||||
err := m.GetGroup(f)
|
||||
return f, err
|
||||
}
|
||||
|
||||
// HasBidID returns true if BidID is present, Tag 390.
|
||||
func (m BidResponse) HasBidID() bool {
|
||||
return m.Has(tag.BidID)
|
||||
}
|
||||
|
||||
// HasClientBidID returns true if ClientBidID is present, Tag 391.
|
||||
func (m BidResponse) HasClientBidID() bool {
|
||||
return m.Has(tag.ClientBidID)
|
||||
}
|
||||
|
||||
// HasNoBidComponents returns true if NoBidComponents is present, Tag 420.
|
||||
func (m BidResponse) HasNoBidComponents() bool {
|
||||
return m.Has(tag.NoBidComponents)
|
||||
}
|
||||
|
||||
// NoBidComponents is a repeating group element, Tag 420.
|
||||
type NoBidComponents struct {
|
||||
*quickfix.Group
|
||||
}
|
||||
|
||||
// SetCommission sets Commission, Tag 12.
|
||||
func (m NoBidComponents) SetCommission(value decimal.Decimal, scale int32) {
|
||||
m.Set(field.NewCommission(value, scale))
|
||||
}
|
||||
|
||||
// SetCommType sets CommType, Tag 13.
|
||||
func (m NoBidComponents) SetCommType(v enum.CommType) {
|
||||
m.Set(field.NewCommType(v))
|
||||
}
|
||||
|
||||
// SetCommCurrency sets CommCurrency, Tag 479.
|
||||
func (m NoBidComponents) SetCommCurrency(v string) {
|
||||
m.Set(field.NewCommCurrency(v))
|
||||
}
|
||||
|
||||
// SetFundRenewWaiv sets FundRenewWaiv, Tag 497.
|
||||
func (m NoBidComponents) SetFundRenewWaiv(v enum.FundRenewWaiv) {
|
||||
m.Set(field.NewFundRenewWaiv(v))
|
||||
}
|
||||
|
||||
// SetListID sets ListID, Tag 66.
|
||||
func (m NoBidComponents) SetListID(v string) {
|
||||
m.Set(field.NewListID(v))
|
||||
}
|
||||
|
||||
// SetCountry sets Country, Tag 421.
|
||||
func (m NoBidComponents) SetCountry(v string) {
|
||||
m.Set(field.NewCountry(v))
|
||||
}
|
||||
|
||||
// SetSide sets Side, Tag 54.
|
||||
func (m NoBidComponents) SetSide(v enum.Side) {
|
||||
m.Set(field.NewSide(v))
|
||||
}
|
||||
|
||||
// SetPrice sets Price, Tag 44.
|
||||
func (m NoBidComponents) SetPrice(value decimal.Decimal, scale int32) {
|
||||
m.Set(field.NewPrice(value, scale))
|
||||
}
|
||||
|
||||
// SetPriceType sets PriceType, Tag 423.
|
||||
func (m NoBidComponents) SetPriceType(v enum.PriceType) {
|
||||
m.Set(field.NewPriceType(v))
|
||||
}
|
||||
|
||||
// SetFairValue sets FairValue, Tag 406.
|
||||
func (m NoBidComponents) SetFairValue(value decimal.Decimal, scale int32) {
|
||||
m.Set(field.NewFairValue(value, scale))
|
||||
}
|
||||
|
||||
// SetNetGrossInd sets NetGrossInd, Tag 430.
|
||||
func (m NoBidComponents) SetNetGrossInd(v enum.NetGrossInd) {
|
||||
m.Set(field.NewNetGrossInd(v))
|
||||
}
|
||||
|
||||
// SetSettlmntTyp sets SettlmntTyp, Tag 63.
|
||||
func (m NoBidComponents) SetSettlmntTyp(v enum.SettlmntTyp) {
|
||||
m.Set(field.NewSettlmntTyp(v))
|
||||
}
|
||||
|
||||
// SetFutSettDate sets FutSettDate, Tag 64.
|
||||
func (m NoBidComponents) SetFutSettDate(v string) {
|
||||
m.Set(field.NewFutSettDate(v))
|
||||
}
|
||||
|
||||
// SetTradingSessionID sets TradingSessionID, Tag 336.
|
||||
func (m NoBidComponents) SetTradingSessionID(v enum.TradingSessionID) {
|
||||
m.Set(field.NewTradingSessionID(v))
|
||||
}
|
||||
|
||||
// SetTradingSessionSubID sets TradingSessionSubID, Tag 625.
|
||||
func (m NoBidComponents) SetTradingSessionSubID(v enum.TradingSessionSubID) {
|
||||
m.Set(field.NewTradingSessionSubID(v))
|
||||
}
|
||||
|
||||
// SetText sets Text, Tag 58.
|
||||
func (m NoBidComponents) SetText(v string) {
|
||||
m.Set(field.NewText(v))
|
||||
}
|
||||
|
||||
// SetEncodedTextLen sets EncodedTextLen, Tag 354.
|
||||
func (m NoBidComponents) SetEncodedTextLen(v int) {
|
||||
m.Set(field.NewEncodedTextLen(v))
|
||||
}
|
||||
|
||||
// SetEncodedText sets EncodedText, Tag 355.
|
||||
func (m NoBidComponents) SetEncodedText(v string) {
|
||||
m.Set(field.NewEncodedText(v))
|
||||
}
|
||||
|
||||
// GetCommission gets Commission, Tag 12.
|
||||
func (m NoBidComponents) GetCommission() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
||||
var f field.CommissionField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetCommType gets CommType, Tag 13.
|
||||
func (m NoBidComponents) GetCommType() (v enum.CommType, err quickfix.MessageRejectError) {
|
||||
var f field.CommTypeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetCommCurrency gets CommCurrency, Tag 479.
|
||||
func (m NoBidComponents) GetCommCurrency() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.CommCurrencyField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetFundRenewWaiv gets FundRenewWaiv, Tag 497.
|
||||
func (m NoBidComponents) GetFundRenewWaiv() (v enum.FundRenewWaiv, err quickfix.MessageRejectError) {
|
||||
var f field.FundRenewWaivField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetListID gets ListID, Tag 66.
|
||||
func (m NoBidComponents) GetListID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.ListIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetCountry gets Country, Tag 421.
|
||||
func (m NoBidComponents) GetCountry() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.CountryField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetSide gets Side, Tag 54.
|
||||
func (m NoBidComponents) 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 NoBidComponents) GetPrice() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
||||
var f field.PriceField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetPriceType gets PriceType, Tag 423.
|
||||
func (m NoBidComponents) GetPriceType() (v enum.PriceType, err quickfix.MessageRejectError) {
|
||||
var f field.PriceTypeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetFairValue gets FairValue, Tag 406.
|
||||
func (m NoBidComponents) GetFairValue() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
||||
var f field.FairValueField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetNetGrossInd gets NetGrossInd, Tag 430.
|
||||
func (m NoBidComponents) GetNetGrossInd() (v enum.NetGrossInd, err quickfix.MessageRejectError) {
|
||||
var f field.NetGrossIndField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetSettlmntTyp gets SettlmntTyp, Tag 63.
|
||||
func (m NoBidComponents) GetSettlmntTyp() (v enum.SettlmntTyp, err quickfix.MessageRejectError) {
|
||||
var f field.SettlmntTypField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetFutSettDate gets FutSettDate, Tag 64.
|
||||
func (m NoBidComponents) GetFutSettDate() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.FutSettDateField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTradingSessionID gets TradingSessionID, Tag 336.
|
||||
func (m NoBidComponents) GetTradingSessionID() (v enum.TradingSessionID, err quickfix.MessageRejectError) {
|
||||
var f field.TradingSessionIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTradingSessionSubID gets TradingSessionSubID, Tag 625.
|
||||
func (m NoBidComponents) GetTradingSessionSubID() (v enum.TradingSessionSubID, err quickfix.MessageRejectError) {
|
||||
var f field.TradingSessionSubIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetText gets Text, Tag 58.
|
||||
func (m NoBidComponents) 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 NoBidComponents) 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 NoBidComponents) GetEncodedText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.EncodedTextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasCommission returns true if Commission is present, Tag 12.
|
||||
func (m NoBidComponents) HasCommission() bool {
|
||||
return m.Has(tag.Commission)
|
||||
}
|
||||
|
||||
// HasCommType returns true if CommType is present, Tag 13.
|
||||
func (m NoBidComponents) HasCommType() bool {
|
||||
return m.Has(tag.CommType)
|
||||
}
|
||||
|
||||
// HasCommCurrency returns true if CommCurrency is present, Tag 479.
|
||||
func (m NoBidComponents) HasCommCurrency() bool {
|
||||
return m.Has(tag.CommCurrency)
|
||||
}
|
||||
|
||||
// HasFundRenewWaiv returns true if FundRenewWaiv is present, Tag 497.
|
||||
func (m NoBidComponents) HasFundRenewWaiv() bool {
|
||||
return m.Has(tag.FundRenewWaiv)
|
||||
}
|
||||
|
||||
// HasListID returns true if ListID is present, Tag 66.
|
||||
func (m NoBidComponents) HasListID() bool {
|
||||
return m.Has(tag.ListID)
|
||||
}
|
||||
|
||||
// HasCountry returns true if Country is present, Tag 421.
|
||||
func (m NoBidComponents) HasCountry() bool {
|
||||
return m.Has(tag.Country)
|
||||
}
|
||||
|
||||
// HasSide returns true if Side is present, Tag 54.
|
||||
func (m NoBidComponents) HasSide() bool {
|
||||
return m.Has(tag.Side)
|
||||
}
|
||||
|
||||
// HasPrice returns true if Price is present, Tag 44.
|
||||
func (m NoBidComponents) HasPrice() bool {
|
||||
return m.Has(tag.Price)
|
||||
}
|
||||
|
||||
// HasPriceType returns true if PriceType is present, Tag 423.
|
||||
func (m NoBidComponents) HasPriceType() bool {
|
||||
return m.Has(tag.PriceType)
|
||||
}
|
||||
|
||||
// HasFairValue returns true if FairValue is present, Tag 406.
|
||||
func (m NoBidComponents) HasFairValue() bool {
|
||||
return m.Has(tag.FairValue)
|
||||
}
|
||||
|
||||
// HasNetGrossInd returns true if NetGrossInd is present, Tag 430.
|
||||
func (m NoBidComponents) HasNetGrossInd() bool {
|
||||
return m.Has(tag.NetGrossInd)
|
||||
}
|
||||
|
||||
// HasSettlmntTyp returns true if SettlmntTyp is present, Tag 63.
|
||||
func (m NoBidComponents) HasSettlmntTyp() bool {
|
||||
return m.Has(tag.SettlmntTyp)
|
||||
}
|
||||
|
||||
// HasFutSettDate returns true if FutSettDate is present, Tag 64.
|
||||
func (m NoBidComponents) HasFutSettDate() bool {
|
||||
return m.Has(tag.FutSettDate)
|
||||
}
|
||||
|
||||
// HasTradingSessionID returns true if TradingSessionID is present, Tag 336.
|
||||
func (m NoBidComponents) HasTradingSessionID() bool {
|
||||
return m.Has(tag.TradingSessionID)
|
||||
}
|
||||
|
||||
// HasTradingSessionSubID returns true if TradingSessionSubID is present, Tag 625.
|
||||
func (m NoBidComponents) HasTradingSessionSubID() bool {
|
||||
return m.Has(tag.TradingSessionSubID)
|
||||
}
|
||||
|
||||
// HasText returns true if Text is present, Tag 58.
|
||||
func (m NoBidComponents) HasText() bool {
|
||||
return m.Has(tag.Text)
|
||||
}
|
||||
|
||||
// HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.
|
||||
func (m NoBidComponents) HasEncodedTextLen() bool {
|
||||
return m.Has(tag.EncodedTextLen)
|
||||
}
|
||||
|
||||
// HasEncodedText returns true if EncodedText is present, Tag 355.
|
||||
func (m NoBidComponents) HasEncodedText() bool {
|
||||
return m.Has(tag.EncodedText)
|
||||
}
|
||||
|
||||
// NoBidComponentsRepeatingGroup is a repeating group, Tag 420.
|
||||
type NoBidComponentsRepeatingGroup struct {
|
||||
*quickfix.RepeatingGroup
|
||||
}
|
||||
|
||||
// NewNoBidComponentsRepeatingGroup returns an initialized, NoBidComponentsRepeatingGroup.
|
||||
func NewNoBidComponentsRepeatingGroup() NoBidComponentsRepeatingGroup {
|
||||
return NoBidComponentsRepeatingGroup{
|
||||
quickfix.NewRepeatingGroup(
|
||||
tag.NoBidComponents,
|
||||
quickfix.GroupTemplate{
|
||||
quickfix.GroupElement(tag.Commission),
|
||||
quickfix.GroupElement(tag.CommType),
|
||||
quickfix.GroupElement(tag.CommCurrency),
|
||||
quickfix.GroupElement(tag.FundRenewWaiv),
|
||||
quickfix.GroupElement(tag.ListID),
|
||||
quickfix.GroupElement(tag.Country),
|
||||
quickfix.GroupElement(tag.Side),
|
||||
quickfix.GroupElement(tag.Price),
|
||||
quickfix.GroupElement(tag.PriceType),
|
||||
quickfix.GroupElement(tag.FairValue),
|
||||
quickfix.GroupElement(tag.NetGrossInd),
|
||||
quickfix.GroupElement(tag.SettlmntTyp),
|
||||
quickfix.GroupElement(tag.FutSettDate),
|
||||
quickfix.GroupElement(tag.TradingSessionID),
|
||||
quickfix.GroupElement(tag.TradingSessionSubID),
|
||||
quickfix.GroupElement(tag.Text),
|
||||
quickfix.GroupElement(tag.EncodedTextLen),
|
||||
quickfix.GroupElement(tag.EncodedText),
|
||||
},
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
// Add create and append a new NoBidComponents to this group.
|
||||
func (m NoBidComponentsRepeatingGroup) Add() NoBidComponents {
|
||||
g := m.RepeatingGroup.Add()
|
||||
return NoBidComponents{g}
|
||||
}
|
||||
|
||||
// Get returns the ith NoBidComponents in the NoBidComponentsRepeatinGroup.
|
||||
func (m NoBidComponentsRepeatingGroup) Get(i int) NoBidComponents {
|
||||
return NoBidComponents{m.RepeatingGroup.Get(i)}
|
||||
}
|
||||
@ -0,0 +1,191 @@
|
||||
// Code generated by quickfix. DO NOT EDIT.
|
||||
package businessmessagereject
|
||||
|
||||
import (
|
||||
"github.com/quickfixgo/quickfix"
|
||||
"github.com/quickfixgo/quickfix/gen/enum"
|
||||
"github.com/quickfixgo/quickfix/gen/field"
|
||||
"github.com/quickfixgo/quickfix/gen/fix43"
|
||||
"github.com/quickfixgo/quickfix/gen/tag"
|
||||
)
|
||||
|
||||
// BusinessMessageReject is the fix43 BusinessMessageReject type, MsgType = j.
|
||||
type BusinessMessageReject struct {
|
||||
fix43.Header
|
||||
*quickfix.Body
|
||||
fix43.Trailer
|
||||
Message *quickfix.Message
|
||||
}
|
||||
|
||||
// FromMessage creates a BusinessMessageReject from a quickfix.Message instance.
|
||||
func FromMessage(m *quickfix.Message) BusinessMessageReject {
|
||||
return BusinessMessageReject{
|
||||
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 BusinessMessageReject) ToMessage() *quickfix.Message {
|
||||
return m.Message
|
||||
}
|
||||
|
||||
// New returns a BusinessMessageReject initialized with the required fields for BusinessMessageReject.
|
||||
func New(refmsgtype field.RefMsgTypeField, businessrejectreason field.BusinessRejectReasonField) (m BusinessMessageReject) {
|
||||
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("j"))
|
||||
m.Set(refmsgtype)
|
||||
m.Set(businessrejectreason)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// A RouteOut is the callback type that should be implemented for routing Message.
|
||||
type RouteOut func(msg BusinessMessageReject, 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", "j", r
|
||||
}
|
||||
|
||||
// SetRefSeqNum sets RefSeqNum, Tag 45.
|
||||
func (m BusinessMessageReject) SetRefSeqNum(v int) {
|
||||
m.Set(field.NewRefSeqNum(v))
|
||||
}
|
||||
|
||||
// SetText sets Text, Tag 58.
|
||||
func (m BusinessMessageReject) SetText(v string) {
|
||||
m.Set(field.NewText(v))
|
||||
}
|
||||
|
||||
// SetEncodedTextLen sets EncodedTextLen, Tag 354.
|
||||
func (m BusinessMessageReject) SetEncodedTextLen(v int) {
|
||||
m.Set(field.NewEncodedTextLen(v))
|
||||
}
|
||||
|
||||
// SetEncodedText sets EncodedText, Tag 355.
|
||||
func (m BusinessMessageReject) SetEncodedText(v string) {
|
||||
m.Set(field.NewEncodedText(v))
|
||||
}
|
||||
|
||||
// SetRefMsgType sets RefMsgType, Tag 372.
|
||||
func (m BusinessMessageReject) SetRefMsgType(v string) {
|
||||
m.Set(field.NewRefMsgType(v))
|
||||
}
|
||||
|
||||
// SetBusinessRejectRefID sets BusinessRejectRefID, Tag 379.
|
||||
func (m BusinessMessageReject) SetBusinessRejectRefID(v string) {
|
||||
m.Set(field.NewBusinessRejectRefID(v))
|
||||
}
|
||||
|
||||
// SetBusinessRejectReason sets BusinessRejectReason, Tag 380.
|
||||
func (m BusinessMessageReject) SetBusinessRejectReason(v enum.BusinessRejectReason) {
|
||||
m.Set(field.NewBusinessRejectReason(v))
|
||||
}
|
||||
|
||||
// GetRefSeqNum gets RefSeqNum, Tag 45.
|
||||
func (m BusinessMessageReject) GetRefSeqNum() (v int, err quickfix.MessageRejectError) {
|
||||
var f field.RefSeqNumField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetText gets Text, Tag 58.
|
||||
func (m BusinessMessageReject) 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 BusinessMessageReject) 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 BusinessMessageReject) GetEncodedText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.EncodedTextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetRefMsgType gets RefMsgType, Tag 372.
|
||||
func (m BusinessMessageReject) GetRefMsgType() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.RefMsgTypeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetBusinessRejectRefID gets BusinessRejectRefID, Tag 379.
|
||||
func (m BusinessMessageReject) GetBusinessRejectRefID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.BusinessRejectRefIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetBusinessRejectReason gets BusinessRejectReason, Tag 380.
|
||||
func (m BusinessMessageReject) GetBusinessRejectReason() (v enum.BusinessRejectReason, err quickfix.MessageRejectError) {
|
||||
var f field.BusinessRejectReasonField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasRefSeqNum returns true if RefSeqNum is present, Tag 45.
|
||||
func (m BusinessMessageReject) HasRefSeqNum() bool {
|
||||
return m.Has(tag.RefSeqNum)
|
||||
}
|
||||
|
||||
// HasText returns true if Text is present, Tag 58.
|
||||
func (m BusinessMessageReject) HasText() bool {
|
||||
return m.Has(tag.Text)
|
||||
}
|
||||
|
||||
// HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.
|
||||
func (m BusinessMessageReject) HasEncodedTextLen() bool {
|
||||
return m.Has(tag.EncodedTextLen)
|
||||
}
|
||||
|
||||
// HasEncodedText returns true if EncodedText is present, Tag 355.
|
||||
func (m BusinessMessageReject) HasEncodedText() bool {
|
||||
return m.Has(tag.EncodedText)
|
||||
}
|
||||
|
||||
// HasRefMsgType returns true if RefMsgType is present, Tag 372.
|
||||
func (m BusinessMessageReject) HasRefMsgType() bool {
|
||||
return m.Has(tag.RefMsgType)
|
||||
}
|
||||
|
||||
// HasBusinessRejectRefID returns true if BusinessRejectRefID is present, Tag 379.
|
||||
func (m BusinessMessageReject) HasBusinessRejectRefID() bool {
|
||||
return m.Has(tag.BusinessRejectRefID)
|
||||
}
|
||||
|
||||
// HasBusinessRejectReason returns true if BusinessRejectReason is present, Tag 380.
|
||||
func (m BusinessMessageReject) HasBusinessRejectReason() bool {
|
||||
return m.Has(tag.BusinessRejectReason)
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,928 @@
|
||||
// Code generated by quickfix. DO NOT EDIT.
|
||||
package derivativesecuritylistrequest
|
||||
|
||||
import (
|
||||
"github.com/shopspring/decimal"
|
||||
|
||||
"github.com/quickfixgo/quickfix"
|
||||
"github.com/quickfixgo/quickfix/gen/enum"
|
||||
"github.com/quickfixgo/quickfix/gen/field"
|
||||
"github.com/quickfixgo/quickfix/gen/fix43"
|
||||
"github.com/quickfixgo/quickfix/gen/tag"
|
||||
)
|
||||
|
||||
// DerivativeSecurityListRequest is the fix43 DerivativeSecurityListRequest type, MsgType = z.
|
||||
type DerivativeSecurityListRequest struct {
|
||||
fix43.Header
|
||||
*quickfix.Body
|
||||
fix43.Trailer
|
||||
Message *quickfix.Message
|
||||
}
|
||||
|
||||
// FromMessage creates a DerivativeSecurityListRequest from a quickfix.Message instance.
|
||||
func FromMessage(m *quickfix.Message) DerivativeSecurityListRequest {
|
||||
return DerivativeSecurityListRequest{
|
||||
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 DerivativeSecurityListRequest) ToMessage() *quickfix.Message {
|
||||
return m.Message
|
||||
}
|
||||
|
||||
// New returns a DerivativeSecurityListRequest initialized with the required fields for DerivativeSecurityListRequest.
|
||||
func New(securityreqid field.SecurityReqIDField, securitylistrequesttype field.SecurityListRequestTypeField) (m DerivativeSecurityListRequest) {
|
||||
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("z"))
|
||||
m.Set(securityreqid)
|
||||
m.Set(securitylistrequesttype)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// A RouteOut is the callback type that should be implemented for routing Message.
|
||||
type RouteOut func(msg DerivativeSecurityListRequest, 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", "z", r
|
||||
}
|
||||
|
||||
// SetCurrency sets Currency, Tag 15.
|
||||
func (m DerivativeSecurityListRequest) SetCurrency(v string) {
|
||||
m.Set(field.NewCurrency(v))
|
||||
}
|
||||
|
||||
// SetText sets Text, Tag 58.
|
||||
func (m DerivativeSecurityListRequest) SetText(v string) {
|
||||
m.Set(field.NewText(v))
|
||||
}
|
||||
|
||||
// SetUnderlyingCouponPaymentDate sets UnderlyingCouponPaymentDate, Tag 241.
|
||||
func (m DerivativeSecurityListRequest) SetUnderlyingCouponPaymentDate(v string) {
|
||||
m.Set(field.NewUnderlyingCouponPaymentDate(v))
|
||||
}
|
||||
|
||||
// SetUnderlyingIssueDate sets UnderlyingIssueDate, Tag 242.
|
||||
func (m DerivativeSecurityListRequest) SetUnderlyingIssueDate(v string) {
|
||||
m.Set(field.NewUnderlyingIssueDate(v))
|
||||
}
|
||||
|
||||
// SetUnderlyingRepoCollateralSecurityType sets UnderlyingRepoCollateralSecurityType, Tag 243.
|
||||
func (m DerivativeSecurityListRequest) SetUnderlyingRepoCollateralSecurityType(v int) {
|
||||
m.Set(field.NewUnderlyingRepoCollateralSecurityType(v))
|
||||
}
|
||||
|
||||
// SetUnderlyingRepurchaseTerm sets UnderlyingRepurchaseTerm, Tag 244.
|
||||
func (m DerivativeSecurityListRequest) SetUnderlyingRepurchaseTerm(v int) {
|
||||
m.Set(field.NewUnderlyingRepurchaseTerm(v))
|
||||
}
|
||||
|
||||
// SetUnderlyingRepurchaseRate sets UnderlyingRepurchaseRate, Tag 245.
|
||||
func (m DerivativeSecurityListRequest) SetUnderlyingRepurchaseRate(value decimal.Decimal, scale int32) {
|
||||
m.Set(field.NewUnderlyingRepurchaseRate(value, scale))
|
||||
}
|
||||
|
||||
// SetUnderlyingFactor sets UnderlyingFactor, Tag 246.
|
||||
func (m DerivativeSecurityListRequest) SetUnderlyingFactor(value decimal.Decimal, scale int32) {
|
||||
m.Set(field.NewUnderlyingFactor(value, scale))
|
||||
}
|
||||
|
||||
// SetUnderlyingRedemptionDate sets UnderlyingRedemptionDate, Tag 247.
|
||||
func (m DerivativeSecurityListRequest) SetUnderlyingRedemptionDate(v string) {
|
||||
m.Set(field.NewUnderlyingRedemptionDate(v))
|
||||
}
|
||||
|
||||
// SetUnderlyingCreditRating sets UnderlyingCreditRating, Tag 256.
|
||||
func (m DerivativeSecurityListRequest) SetUnderlyingCreditRating(v string) {
|
||||
m.Set(field.NewUnderlyingCreditRating(v))
|
||||
}
|
||||
|
||||
// SetSubscriptionRequestType sets SubscriptionRequestType, Tag 263.
|
||||
func (m DerivativeSecurityListRequest) SetSubscriptionRequestType(v enum.SubscriptionRequestType) {
|
||||
m.Set(field.NewSubscriptionRequestType(v))
|
||||
}
|
||||
|
||||
// SetUnderlyingSecurityIDSource sets UnderlyingSecurityIDSource, Tag 305.
|
||||
func (m DerivativeSecurityListRequest) SetUnderlyingSecurityIDSource(v string) {
|
||||
m.Set(field.NewUnderlyingSecurityIDSource(v))
|
||||
}
|
||||
|
||||
// SetUnderlyingIssuer sets UnderlyingIssuer, Tag 306.
|
||||
func (m DerivativeSecurityListRequest) SetUnderlyingIssuer(v string) {
|
||||
m.Set(field.NewUnderlyingIssuer(v))
|
||||
}
|
||||
|
||||
// SetUnderlyingSecurityDesc sets UnderlyingSecurityDesc, Tag 307.
|
||||
func (m DerivativeSecurityListRequest) SetUnderlyingSecurityDesc(v string) {
|
||||
m.Set(field.NewUnderlyingSecurityDesc(v))
|
||||
}
|
||||
|
||||
// SetUnderlyingSecurityExchange sets UnderlyingSecurityExchange, Tag 308.
|
||||
func (m DerivativeSecurityListRequest) SetUnderlyingSecurityExchange(v string) {
|
||||
m.Set(field.NewUnderlyingSecurityExchange(v))
|
||||
}
|
||||
|
||||
// SetUnderlyingSecurityID sets UnderlyingSecurityID, Tag 309.
|
||||
func (m DerivativeSecurityListRequest) SetUnderlyingSecurityID(v string) {
|
||||
m.Set(field.NewUnderlyingSecurityID(v))
|
||||
}
|
||||
|
||||
// SetUnderlyingSecurityType sets UnderlyingSecurityType, Tag 310.
|
||||
func (m DerivativeSecurityListRequest) SetUnderlyingSecurityType(v string) {
|
||||
m.Set(field.NewUnderlyingSecurityType(v))
|
||||
}
|
||||
|
||||
// SetUnderlyingSymbol sets UnderlyingSymbol, Tag 311.
|
||||
func (m DerivativeSecurityListRequest) SetUnderlyingSymbol(v string) {
|
||||
m.Set(field.NewUnderlyingSymbol(v))
|
||||
}
|
||||
|
||||
// SetUnderlyingSymbolSfx sets UnderlyingSymbolSfx, Tag 312.
|
||||
func (m DerivativeSecurityListRequest) SetUnderlyingSymbolSfx(v string) {
|
||||
m.Set(field.NewUnderlyingSymbolSfx(v))
|
||||
}
|
||||
|
||||
// SetUnderlyingMaturityMonthYear sets UnderlyingMaturityMonthYear, Tag 313.
|
||||
func (m DerivativeSecurityListRequest) SetUnderlyingMaturityMonthYear(v string) {
|
||||
m.Set(field.NewUnderlyingMaturityMonthYear(v))
|
||||
}
|
||||
|
||||
// SetUnderlyingStrikePrice sets UnderlyingStrikePrice, Tag 316.
|
||||
func (m DerivativeSecurityListRequest) SetUnderlyingStrikePrice(value decimal.Decimal, scale int32) {
|
||||
m.Set(field.NewUnderlyingStrikePrice(value, scale))
|
||||
}
|
||||
|
||||
// SetUnderlyingOptAttribute sets UnderlyingOptAttribute, Tag 317.
|
||||
func (m DerivativeSecurityListRequest) SetUnderlyingOptAttribute(v string) {
|
||||
m.Set(field.NewUnderlyingOptAttribute(v))
|
||||
}
|
||||
|
||||
// SetSecurityReqID sets SecurityReqID, Tag 320.
|
||||
func (m DerivativeSecurityListRequest) SetSecurityReqID(v string) {
|
||||
m.Set(field.NewSecurityReqID(v))
|
||||
}
|
||||
|
||||
// SetTradingSessionID sets TradingSessionID, Tag 336.
|
||||
func (m DerivativeSecurityListRequest) SetTradingSessionID(v enum.TradingSessionID) {
|
||||
m.Set(field.NewTradingSessionID(v))
|
||||
}
|
||||
|
||||
// SetEncodedTextLen sets EncodedTextLen, Tag 354.
|
||||
func (m DerivativeSecurityListRequest) SetEncodedTextLen(v int) {
|
||||
m.Set(field.NewEncodedTextLen(v))
|
||||
}
|
||||
|
||||
// SetEncodedText sets EncodedText, Tag 355.
|
||||
func (m DerivativeSecurityListRequest) SetEncodedText(v string) {
|
||||
m.Set(field.NewEncodedText(v))
|
||||
}
|
||||
|
||||
// SetEncodedUnderlyingIssuerLen sets EncodedUnderlyingIssuerLen, Tag 362.
|
||||
func (m DerivativeSecurityListRequest) SetEncodedUnderlyingIssuerLen(v int) {
|
||||
m.Set(field.NewEncodedUnderlyingIssuerLen(v))
|
||||
}
|
||||
|
||||
// SetEncodedUnderlyingIssuer sets EncodedUnderlyingIssuer, Tag 363.
|
||||
func (m DerivativeSecurityListRequest) SetEncodedUnderlyingIssuer(v string) {
|
||||
m.Set(field.NewEncodedUnderlyingIssuer(v))
|
||||
}
|
||||
|
||||
// SetEncodedUnderlyingSecurityDescLen sets EncodedUnderlyingSecurityDescLen, Tag 364.
|
||||
func (m DerivativeSecurityListRequest) SetEncodedUnderlyingSecurityDescLen(v int) {
|
||||
m.Set(field.NewEncodedUnderlyingSecurityDescLen(v))
|
||||
}
|
||||
|
||||
// SetEncodedUnderlyingSecurityDesc sets EncodedUnderlyingSecurityDesc, Tag 365.
|
||||
func (m DerivativeSecurityListRequest) SetEncodedUnderlyingSecurityDesc(v string) {
|
||||
m.Set(field.NewEncodedUnderlyingSecurityDesc(v))
|
||||
}
|
||||
|
||||
// SetUnderlyingCouponRate sets UnderlyingCouponRate, Tag 435.
|
||||
func (m DerivativeSecurityListRequest) SetUnderlyingCouponRate(value decimal.Decimal, scale int32) {
|
||||
m.Set(field.NewUnderlyingCouponRate(value, scale))
|
||||
}
|
||||
|
||||
// SetUnderlyingContractMultiplier sets UnderlyingContractMultiplier, Tag 436.
|
||||
func (m DerivativeSecurityListRequest) SetUnderlyingContractMultiplier(value decimal.Decimal, scale int32) {
|
||||
m.Set(field.NewUnderlyingContractMultiplier(value, scale))
|
||||
}
|
||||
|
||||
// SetNoUnderlyingSecurityAltID sets NoUnderlyingSecurityAltID, Tag 457.
|
||||
func (m DerivativeSecurityListRequest) SetNoUnderlyingSecurityAltID(f NoUnderlyingSecurityAltIDRepeatingGroup) {
|
||||
m.SetGroup(f)
|
||||
}
|
||||
|
||||
// SetUnderlyingProduct sets UnderlyingProduct, Tag 462.
|
||||
func (m DerivativeSecurityListRequest) SetUnderlyingProduct(v int) {
|
||||
m.Set(field.NewUnderlyingProduct(v))
|
||||
}
|
||||
|
||||
// SetUnderlyingCFICode sets UnderlyingCFICode, Tag 463.
|
||||
func (m DerivativeSecurityListRequest) SetUnderlyingCFICode(v string) {
|
||||
m.Set(field.NewUnderlyingCFICode(v))
|
||||
}
|
||||
|
||||
// SetUnderlyingMaturityDate sets UnderlyingMaturityDate, Tag 542.
|
||||
func (m DerivativeSecurityListRequest) SetUnderlyingMaturityDate(v string) {
|
||||
m.Set(field.NewUnderlyingMaturityDate(v))
|
||||
}
|
||||
|
||||
// SetSecurityListRequestType sets SecurityListRequestType, Tag 559.
|
||||
func (m DerivativeSecurityListRequest) SetSecurityListRequestType(v enum.SecurityListRequestType) {
|
||||
m.Set(field.NewSecurityListRequestType(v))
|
||||
}
|
||||
|
||||
// SetUnderlyingCountryOfIssue sets UnderlyingCountryOfIssue, Tag 592.
|
||||
func (m DerivativeSecurityListRequest) SetUnderlyingCountryOfIssue(v string) {
|
||||
m.Set(field.NewUnderlyingCountryOfIssue(v))
|
||||
}
|
||||
|
||||
// SetUnderlyingStateOrProvinceOfIssue sets UnderlyingStateOrProvinceOfIssue, Tag 593.
|
||||
func (m DerivativeSecurityListRequest) SetUnderlyingStateOrProvinceOfIssue(v string) {
|
||||
m.Set(field.NewUnderlyingStateOrProvinceOfIssue(v))
|
||||
}
|
||||
|
||||
// SetUnderlyingLocaleOfIssue sets UnderlyingLocaleOfIssue, Tag 594.
|
||||
func (m DerivativeSecurityListRequest) SetUnderlyingLocaleOfIssue(v string) {
|
||||
m.Set(field.NewUnderlyingLocaleOfIssue(v))
|
||||
}
|
||||
|
||||
// SetUnderlyingInstrRegistry sets UnderlyingInstrRegistry, Tag 595.
|
||||
func (m DerivativeSecurityListRequest) SetUnderlyingInstrRegistry(v string) {
|
||||
m.Set(field.NewUnderlyingInstrRegistry(v))
|
||||
}
|
||||
|
||||
// SetTradingSessionSubID sets TradingSessionSubID, Tag 625.
|
||||
func (m DerivativeSecurityListRequest) SetTradingSessionSubID(v enum.TradingSessionSubID) {
|
||||
m.Set(field.NewTradingSessionSubID(v))
|
||||
}
|
||||
|
||||
// GetCurrency gets Currency, Tag 15.
|
||||
func (m DerivativeSecurityListRequest) 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 DerivativeSecurityListRequest) GetText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.TextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetUnderlyingCouponPaymentDate gets UnderlyingCouponPaymentDate, Tag 241.
|
||||
func (m DerivativeSecurityListRequest) 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 DerivativeSecurityListRequest) 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 DerivativeSecurityListRequest) 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 DerivativeSecurityListRequest) 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 DerivativeSecurityListRequest) 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 DerivativeSecurityListRequest) GetUnderlyingFactor() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
||||
var f field.UnderlyingFactorField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetUnderlyingRedemptionDate gets UnderlyingRedemptionDate, Tag 247.
|
||||
func (m DerivativeSecurityListRequest) GetUnderlyingRedemptionDate() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.UnderlyingRedemptionDateField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetUnderlyingCreditRating gets UnderlyingCreditRating, Tag 256.
|
||||
func (m DerivativeSecurityListRequest) GetUnderlyingCreditRating() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.UnderlyingCreditRatingField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetSubscriptionRequestType gets SubscriptionRequestType, Tag 263.
|
||||
func (m DerivativeSecurityListRequest) GetSubscriptionRequestType() (v enum.SubscriptionRequestType, err quickfix.MessageRejectError) {
|
||||
var f field.SubscriptionRequestTypeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetUnderlyingSecurityIDSource gets UnderlyingSecurityIDSource, Tag 305.
|
||||
func (m DerivativeSecurityListRequest) GetUnderlyingSecurityIDSource() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.UnderlyingSecurityIDSourceField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetUnderlyingIssuer gets UnderlyingIssuer, Tag 306.
|
||||
func (m DerivativeSecurityListRequest) GetUnderlyingIssuer() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.UnderlyingIssuerField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetUnderlyingSecurityDesc gets UnderlyingSecurityDesc, Tag 307.
|
||||
func (m DerivativeSecurityListRequest) GetUnderlyingSecurityDesc() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.UnderlyingSecurityDescField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetUnderlyingSecurityExchange gets UnderlyingSecurityExchange, Tag 308.
|
||||
func (m DerivativeSecurityListRequest) GetUnderlyingSecurityExchange() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.UnderlyingSecurityExchangeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetUnderlyingSecurityID gets UnderlyingSecurityID, Tag 309.
|
||||
func (m DerivativeSecurityListRequest) GetUnderlyingSecurityID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.UnderlyingSecurityIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetUnderlyingSecurityType gets UnderlyingSecurityType, Tag 310.
|
||||
func (m DerivativeSecurityListRequest) GetUnderlyingSecurityType() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.UnderlyingSecurityTypeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetUnderlyingSymbol gets UnderlyingSymbol, Tag 311.
|
||||
func (m DerivativeSecurityListRequest) 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 DerivativeSecurityListRequest) GetUnderlyingSymbolSfx() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.UnderlyingSymbolSfxField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetUnderlyingMaturityMonthYear gets UnderlyingMaturityMonthYear, Tag 313.
|
||||
func (m DerivativeSecurityListRequest) GetUnderlyingMaturityMonthYear() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.UnderlyingMaturityMonthYearField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetUnderlyingStrikePrice gets UnderlyingStrikePrice, Tag 316.
|
||||
func (m DerivativeSecurityListRequest) GetUnderlyingStrikePrice() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
||||
var f field.UnderlyingStrikePriceField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetUnderlyingOptAttribute gets UnderlyingOptAttribute, Tag 317.
|
||||
func (m DerivativeSecurityListRequest) GetUnderlyingOptAttribute() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.UnderlyingOptAttributeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetSecurityReqID gets SecurityReqID, Tag 320.
|
||||
func (m DerivativeSecurityListRequest) GetSecurityReqID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.SecurityReqIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTradingSessionID gets TradingSessionID, Tag 336.
|
||||
func (m DerivativeSecurityListRequest) GetTradingSessionID() (v enum.TradingSessionID, err quickfix.MessageRejectError) {
|
||||
var f field.TradingSessionIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetEncodedTextLen gets EncodedTextLen, Tag 354.
|
||||
func (m DerivativeSecurityListRequest) 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 DerivativeSecurityListRequest) GetEncodedText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.EncodedTextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetEncodedUnderlyingIssuerLen gets EncodedUnderlyingIssuerLen, Tag 362.
|
||||
func (m DerivativeSecurityListRequest) 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 DerivativeSecurityListRequest) GetEncodedUnderlyingIssuer() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.EncodedUnderlyingIssuerField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetEncodedUnderlyingSecurityDescLen gets EncodedUnderlyingSecurityDescLen, Tag 364.
|
||||
func (m DerivativeSecurityListRequest) 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 DerivativeSecurityListRequest) GetEncodedUnderlyingSecurityDesc() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.EncodedUnderlyingSecurityDescField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetUnderlyingCouponRate gets UnderlyingCouponRate, Tag 435.
|
||||
func (m DerivativeSecurityListRequest) GetUnderlyingCouponRate() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
||||
var f field.UnderlyingCouponRateField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetUnderlyingContractMultiplier gets UnderlyingContractMultiplier, Tag 436.
|
||||
func (m DerivativeSecurityListRequest) GetUnderlyingContractMultiplier() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
||||
var f field.UnderlyingContractMultiplierField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetNoUnderlyingSecurityAltID gets NoUnderlyingSecurityAltID, Tag 457.
|
||||
func (m DerivativeSecurityListRequest) GetNoUnderlyingSecurityAltID() (NoUnderlyingSecurityAltIDRepeatingGroup, quickfix.MessageRejectError) {
|
||||
f := NewNoUnderlyingSecurityAltIDRepeatingGroup()
|
||||
err := m.GetGroup(f)
|
||||
return f, err
|
||||
}
|
||||
|
||||
// GetUnderlyingProduct gets UnderlyingProduct, Tag 462.
|
||||
func (m DerivativeSecurityListRequest) 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 DerivativeSecurityListRequest) GetUnderlyingCFICode() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.UnderlyingCFICodeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetUnderlyingMaturityDate gets UnderlyingMaturityDate, Tag 542.
|
||||
func (m DerivativeSecurityListRequest) GetUnderlyingMaturityDate() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.UnderlyingMaturityDateField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetSecurityListRequestType gets SecurityListRequestType, Tag 559.
|
||||
func (m DerivativeSecurityListRequest) GetSecurityListRequestType() (v enum.SecurityListRequestType, err quickfix.MessageRejectError) {
|
||||
var f field.SecurityListRequestTypeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetUnderlyingCountryOfIssue gets UnderlyingCountryOfIssue, Tag 592.
|
||||
func (m DerivativeSecurityListRequest) 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 DerivativeSecurityListRequest) 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 DerivativeSecurityListRequest) GetUnderlyingLocaleOfIssue() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.UnderlyingLocaleOfIssueField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetUnderlyingInstrRegistry gets UnderlyingInstrRegistry, Tag 595.
|
||||
func (m DerivativeSecurityListRequest) GetUnderlyingInstrRegistry() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.UnderlyingInstrRegistryField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTradingSessionSubID gets TradingSessionSubID, Tag 625.
|
||||
func (m DerivativeSecurityListRequest) 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 DerivativeSecurityListRequest) HasCurrency() bool {
|
||||
return m.Has(tag.Currency)
|
||||
}
|
||||
|
||||
// HasText returns true if Text is present, Tag 58.
|
||||
func (m DerivativeSecurityListRequest) HasText() bool {
|
||||
return m.Has(tag.Text)
|
||||
}
|
||||
|
||||
// HasUnderlyingCouponPaymentDate returns true if UnderlyingCouponPaymentDate is present, Tag 241.
|
||||
func (m DerivativeSecurityListRequest) HasUnderlyingCouponPaymentDate() bool {
|
||||
return m.Has(tag.UnderlyingCouponPaymentDate)
|
||||
}
|
||||
|
||||
// HasUnderlyingIssueDate returns true if UnderlyingIssueDate is present, Tag 242.
|
||||
func (m DerivativeSecurityListRequest) HasUnderlyingIssueDate() bool {
|
||||
return m.Has(tag.UnderlyingIssueDate)
|
||||
}
|
||||
|
||||
// HasUnderlyingRepoCollateralSecurityType returns true if UnderlyingRepoCollateralSecurityType is present, Tag 243.
|
||||
func (m DerivativeSecurityListRequest) HasUnderlyingRepoCollateralSecurityType() bool {
|
||||
return m.Has(tag.UnderlyingRepoCollateralSecurityType)
|
||||
}
|
||||
|
||||
// HasUnderlyingRepurchaseTerm returns true if UnderlyingRepurchaseTerm is present, Tag 244.
|
||||
func (m DerivativeSecurityListRequest) HasUnderlyingRepurchaseTerm() bool {
|
||||
return m.Has(tag.UnderlyingRepurchaseTerm)
|
||||
}
|
||||
|
||||
// HasUnderlyingRepurchaseRate returns true if UnderlyingRepurchaseRate is present, Tag 245.
|
||||
func (m DerivativeSecurityListRequest) HasUnderlyingRepurchaseRate() bool {
|
||||
return m.Has(tag.UnderlyingRepurchaseRate)
|
||||
}
|
||||
|
||||
// HasUnderlyingFactor returns true if UnderlyingFactor is present, Tag 246.
|
||||
func (m DerivativeSecurityListRequest) HasUnderlyingFactor() bool {
|
||||
return m.Has(tag.UnderlyingFactor)
|
||||
}
|
||||
|
||||
// HasUnderlyingRedemptionDate returns true if UnderlyingRedemptionDate is present, Tag 247.
|
||||
func (m DerivativeSecurityListRequest) HasUnderlyingRedemptionDate() bool {
|
||||
return m.Has(tag.UnderlyingRedemptionDate)
|
||||
}
|
||||
|
||||
// HasUnderlyingCreditRating returns true if UnderlyingCreditRating is present, Tag 256.
|
||||
func (m DerivativeSecurityListRequest) HasUnderlyingCreditRating() bool {
|
||||
return m.Has(tag.UnderlyingCreditRating)
|
||||
}
|
||||
|
||||
// HasSubscriptionRequestType returns true if SubscriptionRequestType is present, Tag 263.
|
||||
func (m DerivativeSecurityListRequest) HasSubscriptionRequestType() bool {
|
||||
return m.Has(tag.SubscriptionRequestType)
|
||||
}
|
||||
|
||||
// HasUnderlyingSecurityIDSource returns true if UnderlyingSecurityIDSource is present, Tag 305.
|
||||
func (m DerivativeSecurityListRequest) HasUnderlyingSecurityIDSource() bool {
|
||||
return m.Has(tag.UnderlyingSecurityIDSource)
|
||||
}
|
||||
|
||||
// HasUnderlyingIssuer returns true if UnderlyingIssuer is present, Tag 306.
|
||||
func (m DerivativeSecurityListRequest) HasUnderlyingIssuer() bool {
|
||||
return m.Has(tag.UnderlyingIssuer)
|
||||
}
|
||||
|
||||
// HasUnderlyingSecurityDesc returns true if UnderlyingSecurityDesc is present, Tag 307.
|
||||
func (m DerivativeSecurityListRequest) HasUnderlyingSecurityDesc() bool {
|
||||
return m.Has(tag.UnderlyingSecurityDesc)
|
||||
}
|
||||
|
||||
// HasUnderlyingSecurityExchange returns true if UnderlyingSecurityExchange is present, Tag 308.
|
||||
func (m DerivativeSecurityListRequest) HasUnderlyingSecurityExchange() bool {
|
||||
return m.Has(tag.UnderlyingSecurityExchange)
|
||||
}
|
||||
|
||||
// HasUnderlyingSecurityID returns true if UnderlyingSecurityID is present, Tag 309.
|
||||
func (m DerivativeSecurityListRequest) HasUnderlyingSecurityID() bool {
|
||||
return m.Has(tag.UnderlyingSecurityID)
|
||||
}
|
||||
|
||||
// HasUnderlyingSecurityType returns true if UnderlyingSecurityType is present, Tag 310.
|
||||
func (m DerivativeSecurityListRequest) HasUnderlyingSecurityType() bool {
|
||||
return m.Has(tag.UnderlyingSecurityType)
|
||||
}
|
||||
|
||||
// HasUnderlyingSymbol returns true if UnderlyingSymbol is present, Tag 311.
|
||||
func (m DerivativeSecurityListRequest) HasUnderlyingSymbol() bool {
|
||||
return m.Has(tag.UnderlyingSymbol)
|
||||
}
|
||||
|
||||
// HasUnderlyingSymbolSfx returns true if UnderlyingSymbolSfx is present, Tag 312.
|
||||
func (m DerivativeSecurityListRequest) HasUnderlyingSymbolSfx() bool {
|
||||
return m.Has(tag.UnderlyingSymbolSfx)
|
||||
}
|
||||
|
||||
// HasUnderlyingMaturityMonthYear returns true if UnderlyingMaturityMonthYear is present, Tag 313.
|
||||
func (m DerivativeSecurityListRequest) HasUnderlyingMaturityMonthYear() bool {
|
||||
return m.Has(tag.UnderlyingMaturityMonthYear)
|
||||
}
|
||||
|
||||
// HasUnderlyingStrikePrice returns true if UnderlyingStrikePrice is present, Tag 316.
|
||||
func (m DerivativeSecurityListRequest) HasUnderlyingStrikePrice() bool {
|
||||
return m.Has(tag.UnderlyingStrikePrice)
|
||||
}
|
||||
|
||||
// HasUnderlyingOptAttribute returns true if UnderlyingOptAttribute is present, Tag 317.
|
||||
func (m DerivativeSecurityListRequest) HasUnderlyingOptAttribute() bool {
|
||||
return m.Has(tag.UnderlyingOptAttribute)
|
||||
}
|
||||
|
||||
// HasSecurityReqID returns true if SecurityReqID is present, Tag 320.
|
||||
func (m DerivativeSecurityListRequest) HasSecurityReqID() bool {
|
||||
return m.Has(tag.SecurityReqID)
|
||||
}
|
||||
|
||||
// HasTradingSessionID returns true if TradingSessionID is present, Tag 336.
|
||||
func (m DerivativeSecurityListRequest) HasTradingSessionID() bool {
|
||||
return m.Has(tag.TradingSessionID)
|
||||
}
|
||||
|
||||
// HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.
|
||||
func (m DerivativeSecurityListRequest) HasEncodedTextLen() bool {
|
||||
return m.Has(tag.EncodedTextLen)
|
||||
}
|
||||
|
||||
// HasEncodedText returns true if EncodedText is present, Tag 355.
|
||||
func (m DerivativeSecurityListRequest) HasEncodedText() bool {
|
||||
return m.Has(tag.EncodedText)
|
||||
}
|
||||
|
||||
// HasEncodedUnderlyingIssuerLen returns true if EncodedUnderlyingIssuerLen is present, Tag 362.
|
||||
func (m DerivativeSecurityListRequest) HasEncodedUnderlyingIssuerLen() bool {
|
||||
return m.Has(tag.EncodedUnderlyingIssuerLen)
|
||||
}
|
||||
|
||||
// HasEncodedUnderlyingIssuer returns true if EncodedUnderlyingIssuer is present, Tag 363.
|
||||
func (m DerivativeSecurityListRequest) HasEncodedUnderlyingIssuer() bool {
|
||||
return m.Has(tag.EncodedUnderlyingIssuer)
|
||||
}
|
||||
|
||||
// HasEncodedUnderlyingSecurityDescLen returns true if EncodedUnderlyingSecurityDescLen is present, Tag 364.
|
||||
func (m DerivativeSecurityListRequest) HasEncodedUnderlyingSecurityDescLen() bool {
|
||||
return m.Has(tag.EncodedUnderlyingSecurityDescLen)
|
||||
}
|
||||
|
||||
// HasEncodedUnderlyingSecurityDesc returns true if EncodedUnderlyingSecurityDesc is present, Tag 365.
|
||||
func (m DerivativeSecurityListRequest) HasEncodedUnderlyingSecurityDesc() bool {
|
||||
return m.Has(tag.EncodedUnderlyingSecurityDesc)
|
||||
}
|
||||
|
||||
// HasUnderlyingCouponRate returns true if UnderlyingCouponRate is present, Tag 435.
|
||||
func (m DerivativeSecurityListRequest) HasUnderlyingCouponRate() bool {
|
||||
return m.Has(tag.UnderlyingCouponRate)
|
||||
}
|
||||
|
||||
// HasUnderlyingContractMultiplier returns true if UnderlyingContractMultiplier is present, Tag 436.
|
||||
func (m DerivativeSecurityListRequest) HasUnderlyingContractMultiplier() bool {
|
||||
return m.Has(tag.UnderlyingContractMultiplier)
|
||||
}
|
||||
|
||||
// HasNoUnderlyingSecurityAltID returns true if NoUnderlyingSecurityAltID is present, Tag 457.
|
||||
func (m DerivativeSecurityListRequest) HasNoUnderlyingSecurityAltID() bool {
|
||||
return m.Has(tag.NoUnderlyingSecurityAltID)
|
||||
}
|
||||
|
||||
// HasUnderlyingProduct returns true if UnderlyingProduct is present, Tag 462.
|
||||
func (m DerivativeSecurityListRequest) HasUnderlyingProduct() bool {
|
||||
return m.Has(tag.UnderlyingProduct)
|
||||
}
|
||||
|
||||
// HasUnderlyingCFICode returns true if UnderlyingCFICode is present, Tag 463.
|
||||
func (m DerivativeSecurityListRequest) HasUnderlyingCFICode() bool {
|
||||
return m.Has(tag.UnderlyingCFICode)
|
||||
}
|
||||
|
||||
// HasUnderlyingMaturityDate returns true if UnderlyingMaturityDate is present, Tag 542.
|
||||
func (m DerivativeSecurityListRequest) HasUnderlyingMaturityDate() bool {
|
||||
return m.Has(tag.UnderlyingMaturityDate)
|
||||
}
|
||||
|
||||
// HasSecurityListRequestType returns true if SecurityListRequestType is present, Tag 559.
|
||||
func (m DerivativeSecurityListRequest) HasSecurityListRequestType() bool {
|
||||
return m.Has(tag.SecurityListRequestType)
|
||||
}
|
||||
|
||||
// HasUnderlyingCountryOfIssue returns true if UnderlyingCountryOfIssue is present, Tag 592.
|
||||
func (m DerivativeSecurityListRequest) HasUnderlyingCountryOfIssue() bool {
|
||||
return m.Has(tag.UnderlyingCountryOfIssue)
|
||||
}
|
||||
|
||||
// HasUnderlyingStateOrProvinceOfIssue returns true if UnderlyingStateOrProvinceOfIssue is present, Tag 593.
|
||||
func (m DerivativeSecurityListRequest) HasUnderlyingStateOrProvinceOfIssue() bool {
|
||||
return m.Has(tag.UnderlyingStateOrProvinceOfIssue)
|
||||
}
|
||||
|
||||
// HasUnderlyingLocaleOfIssue returns true if UnderlyingLocaleOfIssue is present, Tag 594.
|
||||
func (m DerivativeSecurityListRequest) HasUnderlyingLocaleOfIssue() bool {
|
||||
return m.Has(tag.UnderlyingLocaleOfIssue)
|
||||
}
|
||||
|
||||
// HasUnderlyingInstrRegistry returns true if UnderlyingInstrRegistry is present, Tag 595.
|
||||
func (m DerivativeSecurityListRequest) HasUnderlyingInstrRegistry() bool {
|
||||
return m.Has(tag.UnderlyingInstrRegistry)
|
||||
}
|
||||
|
||||
// HasTradingSessionSubID returns true if TradingSessionSubID is present, Tag 625.
|
||||
func (m DerivativeSecurityListRequest) HasTradingSessionSubID() bool {
|
||||
return m.Has(tag.TradingSessionSubID)
|
||||
}
|
||||
|
||||
// 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)}
|
||||
}
|
||||
1025
quickfix/gen/fix43/dontknowtrade/DontKnowTrade.generated.go
Normal file
1025
quickfix/gen/fix43/dontknowtrade/DontKnowTrade.generated.go
Normal file
File diff suppressed because it is too large
Load Diff
1230
quickfix/gen/fix43/email/Email.generated.go
Normal file
1230
quickfix/gen/fix43/email/Email.generated.go
Normal file
File diff suppressed because it is too large
Load Diff
4629
quickfix/gen/fix43/executionreport/ExecutionReport.generated.go
Normal file
4629
quickfix/gen/fix43/executionreport/ExecutionReport.generated.go
Normal file
File diff suppressed because it is too large
Load Diff
645
quickfix/gen/fix43/header.generated.go
Normal file
645
quickfix/gen/fix43/header.generated.go
Normal file
@ -0,0 +1,645 @@
|
||||
// Code generated by quickfix. DO NOT EDIT.
|
||||
package fix43
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/quickfixgo/quickfix"
|
||||
"github.com/quickfixgo/quickfix/gen/enum"
|
||||
"github.com/quickfixgo/quickfix/gen/field"
|
||||
"github.com/quickfixgo/quickfix/gen/tag"
|
||||
)
|
||||
|
||||
// Header is the fix43 Header type.
|
||||
type Header struct {
|
||||
*quickfix.Header
|
||||
}
|
||||
|
||||
// NewHeader returns a new, initialized Header instance.
|
||||
func NewHeader(header *quickfix.Header) (h Header) {
|
||||
h.Header = header
|
||||
h.SetBeginString("FIX.4.3")
|
||||
return
|
||||
}
|
||||
|
||||
// SetBeginString sets BeginString, Tag 8.
|
||||
func (h Header) SetBeginString(v string) {
|
||||
h.Set(field.NewBeginString(v))
|
||||
}
|
||||
|
||||
// SetBodyLength sets BodyLength, Tag 9.
|
||||
func (h Header) SetBodyLength(v int) {
|
||||
h.Set(field.NewBodyLength(v))
|
||||
}
|
||||
|
||||
// SetMsgSeqNum sets MsgSeqNum, Tag 34.
|
||||
func (h Header) SetMsgSeqNum(v int) {
|
||||
h.Set(field.NewMsgSeqNum(v))
|
||||
}
|
||||
|
||||
// SetMsgType sets MsgType, Tag 35.
|
||||
func (h Header) SetMsgType(v enum.MsgType) {
|
||||
h.Set(field.NewMsgType(v))
|
||||
}
|
||||
|
||||
// SetPossDupFlag sets PossDupFlag, Tag 43.
|
||||
func (h Header) SetPossDupFlag(v bool) {
|
||||
h.Set(field.NewPossDupFlag(v))
|
||||
}
|
||||
|
||||
// SetSenderCompID sets SenderCompID, Tag 49.
|
||||
func (h Header) SetSenderCompID(v string) {
|
||||
h.Set(field.NewSenderCompID(v))
|
||||
}
|
||||
|
||||
// SetSenderSubID sets SenderSubID, Tag 50.
|
||||
func (h Header) SetSenderSubID(v string) {
|
||||
h.Set(field.NewSenderSubID(v))
|
||||
}
|
||||
|
||||
// SetSendingTime sets SendingTime, Tag 52.
|
||||
func (h Header) SetSendingTime(v time.Time) {
|
||||
h.Set(field.NewSendingTime(v))
|
||||
}
|
||||
|
||||
// SetTargetCompID sets TargetCompID, Tag 56.
|
||||
func (h Header) SetTargetCompID(v string) {
|
||||
h.Set(field.NewTargetCompID(v))
|
||||
}
|
||||
|
||||
// SetTargetSubID sets TargetSubID, Tag 57.
|
||||
func (h Header) SetTargetSubID(v string) {
|
||||
h.Set(field.NewTargetSubID(v))
|
||||
}
|
||||
|
||||
// SetSecureDataLen sets SecureDataLen, Tag 90.
|
||||
func (h Header) SetSecureDataLen(v int) {
|
||||
h.Set(field.NewSecureDataLen(v))
|
||||
}
|
||||
|
||||
// SetSecureData sets SecureData, Tag 91.
|
||||
func (h Header) SetSecureData(v string) {
|
||||
h.Set(field.NewSecureData(v))
|
||||
}
|
||||
|
||||
// SetPossResend sets PossResend, Tag 97.
|
||||
func (h Header) SetPossResend(v bool) {
|
||||
h.Set(field.NewPossResend(v))
|
||||
}
|
||||
|
||||
// SetOnBehalfOfCompID sets OnBehalfOfCompID, Tag 115.
|
||||
func (h Header) SetOnBehalfOfCompID(v string) {
|
||||
h.Set(field.NewOnBehalfOfCompID(v))
|
||||
}
|
||||
|
||||
// SetOnBehalfOfSubID sets OnBehalfOfSubID, Tag 116.
|
||||
func (h Header) SetOnBehalfOfSubID(v string) {
|
||||
h.Set(field.NewOnBehalfOfSubID(v))
|
||||
}
|
||||
|
||||
// SetOrigSendingTime sets OrigSendingTime, Tag 122.
|
||||
func (h Header) SetOrigSendingTime(v time.Time) {
|
||||
h.Set(field.NewOrigSendingTime(v))
|
||||
}
|
||||
|
||||
// SetDeliverToCompID sets DeliverToCompID, Tag 128.
|
||||
func (h Header) SetDeliverToCompID(v string) {
|
||||
h.Set(field.NewDeliverToCompID(v))
|
||||
}
|
||||
|
||||
// SetDeliverToSubID sets DeliverToSubID, Tag 129.
|
||||
func (h Header) SetDeliverToSubID(v string) {
|
||||
h.Set(field.NewDeliverToSubID(v))
|
||||
}
|
||||
|
||||
// SetSenderLocationID sets SenderLocationID, Tag 142.
|
||||
func (h Header) SetSenderLocationID(v string) {
|
||||
h.Set(field.NewSenderLocationID(v))
|
||||
}
|
||||
|
||||
// SetTargetLocationID sets TargetLocationID, Tag 143.
|
||||
func (h Header) SetTargetLocationID(v string) {
|
||||
h.Set(field.NewTargetLocationID(v))
|
||||
}
|
||||
|
||||
// SetOnBehalfOfLocationID sets OnBehalfOfLocationID, Tag 144.
|
||||
func (h Header) SetOnBehalfOfLocationID(v string) {
|
||||
h.Set(field.NewOnBehalfOfLocationID(v))
|
||||
}
|
||||
|
||||
// SetDeliverToLocationID sets DeliverToLocationID, Tag 145.
|
||||
func (h Header) SetDeliverToLocationID(v string) {
|
||||
h.Set(field.NewDeliverToLocationID(v))
|
||||
}
|
||||
|
||||
// SetXmlDataLen sets XmlDataLen, Tag 212.
|
||||
func (h Header) SetXmlDataLen(v int) {
|
||||
h.Set(field.NewXmlDataLen(v))
|
||||
}
|
||||
|
||||
// SetXmlData sets XmlData, Tag 213.
|
||||
func (h Header) SetXmlData(v string) {
|
||||
h.Set(field.NewXmlData(v))
|
||||
}
|
||||
|
||||
// SetMessageEncoding sets MessageEncoding, Tag 347.
|
||||
func (h Header) SetMessageEncoding(v enum.MessageEncoding) {
|
||||
h.Set(field.NewMessageEncoding(v))
|
||||
}
|
||||
|
||||
// SetLastMsgSeqNumProcessed sets LastMsgSeqNumProcessed, Tag 369.
|
||||
func (h Header) SetLastMsgSeqNumProcessed(v int) {
|
||||
h.Set(field.NewLastMsgSeqNumProcessed(v))
|
||||
}
|
||||
|
||||
// SetOnBehalfOfSendingTime sets OnBehalfOfSendingTime, Tag 370.
|
||||
func (h Header) SetOnBehalfOfSendingTime(v time.Time) {
|
||||
h.Set(field.NewOnBehalfOfSendingTime(v))
|
||||
}
|
||||
|
||||
// SetNoHops sets NoHops, Tag 627.
|
||||
func (h Header) SetNoHops(f NoHopsRepeatingGroup) {
|
||||
h.SetGroup(f)
|
||||
}
|
||||
|
||||
// GetBeginString gets BeginString, Tag 8.
|
||||
func (h Header) GetBeginString() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.BeginStringField
|
||||
if err = h.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetBodyLength gets BodyLength, Tag 9.
|
||||
func (h Header) GetBodyLength() (v int, err quickfix.MessageRejectError) {
|
||||
var f field.BodyLengthField
|
||||
if err = h.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetMsgSeqNum gets MsgSeqNum, Tag 34.
|
||||
func (h Header) GetMsgSeqNum() (v int, err quickfix.MessageRejectError) {
|
||||
var f field.MsgSeqNumField
|
||||
if err = h.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetMsgType gets MsgType, Tag 35.
|
||||
func (h Header) GetMsgType() (v enum.MsgType, err quickfix.MessageRejectError) {
|
||||
var f field.MsgTypeField
|
||||
if err = h.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetPossDupFlag gets PossDupFlag, Tag 43.
|
||||
func (h Header) GetPossDupFlag() (v bool, err quickfix.MessageRejectError) {
|
||||
var f field.PossDupFlagField
|
||||
if err = h.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetSenderCompID gets SenderCompID, Tag 49.
|
||||
func (h Header) GetSenderCompID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.SenderCompIDField
|
||||
if err = h.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetSenderSubID gets SenderSubID, Tag 50.
|
||||
func (h Header) GetSenderSubID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.SenderSubIDField
|
||||
if err = h.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetSendingTime gets SendingTime, Tag 52.
|
||||
func (h Header) GetSendingTime() (v time.Time, err quickfix.MessageRejectError) {
|
||||
var f field.SendingTimeField
|
||||
if err = h.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTargetCompID gets TargetCompID, Tag 56.
|
||||
func (h Header) GetTargetCompID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.TargetCompIDField
|
||||
if err = h.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTargetSubID gets TargetSubID, Tag 57.
|
||||
func (h Header) GetTargetSubID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.TargetSubIDField
|
||||
if err = h.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetSecureDataLen gets SecureDataLen, Tag 90.
|
||||
func (h Header) GetSecureDataLen() (v int, err quickfix.MessageRejectError) {
|
||||
var f field.SecureDataLenField
|
||||
if err = h.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetSecureData gets SecureData, Tag 91.
|
||||
func (h Header) GetSecureData() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.SecureDataField
|
||||
if err = h.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetPossResend gets PossResend, Tag 97.
|
||||
func (h Header) GetPossResend() (v bool, err quickfix.MessageRejectError) {
|
||||
var f field.PossResendField
|
||||
if err = h.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetOnBehalfOfCompID gets OnBehalfOfCompID, Tag 115.
|
||||
func (h Header) GetOnBehalfOfCompID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.OnBehalfOfCompIDField
|
||||
if err = h.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetOnBehalfOfSubID gets OnBehalfOfSubID, Tag 116.
|
||||
func (h Header) GetOnBehalfOfSubID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.OnBehalfOfSubIDField
|
||||
if err = h.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetOrigSendingTime gets OrigSendingTime, Tag 122.
|
||||
func (h Header) GetOrigSendingTime() (v time.Time, err quickfix.MessageRejectError) {
|
||||
var f field.OrigSendingTimeField
|
||||
if err = h.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetDeliverToCompID gets DeliverToCompID, Tag 128.
|
||||
func (h Header) GetDeliverToCompID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.DeliverToCompIDField
|
||||
if err = h.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetDeliverToSubID gets DeliverToSubID, Tag 129.
|
||||
func (h Header) GetDeliverToSubID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.DeliverToSubIDField
|
||||
if err = h.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetSenderLocationID gets SenderLocationID, Tag 142.
|
||||
func (h Header) GetSenderLocationID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.SenderLocationIDField
|
||||
if err = h.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTargetLocationID gets TargetLocationID, Tag 143.
|
||||
func (h Header) GetTargetLocationID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.TargetLocationIDField
|
||||
if err = h.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetOnBehalfOfLocationID gets OnBehalfOfLocationID, Tag 144.
|
||||
func (h Header) GetOnBehalfOfLocationID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.OnBehalfOfLocationIDField
|
||||
if err = h.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetDeliverToLocationID gets DeliverToLocationID, Tag 145.
|
||||
func (h Header) GetDeliverToLocationID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.DeliverToLocationIDField
|
||||
if err = h.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetXmlDataLen gets XmlDataLen, Tag 212.
|
||||
func (h Header) GetXmlDataLen() (v int, err quickfix.MessageRejectError) {
|
||||
var f field.XmlDataLenField
|
||||
if err = h.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetXmlData gets XmlData, Tag 213.
|
||||
func (h Header) GetXmlData() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.XmlDataField
|
||||
if err = h.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetMessageEncoding gets MessageEncoding, Tag 347.
|
||||
func (h Header) GetMessageEncoding() (v enum.MessageEncoding, err quickfix.MessageRejectError) {
|
||||
var f field.MessageEncodingField
|
||||
if err = h.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetLastMsgSeqNumProcessed gets LastMsgSeqNumProcessed, Tag 369.
|
||||
func (h Header) GetLastMsgSeqNumProcessed() (v int, err quickfix.MessageRejectError) {
|
||||
var f field.LastMsgSeqNumProcessedField
|
||||
if err = h.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetOnBehalfOfSendingTime gets OnBehalfOfSendingTime, Tag 370.
|
||||
func (h Header) GetOnBehalfOfSendingTime() (v time.Time, err quickfix.MessageRejectError) {
|
||||
var f field.OnBehalfOfSendingTimeField
|
||||
if err = h.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetNoHops gets NoHops, Tag 627.
|
||||
func (h Header) GetNoHops() (NoHopsRepeatingGroup, quickfix.MessageRejectError) {
|
||||
f := NewNoHopsRepeatingGroup()
|
||||
err := h.GetGroup(f)
|
||||
return f, err
|
||||
}
|
||||
|
||||
// HasBeginString returns true if BeginString is present, Tag 8.
|
||||
func (h Header) HasBeginString() bool {
|
||||
return h.Has(tag.BeginString)
|
||||
}
|
||||
|
||||
// HasBodyLength returns true if BodyLength is present, Tag 9.
|
||||
func (h Header) HasBodyLength() bool {
|
||||
return h.Has(tag.BodyLength)
|
||||
}
|
||||
|
||||
// HasMsgSeqNum returns true if MsgSeqNum is present, Tag 34.
|
||||
func (h Header) HasMsgSeqNum() bool {
|
||||
return h.Has(tag.MsgSeqNum)
|
||||
}
|
||||
|
||||
// HasMsgType returns true if MsgType is present, Tag 35.
|
||||
func (h Header) HasMsgType() bool {
|
||||
return h.Has(tag.MsgType)
|
||||
}
|
||||
|
||||
// HasPossDupFlag returns true if PossDupFlag is present, Tag 43.
|
||||
func (h Header) HasPossDupFlag() bool {
|
||||
return h.Has(tag.PossDupFlag)
|
||||
}
|
||||
|
||||
// HasSenderCompID returns true if SenderCompID is present, Tag 49.
|
||||
func (h Header) HasSenderCompID() bool {
|
||||
return h.Has(tag.SenderCompID)
|
||||
}
|
||||
|
||||
// HasSenderSubID returns true if SenderSubID is present, Tag 50.
|
||||
func (h Header) HasSenderSubID() bool {
|
||||
return h.Has(tag.SenderSubID)
|
||||
}
|
||||
|
||||
// HasSendingTime returns true if SendingTime is present, Tag 52.
|
||||
func (h Header) HasSendingTime() bool {
|
||||
return h.Has(tag.SendingTime)
|
||||
}
|
||||
|
||||
// HasTargetCompID returns true if TargetCompID is present, Tag 56.
|
||||
func (h Header) HasTargetCompID() bool {
|
||||
return h.Has(tag.TargetCompID)
|
||||
}
|
||||
|
||||
// HasTargetSubID returns true if TargetSubID is present, Tag 57.
|
||||
func (h Header) HasTargetSubID() bool {
|
||||
return h.Has(tag.TargetSubID)
|
||||
}
|
||||
|
||||
// HasSecureDataLen returns true if SecureDataLen is present, Tag 90.
|
||||
func (h Header) HasSecureDataLen() bool {
|
||||
return h.Has(tag.SecureDataLen)
|
||||
}
|
||||
|
||||
// HasSecureData returns true if SecureData is present, Tag 91.
|
||||
func (h Header) HasSecureData() bool {
|
||||
return h.Has(tag.SecureData)
|
||||
}
|
||||
|
||||
// HasPossResend returns true if PossResend is present, Tag 97.
|
||||
func (h Header) HasPossResend() bool {
|
||||
return h.Has(tag.PossResend)
|
||||
}
|
||||
|
||||
// HasOnBehalfOfCompID returns true if OnBehalfOfCompID is present, Tag 115.
|
||||
func (h Header) HasOnBehalfOfCompID() bool {
|
||||
return h.Has(tag.OnBehalfOfCompID)
|
||||
}
|
||||
|
||||
// HasOnBehalfOfSubID returns true if OnBehalfOfSubID is present, Tag 116.
|
||||
func (h Header) HasOnBehalfOfSubID() bool {
|
||||
return h.Has(tag.OnBehalfOfSubID)
|
||||
}
|
||||
|
||||
// HasOrigSendingTime returns true if OrigSendingTime is present, Tag 122.
|
||||
func (h Header) HasOrigSendingTime() bool {
|
||||
return h.Has(tag.OrigSendingTime)
|
||||
}
|
||||
|
||||
// HasDeliverToCompID returns true if DeliverToCompID is present, Tag 128.
|
||||
func (h Header) HasDeliverToCompID() bool {
|
||||
return h.Has(tag.DeliverToCompID)
|
||||
}
|
||||
|
||||
// HasDeliverToSubID returns true if DeliverToSubID is present, Tag 129.
|
||||
func (h Header) HasDeliverToSubID() bool {
|
||||
return h.Has(tag.DeliverToSubID)
|
||||
}
|
||||
|
||||
// HasSenderLocationID returns true if SenderLocationID is present, Tag 142.
|
||||
func (h Header) HasSenderLocationID() bool {
|
||||
return h.Has(tag.SenderLocationID)
|
||||
}
|
||||
|
||||
// HasTargetLocationID returns true if TargetLocationID is present, Tag 143.
|
||||
func (h Header) HasTargetLocationID() bool {
|
||||
return h.Has(tag.TargetLocationID)
|
||||
}
|
||||
|
||||
// HasOnBehalfOfLocationID returns true if OnBehalfOfLocationID is present, Tag 144.
|
||||
func (h Header) HasOnBehalfOfLocationID() bool {
|
||||
return h.Has(tag.OnBehalfOfLocationID)
|
||||
}
|
||||
|
||||
// HasDeliverToLocationID returns true if DeliverToLocationID is present, Tag 145.
|
||||
func (h Header) HasDeliverToLocationID() bool {
|
||||
return h.Has(tag.DeliverToLocationID)
|
||||
}
|
||||
|
||||
// HasXmlDataLen returns true if XmlDataLen is present, Tag 212.
|
||||
func (h Header) HasXmlDataLen() bool {
|
||||
return h.Has(tag.XmlDataLen)
|
||||
}
|
||||
|
||||
// HasXmlData returns true if XmlData is present, Tag 213.
|
||||
func (h Header) HasXmlData() bool {
|
||||
return h.Has(tag.XmlData)
|
||||
}
|
||||
|
||||
// HasMessageEncoding returns true if MessageEncoding is present, Tag 347.
|
||||
func (h Header) HasMessageEncoding() bool {
|
||||
return h.Has(tag.MessageEncoding)
|
||||
}
|
||||
|
||||
// HasLastMsgSeqNumProcessed returns true if LastMsgSeqNumProcessed is present, Tag 369.
|
||||
func (h Header) HasLastMsgSeqNumProcessed() bool {
|
||||
return h.Has(tag.LastMsgSeqNumProcessed)
|
||||
}
|
||||
|
||||
// HasOnBehalfOfSendingTime returns true if OnBehalfOfSendingTime is present, Tag 370.
|
||||
func (h Header) HasOnBehalfOfSendingTime() bool {
|
||||
return h.Has(tag.OnBehalfOfSendingTime)
|
||||
}
|
||||
|
||||
// HasNoHops returns true if NoHops is present, Tag 627.
|
||||
func (h Header) HasNoHops() bool {
|
||||
return h.Has(tag.NoHops)
|
||||
}
|
||||
|
||||
// NoHops is a repeating group element, Tag 627.
|
||||
type NoHops struct {
|
||||
*quickfix.Group
|
||||
}
|
||||
|
||||
// SetHopCompID sets HopCompID, Tag 628.
|
||||
func (h NoHops) SetHopCompID(v string) {
|
||||
h.Set(field.NewHopCompID(v))
|
||||
}
|
||||
|
||||
// SetHopSendingTime sets HopSendingTime, Tag 629.
|
||||
func (h NoHops) SetHopSendingTime(v time.Time) {
|
||||
h.Set(field.NewHopSendingTime(v))
|
||||
}
|
||||
|
||||
// SetHopRefID sets HopRefID, Tag 630.
|
||||
func (h NoHops) SetHopRefID(v int) {
|
||||
h.Set(field.NewHopRefID(v))
|
||||
}
|
||||
|
||||
// GetHopCompID gets HopCompID, Tag 628.
|
||||
func (h NoHops) GetHopCompID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.HopCompIDField
|
||||
if err = h.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetHopSendingTime gets HopSendingTime, Tag 629.
|
||||
func (h NoHops) GetHopSendingTime() (v time.Time, err quickfix.MessageRejectError) {
|
||||
var f field.HopSendingTimeField
|
||||
if err = h.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetHopRefID gets HopRefID, Tag 630.
|
||||
func (h NoHops) GetHopRefID() (v int, err quickfix.MessageRejectError) {
|
||||
var f field.HopRefIDField
|
||||
if err = h.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasHopCompID returns true if HopCompID is present, Tag 628.
|
||||
func (h NoHops) HasHopCompID() bool {
|
||||
return h.Has(tag.HopCompID)
|
||||
}
|
||||
|
||||
// HasHopSendingTime returns true if HopSendingTime is present, Tag 629.
|
||||
func (h NoHops) HasHopSendingTime() bool {
|
||||
return h.Has(tag.HopSendingTime)
|
||||
}
|
||||
|
||||
// HasHopRefID returns true if HopRefID is present, Tag 630.
|
||||
func (h NoHops) HasHopRefID() bool {
|
||||
return h.Has(tag.HopRefID)
|
||||
}
|
||||
|
||||
// NoHopsRepeatingGroup is a repeating group, Tag 627.
|
||||
type NoHopsRepeatingGroup struct {
|
||||
*quickfix.RepeatingGroup
|
||||
}
|
||||
|
||||
// NewNoHopsRepeatingGroup returns an initialized, NoHopsRepeatingGroup.
|
||||
func NewNoHopsRepeatingGroup() NoHopsRepeatingGroup {
|
||||
return NoHopsRepeatingGroup{
|
||||
quickfix.NewRepeatingGroup(
|
||||
tag.NoHops,
|
||||
quickfix.GroupTemplate{
|
||||
quickfix.GroupElement(tag.HopCompID),
|
||||
quickfix.GroupElement(tag.HopSendingTime),
|
||||
quickfix.GroupElement(tag.HopRefID),
|
||||
},
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
// Add create and append a new NoHops to this group.
|
||||
func (h NoHopsRepeatingGroup) Add() NoHops {
|
||||
g := h.RepeatingGroup.Add()
|
||||
return NoHops{g}
|
||||
}
|
||||
|
||||
// Get returns the ith NoHops in the NoHopsRepeatinGroup.
|
||||
func (h NoHopsRepeatingGroup) Get(i int) NoHops {
|
||||
return NoHops{h.RepeatingGroup.Get(i)}
|
||||
}
|
||||
74
quickfix/gen/fix43/heartbeat/Heartbeat.generated.go
Normal file
74
quickfix/gen/fix43/heartbeat/Heartbeat.generated.go
Normal file
@ -0,0 +1,74 @@
|
||||
// Code generated by quickfix. DO NOT EDIT.
|
||||
package heartbeat
|
||||
|
||||
import (
|
||||
"github.com/quickfixgo/quickfix"
|
||||
"github.com/quickfixgo/quickfix/gen/field"
|
||||
"github.com/quickfixgo/quickfix/gen/fix43"
|
||||
"github.com/quickfixgo/quickfix/gen/tag"
|
||||
)
|
||||
|
||||
// Heartbeat is the fix43 Heartbeat type, MsgType = 0.
|
||||
type Heartbeat struct {
|
||||
fix43.Header
|
||||
*quickfix.Body
|
||||
fix43.Trailer
|
||||
Message *quickfix.Message
|
||||
}
|
||||
|
||||
// FromMessage creates a Heartbeat from a quickfix.Message instance.
|
||||
func FromMessage(m *quickfix.Message) Heartbeat {
|
||||
return Heartbeat{
|
||||
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 Heartbeat) ToMessage() *quickfix.Message {
|
||||
return m.Message
|
||||
}
|
||||
|
||||
// New returns a Heartbeat initialized with the required fields for Heartbeat.
|
||||
func New() (m Heartbeat) {
|
||||
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("0"))
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// A RouteOut is the callback type that should be implemented for routing Message.
|
||||
type RouteOut func(msg Heartbeat, 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", "0", r
|
||||
}
|
||||
|
||||
// SetTestReqID sets TestReqID, Tag 112.
|
||||
func (m Heartbeat) SetTestReqID(v string) {
|
||||
m.Set(field.NewTestReqID(v))
|
||||
}
|
||||
|
||||
// GetTestReqID gets TestReqID, Tag 112.
|
||||
func (m Heartbeat) GetTestReqID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.TestReqIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasTestReqID returns true if TestReqID is present, Tag 112.
|
||||
func (m Heartbeat) HasTestReqID() bool {
|
||||
return m.Has(tag.TestReqID)
|
||||
}
|
||||
1337
quickfix/gen/fix43/ioi/IOI.generated.go
Normal file
1337
quickfix/gen/fix43/ioi/IOI.generated.go
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,173 @@
|
||||
// Code generated by quickfix. DO NOT EDIT.
|
||||
package listcancelrequest
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/quickfixgo/quickfix"
|
||||
"github.com/quickfixgo/quickfix/gen/field"
|
||||
"github.com/quickfixgo/quickfix/gen/fix43"
|
||||
"github.com/quickfixgo/quickfix/gen/tag"
|
||||
)
|
||||
|
||||
// ListCancelRequest is the fix43 ListCancelRequest type, MsgType = K.
|
||||
type ListCancelRequest struct {
|
||||
fix43.Header
|
||||
*quickfix.Body
|
||||
fix43.Trailer
|
||||
Message *quickfix.Message
|
||||
}
|
||||
|
||||
// FromMessage creates a ListCancelRequest from a quickfix.Message instance.
|
||||
func FromMessage(m *quickfix.Message) ListCancelRequest {
|
||||
return ListCancelRequest{
|
||||
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 ListCancelRequest) ToMessage() *quickfix.Message {
|
||||
return m.Message
|
||||
}
|
||||
|
||||
// New returns a ListCancelRequest initialized with the required fields for ListCancelRequest.
|
||||
func New(listid field.ListIDField, transacttime field.TransactTimeField) (m ListCancelRequest) {
|
||||
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("K"))
|
||||
m.Set(listid)
|
||||
m.Set(transacttime)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// A RouteOut is the callback type that should be implemented for routing Message.
|
||||
type RouteOut func(msg ListCancelRequest, 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", "K", r
|
||||
}
|
||||
|
||||
// SetText sets Text, Tag 58.
|
||||
func (m ListCancelRequest) SetText(v string) {
|
||||
m.Set(field.NewText(v))
|
||||
}
|
||||
|
||||
// SetTransactTime sets TransactTime, Tag 60.
|
||||
func (m ListCancelRequest) SetTransactTime(v time.Time) {
|
||||
m.Set(field.NewTransactTime(v))
|
||||
}
|
||||
|
||||
// SetListID sets ListID, Tag 66.
|
||||
func (m ListCancelRequest) SetListID(v string) {
|
||||
m.Set(field.NewListID(v))
|
||||
}
|
||||
|
||||
// SetTradeOriginationDate sets TradeOriginationDate, Tag 229.
|
||||
func (m ListCancelRequest) SetTradeOriginationDate(v string) {
|
||||
m.Set(field.NewTradeOriginationDate(v))
|
||||
}
|
||||
|
||||
// SetEncodedTextLen sets EncodedTextLen, Tag 354.
|
||||
func (m ListCancelRequest) SetEncodedTextLen(v int) {
|
||||
m.Set(field.NewEncodedTextLen(v))
|
||||
}
|
||||
|
||||
// SetEncodedText sets EncodedText, Tag 355.
|
||||
func (m ListCancelRequest) SetEncodedText(v string) {
|
||||
m.Set(field.NewEncodedText(v))
|
||||
}
|
||||
|
||||
// GetText gets Text, Tag 58.
|
||||
func (m ListCancelRequest) GetText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.TextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTransactTime gets TransactTime, Tag 60.
|
||||
func (m ListCancelRequest) GetTransactTime() (v time.Time, err quickfix.MessageRejectError) {
|
||||
var f field.TransactTimeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetListID gets ListID, Tag 66.
|
||||
func (m ListCancelRequest) GetListID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.ListIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTradeOriginationDate gets TradeOriginationDate, Tag 229.
|
||||
func (m ListCancelRequest) GetTradeOriginationDate() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.TradeOriginationDateField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetEncodedTextLen gets EncodedTextLen, Tag 354.
|
||||
func (m ListCancelRequest) 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 ListCancelRequest) GetEncodedText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.EncodedTextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasText returns true if Text is present, Tag 58.
|
||||
func (m ListCancelRequest) HasText() bool {
|
||||
return m.Has(tag.Text)
|
||||
}
|
||||
|
||||
// HasTransactTime returns true if TransactTime is present, Tag 60.
|
||||
func (m ListCancelRequest) HasTransactTime() bool {
|
||||
return m.Has(tag.TransactTime)
|
||||
}
|
||||
|
||||
// HasListID returns true if ListID is present, Tag 66.
|
||||
func (m ListCancelRequest) HasListID() bool {
|
||||
return m.Has(tag.ListID)
|
||||
}
|
||||
|
||||
// HasTradeOriginationDate returns true if TradeOriginationDate is present, Tag 229.
|
||||
func (m ListCancelRequest) HasTradeOriginationDate() bool {
|
||||
return m.Has(tag.TradeOriginationDate)
|
||||
}
|
||||
|
||||
// HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.
|
||||
func (m ListCancelRequest) HasEncodedTextLen() bool {
|
||||
return m.Has(tag.EncodedTextLen)
|
||||
}
|
||||
|
||||
// HasEncodedText returns true if EncodedText is present, Tag 355.
|
||||
func (m ListCancelRequest) HasEncodedText() bool {
|
||||
return m.Has(tag.EncodedText)
|
||||
}
|
||||
192
quickfix/gen/fix43/listexecute/ListExecute.generated.go
Normal file
192
quickfix/gen/fix43/listexecute/ListExecute.generated.go
Normal file
@ -0,0 +1,192 @@
|
||||
// Code generated by quickfix. DO NOT EDIT.
|
||||
package listexecute
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/quickfixgo/quickfix"
|
||||
"github.com/quickfixgo/quickfix/gen/field"
|
||||
"github.com/quickfixgo/quickfix/gen/fix43"
|
||||
"github.com/quickfixgo/quickfix/gen/tag"
|
||||
)
|
||||
|
||||
// ListExecute is the fix43 ListExecute type, MsgType = L.
|
||||
type ListExecute struct {
|
||||
fix43.Header
|
||||
*quickfix.Body
|
||||
fix43.Trailer
|
||||
Message *quickfix.Message
|
||||
}
|
||||
|
||||
// FromMessage creates a ListExecute from a quickfix.Message instance.
|
||||
func FromMessage(m *quickfix.Message) ListExecute {
|
||||
return ListExecute{
|
||||
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 ListExecute) ToMessage() *quickfix.Message {
|
||||
return m.Message
|
||||
}
|
||||
|
||||
// New returns a ListExecute initialized with the required fields for ListExecute.
|
||||
func New(listid field.ListIDField, transacttime field.TransactTimeField) (m ListExecute) {
|
||||
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("L"))
|
||||
m.Set(listid)
|
||||
m.Set(transacttime)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// A RouteOut is the callback type that should be implemented for routing Message.
|
||||
type RouteOut func(msg ListExecute, 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", "L", r
|
||||
}
|
||||
|
||||
// SetText sets Text, Tag 58.
|
||||
func (m ListExecute) SetText(v string) {
|
||||
m.Set(field.NewText(v))
|
||||
}
|
||||
|
||||
// SetTransactTime sets TransactTime, Tag 60.
|
||||
func (m ListExecute) SetTransactTime(v time.Time) {
|
||||
m.Set(field.NewTransactTime(v))
|
||||
}
|
||||
|
||||
// SetListID sets ListID, Tag 66.
|
||||
func (m ListExecute) SetListID(v string) {
|
||||
m.Set(field.NewListID(v))
|
||||
}
|
||||
|
||||
// SetEncodedTextLen sets EncodedTextLen, Tag 354.
|
||||
func (m ListExecute) SetEncodedTextLen(v int) {
|
||||
m.Set(field.NewEncodedTextLen(v))
|
||||
}
|
||||
|
||||
// SetEncodedText sets EncodedText, Tag 355.
|
||||
func (m ListExecute) SetEncodedText(v string) {
|
||||
m.Set(field.NewEncodedText(v))
|
||||
}
|
||||
|
||||
// SetBidID sets BidID, Tag 390.
|
||||
func (m ListExecute) SetBidID(v string) {
|
||||
m.Set(field.NewBidID(v))
|
||||
}
|
||||
|
||||
// SetClientBidID sets ClientBidID, Tag 391.
|
||||
func (m ListExecute) SetClientBidID(v string) {
|
||||
m.Set(field.NewClientBidID(v))
|
||||
}
|
||||
|
||||
// GetText gets Text, Tag 58.
|
||||
func (m ListExecute) GetText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.TextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTransactTime gets TransactTime, Tag 60.
|
||||
func (m ListExecute) GetTransactTime() (v time.Time, err quickfix.MessageRejectError) {
|
||||
var f field.TransactTimeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetListID gets ListID, Tag 66.
|
||||
func (m ListExecute) GetListID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.ListIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetEncodedTextLen gets EncodedTextLen, Tag 354.
|
||||
func (m ListExecute) 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 ListExecute) GetEncodedText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.EncodedTextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetBidID gets BidID, Tag 390.
|
||||
func (m ListExecute) GetBidID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.BidIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetClientBidID gets ClientBidID, Tag 391.
|
||||
func (m ListExecute) GetClientBidID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.ClientBidIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasText returns true if Text is present, Tag 58.
|
||||
func (m ListExecute) HasText() bool {
|
||||
return m.Has(tag.Text)
|
||||
}
|
||||
|
||||
// HasTransactTime returns true if TransactTime is present, Tag 60.
|
||||
func (m ListExecute) HasTransactTime() bool {
|
||||
return m.Has(tag.TransactTime)
|
||||
}
|
||||
|
||||
// HasListID returns true if ListID is present, Tag 66.
|
||||
func (m ListExecute) HasListID() bool {
|
||||
return m.Has(tag.ListID)
|
||||
}
|
||||
|
||||
// HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.
|
||||
func (m ListExecute) HasEncodedTextLen() bool {
|
||||
return m.Has(tag.EncodedTextLen)
|
||||
}
|
||||
|
||||
// HasEncodedText returns true if EncodedText is present, Tag 355.
|
||||
func (m ListExecute) HasEncodedText() bool {
|
||||
return m.Has(tag.EncodedText)
|
||||
}
|
||||
|
||||
// HasBidID returns true if BidID is present, Tag 390.
|
||||
func (m ListExecute) HasBidID() bool {
|
||||
return m.Has(tag.BidID)
|
||||
}
|
||||
|
||||
// HasClientBidID returns true if ClientBidID is present, Tag 391.
|
||||
func (m ListExecute) HasClientBidID() bool {
|
||||
return m.Has(tag.ClientBidID)
|
||||
}
|
||||
545
quickfix/gen/fix43/liststatus/ListStatus.generated.go
Normal file
545
quickfix/gen/fix43/liststatus/ListStatus.generated.go
Normal file
@ -0,0 +1,545 @@
|
||||
// Code generated by quickfix. DO NOT EDIT.
|
||||
package liststatus
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/shopspring/decimal"
|
||||
|
||||
"github.com/quickfixgo/quickfix"
|
||||
"github.com/quickfixgo/quickfix/gen/enum"
|
||||
"github.com/quickfixgo/quickfix/gen/field"
|
||||
"github.com/quickfixgo/quickfix/gen/fix43"
|
||||
"github.com/quickfixgo/quickfix/gen/tag"
|
||||
)
|
||||
|
||||
// ListStatus is the fix43 ListStatus type, MsgType = N.
|
||||
type ListStatus struct {
|
||||
fix43.Header
|
||||
*quickfix.Body
|
||||
fix43.Trailer
|
||||
Message *quickfix.Message
|
||||
}
|
||||
|
||||
// FromMessage creates a ListStatus from a quickfix.Message instance.
|
||||
func FromMessage(m *quickfix.Message) ListStatus {
|
||||
return ListStatus{
|
||||
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 ListStatus) ToMessage() *quickfix.Message {
|
||||
return m.Message
|
||||
}
|
||||
|
||||
// New returns a ListStatus initialized with the required fields for ListStatus.
|
||||
func New(listid field.ListIDField, liststatustype field.ListStatusTypeField, norpts field.NoRptsField, listorderstatus field.ListOrderStatusField, rptseq field.RptSeqField, totnoorders field.TotNoOrdersField) (m ListStatus) {
|
||||
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("N"))
|
||||
m.Set(listid)
|
||||
m.Set(liststatustype)
|
||||
m.Set(norpts)
|
||||
m.Set(listorderstatus)
|
||||
m.Set(rptseq)
|
||||
m.Set(totnoorders)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// A RouteOut is the callback type that should be implemented for routing Message.
|
||||
type RouteOut func(msg ListStatus, 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", "N", r
|
||||
}
|
||||
|
||||
// SetTransactTime sets TransactTime, Tag 60.
|
||||
func (m ListStatus) SetTransactTime(v time.Time) {
|
||||
m.Set(field.NewTransactTime(v))
|
||||
}
|
||||
|
||||
// SetListID sets ListID, Tag 66.
|
||||
func (m ListStatus) SetListID(v string) {
|
||||
m.Set(field.NewListID(v))
|
||||
}
|
||||
|
||||
// SetTotNoOrders sets TotNoOrders, Tag 68.
|
||||
func (m ListStatus) SetTotNoOrders(v int) {
|
||||
m.Set(field.NewTotNoOrders(v))
|
||||
}
|
||||
|
||||
// SetNoOrders sets NoOrders, Tag 73.
|
||||
func (m ListStatus) SetNoOrders(f NoOrdersRepeatingGroup) {
|
||||
m.SetGroup(f)
|
||||
}
|
||||
|
||||
// SetNoRpts sets NoRpts, Tag 82.
|
||||
func (m ListStatus) SetNoRpts(v int) {
|
||||
m.Set(field.NewNoRpts(v))
|
||||
}
|
||||
|
||||
// SetRptSeq sets RptSeq, Tag 83.
|
||||
func (m ListStatus) SetRptSeq(v int) {
|
||||
m.Set(field.NewRptSeq(v))
|
||||
}
|
||||
|
||||
// SetListStatusType sets ListStatusType, Tag 429.
|
||||
func (m ListStatus) SetListStatusType(v enum.ListStatusType) {
|
||||
m.Set(field.NewListStatusType(v))
|
||||
}
|
||||
|
||||
// SetListOrderStatus sets ListOrderStatus, Tag 431.
|
||||
func (m ListStatus) SetListOrderStatus(v enum.ListOrderStatus) {
|
||||
m.Set(field.NewListOrderStatus(v))
|
||||
}
|
||||
|
||||
// SetListStatusText sets ListStatusText, Tag 444.
|
||||
func (m ListStatus) SetListStatusText(v string) {
|
||||
m.Set(field.NewListStatusText(v))
|
||||
}
|
||||
|
||||
// SetEncodedListStatusTextLen sets EncodedListStatusTextLen, Tag 445.
|
||||
func (m ListStatus) SetEncodedListStatusTextLen(v int) {
|
||||
m.Set(field.NewEncodedListStatusTextLen(v))
|
||||
}
|
||||
|
||||
// SetEncodedListStatusText sets EncodedListStatusText, Tag 446.
|
||||
func (m ListStatus) SetEncodedListStatusText(v string) {
|
||||
m.Set(field.NewEncodedListStatusText(v))
|
||||
}
|
||||
|
||||
// GetTransactTime gets TransactTime, Tag 60.
|
||||
func (m ListStatus) GetTransactTime() (v time.Time, err quickfix.MessageRejectError) {
|
||||
var f field.TransactTimeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetListID gets ListID, Tag 66.
|
||||
func (m ListStatus) GetListID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.ListIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTotNoOrders gets TotNoOrders, Tag 68.
|
||||
func (m ListStatus) GetTotNoOrders() (v int, err quickfix.MessageRejectError) {
|
||||
var f field.TotNoOrdersField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetNoOrders gets NoOrders, Tag 73.
|
||||
func (m ListStatus) GetNoOrders() (NoOrdersRepeatingGroup, quickfix.MessageRejectError) {
|
||||
f := NewNoOrdersRepeatingGroup()
|
||||
err := m.GetGroup(f)
|
||||
return f, err
|
||||
}
|
||||
|
||||
// GetNoRpts gets NoRpts, Tag 82.
|
||||
func (m ListStatus) GetNoRpts() (v int, err quickfix.MessageRejectError) {
|
||||
var f field.NoRptsField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetRptSeq gets RptSeq, Tag 83.
|
||||
func (m ListStatus) GetRptSeq() (v int, err quickfix.MessageRejectError) {
|
||||
var f field.RptSeqField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetListStatusType gets ListStatusType, Tag 429.
|
||||
func (m ListStatus) GetListStatusType() (v enum.ListStatusType, err quickfix.MessageRejectError) {
|
||||
var f field.ListStatusTypeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetListOrderStatus gets ListOrderStatus, Tag 431.
|
||||
func (m ListStatus) GetListOrderStatus() (v enum.ListOrderStatus, err quickfix.MessageRejectError) {
|
||||
var f field.ListOrderStatusField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetListStatusText gets ListStatusText, Tag 444.
|
||||
func (m ListStatus) GetListStatusText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.ListStatusTextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetEncodedListStatusTextLen gets EncodedListStatusTextLen, Tag 445.
|
||||
func (m ListStatus) GetEncodedListStatusTextLen() (v int, err quickfix.MessageRejectError) {
|
||||
var f field.EncodedListStatusTextLenField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetEncodedListStatusText gets EncodedListStatusText, Tag 446.
|
||||
func (m ListStatus) GetEncodedListStatusText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.EncodedListStatusTextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasTransactTime returns true if TransactTime is present, Tag 60.
|
||||
func (m ListStatus) HasTransactTime() bool {
|
||||
return m.Has(tag.TransactTime)
|
||||
}
|
||||
|
||||
// HasListID returns true if ListID is present, Tag 66.
|
||||
func (m ListStatus) HasListID() bool {
|
||||
return m.Has(tag.ListID)
|
||||
}
|
||||
|
||||
// HasTotNoOrders returns true if TotNoOrders is present, Tag 68.
|
||||
func (m ListStatus) HasTotNoOrders() bool {
|
||||
return m.Has(tag.TotNoOrders)
|
||||
}
|
||||
|
||||
// HasNoOrders returns true if NoOrders is present, Tag 73.
|
||||
func (m ListStatus) HasNoOrders() bool {
|
||||
return m.Has(tag.NoOrders)
|
||||
}
|
||||
|
||||
// HasNoRpts returns true if NoRpts is present, Tag 82.
|
||||
func (m ListStatus) HasNoRpts() bool {
|
||||
return m.Has(tag.NoRpts)
|
||||
}
|
||||
|
||||
// HasRptSeq returns true if RptSeq is present, Tag 83.
|
||||
func (m ListStatus) HasRptSeq() bool {
|
||||
return m.Has(tag.RptSeq)
|
||||
}
|
||||
|
||||
// HasListStatusType returns true if ListStatusType is present, Tag 429.
|
||||
func (m ListStatus) HasListStatusType() bool {
|
||||
return m.Has(tag.ListStatusType)
|
||||
}
|
||||
|
||||
// HasListOrderStatus returns true if ListOrderStatus is present, Tag 431.
|
||||
func (m ListStatus) HasListOrderStatus() bool {
|
||||
return m.Has(tag.ListOrderStatus)
|
||||
}
|
||||
|
||||
// HasListStatusText returns true if ListStatusText is present, Tag 444.
|
||||
func (m ListStatus) HasListStatusText() bool {
|
||||
return m.Has(tag.ListStatusText)
|
||||
}
|
||||
|
||||
// HasEncodedListStatusTextLen returns true if EncodedListStatusTextLen is present, Tag 445.
|
||||
func (m ListStatus) HasEncodedListStatusTextLen() bool {
|
||||
return m.Has(tag.EncodedListStatusTextLen)
|
||||
}
|
||||
|
||||
// HasEncodedListStatusText returns true if EncodedListStatusText is present, Tag 446.
|
||||
func (m ListStatus) HasEncodedListStatusText() bool {
|
||||
return m.Has(tag.EncodedListStatusText)
|
||||
}
|
||||
|
||||
// NoOrders is a repeating group element, Tag 73.
|
||||
type NoOrders struct {
|
||||
*quickfix.Group
|
||||
}
|
||||
|
||||
// SetClOrdID sets ClOrdID, Tag 11.
|
||||
func (m NoOrders) SetClOrdID(v string) {
|
||||
m.Set(field.NewClOrdID(v))
|
||||
}
|
||||
|
||||
// SetSecondaryClOrdID sets SecondaryClOrdID, Tag 526.
|
||||
func (m NoOrders) SetSecondaryClOrdID(v string) {
|
||||
m.Set(field.NewSecondaryClOrdID(v))
|
||||
}
|
||||
|
||||
// SetCumQty sets CumQty, Tag 14.
|
||||
func (m NoOrders) SetCumQty(value decimal.Decimal, scale int32) {
|
||||
m.Set(field.NewCumQty(value, scale))
|
||||
}
|
||||
|
||||
// SetOrdStatus sets OrdStatus, Tag 39.
|
||||
func (m NoOrders) SetOrdStatus(v enum.OrdStatus) {
|
||||
m.Set(field.NewOrdStatus(v))
|
||||
}
|
||||
|
||||
// SetWorkingIndicator sets WorkingIndicator, Tag 636.
|
||||
func (m NoOrders) SetWorkingIndicator(v bool) {
|
||||
m.Set(field.NewWorkingIndicator(v))
|
||||
}
|
||||
|
||||
// SetLeavesQty sets LeavesQty, Tag 151.
|
||||
func (m NoOrders) SetLeavesQty(value decimal.Decimal, scale int32) {
|
||||
m.Set(field.NewLeavesQty(value, scale))
|
||||
}
|
||||
|
||||
// SetCxlQty sets CxlQty, Tag 84.
|
||||
func (m NoOrders) SetCxlQty(value decimal.Decimal, scale int32) {
|
||||
m.Set(field.NewCxlQty(value, scale))
|
||||
}
|
||||
|
||||
// SetAvgPx sets AvgPx, Tag 6.
|
||||
func (m NoOrders) SetAvgPx(value decimal.Decimal, scale int32) {
|
||||
m.Set(field.NewAvgPx(value, scale))
|
||||
}
|
||||
|
||||
// SetOrdRejReason sets OrdRejReason, Tag 103.
|
||||
func (m NoOrders) SetOrdRejReason(v enum.OrdRejReason) {
|
||||
m.Set(field.NewOrdRejReason(v))
|
||||
}
|
||||
|
||||
// SetText sets Text, Tag 58.
|
||||
func (m NoOrders) SetText(v string) {
|
||||
m.Set(field.NewText(v))
|
||||
}
|
||||
|
||||
// SetEncodedTextLen sets EncodedTextLen, Tag 354.
|
||||
func (m NoOrders) SetEncodedTextLen(v int) {
|
||||
m.Set(field.NewEncodedTextLen(v))
|
||||
}
|
||||
|
||||
// SetEncodedText sets EncodedText, Tag 355.
|
||||
func (m NoOrders) SetEncodedText(v string) {
|
||||
m.Set(field.NewEncodedText(v))
|
||||
}
|
||||
|
||||
// GetClOrdID gets ClOrdID, Tag 11.
|
||||
func (m NoOrders) GetClOrdID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.ClOrdIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetSecondaryClOrdID gets SecondaryClOrdID, Tag 526.
|
||||
func (m NoOrders) GetSecondaryClOrdID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.SecondaryClOrdIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetCumQty gets CumQty, Tag 14.
|
||||
func (m NoOrders) GetCumQty() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
||||
var f field.CumQtyField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetOrdStatus gets OrdStatus, Tag 39.
|
||||
func (m NoOrders) GetOrdStatus() (v enum.OrdStatus, err quickfix.MessageRejectError) {
|
||||
var f field.OrdStatusField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetWorkingIndicator gets WorkingIndicator, Tag 636.
|
||||
func (m NoOrders) GetWorkingIndicator() (v bool, err quickfix.MessageRejectError) {
|
||||
var f field.WorkingIndicatorField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetLeavesQty gets LeavesQty, Tag 151.
|
||||
func (m NoOrders) GetLeavesQty() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
||||
var f field.LeavesQtyField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetCxlQty gets CxlQty, Tag 84.
|
||||
func (m NoOrders) GetCxlQty() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
||||
var f field.CxlQtyField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetAvgPx gets AvgPx, Tag 6.
|
||||
func (m NoOrders) GetAvgPx() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
||||
var f field.AvgPxField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetOrdRejReason gets OrdRejReason, Tag 103.
|
||||
func (m NoOrders) GetOrdRejReason() (v enum.OrdRejReason, err quickfix.MessageRejectError) {
|
||||
var f field.OrdRejReasonField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetText gets Text, Tag 58.
|
||||
func (m NoOrders) GetText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.TextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetEncodedTextLen gets EncodedTextLen, Tag 354.
|
||||
func (m NoOrders) GetEncodedTextLen() (v int, err quickfix.MessageRejectError) {
|
||||
var f field.EncodedTextLenField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetEncodedText gets EncodedText, Tag 355.
|
||||
func (m NoOrders) GetEncodedText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.EncodedTextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasClOrdID returns true if ClOrdID is present, Tag 11.
|
||||
func (m NoOrders) HasClOrdID() bool {
|
||||
return m.Has(tag.ClOrdID)
|
||||
}
|
||||
|
||||
// HasSecondaryClOrdID returns true if SecondaryClOrdID is present, Tag 526.
|
||||
func (m NoOrders) HasSecondaryClOrdID() bool {
|
||||
return m.Has(tag.SecondaryClOrdID)
|
||||
}
|
||||
|
||||
// HasCumQty returns true if CumQty is present, Tag 14.
|
||||
func (m NoOrders) HasCumQty() bool {
|
||||
return m.Has(tag.CumQty)
|
||||
}
|
||||
|
||||
// HasOrdStatus returns true if OrdStatus is present, Tag 39.
|
||||
func (m NoOrders) HasOrdStatus() bool {
|
||||
return m.Has(tag.OrdStatus)
|
||||
}
|
||||
|
||||
// HasWorkingIndicator returns true if WorkingIndicator is present, Tag 636.
|
||||
func (m NoOrders) HasWorkingIndicator() bool {
|
||||
return m.Has(tag.WorkingIndicator)
|
||||
}
|
||||
|
||||
// HasLeavesQty returns true if LeavesQty is present, Tag 151.
|
||||
func (m NoOrders) HasLeavesQty() bool {
|
||||
return m.Has(tag.LeavesQty)
|
||||
}
|
||||
|
||||
// HasCxlQty returns true if CxlQty is present, Tag 84.
|
||||
func (m NoOrders) HasCxlQty() bool {
|
||||
return m.Has(tag.CxlQty)
|
||||
}
|
||||
|
||||
// HasAvgPx returns true if AvgPx is present, Tag 6.
|
||||
func (m NoOrders) HasAvgPx() bool {
|
||||
return m.Has(tag.AvgPx)
|
||||
}
|
||||
|
||||
// HasOrdRejReason returns true if OrdRejReason is present, Tag 103.
|
||||
func (m NoOrders) HasOrdRejReason() bool {
|
||||
return m.Has(tag.OrdRejReason)
|
||||
}
|
||||
|
||||
// HasText returns true if Text is present, Tag 58.
|
||||
func (m NoOrders) HasText() bool {
|
||||
return m.Has(tag.Text)
|
||||
}
|
||||
|
||||
// HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.
|
||||
func (m NoOrders) HasEncodedTextLen() bool {
|
||||
return m.Has(tag.EncodedTextLen)
|
||||
}
|
||||
|
||||
// HasEncodedText returns true if EncodedText is present, Tag 355.
|
||||
func (m NoOrders) HasEncodedText() bool {
|
||||
return m.Has(tag.EncodedText)
|
||||
}
|
||||
|
||||
// NoOrdersRepeatingGroup is a repeating group, Tag 73.
|
||||
type NoOrdersRepeatingGroup struct {
|
||||
*quickfix.RepeatingGroup
|
||||
}
|
||||
|
||||
// NewNoOrdersRepeatingGroup returns an initialized, NoOrdersRepeatingGroup.
|
||||
func NewNoOrdersRepeatingGroup() NoOrdersRepeatingGroup {
|
||||
return NoOrdersRepeatingGroup{
|
||||
quickfix.NewRepeatingGroup(
|
||||
tag.NoOrders,
|
||||
quickfix.GroupTemplate{
|
||||
quickfix.GroupElement(tag.ClOrdID),
|
||||
quickfix.GroupElement(tag.SecondaryClOrdID),
|
||||
quickfix.GroupElement(tag.CumQty),
|
||||
quickfix.GroupElement(tag.OrdStatus),
|
||||
quickfix.GroupElement(tag.WorkingIndicator),
|
||||
quickfix.GroupElement(tag.LeavesQty),
|
||||
quickfix.GroupElement(tag.CxlQty),
|
||||
quickfix.GroupElement(tag.AvgPx),
|
||||
quickfix.GroupElement(tag.OrdRejReason),
|
||||
quickfix.GroupElement(tag.Text),
|
||||
quickfix.GroupElement(tag.EncodedTextLen),
|
||||
quickfix.GroupElement(tag.EncodedText),
|
||||
},
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
// Add create and append a new NoOrders to this group.
|
||||
func (m NoOrdersRepeatingGroup) Add() NoOrders {
|
||||
g := m.RepeatingGroup.Add()
|
||||
return NoOrders{g}
|
||||
}
|
||||
|
||||
// Get returns the ith NoOrders in the NoOrdersRepeatinGroup.
|
||||
func (m NoOrdersRepeatingGroup) Get(i int) NoOrders {
|
||||
return NoOrders{m.RepeatingGroup.Get(i)}
|
||||
}
|
||||
@ -0,0 +1,132 @@
|
||||
// Code generated by quickfix. DO NOT EDIT.
|
||||
package liststatusrequest
|
||||
|
||||
import (
|
||||
"github.com/quickfixgo/quickfix"
|
||||
"github.com/quickfixgo/quickfix/gen/field"
|
||||
"github.com/quickfixgo/quickfix/gen/fix43"
|
||||
"github.com/quickfixgo/quickfix/gen/tag"
|
||||
)
|
||||
|
||||
// ListStatusRequest is the fix43 ListStatusRequest type, MsgType = M.
|
||||
type ListStatusRequest struct {
|
||||
fix43.Header
|
||||
*quickfix.Body
|
||||
fix43.Trailer
|
||||
Message *quickfix.Message
|
||||
}
|
||||
|
||||
// FromMessage creates a ListStatusRequest from a quickfix.Message instance.
|
||||
func FromMessage(m *quickfix.Message) ListStatusRequest {
|
||||
return ListStatusRequest{
|
||||
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 ListStatusRequest) ToMessage() *quickfix.Message {
|
||||
return m.Message
|
||||
}
|
||||
|
||||
// New returns a ListStatusRequest initialized with the required fields for ListStatusRequest.
|
||||
func New(listid field.ListIDField) (m ListStatusRequest) {
|
||||
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("M"))
|
||||
m.Set(listid)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// A RouteOut is the callback type that should be implemented for routing Message.
|
||||
type RouteOut func(msg ListStatusRequest, 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", "M", r
|
||||
}
|
||||
|
||||
// SetText sets Text, Tag 58.
|
||||
func (m ListStatusRequest) SetText(v string) {
|
||||
m.Set(field.NewText(v))
|
||||
}
|
||||
|
||||
// SetListID sets ListID, Tag 66.
|
||||
func (m ListStatusRequest) SetListID(v string) {
|
||||
m.Set(field.NewListID(v))
|
||||
}
|
||||
|
||||
// SetEncodedTextLen sets EncodedTextLen, Tag 354.
|
||||
func (m ListStatusRequest) SetEncodedTextLen(v int) {
|
||||
m.Set(field.NewEncodedTextLen(v))
|
||||
}
|
||||
|
||||
// SetEncodedText sets EncodedText, Tag 355.
|
||||
func (m ListStatusRequest) SetEncodedText(v string) {
|
||||
m.Set(field.NewEncodedText(v))
|
||||
}
|
||||
|
||||
// GetText gets Text, Tag 58.
|
||||
func (m ListStatusRequest) GetText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.TextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetListID gets ListID, Tag 66.
|
||||
func (m ListStatusRequest) GetListID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.ListIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetEncodedTextLen gets EncodedTextLen, Tag 354.
|
||||
func (m ListStatusRequest) 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 ListStatusRequest) GetEncodedText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.EncodedTextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasText returns true if Text is present, Tag 58.
|
||||
func (m ListStatusRequest) HasText() bool {
|
||||
return m.Has(tag.Text)
|
||||
}
|
||||
|
||||
// HasListID returns true if ListID is present, Tag 66.
|
||||
func (m ListStatusRequest) HasListID() bool {
|
||||
return m.Has(tag.ListID)
|
||||
}
|
||||
|
||||
// HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.
|
||||
func (m ListStatusRequest) HasEncodedTextLen() bool {
|
||||
return m.Has(tag.EncodedTextLen)
|
||||
}
|
||||
|
||||
// HasEncodedText returns true if EncodedText is present, Tag 355.
|
||||
func (m ListStatusRequest) HasEncodedText() bool {
|
||||
return m.Has(tag.EncodedText)
|
||||
}
|
||||
1057
quickfix/gen/fix43/liststrikeprice/ListStrikePrice.generated.go
Normal file
1057
quickfix/gen/fix43/liststrikeprice/ListStrikePrice.generated.go
Normal file
File diff suppressed because it is too large
Load Diff
318
quickfix/gen/fix43/logon/Logon.generated.go
Normal file
318
quickfix/gen/fix43/logon/Logon.generated.go
Normal file
@ -0,0 +1,318 @@
|
||||
// Code generated by quickfix. DO NOT EDIT.
|
||||
package logon
|
||||
|
||||
import (
|
||||
"github.com/quickfixgo/quickfix"
|
||||
"github.com/quickfixgo/quickfix/gen/enum"
|
||||
"github.com/quickfixgo/quickfix/gen/field"
|
||||
"github.com/quickfixgo/quickfix/gen/fix43"
|
||||
"github.com/quickfixgo/quickfix/gen/tag"
|
||||
)
|
||||
|
||||
// Logon is the fix43 Logon type, MsgType = A.
|
||||
type Logon struct {
|
||||
fix43.Header
|
||||
*quickfix.Body
|
||||
fix43.Trailer
|
||||
Message *quickfix.Message
|
||||
}
|
||||
|
||||
// FromMessage creates a Logon from a quickfix.Message instance.
|
||||
func FromMessage(m *quickfix.Message) Logon {
|
||||
return Logon{
|
||||
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 Logon) ToMessage() *quickfix.Message {
|
||||
return m.Message
|
||||
}
|
||||
|
||||
// New returns a Logon initialized with the required fields for Logon.
|
||||
func New(encryptmethod field.EncryptMethodField, heartbtint field.HeartBtIntField) (m Logon) {
|
||||
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("A"))
|
||||
m.Set(encryptmethod)
|
||||
m.Set(heartbtint)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// A RouteOut is the callback type that should be implemented for routing Message.
|
||||
type RouteOut func(msg Logon, 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", "A", r
|
||||
}
|
||||
|
||||
// SetRawDataLength sets RawDataLength, Tag 95.
|
||||
func (m Logon) SetRawDataLength(v int) {
|
||||
m.Set(field.NewRawDataLength(v))
|
||||
}
|
||||
|
||||
// SetRawData sets RawData, Tag 96.
|
||||
func (m Logon) SetRawData(v string) {
|
||||
m.Set(field.NewRawData(v))
|
||||
}
|
||||
|
||||
// SetEncryptMethod sets EncryptMethod, Tag 98.
|
||||
func (m Logon) SetEncryptMethod(v enum.EncryptMethod) {
|
||||
m.Set(field.NewEncryptMethod(v))
|
||||
}
|
||||
|
||||
// SetHeartBtInt sets HeartBtInt, Tag 108.
|
||||
func (m Logon) SetHeartBtInt(v int) {
|
||||
m.Set(field.NewHeartBtInt(v))
|
||||
}
|
||||
|
||||
// SetResetSeqNumFlag sets ResetSeqNumFlag, Tag 141.
|
||||
func (m Logon) SetResetSeqNumFlag(v bool) {
|
||||
m.Set(field.NewResetSeqNumFlag(v))
|
||||
}
|
||||
|
||||
// SetMaxMessageSize sets MaxMessageSize, Tag 383.
|
||||
func (m Logon) SetMaxMessageSize(v int) {
|
||||
m.Set(field.NewMaxMessageSize(v))
|
||||
}
|
||||
|
||||
// SetNoMsgTypes sets NoMsgTypes, Tag 384.
|
||||
func (m Logon) SetNoMsgTypes(f NoMsgTypesRepeatingGroup) {
|
||||
m.SetGroup(f)
|
||||
}
|
||||
|
||||
// SetTestMessageIndicator sets TestMessageIndicator, Tag 464.
|
||||
func (m Logon) SetTestMessageIndicator(v bool) {
|
||||
m.Set(field.NewTestMessageIndicator(v))
|
||||
}
|
||||
|
||||
// SetUsername sets Username, Tag 553.
|
||||
func (m Logon) SetUsername(v string) {
|
||||
m.Set(field.NewUsername(v))
|
||||
}
|
||||
|
||||
// SetPassword sets Password, Tag 554.
|
||||
func (m Logon) SetPassword(v string) {
|
||||
m.Set(field.NewPassword(v))
|
||||
}
|
||||
|
||||
// GetRawDataLength gets RawDataLength, Tag 95.
|
||||
func (m Logon) GetRawDataLength() (v int, err quickfix.MessageRejectError) {
|
||||
var f field.RawDataLengthField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetRawData gets RawData, Tag 96.
|
||||
func (m Logon) GetRawData() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.RawDataField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetEncryptMethod gets EncryptMethod, Tag 98.
|
||||
func (m Logon) GetEncryptMethod() (v enum.EncryptMethod, err quickfix.MessageRejectError) {
|
||||
var f field.EncryptMethodField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetHeartBtInt gets HeartBtInt, Tag 108.
|
||||
func (m Logon) GetHeartBtInt() (v int, err quickfix.MessageRejectError) {
|
||||
var f field.HeartBtIntField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetResetSeqNumFlag gets ResetSeqNumFlag, Tag 141.
|
||||
func (m Logon) GetResetSeqNumFlag() (v bool, err quickfix.MessageRejectError) {
|
||||
var f field.ResetSeqNumFlagField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetMaxMessageSize gets MaxMessageSize, Tag 383.
|
||||
func (m Logon) GetMaxMessageSize() (v int, err quickfix.MessageRejectError) {
|
||||
var f field.MaxMessageSizeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetNoMsgTypes gets NoMsgTypes, Tag 384.
|
||||
func (m Logon) GetNoMsgTypes() (NoMsgTypesRepeatingGroup, quickfix.MessageRejectError) {
|
||||
f := NewNoMsgTypesRepeatingGroup()
|
||||
err := m.GetGroup(f)
|
||||
return f, err
|
||||
}
|
||||
|
||||
// GetTestMessageIndicator gets TestMessageIndicator, Tag 464.
|
||||
func (m Logon) GetTestMessageIndicator() (v bool, err quickfix.MessageRejectError) {
|
||||
var f field.TestMessageIndicatorField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetUsername gets Username, Tag 553.
|
||||
func (m Logon) GetUsername() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.UsernameField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetPassword gets Password, Tag 554.
|
||||
func (m Logon) GetPassword() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.PasswordField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasRawDataLength returns true if RawDataLength is present, Tag 95.
|
||||
func (m Logon) HasRawDataLength() bool {
|
||||
return m.Has(tag.RawDataLength)
|
||||
}
|
||||
|
||||
// HasRawData returns true if RawData is present, Tag 96.
|
||||
func (m Logon) HasRawData() bool {
|
||||
return m.Has(tag.RawData)
|
||||
}
|
||||
|
||||
// HasEncryptMethod returns true if EncryptMethod is present, Tag 98.
|
||||
func (m Logon) HasEncryptMethod() bool {
|
||||
return m.Has(tag.EncryptMethod)
|
||||
}
|
||||
|
||||
// HasHeartBtInt returns true if HeartBtInt is present, Tag 108.
|
||||
func (m Logon) HasHeartBtInt() bool {
|
||||
return m.Has(tag.HeartBtInt)
|
||||
}
|
||||
|
||||
// HasResetSeqNumFlag returns true if ResetSeqNumFlag is present, Tag 141.
|
||||
func (m Logon) HasResetSeqNumFlag() bool {
|
||||
return m.Has(tag.ResetSeqNumFlag)
|
||||
}
|
||||
|
||||
// HasMaxMessageSize returns true if MaxMessageSize is present, Tag 383.
|
||||
func (m Logon) HasMaxMessageSize() bool {
|
||||
return m.Has(tag.MaxMessageSize)
|
||||
}
|
||||
|
||||
// HasNoMsgTypes returns true if NoMsgTypes is present, Tag 384.
|
||||
func (m Logon) HasNoMsgTypes() bool {
|
||||
return m.Has(tag.NoMsgTypes)
|
||||
}
|
||||
|
||||
// HasTestMessageIndicator returns true if TestMessageIndicator is present, Tag 464.
|
||||
func (m Logon) HasTestMessageIndicator() bool {
|
||||
return m.Has(tag.TestMessageIndicator)
|
||||
}
|
||||
|
||||
// HasUsername returns true if Username is present, Tag 553.
|
||||
func (m Logon) HasUsername() bool {
|
||||
return m.Has(tag.Username)
|
||||
}
|
||||
|
||||
// HasPassword returns true if Password is present, Tag 554.
|
||||
func (m Logon) HasPassword() bool {
|
||||
return m.Has(tag.Password)
|
||||
}
|
||||
|
||||
// NoMsgTypes is a repeating group element, Tag 384.
|
||||
type NoMsgTypes struct {
|
||||
*quickfix.Group
|
||||
}
|
||||
|
||||
// SetRefMsgType sets RefMsgType, Tag 372.
|
||||
func (m NoMsgTypes) SetRefMsgType(v string) {
|
||||
m.Set(field.NewRefMsgType(v))
|
||||
}
|
||||
|
||||
// SetMsgDirection sets MsgDirection, Tag 385.
|
||||
func (m NoMsgTypes) SetMsgDirection(v enum.MsgDirection) {
|
||||
m.Set(field.NewMsgDirection(v))
|
||||
}
|
||||
|
||||
// GetRefMsgType gets RefMsgType, Tag 372.
|
||||
func (m NoMsgTypes) GetRefMsgType() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.RefMsgTypeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetMsgDirection gets MsgDirection, Tag 385.
|
||||
func (m NoMsgTypes) GetMsgDirection() (v enum.MsgDirection, err quickfix.MessageRejectError) {
|
||||
var f field.MsgDirectionField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasRefMsgType returns true if RefMsgType is present, Tag 372.
|
||||
func (m NoMsgTypes) HasRefMsgType() bool {
|
||||
return m.Has(tag.RefMsgType)
|
||||
}
|
||||
|
||||
// HasMsgDirection returns true if MsgDirection is present, Tag 385.
|
||||
func (m NoMsgTypes) HasMsgDirection() bool {
|
||||
return m.Has(tag.MsgDirection)
|
||||
}
|
||||
|
||||
// NoMsgTypesRepeatingGroup is a repeating group, Tag 384.
|
||||
type NoMsgTypesRepeatingGroup struct {
|
||||
*quickfix.RepeatingGroup
|
||||
}
|
||||
|
||||
// NewNoMsgTypesRepeatingGroup returns an initialized, NoMsgTypesRepeatingGroup.
|
||||
func NewNoMsgTypesRepeatingGroup() NoMsgTypesRepeatingGroup {
|
||||
return NoMsgTypesRepeatingGroup{
|
||||
quickfix.NewRepeatingGroup(
|
||||
tag.NoMsgTypes,
|
||||
quickfix.GroupTemplate{
|
||||
quickfix.GroupElement(tag.RefMsgType),
|
||||
quickfix.GroupElement(tag.MsgDirection),
|
||||
},
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
// Add create and append a new NoMsgTypes to this group.
|
||||
func (m NoMsgTypesRepeatingGroup) Add() NoMsgTypes {
|
||||
g := m.RepeatingGroup.Add()
|
||||
return NoMsgTypes{g}
|
||||
}
|
||||
|
||||
// Get returns the ith NoMsgTypes in the NoMsgTypesRepeatinGroup.
|
||||
func (m NoMsgTypesRepeatingGroup) Get(i int) NoMsgTypes {
|
||||
return NoMsgTypes{m.RepeatingGroup.Get(i)}
|
||||
}
|
||||
112
quickfix/gen/fix43/logout/Logout.generated.go
Normal file
112
quickfix/gen/fix43/logout/Logout.generated.go
Normal file
@ -0,0 +1,112 @@
|
||||
// Code generated by quickfix. DO NOT EDIT.
|
||||
package logout
|
||||
|
||||
import (
|
||||
"github.com/quickfixgo/quickfix"
|
||||
"github.com/quickfixgo/quickfix/gen/field"
|
||||
"github.com/quickfixgo/quickfix/gen/fix43"
|
||||
"github.com/quickfixgo/quickfix/gen/tag"
|
||||
)
|
||||
|
||||
// Logout is the fix43 Logout type, MsgType = 5.
|
||||
type Logout struct {
|
||||
fix43.Header
|
||||
*quickfix.Body
|
||||
fix43.Trailer
|
||||
Message *quickfix.Message
|
||||
}
|
||||
|
||||
// FromMessage creates a Logout from a quickfix.Message instance.
|
||||
func FromMessage(m *quickfix.Message) Logout {
|
||||
return Logout{
|
||||
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 Logout) ToMessage() *quickfix.Message {
|
||||
return m.Message
|
||||
}
|
||||
|
||||
// New returns a Logout initialized with the required fields for Logout.
|
||||
func New() (m Logout) {
|
||||
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("5"))
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// A RouteOut is the callback type that should be implemented for routing Message.
|
||||
type RouteOut func(msg Logout, 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", "5", r
|
||||
}
|
||||
|
||||
// SetText sets Text, Tag 58.
|
||||
func (m Logout) SetText(v string) {
|
||||
m.Set(field.NewText(v))
|
||||
}
|
||||
|
||||
// SetEncodedTextLen sets EncodedTextLen, Tag 354.
|
||||
func (m Logout) SetEncodedTextLen(v int) {
|
||||
m.Set(field.NewEncodedTextLen(v))
|
||||
}
|
||||
|
||||
// SetEncodedText sets EncodedText, Tag 355.
|
||||
func (m Logout) SetEncodedText(v string) {
|
||||
m.Set(field.NewEncodedText(v))
|
||||
}
|
||||
|
||||
// GetText gets Text, Tag 58.
|
||||
func (m Logout) 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 Logout) 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 Logout) GetEncodedText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.EncodedTextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasText returns true if Text is present, Tag 58.
|
||||
func (m Logout) HasText() bool {
|
||||
return m.Has(tag.Text)
|
||||
}
|
||||
|
||||
// HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.
|
||||
func (m Logout) HasEncodedTextLen() bool {
|
||||
return m.Has(tag.EncodedTextLen)
|
||||
}
|
||||
|
||||
// HasEncodedText returns true if EncodedText is present, Tag 355.
|
||||
func (m Logout) HasEncodedText() bool {
|
||||
return m.Has(tag.EncodedText)
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
1150
quickfix/gen/fix43/marketdatarequest/MarketDataRequest.generated.go
Normal file
1150
quickfix/gen/fix43/marketdatarequest/MarketDataRequest.generated.go
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,152 @@
|
||||
// Code generated by quickfix. DO NOT EDIT.
|
||||
package marketdatarequestreject
|
||||
|
||||
import (
|
||||
"github.com/quickfixgo/quickfix"
|
||||
"github.com/quickfixgo/quickfix/gen/enum"
|
||||
"github.com/quickfixgo/quickfix/gen/field"
|
||||
"github.com/quickfixgo/quickfix/gen/fix43"
|
||||
"github.com/quickfixgo/quickfix/gen/tag"
|
||||
)
|
||||
|
||||
// MarketDataRequestReject is the fix43 MarketDataRequestReject type, MsgType = Y.
|
||||
type MarketDataRequestReject struct {
|
||||
fix43.Header
|
||||
*quickfix.Body
|
||||
fix43.Trailer
|
||||
Message *quickfix.Message
|
||||
}
|
||||
|
||||
// FromMessage creates a MarketDataRequestReject from a quickfix.Message instance.
|
||||
func FromMessage(m *quickfix.Message) MarketDataRequestReject {
|
||||
return MarketDataRequestReject{
|
||||
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 MarketDataRequestReject) ToMessage() *quickfix.Message {
|
||||
return m.Message
|
||||
}
|
||||
|
||||
// New returns a MarketDataRequestReject initialized with the required fields for MarketDataRequestReject.
|
||||
func New(mdreqid field.MDReqIDField) (m MarketDataRequestReject) {
|
||||
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("Y"))
|
||||
m.Set(mdreqid)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// A RouteOut is the callback type that should be implemented for routing Message.
|
||||
type RouteOut func(msg MarketDataRequestReject, 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", "Y", r
|
||||
}
|
||||
|
||||
// SetText sets Text, Tag 58.
|
||||
func (m MarketDataRequestReject) SetText(v string) {
|
||||
m.Set(field.NewText(v))
|
||||
}
|
||||
|
||||
// SetMDReqID sets MDReqID, Tag 262.
|
||||
func (m MarketDataRequestReject) SetMDReqID(v string) {
|
||||
m.Set(field.NewMDReqID(v))
|
||||
}
|
||||
|
||||
// SetMDReqRejReason sets MDReqRejReason, Tag 281.
|
||||
func (m MarketDataRequestReject) SetMDReqRejReason(v enum.MDReqRejReason) {
|
||||
m.Set(field.NewMDReqRejReason(v))
|
||||
}
|
||||
|
||||
// SetEncodedTextLen sets EncodedTextLen, Tag 354.
|
||||
func (m MarketDataRequestReject) SetEncodedTextLen(v int) {
|
||||
m.Set(field.NewEncodedTextLen(v))
|
||||
}
|
||||
|
||||
// SetEncodedText sets EncodedText, Tag 355.
|
||||
func (m MarketDataRequestReject) SetEncodedText(v string) {
|
||||
m.Set(field.NewEncodedText(v))
|
||||
}
|
||||
|
||||
// GetText gets Text, Tag 58.
|
||||
func (m MarketDataRequestReject) GetText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.TextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetMDReqID gets MDReqID, Tag 262.
|
||||
func (m MarketDataRequestReject) GetMDReqID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.MDReqIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetMDReqRejReason gets MDReqRejReason, Tag 281.
|
||||
func (m MarketDataRequestReject) GetMDReqRejReason() (v enum.MDReqRejReason, err quickfix.MessageRejectError) {
|
||||
var f field.MDReqRejReasonField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetEncodedTextLen gets EncodedTextLen, Tag 354.
|
||||
func (m MarketDataRequestReject) 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 MarketDataRequestReject) GetEncodedText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.EncodedTextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasText returns true if Text is present, Tag 58.
|
||||
func (m MarketDataRequestReject) HasText() bool {
|
||||
return m.Has(tag.Text)
|
||||
}
|
||||
|
||||
// HasMDReqID returns true if MDReqID is present, Tag 262.
|
||||
func (m MarketDataRequestReject) HasMDReqID() bool {
|
||||
return m.Has(tag.MDReqID)
|
||||
}
|
||||
|
||||
// HasMDReqRejReason returns true if MDReqRejReason is present, Tag 281.
|
||||
func (m MarketDataRequestReject) HasMDReqRejReason() bool {
|
||||
return m.Has(tag.MDReqRejReason)
|
||||
}
|
||||
|
||||
// HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.
|
||||
func (m MarketDataRequestReject) HasEncodedTextLen() bool {
|
||||
return m.Has(tag.EncodedTextLen)
|
||||
}
|
||||
|
||||
// HasEncodedText returns true if EncodedText is present, Tag 355.
|
||||
func (m MarketDataRequestReject) HasEncodedText() bool {
|
||||
return m.Has(tag.EncodedText)
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
2441
quickfix/gen/fix43/massquote/MassQuote.generated.go
Normal file
2441
quickfix/gen/fix43/massquote/MassQuote.generated.go
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
2876
quickfix/gen/fix43/newordercross/NewOrderCross.generated.go
Normal file
2876
quickfix/gen/fix43/newordercross/NewOrderCross.generated.go
Normal file
File diff suppressed because it is too large
Load Diff
3218
quickfix/gen/fix43/neworderlist/NewOrderList.generated.go
Normal file
3218
quickfix/gen/fix43/neworderlist/NewOrderList.generated.go
Normal file
File diff suppressed because it is too large
Load Diff
3412
quickfix/gen/fix43/newordermultileg/NewOrderMultileg.generated.go
Normal file
3412
quickfix/gen/fix43/newordermultileg/NewOrderMultileg.generated.go
Normal file
File diff suppressed because it is too large
Load Diff
2790
quickfix/gen/fix43/newordersingle/NewOrderSingle.generated.go
Normal file
2790
quickfix/gen/fix43/newordersingle/NewOrderSingle.generated.go
Normal file
File diff suppressed because it is too large
Load Diff
1190
quickfix/gen/fix43/news/News.generated.go
Normal file
1190
quickfix/gen/fix43/news/News.generated.go
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,424 @@
|
||||
// Code generated by quickfix. DO NOT EDIT.
|
||||
package ordercancelreject
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/quickfixgo/quickfix"
|
||||
"github.com/quickfixgo/quickfix/gen/enum"
|
||||
"github.com/quickfixgo/quickfix/gen/field"
|
||||
"github.com/quickfixgo/quickfix/gen/fix43"
|
||||
"github.com/quickfixgo/quickfix/gen/tag"
|
||||
)
|
||||
|
||||
// OrderCancelReject is the fix43 OrderCancelReject type, MsgType = 9.
|
||||
type OrderCancelReject struct {
|
||||
fix43.Header
|
||||
*quickfix.Body
|
||||
fix43.Trailer
|
||||
Message *quickfix.Message
|
||||
}
|
||||
|
||||
// FromMessage creates a OrderCancelReject from a quickfix.Message instance.
|
||||
func FromMessage(m *quickfix.Message) OrderCancelReject {
|
||||
return OrderCancelReject{
|
||||
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 OrderCancelReject) ToMessage() *quickfix.Message {
|
||||
return m.Message
|
||||
}
|
||||
|
||||
// New returns a OrderCancelReject initialized with the required fields for OrderCancelReject.
|
||||
func New(orderid field.OrderIDField, clordid field.ClOrdIDField, origclordid field.OrigClOrdIDField, ordstatus field.OrdStatusField, cxlrejresponseto field.CxlRejResponseToField) (m OrderCancelReject) {
|
||||
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("9"))
|
||||
m.Set(orderid)
|
||||
m.Set(clordid)
|
||||
m.Set(origclordid)
|
||||
m.Set(ordstatus)
|
||||
m.Set(cxlrejresponseto)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// A RouteOut is the callback type that should be implemented for routing Message.
|
||||
type RouteOut func(msg OrderCancelReject, 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", "9", r
|
||||
}
|
||||
|
||||
// SetAccount sets Account, Tag 1.
|
||||
func (m OrderCancelReject) SetAccount(v string) {
|
||||
m.Set(field.NewAccount(v))
|
||||
}
|
||||
|
||||
// SetClOrdID sets ClOrdID, Tag 11.
|
||||
func (m OrderCancelReject) SetClOrdID(v string) {
|
||||
m.Set(field.NewClOrdID(v))
|
||||
}
|
||||
|
||||
// SetOrderID sets OrderID, Tag 37.
|
||||
func (m OrderCancelReject) SetOrderID(v string) {
|
||||
m.Set(field.NewOrderID(v))
|
||||
}
|
||||
|
||||
// SetOrdStatus sets OrdStatus, Tag 39.
|
||||
func (m OrderCancelReject) SetOrdStatus(v enum.OrdStatus) {
|
||||
m.Set(field.NewOrdStatus(v))
|
||||
}
|
||||
|
||||
// SetOrigClOrdID sets OrigClOrdID, Tag 41.
|
||||
func (m OrderCancelReject) SetOrigClOrdID(v string) {
|
||||
m.Set(field.NewOrigClOrdID(v))
|
||||
}
|
||||
|
||||
// SetText sets Text, Tag 58.
|
||||
func (m OrderCancelReject) SetText(v string) {
|
||||
m.Set(field.NewText(v))
|
||||
}
|
||||
|
||||
// SetTransactTime sets TransactTime, Tag 60.
|
||||
func (m OrderCancelReject) SetTransactTime(v time.Time) {
|
||||
m.Set(field.NewTransactTime(v))
|
||||
}
|
||||
|
||||
// SetListID sets ListID, Tag 66.
|
||||
func (m OrderCancelReject) SetListID(v string) {
|
||||
m.Set(field.NewListID(v))
|
||||
}
|
||||
|
||||
// SetCxlRejReason sets CxlRejReason, Tag 102.
|
||||
func (m OrderCancelReject) SetCxlRejReason(v enum.CxlRejReason) {
|
||||
m.Set(field.NewCxlRejReason(v))
|
||||
}
|
||||
|
||||
// SetSecondaryOrderID sets SecondaryOrderID, Tag 198.
|
||||
func (m OrderCancelReject) SetSecondaryOrderID(v string) {
|
||||
m.Set(field.NewSecondaryOrderID(v))
|
||||
}
|
||||
|
||||
// SetTradeOriginationDate sets TradeOriginationDate, Tag 229.
|
||||
func (m OrderCancelReject) SetTradeOriginationDate(v string) {
|
||||
m.Set(field.NewTradeOriginationDate(v))
|
||||
}
|
||||
|
||||
// SetEncodedTextLen sets EncodedTextLen, Tag 354.
|
||||
func (m OrderCancelReject) SetEncodedTextLen(v int) {
|
||||
m.Set(field.NewEncodedTextLen(v))
|
||||
}
|
||||
|
||||
// SetEncodedText sets EncodedText, Tag 355.
|
||||
func (m OrderCancelReject) SetEncodedText(v string) {
|
||||
m.Set(field.NewEncodedText(v))
|
||||
}
|
||||
|
||||
// SetCxlRejResponseTo sets CxlRejResponseTo, Tag 434.
|
||||
func (m OrderCancelReject) SetCxlRejResponseTo(v enum.CxlRejResponseTo) {
|
||||
m.Set(field.NewCxlRejResponseTo(v))
|
||||
}
|
||||
|
||||
// SetSecondaryClOrdID sets SecondaryClOrdID, Tag 526.
|
||||
func (m OrderCancelReject) SetSecondaryClOrdID(v string) {
|
||||
m.Set(field.NewSecondaryClOrdID(v))
|
||||
}
|
||||
|
||||
// SetAccountType sets AccountType, Tag 581.
|
||||
func (m OrderCancelReject) SetAccountType(v enum.AccountType) {
|
||||
m.Set(field.NewAccountType(v))
|
||||
}
|
||||
|
||||
// SetClOrdLinkID sets ClOrdLinkID, Tag 583.
|
||||
func (m OrderCancelReject) SetClOrdLinkID(v string) {
|
||||
m.Set(field.NewClOrdLinkID(v))
|
||||
}
|
||||
|
||||
// SetOrigOrdModTime sets OrigOrdModTime, Tag 586.
|
||||
func (m OrderCancelReject) SetOrigOrdModTime(v time.Time) {
|
||||
m.Set(field.NewOrigOrdModTime(v))
|
||||
}
|
||||
|
||||
// SetWorkingIndicator sets WorkingIndicator, Tag 636.
|
||||
func (m OrderCancelReject) SetWorkingIndicator(v bool) {
|
||||
m.Set(field.NewWorkingIndicator(v))
|
||||
}
|
||||
|
||||
// GetAccount gets Account, Tag 1.
|
||||
func (m OrderCancelReject) GetAccount() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.AccountField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetClOrdID gets ClOrdID, Tag 11.
|
||||
func (m OrderCancelReject) GetClOrdID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.ClOrdIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetOrderID gets OrderID, Tag 37.
|
||||
func (m OrderCancelReject) GetOrderID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.OrderIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetOrdStatus gets OrdStatus, Tag 39.
|
||||
func (m OrderCancelReject) GetOrdStatus() (v enum.OrdStatus, err quickfix.MessageRejectError) {
|
||||
var f field.OrdStatusField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetOrigClOrdID gets OrigClOrdID, Tag 41.
|
||||
func (m OrderCancelReject) GetOrigClOrdID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.OrigClOrdIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetText gets Text, Tag 58.
|
||||
func (m OrderCancelReject) GetText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.TextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTransactTime gets TransactTime, Tag 60.
|
||||
func (m OrderCancelReject) GetTransactTime() (v time.Time, err quickfix.MessageRejectError) {
|
||||
var f field.TransactTimeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetListID gets ListID, Tag 66.
|
||||
func (m OrderCancelReject) GetListID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.ListIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetCxlRejReason gets CxlRejReason, Tag 102.
|
||||
func (m OrderCancelReject) GetCxlRejReason() (v enum.CxlRejReason, err quickfix.MessageRejectError) {
|
||||
var f field.CxlRejReasonField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetSecondaryOrderID gets SecondaryOrderID, Tag 198.
|
||||
func (m OrderCancelReject) GetSecondaryOrderID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.SecondaryOrderIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTradeOriginationDate gets TradeOriginationDate, Tag 229.
|
||||
func (m OrderCancelReject) GetTradeOriginationDate() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.TradeOriginationDateField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetEncodedTextLen gets EncodedTextLen, Tag 354.
|
||||
func (m OrderCancelReject) 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 OrderCancelReject) GetEncodedText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.EncodedTextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetCxlRejResponseTo gets CxlRejResponseTo, Tag 434.
|
||||
func (m OrderCancelReject) GetCxlRejResponseTo() (v enum.CxlRejResponseTo, err quickfix.MessageRejectError) {
|
||||
var f field.CxlRejResponseToField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetSecondaryClOrdID gets SecondaryClOrdID, Tag 526.
|
||||
func (m OrderCancelReject) GetSecondaryClOrdID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.SecondaryClOrdIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetAccountType gets AccountType, Tag 581.
|
||||
func (m OrderCancelReject) GetAccountType() (v enum.AccountType, err quickfix.MessageRejectError) {
|
||||
var f field.AccountTypeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetClOrdLinkID gets ClOrdLinkID, Tag 583.
|
||||
func (m OrderCancelReject) GetClOrdLinkID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.ClOrdLinkIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetOrigOrdModTime gets OrigOrdModTime, Tag 586.
|
||||
func (m OrderCancelReject) GetOrigOrdModTime() (v time.Time, err quickfix.MessageRejectError) {
|
||||
var f field.OrigOrdModTimeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetWorkingIndicator gets WorkingIndicator, Tag 636.
|
||||
func (m OrderCancelReject) GetWorkingIndicator() (v bool, err quickfix.MessageRejectError) {
|
||||
var f field.WorkingIndicatorField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasAccount returns true if Account is present, Tag 1.
|
||||
func (m OrderCancelReject) HasAccount() bool {
|
||||
return m.Has(tag.Account)
|
||||
}
|
||||
|
||||
// HasClOrdID returns true if ClOrdID is present, Tag 11.
|
||||
func (m OrderCancelReject) HasClOrdID() bool {
|
||||
return m.Has(tag.ClOrdID)
|
||||
}
|
||||
|
||||
// HasOrderID returns true if OrderID is present, Tag 37.
|
||||
func (m OrderCancelReject) HasOrderID() bool {
|
||||
return m.Has(tag.OrderID)
|
||||
}
|
||||
|
||||
// HasOrdStatus returns true if OrdStatus is present, Tag 39.
|
||||
func (m OrderCancelReject) HasOrdStatus() bool {
|
||||
return m.Has(tag.OrdStatus)
|
||||
}
|
||||
|
||||
// HasOrigClOrdID returns true if OrigClOrdID is present, Tag 41.
|
||||
func (m OrderCancelReject) HasOrigClOrdID() bool {
|
||||
return m.Has(tag.OrigClOrdID)
|
||||
}
|
||||
|
||||
// HasText returns true if Text is present, Tag 58.
|
||||
func (m OrderCancelReject) HasText() bool {
|
||||
return m.Has(tag.Text)
|
||||
}
|
||||
|
||||
// HasTransactTime returns true if TransactTime is present, Tag 60.
|
||||
func (m OrderCancelReject) HasTransactTime() bool {
|
||||
return m.Has(tag.TransactTime)
|
||||
}
|
||||
|
||||
// HasListID returns true if ListID is present, Tag 66.
|
||||
func (m OrderCancelReject) HasListID() bool {
|
||||
return m.Has(tag.ListID)
|
||||
}
|
||||
|
||||
// HasCxlRejReason returns true if CxlRejReason is present, Tag 102.
|
||||
func (m OrderCancelReject) HasCxlRejReason() bool {
|
||||
return m.Has(tag.CxlRejReason)
|
||||
}
|
||||
|
||||
// HasSecondaryOrderID returns true if SecondaryOrderID is present, Tag 198.
|
||||
func (m OrderCancelReject) HasSecondaryOrderID() bool {
|
||||
return m.Has(tag.SecondaryOrderID)
|
||||
}
|
||||
|
||||
// HasTradeOriginationDate returns true if TradeOriginationDate is present, Tag 229.
|
||||
func (m OrderCancelReject) HasTradeOriginationDate() bool {
|
||||
return m.Has(tag.TradeOriginationDate)
|
||||
}
|
||||
|
||||
// HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.
|
||||
func (m OrderCancelReject) HasEncodedTextLen() bool {
|
||||
return m.Has(tag.EncodedTextLen)
|
||||
}
|
||||
|
||||
// HasEncodedText returns true if EncodedText is present, Tag 355.
|
||||
func (m OrderCancelReject) HasEncodedText() bool {
|
||||
return m.Has(tag.EncodedText)
|
||||
}
|
||||
|
||||
// HasCxlRejResponseTo returns true if CxlRejResponseTo is present, Tag 434.
|
||||
func (m OrderCancelReject) HasCxlRejResponseTo() bool {
|
||||
return m.Has(tag.CxlRejResponseTo)
|
||||
}
|
||||
|
||||
// HasSecondaryClOrdID returns true if SecondaryClOrdID is present, Tag 526.
|
||||
func (m OrderCancelReject) HasSecondaryClOrdID() bool {
|
||||
return m.Has(tag.SecondaryClOrdID)
|
||||
}
|
||||
|
||||
// HasAccountType returns true if AccountType is present, Tag 581.
|
||||
func (m OrderCancelReject) HasAccountType() bool {
|
||||
return m.Has(tag.AccountType)
|
||||
}
|
||||
|
||||
// HasClOrdLinkID returns true if ClOrdLinkID is present, Tag 583.
|
||||
func (m OrderCancelReject) HasClOrdLinkID() bool {
|
||||
return m.Has(tag.ClOrdLinkID)
|
||||
}
|
||||
|
||||
// HasOrigOrdModTime returns true if OrigOrdModTime is present, Tag 586.
|
||||
func (m OrderCancelReject) HasOrigOrdModTime() bool {
|
||||
return m.Has(tag.OrigOrdModTime)
|
||||
}
|
||||
|
||||
// HasWorkingIndicator returns true if WorkingIndicator is present, Tag 636.
|
||||
func (m OrderCancelReject) HasWorkingIndicator() bool {
|
||||
return m.Has(tag.WorkingIndicator)
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
1723
quickfix/gen/fix43/quote/Quote.generated.go
Normal file
1723
quickfix/gen/fix43/quote/Quote.generated.go
Normal file
File diff suppressed because it is too large
Load Diff
1120
quickfix/gen/fix43/quotecancel/QuoteCancel.generated.go
Normal file
1120
quickfix/gen/fix43/quotecancel/QuoteCancel.generated.go
Normal file
File diff suppressed because it is too large
Load Diff
1565
quickfix/gen/fix43/quoterequest/QuoteRequest.generated.go
Normal file
1565
quickfix/gen/fix43/quoterequest/QuoteRequest.generated.go
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
1666
quickfix/gen/fix43/quotestatusreport/QuoteStatusReport.generated.go
Normal file
1666
quickfix/gen/fix43/quotestatusreport/QuoteStatusReport.generated.go
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,850 @@
|
||||
// Code generated by quickfix. DO NOT EDIT.
|
||||
package registrationinstructions
|
||||
|
||||
import (
|
||||
"github.com/shopspring/decimal"
|
||||
|
||||
"github.com/quickfixgo/quickfix"
|
||||
"github.com/quickfixgo/quickfix/gen/enum"
|
||||
"github.com/quickfixgo/quickfix/gen/field"
|
||||
"github.com/quickfixgo/quickfix/gen/fix43"
|
||||
"github.com/quickfixgo/quickfix/gen/tag"
|
||||
)
|
||||
|
||||
// RegistrationInstructions is the fix43 RegistrationInstructions type, MsgType = o.
|
||||
type RegistrationInstructions struct {
|
||||
fix43.Header
|
||||
*quickfix.Body
|
||||
fix43.Trailer
|
||||
Message *quickfix.Message
|
||||
}
|
||||
|
||||
// FromMessage creates a RegistrationInstructions from a quickfix.Message instance.
|
||||
func FromMessage(m *quickfix.Message) RegistrationInstructions {
|
||||
return RegistrationInstructions{
|
||||
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 RegistrationInstructions) ToMessage() *quickfix.Message {
|
||||
return m.Message
|
||||
}
|
||||
|
||||
// New returns a RegistrationInstructions initialized with the required fields for RegistrationInstructions.
|
||||
func New(registid field.RegistIDField, registtranstype field.RegistTransTypeField, registrefid field.RegistRefIDField) (m RegistrationInstructions) {
|
||||
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("o"))
|
||||
m.Set(registid)
|
||||
m.Set(registtranstype)
|
||||
m.Set(registrefid)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// A RouteOut is the callback type that should be implemented for routing Message.
|
||||
type RouteOut func(msg RegistrationInstructions, 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", "o", r
|
||||
}
|
||||
|
||||
// SetAccount sets Account, Tag 1.
|
||||
func (m RegistrationInstructions) SetAccount(v string) {
|
||||
m.Set(field.NewAccount(v))
|
||||
}
|
||||
|
||||
// SetClOrdID sets ClOrdID, Tag 11.
|
||||
func (m RegistrationInstructions) SetClOrdID(v string) {
|
||||
m.Set(field.NewClOrdID(v))
|
||||
}
|
||||
|
||||
// SetNoPartyIDs sets NoPartyIDs, Tag 453.
|
||||
func (m RegistrationInstructions) SetNoPartyIDs(f NoPartyIDsRepeatingGroup) {
|
||||
m.SetGroup(f)
|
||||
}
|
||||
|
||||
// SetNoRegistDtls sets NoRegistDtls, Tag 473.
|
||||
func (m RegistrationInstructions) SetNoRegistDtls(f NoRegistDtlsRepeatingGroup) {
|
||||
m.SetGroup(f)
|
||||
}
|
||||
|
||||
// SetRegistAcctType sets RegistAcctType, Tag 493.
|
||||
func (m RegistrationInstructions) SetRegistAcctType(v string) {
|
||||
m.Set(field.NewRegistAcctType(v))
|
||||
}
|
||||
|
||||
// SetTaxAdvantageType sets TaxAdvantageType, Tag 495.
|
||||
func (m RegistrationInstructions) SetTaxAdvantageType(v enum.TaxAdvantageType) {
|
||||
m.Set(field.NewTaxAdvantageType(v))
|
||||
}
|
||||
|
||||
// SetRegistRefID sets RegistRefID, Tag 508.
|
||||
func (m RegistrationInstructions) SetRegistRefID(v string) {
|
||||
m.Set(field.NewRegistRefID(v))
|
||||
}
|
||||
|
||||
// SetNoDistribInsts sets NoDistribInsts, Tag 510.
|
||||
func (m RegistrationInstructions) SetNoDistribInsts(f NoDistribInstsRepeatingGroup) {
|
||||
m.SetGroup(f)
|
||||
}
|
||||
|
||||
// SetRegistID sets RegistID, Tag 513.
|
||||
func (m RegistrationInstructions) SetRegistID(v string) {
|
||||
m.Set(field.NewRegistID(v))
|
||||
}
|
||||
|
||||
// SetRegistTransType sets RegistTransType, Tag 514.
|
||||
func (m RegistrationInstructions) SetRegistTransType(v enum.RegistTransType) {
|
||||
m.Set(field.NewRegistTransType(v))
|
||||
}
|
||||
|
||||
// SetOwnershipType sets OwnershipType, Tag 517.
|
||||
func (m RegistrationInstructions) SetOwnershipType(v enum.OwnershipType) {
|
||||
m.Set(field.NewOwnershipType(v))
|
||||
}
|
||||
|
||||
// GetAccount gets Account, Tag 1.
|
||||
func (m RegistrationInstructions) GetAccount() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.AccountField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetClOrdID gets ClOrdID, Tag 11.
|
||||
func (m RegistrationInstructions) GetClOrdID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.ClOrdIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetNoPartyIDs gets NoPartyIDs, Tag 453.
|
||||
func (m RegistrationInstructions) GetNoPartyIDs() (NoPartyIDsRepeatingGroup, quickfix.MessageRejectError) {
|
||||
f := NewNoPartyIDsRepeatingGroup()
|
||||
err := m.GetGroup(f)
|
||||
return f, err
|
||||
}
|
||||
|
||||
// GetNoRegistDtls gets NoRegistDtls, Tag 473.
|
||||
func (m RegistrationInstructions) GetNoRegistDtls() (NoRegistDtlsRepeatingGroup, quickfix.MessageRejectError) {
|
||||
f := NewNoRegistDtlsRepeatingGroup()
|
||||
err := m.GetGroup(f)
|
||||
return f, err
|
||||
}
|
||||
|
||||
// GetRegistAcctType gets RegistAcctType, Tag 493.
|
||||
func (m RegistrationInstructions) GetRegistAcctType() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.RegistAcctTypeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTaxAdvantageType gets TaxAdvantageType, Tag 495.
|
||||
func (m RegistrationInstructions) GetTaxAdvantageType() (v enum.TaxAdvantageType, err quickfix.MessageRejectError) {
|
||||
var f field.TaxAdvantageTypeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetRegistRefID gets RegistRefID, Tag 508.
|
||||
func (m RegistrationInstructions) GetRegistRefID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.RegistRefIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetNoDistribInsts gets NoDistribInsts, Tag 510.
|
||||
func (m RegistrationInstructions) GetNoDistribInsts() (NoDistribInstsRepeatingGroup, quickfix.MessageRejectError) {
|
||||
f := NewNoDistribInstsRepeatingGroup()
|
||||
err := m.GetGroup(f)
|
||||
return f, err
|
||||
}
|
||||
|
||||
// GetRegistID gets RegistID, Tag 513.
|
||||
func (m RegistrationInstructions) GetRegistID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.RegistIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetRegistTransType gets RegistTransType, Tag 514.
|
||||
func (m RegistrationInstructions) GetRegistTransType() (v enum.RegistTransType, err quickfix.MessageRejectError) {
|
||||
var f field.RegistTransTypeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetOwnershipType gets OwnershipType, Tag 517.
|
||||
func (m RegistrationInstructions) GetOwnershipType() (v enum.OwnershipType, err quickfix.MessageRejectError) {
|
||||
var f field.OwnershipTypeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasAccount returns true if Account is present, Tag 1.
|
||||
func (m RegistrationInstructions) HasAccount() bool {
|
||||
return m.Has(tag.Account)
|
||||
}
|
||||
|
||||
// HasClOrdID returns true if ClOrdID is present, Tag 11.
|
||||
func (m RegistrationInstructions) HasClOrdID() bool {
|
||||
return m.Has(tag.ClOrdID)
|
||||
}
|
||||
|
||||
// HasNoPartyIDs returns true if NoPartyIDs is present, Tag 453.
|
||||
func (m RegistrationInstructions) HasNoPartyIDs() bool {
|
||||
return m.Has(tag.NoPartyIDs)
|
||||
}
|
||||
|
||||
// HasNoRegistDtls returns true if NoRegistDtls is present, Tag 473.
|
||||
func (m RegistrationInstructions) HasNoRegistDtls() bool {
|
||||
return m.Has(tag.NoRegistDtls)
|
||||
}
|
||||
|
||||
// HasRegistAcctType returns true if RegistAcctType is present, Tag 493.
|
||||
func (m RegistrationInstructions) HasRegistAcctType() bool {
|
||||
return m.Has(tag.RegistAcctType)
|
||||
}
|
||||
|
||||
// HasTaxAdvantageType returns true if TaxAdvantageType is present, Tag 495.
|
||||
func (m RegistrationInstructions) HasTaxAdvantageType() bool {
|
||||
return m.Has(tag.TaxAdvantageType)
|
||||
}
|
||||
|
||||
// HasRegistRefID returns true if RegistRefID is present, Tag 508.
|
||||
func (m RegistrationInstructions) HasRegistRefID() bool {
|
||||
return m.Has(tag.RegistRefID)
|
||||
}
|
||||
|
||||
// HasNoDistribInsts returns true if NoDistribInsts is present, Tag 510.
|
||||
func (m RegistrationInstructions) HasNoDistribInsts() bool {
|
||||
return m.Has(tag.NoDistribInsts)
|
||||
}
|
||||
|
||||
// HasRegistID returns true if RegistID is present, Tag 513.
|
||||
func (m RegistrationInstructions) HasRegistID() bool {
|
||||
return m.Has(tag.RegistID)
|
||||
}
|
||||
|
||||
// HasRegistTransType returns true if RegistTransType is present, Tag 514.
|
||||
func (m RegistrationInstructions) HasRegistTransType() bool {
|
||||
return m.Has(tag.RegistTransType)
|
||||
}
|
||||
|
||||
// HasOwnershipType returns true if OwnershipType is present, Tag 517.
|
||||
func (m RegistrationInstructions) HasOwnershipType() bool {
|
||||
return m.Has(tag.OwnershipType)
|
||||
}
|
||||
|
||||
// NoPartyIDs is a repeating group element, Tag 453.
|
||||
type NoPartyIDs struct {
|
||||
*quickfix.Group
|
||||
}
|
||||
|
||||
// SetPartyID sets PartyID, Tag 448.
|
||||
func (m NoPartyIDs) SetPartyID(v string) {
|
||||
m.Set(field.NewPartyID(v))
|
||||
}
|
||||
|
||||
// SetPartyIDSource sets PartyIDSource, Tag 447.
|
||||
func (m NoPartyIDs) SetPartyIDSource(v enum.PartyIDSource) {
|
||||
m.Set(field.NewPartyIDSource(v))
|
||||
}
|
||||
|
||||
// SetPartyRole sets PartyRole, Tag 452.
|
||||
func (m NoPartyIDs) SetPartyRole(v enum.PartyRole) {
|
||||
m.Set(field.NewPartyRole(v))
|
||||
}
|
||||
|
||||
// SetPartySubID sets PartySubID, Tag 523.
|
||||
func (m NoPartyIDs) SetPartySubID(v string) {
|
||||
m.Set(field.NewPartySubID(v))
|
||||
}
|
||||
|
||||
// GetPartyID gets PartyID, Tag 448.
|
||||
func (m NoPartyIDs) GetPartyID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.PartyIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetPartyIDSource gets PartyIDSource, Tag 447.
|
||||
func (m NoPartyIDs) GetPartyIDSource() (v enum.PartyIDSource, err quickfix.MessageRejectError) {
|
||||
var f field.PartyIDSourceField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetPartyRole gets PartyRole, Tag 452.
|
||||
func (m NoPartyIDs) GetPartyRole() (v enum.PartyRole, err quickfix.MessageRejectError) {
|
||||
var f field.PartyRoleField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetPartySubID gets PartySubID, Tag 523.
|
||||
func (m NoPartyIDs) GetPartySubID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.PartySubIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasPartyID returns true if PartyID is present, Tag 448.
|
||||
func (m NoPartyIDs) HasPartyID() bool {
|
||||
return m.Has(tag.PartyID)
|
||||
}
|
||||
|
||||
// HasPartyIDSource returns true if PartyIDSource is present, Tag 447.
|
||||
func (m NoPartyIDs) HasPartyIDSource() bool {
|
||||
return m.Has(tag.PartyIDSource)
|
||||
}
|
||||
|
||||
// HasPartyRole returns true if PartyRole is present, Tag 452.
|
||||
func (m NoPartyIDs) HasPartyRole() bool {
|
||||
return m.Has(tag.PartyRole)
|
||||
}
|
||||
|
||||
// HasPartySubID returns true if PartySubID is present, Tag 523.
|
||||
func (m NoPartyIDs) HasPartySubID() bool {
|
||||
return m.Has(tag.PartySubID)
|
||||
}
|
||||
|
||||
// NoPartyIDsRepeatingGroup is a repeating group, Tag 453.
|
||||
type NoPartyIDsRepeatingGroup struct {
|
||||
*quickfix.RepeatingGroup
|
||||
}
|
||||
|
||||
// NewNoPartyIDsRepeatingGroup returns an initialized, NoPartyIDsRepeatingGroup.
|
||||
func NewNoPartyIDsRepeatingGroup() NoPartyIDsRepeatingGroup {
|
||||
return NoPartyIDsRepeatingGroup{
|
||||
quickfix.NewRepeatingGroup(
|
||||
tag.NoPartyIDs,
|
||||
quickfix.GroupTemplate{
|
||||
quickfix.GroupElement(tag.PartyID),
|
||||
quickfix.GroupElement(tag.PartyIDSource),
|
||||
quickfix.GroupElement(tag.PartyRole),
|
||||
quickfix.GroupElement(tag.PartySubID),
|
||||
},
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
// Add create and append a new NoPartyIDs to this group.
|
||||
func (m NoPartyIDsRepeatingGroup) Add() NoPartyIDs {
|
||||
g := m.RepeatingGroup.Add()
|
||||
return NoPartyIDs{g}
|
||||
}
|
||||
|
||||
// Get returns the ith NoPartyIDs in the NoPartyIDsRepeatinGroup.
|
||||
func (m NoPartyIDsRepeatingGroup) Get(i int) NoPartyIDs {
|
||||
return NoPartyIDs{m.RepeatingGroup.Get(i)}
|
||||
}
|
||||
|
||||
// NoRegistDtls is a repeating group element, Tag 473.
|
||||
type NoRegistDtls struct {
|
||||
*quickfix.Group
|
||||
}
|
||||
|
||||
// SetRegistDetls sets RegistDetls, Tag 509.
|
||||
func (m NoRegistDtls) SetRegistDetls(v string) {
|
||||
m.Set(field.NewRegistDetls(v))
|
||||
}
|
||||
|
||||
// SetRegistEmail sets RegistEmail, Tag 511.
|
||||
func (m NoRegistDtls) SetRegistEmail(v string) {
|
||||
m.Set(field.NewRegistEmail(v))
|
||||
}
|
||||
|
||||
// SetMailingDtls sets MailingDtls, Tag 474.
|
||||
func (m NoRegistDtls) SetMailingDtls(v string) {
|
||||
m.Set(field.NewMailingDtls(v))
|
||||
}
|
||||
|
||||
// SetMailingInst sets MailingInst, Tag 482.
|
||||
func (m NoRegistDtls) SetMailingInst(v string) {
|
||||
m.Set(field.NewMailingInst(v))
|
||||
}
|
||||
|
||||
// SetNoNestedPartyIDs sets NoNestedPartyIDs, Tag 539.
|
||||
func (m NoRegistDtls) SetNoNestedPartyIDs(f NoNestedPartyIDsRepeatingGroup) {
|
||||
m.SetGroup(f)
|
||||
}
|
||||
|
||||
// SetOwnerType sets OwnerType, Tag 522.
|
||||
func (m NoRegistDtls) SetOwnerType(v enum.OwnerType) {
|
||||
m.Set(field.NewOwnerType(v))
|
||||
}
|
||||
|
||||
// SetDateOfBirth sets DateOfBirth, Tag 486.
|
||||
func (m NoRegistDtls) SetDateOfBirth(v string) {
|
||||
m.Set(field.NewDateOfBirth(v))
|
||||
}
|
||||
|
||||
// SetInvestorCountryOfResidence sets InvestorCountryOfResidence, Tag 475.
|
||||
func (m NoRegistDtls) SetInvestorCountryOfResidence(v string) {
|
||||
m.Set(field.NewInvestorCountryOfResidence(v))
|
||||
}
|
||||
|
||||
// GetRegistDetls gets RegistDetls, Tag 509.
|
||||
func (m NoRegistDtls) GetRegistDetls() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.RegistDetlsField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetRegistEmail gets RegistEmail, Tag 511.
|
||||
func (m NoRegistDtls) GetRegistEmail() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.RegistEmailField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetMailingDtls gets MailingDtls, Tag 474.
|
||||
func (m NoRegistDtls) GetMailingDtls() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.MailingDtlsField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetMailingInst gets MailingInst, Tag 482.
|
||||
func (m NoRegistDtls) GetMailingInst() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.MailingInstField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetNoNestedPartyIDs gets NoNestedPartyIDs, Tag 539.
|
||||
func (m NoRegistDtls) GetNoNestedPartyIDs() (NoNestedPartyIDsRepeatingGroup, quickfix.MessageRejectError) {
|
||||
f := NewNoNestedPartyIDsRepeatingGroup()
|
||||
err := m.GetGroup(f)
|
||||
return f, err
|
||||
}
|
||||
|
||||
// GetOwnerType gets OwnerType, Tag 522.
|
||||
func (m NoRegistDtls) GetOwnerType() (v enum.OwnerType, err quickfix.MessageRejectError) {
|
||||
var f field.OwnerTypeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetDateOfBirth gets DateOfBirth, Tag 486.
|
||||
func (m NoRegistDtls) GetDateOfBirth() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.DateOfBirthField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetInvestorCountryOfResidence gets InvestorCountryOfResidence, Tag 475.
|
||||
func (m NoRegistDtls) GetInvestorCountryOfResidence() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.InvestorCountryOfResidenceField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasRegistDetls returns true if RegistDetls is present, Tag 509.
|
||||
func (m NoRegistDtls) HasRegistDetls() bool {
|
||||
return m.Has(tag.RegistDetls)
|
||||
}
|
||||
|
||||
// HasRegistEmail returns true if RegistEmail is present, Tag 511.
|
||||
func (m NoRegistDtls) HasRegistEmail() bool {
|
||||
return m.Has(tag.RegistEmail)
|
||||
}
|
||||
|
||||
// HasMailingDtls returns true if MailingDtls is present, Tag 474.
|
||||
func (m NoRegistDtls) HasMailingDtls() bool {
|
||||
return m.Has(tag.MailingDtls)
|
||||
}
|
||||
|
||||
// HasMailingInst returns true if MailingInst is present, Tag 482.
|
||||
func (m NoRegistDtls) HasMailingInst() bool {
|
||||
return m.Has(tag.MailingInst)
|
||||
}
|
||||
|
||||
// HasNoNestedPartyIDs returns true if NoNestedPartyIDs is present, Tag 539.
|
||||
func (m NoRegistDtls) HasNoNestedPartyIDs() bool {
|
||||
return m.Has(tag.NoNestedPartyIDs)
|
||||
}
|
||||
|
||||
// HasOwnerType returns true if OwnerType is present, Tag 522.
|
||||
func (m NoRegistDtls) HasOwnerType() bool {
|
||||
return m.Has(tag.OwnerType)
|
||||
}
|
||||
|
||||
// HasDateOfBirth returns true if DateOfBirth is present, Tag 486.
|
||||
func (m NoRegistDtls) HasDateOfBirth() bool {
|
||||
return m.Has(tag.DateOfBirth)
|
||||
}
|
||||
|
||||
// HasInvestorCountryOfResidence returns true if InvestorCountryOfResidence is present, Tag 475.
|
||||
func (m NoRegistDtls) HasInvestorCountryOfResidence() bool {
|
||||
return m.Has(tag.InvestorCountryOfResidence)
|
||||
}
|
||||
|
||||
// NoNestedPartyIDs is a repeating group element, Tag 539.
|
||||
type NoNestedPartyIDs struct {
|
||||
*quickfix.Group
|
||||
}
|
||||
|
||||
// SetNestedPartyID sets NestedPartyID, Tag 524.
|
||||
func (m NoNestedPartyIDs) SetNestedPartyID(v string) {
|
||||
m.Set(field.NewNestedPartyID(v))
|
||||
}
|
||||
|
||||
// SetNestedPartyIDSource sets NestedPartyIDSource, Tag 525.
|
||||
func (m NoNestedPartyIDs) SetNestedPartyIDSource(v string) {
|
||||
m.Set(field.NewNestedPartyIDSource(v))
|
||||
}
|
||||
|
||||
// SetNestedPartyRole sets NestedPartyRole, Tag 538.
|
||||
func (m NoNestedPartyIDs) SetNestedPartyRole(v int) {
|
||||
m.Set(field.NewNestedPartyRole(v))
|
||||
}
|
||||
|
||||
// SetNestedPartySubID sets NestedPartySubID, Tag 545.
|
||||
func (m NoNestedPartyIDs) SetNestedPartySubID(v string) {
|
||||
m.Set(field.NewNestedPartySubID(v))
|
||||
}
|
||||
|
||||
// GetNestedPartyID gets NestedPartyID, Tag 524.
|
||||
func (m NoNestedPartyIDs) GetNestedPartyID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.NestedPartyIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetNestedPartyIDSource gets NestedPartyIDSource, Tag 525.
|
||||
func (m NoNestedPartyIDs) GetNestedPartyIDSource() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.NestedPartyIDSourceField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetNestedPartyRole gets NestedPartyRole, Tag 538.
|
||||
func (m NoNestedPartyIDs) GetNestedPartyRole() (v int, err quickfix.MessageRejectError) {
|
||||
var f field.NestedPartyRoleField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetNestedPartySubID gets NestedPartySubID, Tag 545.
|
||||
func (m NoNestedPartyIDs) GetNestedPartySubID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.NestedPartySubIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasNestedPartyID returns true if NestedPartyID is present, Tag 524.
|
||||
func (m NoNestedPartyIDs) HasNestedPartyID() bool {
|
||||
return m.Has(tag.NestedPartyID)
|
||||
}
|
||||
|
||||
// HasNestedPartyIDSource returns true if NestedPartyIDSource is present, Tag 525.
|
||||
func (m NoNestedPartyIDs) HasNestedPartyIDSource() bool {
|
||||
return m.Has(tag.NestedPartyIDSource)
|
||||
}
|
||||
|
||||
// HasNestedPartyRole returns true if NestedPartyRole is present, Tag 538.
|
||||
func (m NoNestedPartyIDs) HasNestedPartyRole() bool {
|
||||
return m.Has(tag.NestedPartyRole)
|
||||
}
|
||||
|
||||
// HasNestedPartySubID returns true if NestedPartySubID is present, Tag 545.
|
||||
func (m NoNestedPartyIDs) HasNestedPartySubID() bool {
|
||||
return m.Has(tag.NestedPartySubID)
|
||||
}
|
||||
|
||||
// NoNestedPartyIDsRepeatingGroup is a repeating group, Tag 539.
|
||||
type NoNestedPartyIDsRepeatingGroup struct {
|
||||
*quickfix.RepeatingGroup
|
||||
}
|
||||
|
||||
// NewNoNestedPartyIDsRepeatingGroup returns an initialized, NoNestedPartyIDsRepeatingGroup.
|
||||
func NewNoNestedPartyIDsRepeatingGroup() NoNestedPartyIDsRepeatingGroup {
|
||||
return NoNestedPartyIDsRepeatingGroup{
|
||||
quickfix.NewRepeatingGroup(
|
||||
tag.NoNestedPartyIDs,
|
||||
quickfix.GroupTemplate{
|
||||
quickfix.GroupElement(tag.NestedPartyID),
|
||||
quickfix.GroupElement(tag.NestedPartyIDSource),
|
||||
quickfix.GroupElement(tag.NestedPartyRole),
|
||||
quickfix.GroupElement(tag.NestedPartySubID),
|
||||
},
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
// Add create and append a new NoNestedPartyIDs to this group.
|
||||
func (m NoNestedPartyIDsRepeatingGroup) Add() NoNestedPartyIDs {
|
||||
g := m.RepeatingGroup.Add()
|
||||
return NoNestedPartyIDs{g}
|
||||
}
|
||||
|
||||
// Get returns the ith NoNestedPartyIDs in the NoNestedPartyIDsRepeatinGroup.
|
||||
func (m NoNestedPartyIDsRepeatingGroup) Get(i int) NoNestedPartyIDs {
|
||||
return NoNestedPartyIDs{m.RepeatingGroup.Get(i)}
|
||||
}
|
||||
|
||||
// NoRegistDtlsRepeatingGroup is a repeating group, Tag 473.
|
||||
type NoRegistDtlsRepeatingGroup struct {
|
||||
*quickfix.RepeatingGroup
|
||||
}
|
||||
|
||||
// NewNoRegistDtlsRepeatingGroup returns an initialized, NoRegistDtlsRepeatingGroup.
|
||||
func NewNoRegistDtlsRepeatingGroup() NoRegistDtlsRepeatingGroup {
|
||||
return NoRegistDtlsRepeatingGroup{
|
||||
quickfix.NewRepeatingGroup(
|
||||
tag.NoRegistDtls,
|
||||
quickfix.GroupTemplate{
|
||||
quickfix.GroupElement(tag.RegistDetls),
|
||||
quickfix.GroupElement(tag.RegistEmail),
|
||||
quickfix.GroupElement(tag.MailingDtls),
|
||||
quickfix.GroupElement(tag.MailingInst),
|
||||
NewNoNestedPartyIDsRepeatingGroup(),
|
||||
quickfix.GroupElement(tag.OwnerType),
|
||||
quickfix.GroupElement(tag.DateOfBirth),
|
||||
quickfix.GroupElement(tag.InvestorCountryOfResidence),
|
||||
},
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
// Add create and append a new NoRegistDtls to this group.
|
||||
func (m NoRegistDtlsRepeatingGroup) Add() NoRegistDtls {
|
||||
g := m.RepeatingGroup.Add()
|
||||
return NoRegistDtls{g}
|
||||
}
|
||||
|
||||
// Get returns the ith NoRegistDtls in the NoRegistDtlsRepeatinGroup.
|
||||
func (m NoRegistDtlsRepeatingGroup) Get(i int) NoRegistDtls {
|
||||
return NoRegistDtls{m.RepeatingGroup.Get(i)}
|
||||
}
|
||||
|
||||
// NoDistribInsts is a repeating group element, Tag 510.
|
||||
type NoDistribInsts struct {
|
||||
*quickfix.Group
|
||||
}
|
||||
|
||||
// SetDistribPaymentMethod sets DistribPaymentMethod, Tag 477.
|
||||
func (m NoDistribInsts) SetDistribPaymentMethod(v enum.DistribPaymentMethod) {
|
||||
m.Set(field.NewDistribPaymentMethod(v))
|
||||
}
|
||||
|
||||
// SetDistribPercentage sets DistribPercentage, Tag 512.
|
||||
func (m NoDistribInsts) SetDistribPercentage(value decimal.Decimal, scale int32) {
|
||||
m.Set(field.NewDistribPercentage(value, scale))
|
||||
}
|
||||
|
||||
// SetCashDistribCurr sets CashDistribCurr, Tag 478.
|
||||
func (m NoDistribInsts) SetCashDistribCurr(v string) {
|
||||
m.Set(field.NewCashDistribCurr(v))
|
||||
}
|
||||
|
||||
// SetCashDistribAgentName sets CashDistribAgentName, Tag 498.
|
||||
func (m NoDistribInsts) SetCashDistribAgentName(v string) {
|
||||
m.Set(field.NewCashDistribAgentName(v))
|
||||
}
|
||||
|
||||
// SetCashDistribAgentCode sets CashDistribAgentCode, Tag 499.
|
||||
func (m NoDistribInsts) SetCashDistribAgentCode(v string) {
|
||||
m.Set(field.NewCashDistribAgentCode(v))
|
||||
}
|
||||
|
||||
// SetCashDistribAgentAcctNumber sets CashDistribAgentAcctNumber, Tag 500.
|
||||
func (m NoDistribInsts) SetCashDistribAgentAcctNumber(v string) {
|
||||
m.Set(field.NewCashDistribAgentAcctNumber(v))
|
||||
}
|
||||
|
||||
// SetCashDistribPayRef sets CashDistribPayRef, Tag 501.
|
||||
func (m NoDistribInsts) SetCashDistribPayRef(v string) {
|
||||
m.Set(field.NewCashDistribPayRef(v))
|
||||
}
|
||||
|
||||
// GetDistribPaymentMethod gets DistribPaymentMethod, Tag 477.
|
||||
func (m NoDistribInsts) GetDistribPaymentMethod() (v enum.DistribPaymentMethod, err quickfix.MessageRejectError) {
|
||||
var f field.DistribPaymentMethodField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetDistribPercentage gets DistribPercentage, Tag 512.
|
||||
func (m NoDistribInsts) GetDistribPercentage() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
||||
var f field.DistribPercentageField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetCashDistribCurr gets CashDistribCurr, Tag 478.
|
||||
func (m NoDistribInsts) GetCashDistribCurr() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.CashDistribCurrField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetCashDistribAgentName gets CashDistribAgentName, Tag 498.
|
||||
func (m NoDistribInsts) GetCashDistribAgentName() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.CashDistribAgentNameField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetCashDistribAgentCode gets CashDistribAgentCode, Tag 499.
|
||||
func (m NoDistribInsts) GetCashDistribAgentCode() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.CashDistribAgentCodeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetCashDistribAgentAcctNumber gets CashDistribAgentAcctNumber, Tag 500.
|
||||
func (m NoDistribInsts) GetCashDistribAgentAcctNumber() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.CashDistribAgentAcctNumberField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetCashDistribPayRef gets CashDistribPayRef, Tag 501.
|
||||
func (m NoDistribInsts) GetCashDistribPayRef() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.CashDistribPayRefField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasDistribPaymentMethod returns true if DistribPaymentMethod is present, Tag 477.
|
||||
func (m NoDistribInsts) HasDistribPaymentMethod() bool {
|
||||
return m.Has(tag.DistribPaymentMethod)
|
||||
}
|
||||
|
||||
// HasDistribPercentage returns true if DistribPercentage is present, Tag 512.
|
||||
func (m NoDistribInsts) HasDistribPercentage() bool {
|
||||
return m.Has(tag.DistribPercentage)
|
||||
}
|
||||
|
||||
// HasCashDistribCurr returns true if CashDistribCurr is present, Tag 478.
|
||||
func (m NoDistribInsts) HasCashDistribCurr() bool {
|
||||
return m.Has(tag.CashDistribCurr)
|
||||
}
|
||||
|
||||
// HasCashDistribAgentName returns true if CashDistribAgentName is present, Tag 498.
|
||||
func (m NoDistribInsts) HasCashDistribAgentName() bool {
|
||||
return m.Has(tag.CashDistribAgentName)
|
||||
}
|
||||
|
||||
// HasCashDistribAgentCode returns true if CashDistribAgentCode is present, Tag 499.
|
||||
func (m NoDistribInsts) HasCashDistribAgentCode() bool {
|
||||
return m.Has(tag.CashDistribAgentCode)
|
||||
}
|
||||
|
||||
// HasCashDistribAgentAcctNumber returns true if CashDistribAgentAcctNumber is present, Tag 500.
|
||||
func (m NoDistribInsts) HasCashDistribAgentAcctNumber() bool {
|
||||
return m.Has(tag.CashDistribAgentAcctNumber)
|
||||
}
|
||||
|
||||
// HasCashDistribPayRef returns true if CashDistribPayRef is present, Tag 501.
|
||||
func (m NoDistribInsts) HasCashDistribPayRef() bool {
|
||||
return m.Has(tag.CashDistribPayRef)
|
||||
}
|
||||
|
||||
// NoDistribInstsRepeatingGroup is a repeating group, Tag 510.
|
||||
type NoDistribInstsRepeatingGroup struct {
|
||||
*quickfix.RepeatingGroup
|
||||
}
|
||||
|
||||
// NewNoDistribInstsRepeatingGroup returns an initialized, NoDistribInstsRepeatingGroup.
|
||||
func NewNoDistribInstsRepeatingGroup() NoDistribInstsRepeatingGroup {
|
||||
return NoDistribInstsRepeatingGroup{
|
||||
quickfix.NewRepeatingGroup(
|
||||
tag.NoDistribInsts,
|
||||
quickfix.GroupTemplate{
|
||||
quickfix.GroupElement(tag.DistribPaymentMethod),
|
||||
quickfix.GroupElement(tag.DistribPercentage),
|
||||
quickfix.GroupElement(tag.CashDistribCurr),
|
||||
quickfix.GroupElement(tag.CashDistribAgentName),
|
||||
quickfix.GroupElement(tag.CashDistribAgentCode),
|
||||
quickfix.GroupElement(tag.CashDistribAgentAcctNumber),
|
||||
quickfix.GroupElement(tag.CashDistribPayRef),
|
||||
},
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
// Add create and append a new NoDistribInsts to this group.
|
||||
func (m NoDistribInstsRepeatingGroup) Add() NoDistribInsts {
|
||||
g := m.RepeatingGroup.Add()
|
||||
return NoDistribInsts{g}
|
||||
}
|
||||
|
||||
// Get returns the ith NoDistribInsts in the NoDistribInstsRepeatinGroup.
|
||||
func (m NoDistribInstsRepeatingGroup) Get(i int) NoDistribInsts {
|
||||
return NoDistribInsts{m.RepeatingGroup.Get(i)}
|
||||
}
|
||||
@ -0,0 +1,341 @@
|
||||
// Code generated by quickfix. DO NOT EDIT.
|
||||
package registrationinstructionsresponse
|
||||
|
||||
import (
|
||||
"github.com/quickfixgo/quickfix"
|
||||
"github.com/quickfixgo/quickfix/gen/enum"
|
||||
"github.com/quickfixgo/quickfix/gen/field"
|
||||
"github.com/quickfixgo/quickfix/gen/fix43"
|
||||
"github.com/quickfixgo/quickfix/gen/tag"
|
||||
)
|
||||
|
||||
// RegistrationInstructionsResponse is the fix43 RegistrationInstructionsResponse type, MsgType = p.
|
||||
type RegistrationInstructionsResponse struct {
|
||||
fix43.Header
|
||||
*quickfix.Body
|
||||
fix43.Trailer
|
||||
Message *quickfix.Message
|
||||
}
|
||||
|
||||
// FromMessage creates a RegistrationInstructionsResponse from a quickfix.Message instance.
|
||||
func FromMessage(m *quickfix.Message) RegistrationInstructionsResponse {
|
||||
return RegistrationInstructionsResponse{
|
||||
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 RegistrationInstructionsResponse) ToMessage() *quickfix.Message {
|
||||
return m.Message
|
||||
}
|
||||
|
||||
// New returns a RegistrationInstructionsResponse initialized with the required fields for RegistrationInstructionsResponse.
|
||||
func New(registid field.RegistIDField, registtranstype field.RegistTransTypeField, registrefid field.RegistRefIDField, registstatus field.RegistStatusField) (m RegistrationInstructionsResponse) {
|
||||
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("p"))
|
||||
m.Set(registid)
|
||||
m.Set(registtranstype)
|
||||
m.Set(registrefid)
|
||||
m.Set(registstatus)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// A RouteOut is the callback type that should be implemented for routing Message.
|
||||
type RouteOut func(msg RegistrationInstructionsResponse, 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", "p", r
|
||||
}
|
||||
|
||||
// SetAccount sets Account, Tag 1.
|
||||
func (m RegistrationInstructionsResponse) SetAccount(v string) {
|
||||
m.Set(field.NewAccount(v))
|
||||
}
|
||||
|
||||
// SetClOrdID sets ClOrdID, Tag 11.
|
||||
func (m RegistrationInstructionsResponse) SetClOrdID(v string) {
|
||||
m.Set(field.NewClOrdID(v))
|
||||
}
|
||||
|
||||
// SetNoPartyIDs sets NoPartyIDs, Tag 453.
|
||||
func (m RegistrationInstructionsResponse) SetNoPartyIDs(f NoPartyIDsRepeatingGroup) {
|
||||
m.SetGroup(f)
|
||||
}
|
||||
|
||||
// SetRegistRejReasonText sets RegistRejReasonText, Tag 496.
|
||||
func (m RegistrationInstructionsResponse) SetRegistRejReasonText(v string) {
|
||||
m.Set(field.NewRegistRejReasonText(v))
|
||||
}
|
||||
|
||||
// SetRegistStatus sets RegistStatus, Tag 506.
|
||||
func (m RegistrationInstructionsResponse) SetRegistStatus(v enum.RegistStatus) {
|
||||
m.Set(field.NewRegistStatus(v))
|
||||
}
|
||||
|
||||
// SetRegistRejReasonCode sets RegistRejReasonCode, Tag 507.
|
||||
func (m RegistrationInstructionsResponse) SetRegistRejReasonCode(v enum.RegistRejReasonCode) {
|
||||
m.Set(field.NewRegistRejReasonCode(v))
|
||||
}
|
||||
|
||||
// SetRegistRefID sets RegistRefID, Tag 508.
|
||||
func (m RegistrationInstructionsResponse) SetRegistRefID(v string) {
|
||||
m.Set(field.NewRegistRefID(v))
|
||||
}
|
||||
|
||||
// SetRegistID sets RegistID, Tag 513.
|
||||
func (m RegistrationInstructionsResponse) SetRegistID(v string) {
|
||||
m.Set(field.NewRegistID(v))
|
||||
}
|
||||
|
||||
// SetRegistTransType sets RegistTransType, Tag 514.
|
||||
func (m RegistrationInstructionsResponse) SetRegistTransType(v enum.RegistTransType) {
|
||||
m.Set(field.NewRegistTransType(v))
|
||||
}
|
||||
|
||||
// GetAccount gets Account, Tag 1.
|
||||
func (m RegistrationInstructionsResponse) GetAccount() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.AccountField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetClOrdID gets ClOrdID, Tag 11.
|
||||
func (m RegistrationInstructionsResponse) GetClOrdID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.ClOrdIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetNoPartyIDs gets NoPartyIDs, Tag 453.
|
||||
func (m RegistrationInstructionsResponse) GetNoPartyIDs() (NoPartyIDsRepeatingGroup, quickfix.MessageRejectError) {
|
||||
f := NewNoPartyIDsRepeatingGroup()
|
||||
err := m.GetGroup(f)
|
||||
return f, err
|
||||
}
|
||||
|
||||
// GetRegistRejReasonText gets RegistRejReasonText, Tag 496.
|
||||
func (m RegistrationInstructionsResponse) GetRegistRejReasonText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.RegistRejReasonTextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetRegistStatus gets RegistStatus, Tag 506.
|
||||
func (m RegistrationInstructionsResponse) GetRegistStatus() (v enum.RegistStatus, err quickfix.MessageRejectError) {
|
||||
var f field.RegistStatusField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetRegistRejReasonCode gets RegistRejReasonCode, Tag 507.
|
||||
func (m RegistrationInstructionsResponse) GetRegistRejReasonCode() (v enum.RegistRejReasonCode, err quickfix.MessageRejectError) {
|
||||
var f field.RegistRejReasonCodeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetRegistRefID gets RegistRefID, Tag 508.
|
||||
func (m RegistrationInstructionsResponse) GetRegistRefID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.RegistRefIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetRegistID gets RegistID, Tag 513.
|
||||
func (m RegistrationInstructionsResponse) GetRegistID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.RegistIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetRegistTransType gets RegistTransType, Tag 514.
|
||||
func (m RegistrationInstructionsResponse) GetRegistTransType() (v enum.RegistTransType, err quickfix.MessageRejectError) {
|
||||
var f field.RegistTransTypeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasAccount returns true if Account is present, Tag 1.
|
||||
func (m RegistrationInstructionsResponse) HasAccount() bool {
|
||||
return m.Has(tag.Account)
|
||||
}
|
||||
|
||||
// HasClOrdID returns true if ClOrdID is present, Tag 11.
|
||||
func (m RegistrationInstructionsResponse) HasClOrdID() bool {
|
||||
return m.Has(tag.ClOrdID)
|
||||
}
|
||||
|
||||
// HasNoPartyIDs returns true if NoPartyIDs is present, Tag 453.
|
||||
func (m RegistrationInstructionsResponse) HasNoPartyIDs() bool {
|
||||
return m.Has(tag.NoPartyIDs)
|
||||
}
|
||||
|
||||
// HasRegistRejReasonText returns true if RegistRejReasonText is present, Tag 496.
|
||||
func (m RegistrationInstructionsResponse) HasRegistRejReasonText() bool {
|
||||
return m.Has(tag.RegistRejReasonText)
|
||||
}
|
||||
|
||||
// HasRegistStatus returns true if RegistStatus is present, Tag 506.
|
||||
func (m RegistrationInstructionsResponse) HasRegistStatus() bool {
|
||||
return m.Has(tag.RegistStatus)
|
||||
}
|
||||
|
||||
// HasRegistRejReasonCode returns true if RegistRejReasonCode is present, Tag 507.
|
||||
func (m RegistrationInstructionsResponse) HasRegistRejReasonCode() bool {
|
||||
return m.Has(tag.RegistRejReasonCode)
|
||||
}
|
||||
|
||||
// HasRegistRefID returns true if RegistRefID is present, Tag 508.
|
||||
func (m RegistrationInstructionsResponse) HasRegistRefID() bool {
|
||||
return m.Has(tag.RegistRefID)
|
||||
}
|
||||
|
||||
// HasRegistID returns true if RegistID is present, Tag 513.
|
||||
func (m RegistrationInstructionsResponse) HasRegistID() bool {
|
||||
return m.Has(tag.RegistID)
|
||||
}
|
||||
|
||||
// HasRegistTransType returns true if RegistTransType is present, Tag 514.
|
||||
func (m RegistrationInstructionsResponse) HasRegistTransType() bool {
|
||||
return m.Has(tag.RegistTransType)
|
||||
}
|
||||
|
||||
// NoPartyIDs is a repeating group element, Tag 453.
|
||||
type NoPartyIDs struct {
|
||||
*quickfix.Group
|
||||
}
|
||||
|
||||
// SetPartyID sets PartyID, Tag 448.
|
||||
func (m NoPartyIDs) SetPartyID(v string) {
|
||||
m.Set(field.NewPartyID(v))
|
||||
}
|
||||
|
||||
// SetPartyIDSource sets PartyIDSource, Tag 447.
|
||||
func (m NoPartyIDs) SetPartyIDSource(v enum.PartyIDSource) {
|
||||
m.Set(field.NewPartyIDSource(v))
|
||||
}
|
||||
|
||||
// SetPartyRole sets PartyRole, Tag 452.
|
||||
func (m NoPartyIDs) SetPartyRole(v enum.PartyRole) {
|
||||
m.Set(field.NewPartyRole(v))
|
||||
}
|
||||
|
||||
// SetPartySubID sets PartySubID, Tag 523.
|
||||
func (m NoPartyIDs) SetPartySubID(v string) {
|
||||
m.Set(field.NewPartySubID(v))
|
||||
}
|
||||
|
||||
// GetPartyID gets PartyID, Tag 448.
|
||||
func (m NoPartyIDs) GetPartyID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.PartyIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetPartyIDSource gets PartyIDSource, Tag 447.
|
||||
func (m NoPartyIDs) GetPartyIDSource() (v enum.PartyIDSource, err quickfix.MessageRejectError) {
|
||||
var f field.PartyIDSourceField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetPartyRole gets PartyRole, Tag 452.
|
||||
func (m NoPartyIDs) GetPartyRole() (v enum.PartyRole, err quickfix.MessageRejectError) {
|
||||
var f field.PartyRoleField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetPartySubID gets PartySubID, Tag 523.
|
||||
func (m NoPartyIDs) GetPartySubID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.PartySubIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasPartyID returns true if PartyID is present, Tag 448.
|
||||
func (m NoPartyIDs) HasPartyID() bool {
|
||||
return m.Has(tag.PartyID)
|
||||
}
|
||||
|
||||
// HasPartyIDSource returns true if PartyIDSource is present, Tag 447.
|
||||
func (m NoPartyIDs) HasPartyIDSource() bool {
|
||||
return m.Has(tag.PartyIDSource)
|
||||
}
|
||||
|
||||
// HasPartyRole returns true if PartyRole is present, Tag 452.
|
||||
func (m NoPartyIDs) HasPartyRole() bool {
|
||||
return m.Has(tag.PartyRole)
|
||||
}
|
||||
|
||||
// HasPartySubID returns true if PartySubID is present, Tag 523.
|
||||
func (m NoPartyIDs) HasPartySubID() bool {
|
||||
return m.Has(tag.PartySubID)
|
||||
}
|
||||
|
||||
// NoPartyIDsRepeatingGroup is a repeating group, Tag 453.
|
||||
type NoPartyIDsRepeatingGroup struct {
|
||||
*quickfix.RepeatingGroup
|
||||
}
|
||||
|
||||
// NewNoPartyIDsRepeatingGroup returns an initialized, NoPartyIDsRepeatingGroup.
|
||||
func NewNoPartyIDsRepeatingGroup() NoPartyIDsRepeatingGroup {
|
||||
return NoPartyIDsRepeatingGroup{
|
||||
quickfix.NewRepeatingGroup(
|
||||
tag.NoPartyIDs,
|
||||
quickfix.GroupTemplate{
|
||||
quickfix.GroupElement(tag.PartyID),
|
||||
quickfix.GroupElement(tag.PartyIDSource),
|
||||
quickfix.GroupElement(tag.PartyRole),
|
||||
quickfix.GroupElement(tag.PartySubID),
|
||||
},
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
// Add create and append a new NoPartyIDs to this group.
|
||||
func (m NoPartyIDsRepeatingGroup) Add() NoPartyIDs {
|
||||
g := m.RepeatingGroup.Add()
|
||||
return NoPartyIDs{g}
|
||||
}
|
||||
|
||||
// Get returns the ith NoPartyIDs in the NoPartyIDsRepeatinGroup.
|
||||
func (m NoPartyIDsRepeatingGroup) Get(i int) NoPartyIDs {
|
||||
return NoPartyIDs{m.RepeatingGroup.Get(i)}
|
||||
}
|
||||
190
quickfix/gen/fix43/reject/Reject.generated.go
Normal file
190
quickfix/gen/fix43/reject/Reject.generated.go
Normal file
@ -0,0 +1,190 @@
|
||||
// Code generated by quickfix. DO NOT EDIT.
|
||||
package reject
|
||||
|
||||
import (
|
||||
"github.com/quickfixgo/quickfix"
|
||||
"github.com/quickfixgo/quickfix/gen/enum"
|
||||
"github.com/quickfixgo/quickfix/gen/field"
|
||||
"github.com/quickfixgo/quickfix/gen/fix43"
|
||||
"github.com/quickfixgo/quickfix/gen/tag"
|
||||
)
|
||||
|
||||
// Reject is the fix43 Reject type, MsgType = 3.
|
||||
type Reject struct {
|
||||
fix43.Header
|
||||
*quickfix.Body
|
||||
fix43.Trailer
|
||||
Message *quickfix.Message
|
||||
}
|
||||
|
||||
// FromMessage creates a Reject from a quickfix.Message instance.
|
||||
func FromMessage(m *quickfix.Message) Reject {
|
||||
return Reject{
|
||||
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 Reject) ToMessage() *quickfix.Message {
|
||||
return m.Message
|
||||
}
|
||||
|
||||
// New returns a Reject initialized with the required fields for Reject.
|
||||
func New(refseqnum field.RefSeqNumField) (m Reject) {
|
||||
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("3"))
|
||||
m.Set(refseqnum)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// A RouteOut is the callback type that should be implemented for routing Message.
|
||||
type RouteOut func(msg Reject, 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", "3", r
|
||||
}
|
||||
|
||||
// SetRefSeqNum sets RefSeqNum, Tag 45.
|
||||
func (m Reject) SetRefSeqNum(v int) {
|
||||
m.Set(field.NewRefSeqNum(v))
|
||||
}
|
||||
|
||||
// SetText sets Text, Tag 58.
|
||||
func (m Reject) SetText(v string) {
|
||||
m.Set(field.NewText(v))
|
||||
}
|
||||
|
||||
// SetEncodedTextLen sets EncodedTextLen, Tag 354.
|
||||
func (m Reject) SetEncodedTextLen(v int) {
|
||||
m.Set(field.NewEncodedTextLen(v))
|
||||
}
|
||||
|
||||
// SetEncodedText sets EncodedText, Tag 355.
|
||||
func (m Reject) SetEncodedText(v string) {
|
||||
m.Set(field.NewEncodedText(v))
|
||||
}
|
||||
|
||||
// SetRefTagID sets RefTagID, Tag 371.
|
||||
func (m Reject) SetRefTagID(v int) {
|
||||
m.Set(field.NewRefTagID(v))
|
||||
}
|
||||
|
||||
// SetRefMsgType sets RefMsgType, Tag 372.
|
||||
func (m Reject) SetRefMsgType(v string) {
|
||||
m.Set(field.NewRefMsgType(v))
|
||||
}
|
||||
|
||||
// SetSessionRejectReason sets SessionRejectReason, Tag 373.
|
||||
func (m Reject) SetSessionRejectReason(v enum.SessionRejectReason) {
|
||||
m.Set(field.NewSessionRejectReason(v))
|
||||
}
|
||||
|
||||
// GetRefSeqNum gets RefSeqNum, Tag 45.
|
||||
func (m Reject) GetRefSeqNum() (v int, err quickfix.MessageRejectError) {
|
||||
var f field.RefSeqNumField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetText gets Text, Tag 58.
|
||||
func (m Reject) 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 Reject) 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 Reject) GetEncodedText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.EncodedTextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetRefTagID gets RefTagID, Tag 371.
|
||||
func (m Reject) GetRefTagID() (v int, err quickfix.MessageRejectError) {
|
||||
var f field.RefTagIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetRefMsgType gets RefMsgType, Tag 372.
|
||||
func (m Reject) GetRefMsgType() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.RefMsgTypeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetSessionRejectReason gets SessionRejectReason, Tag 373.
|
||||
func (m Reject) GetSessionRejectReason() (v enum.SessionRejectReason, err quickfix.MessageRejectError) {
|
||||
var f field.SessionRejectReasonField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasRefSeqNum returns true if RefSeqNum is present, Tag 45.
|
||||
func (m Reject) HasRefSeqNum() bool {
|
||||
return m.Has(tag.RefSeqNum)
|
||||
}
|
||||
|
||||
// HasText returns true if Text is present, Tag 58.
|
||||
func (m Reject) HasText() bool {
|
||||
return m.Has(tag.Text)
|
||||
}
|
||||
|
||||
// HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.
|
||||
func (m Reject) HasEncodedTextLen() bool {
|
||||
return m.Has(tag.EncodedTextLen)
|
||||
}
|
||||
|
||||
// HasEncodedText returns true if EncodedText is present, Tag 355.
|
||||
func (m Reject) HasEncodedText() bool {
|
||||
return m.Has(tag.EncodedText)
|
||||
}
|
||||
|
||||
// HasRefTagID returns true if RefTagID is present, Tag 371.
|
||||
func (m Reject) HasRefTagID() bool {
|
||||
return m.Has(tag.RefTagID)
|
||||
}
|
||||
|
||||
// HasRefMsgType returns true if RefMsgType is present, Tag 372.
|
||||
func (m Reject) HasRefMsgType() bool {
|
||||
return m.Has(tag.RefMsgType)
|
||||
}
|
||||
|
||||
// HasSessionRejectReason returns true if SessionRejectReason is present, Tag 373.
|
||||
func (m Reject) HasSessionRejectReason() bool {
|
||||
return m.Has(tag.SessionRejectReason)
|
||||
}
|
||||
95
quickfix/gen/fix43/resendrequest/ResendRequest.generated.go
Normal file
95
quickfix/gen/fix43/resendrequest/ResendRequest.generated.go
Normal file
@ -0,0 +1,95 @@
|
||||
// Code generated by quickfix. DO NOT EDIT.
|
||||
package resendrequest
|
||||
|
||||
import (
|
||||
"github.com/quickfixgo/quickfix"
|
||||
"github.com/quickfixgo/quickfix/gen/field"
|
||||
"github.com/quickfixgo/quickfix/gen/fix43"
|
||||
"github.com/quickfixgo/quickfix/gen/tag"
|
||||
)
|
||||
|
||||
// ResendRequest is the fix43 ResendRequest type, MsgType = 2.
|
||||
type ResendRequest struct {
|
||||
fix43.Header
|
||||
*quickfix.Body
|
||||
fix43.Trailer
|
||||
Message *quickfix.Message
|
||||
}
|
||||
|
||||
// FromMessage creates a ResendRequest from a quickfix.Message instance.
|
||||
func FromMessage(m *quickfix.Message) ResendRequest {
|
||||
return ResendRequest{
|
||||
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 ResendRequest) ToMessage() *quickfix.Message {
|
||||
return m.Message
|
||||
}
|
||||
|
||||
// New returns a ResendRequest initialized with the required fields for ResendRequest.
|
||||
func New(beginseqno field.BeginSeqNoField, endseqno field.EndSeqNoField) (m ResendRequest) {
|
||||
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("2"))
|
||||
m.Set(beginseqno)
|
||||
m.Set(endseqno)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// A RouteOut is the callback type that should be implemented for routing Message.
|
||||
type RouteOut func(msg ResendRequest, 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", "2", r
|
||||
}
|
||||
|
||||
// SetBeginSeqNo sets BeginSeqNo, Tag 7.
|
||||
func (m ResendRequest) SetBeginSeqNo(v int) {
|
||||
m.Set(field.NewBeginSeqNo(v))
|
||||
}
|
||||
|
||||
// SetEndSeqNo sets EndSeqNo, Tag 16.
|
||||
func (m ResendRequest) SetEndSeqNo(v int) {
|
||||
m.Set(field.NewEndSeqNo(v))
|
||||
}
|
||||
|
||||
// GetBeginSeqNo gets BeginSeqNo, Tag 7.
|
||||
func (m ResendRequest) GetBeginSeqNo() (v int, err quickfix.MessageRejectError) {
|
||||
var f field.BeginSeqNoField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetEndSeqNo gets EndSeqNo, Tag 16.
|
||||
func (m ResendRequest) GetEndSeqNo() (v int, err quickfix.MessageRejectError) {
|
||||
var f field.EndSeqNoField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasBeginSeqNo returns true if BeginSeqNo is present, Tag 7.
|
||||
func (m ResendRequest) HasBeginSeqNo() bool {
|
||||
return m.Has(tag.BeginSeqNo)
|
||||
}
|
||||
|
||||
// HasEndSeqNo returns true if EndSeqNo is present, Tag 16.
|
||||
func (m ResendRequest) HasEndSeqNo() bool {
|
||||
return m.Has(tag.EndSeqNo)
|
||||
}
|
||||
976
quickfix/gen/fix43/rfqrequest/RFQRequest.generated.go
Normal file
976
quickfix/gen/fix43/rfqrequest/RFQRequest.generated.go
Normal file
@ -0,0 +1,976 @@
|
||||
// Code generated by quickfix. DO NOT EDIT.
|
||||
package rfqrequest
|
||||
|
||||
import (
|
||||
"github.com/shopspring/decimal"
|
||||
|
||||
"github.com/quickfixgo/quickfix"
|
||||
"github.com/quickfixgo/quickfix/gen/enum"
|
||||
"github.com/quickfixgo/quickfix/gen/field"
|
||||
"github.com/quickfixgo/quickfix/gen/fix43"
|
||||
"github.com/quickfixgo/quickfix/gen/tag"
|
||||
)
|
||||
|
||||
// RFQRequest is the fix43 RFQRequest type, MsgType = AH.
|
||||
type RFQRequest struct {
|
||||
fix43.Header
|
||||
*quickfix.Body
|
||||
fix43.Trailer
|
||||
Message *quickfix.Message
|
||||
}
|
||||
|
||||
// FromMessage creates a RFQRequest from a quickfix.Message instance.
|
||||
func FromMessage(m *quickfix.Message) RFQRequest {
|
||||
return RFQRequest{
|
||||
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 RFQRequest) ToMessage() *quickfix.Message {
|
||||
return m.Message
|
||||
}
|
||||
|
||||
// New returns a RFQRequest initialized with the required fields for RFQRequest.
|
||||
func New(rfqreqid field.RFQReqIDField) (m RFQRequest) {
|
||||
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("AH"))
|
||||
m.Set(rfqreqid)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// A RouteOut is the callback type that should be implemented for routing Message.
|
||||
type RouteOut func(msg RFQRequest, 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", "AH", r
|
||||
}
|
||||
|
||||
// SetNoRelatedSym sets NoRelatedSym, Tag 146.
|
||||
func (m RFQRequest) SetNoRelatedSym(f NoRelatedSymRepeatingGroup) {
|
||||
m.SetGroup(f)
|
||||
}
|
||||
|
||||
// SetSubscriptionRequestType sets SubscriptionRequestType, Tag 263.
|
||||
func (m RFQRequest) SetSubscriptionRequestType(v enum.SubscriptionRequestType) {
|
||||
m.Set(field.NewSubscriptionRequestType(v))
|
||||
}
|
||||
|
||||
// SetRFQReqID sets RFQReqID, Tag 644.
|
||||
func (m RFQRequest) SetRFQReqID(v string) {
|
||||
m.Set(field.NewRFQReqID(v))
|
||||
}
|
||||
|
||||
// GetNoRelatedSym gets NoRelatedSym, Tag 146.
|
||||
func (m RFQRequest) GetNoRelatedSym() (NoRelatedSymRepeatingGroup, quickfix.MessageRejectError) {
|
||||
f := NewNoRelatedSymRepeatingGroup()
|
||||
err := m.GetGroup(f)
|
||||
return f, err
|
||||
}
|
||||
|
||||
// GetSubscriptionRequestType gets SubscriptionRequestType, Tag 263.
|
||||
func (m RFQRequest) GetSubscriptionRequestType() (v enum.SubscriptionRequestType, err quickfix.MessageRejectError) {
|
||||
var f field.SubscriptionRequestTypeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetRFQReqID gets RFQReqID, Tag 644.
|
||||
func (m RFQRequest) GetRFQReqID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.RFQReqIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasNoRelatedSym returns true if NoRelatedSym is present, Tag 146.
|
||||
func (m RFQRequest) HasNoRelatedSym() bool {
|
||||
return m.Has(tag.NoRelatedSym)
|
||||
}
|
||||
|
||||
// HasSubscriptionRequestType returns true if SubscriptionRequestType is present, Tag 263.
|
||||
func (m RFQRequest) HasSubscriptionRequestType() bool {
|
||||
return m.Has(tag.SubscriptionRequestType)
|
||||
}
|
||||
|
||||
// HasRFQReqID returns true if RFQReqID is present, Tag 644.
|
||||
func (m RFQRequest) HasRFQReqID() bool {
|
||||
return m.Has(tag.RFQReqID)
|
||||
}
|
||||
|
||||
// NoRelatedSym is a repeating group element, Tag 146.
|
||||
type NoRelatedSym struct {
|
||||
*quickfix.Group
|
||||
}
|
||||
|
||||
// SetSymbol sets Symbol, Tag 55.
|
||||
func (m NoRelatedSym) SetSymbol(v string) {
|
||||
m.Set(field.NewSymbol(v))
|
||||
}
|
||||
|
||||
// SetSymbolSfx sets SymbolSfx, Tag 65.
|
||||
func (m NoRelatedSym) SetSymbolSfx(v enum.SymbolSfx) {
|
||||
m.Set(field.NewSymbolSfx(v))
|
||||
}
|
||||
|
||||
// SetSecurityID sets SecurityID, Tag 48.
|
||||
func (m NoRelatedSym) SetSecurityID(v string) {
|
||||
m.Set(field.NewSecurityID(v))
|
||||
}
|
||||
|
||||
// SetSecurityIDSource sets SecurityIDSource, Tag 22.
|
||||
func (m NoRelatedSym) SetSecurityIDSource(v enum.SecurityIDSource) {
|
||||
m.Set(field.NewSecurityIDSource(v))
|
||||
}
|
||||
|
||||
// SetNoSecurityAltID sets NoSecurityAltID, Tag 454.
|
||||
func (m NoRelatedSym) SetNoSecurityAltID(f NoSecurityAltIDRepeatingGroup) {
|
||||
m.SetGroup(f)
|
||||
}
|
||||
|
||||
// SetProduct sets Product, Tag 460.
|
||||
func (m NoRelatedSym) SetProduct(v enum.Product) {
|
||||
m.Set(field.NewProduct(v))
|
||||
}
|
||||
|
||||
// SetCFICode sets CFICode, Tag 461.
|
||||
func (m NoRelatedSym) SetCFICode(v string) {
|
||||
m.Set(field.NewCFICode(v))
|
||||
}
|
||||
|
||||
// SetSecurityType sets SecurityType, Tag 167.
|
||||
func (m NoRelatedSym) SetSecurityType(v enum.SecurityType) {
|
||||
m.Set(field.NewSecurityType(v))
|
||||
}
|
||||
|
||||
// SetMaturityMonthYear sets MaturityMonthYear, Tag 200.
|
||||
func (m NoRelatedSym) SetMaturityMonthYear(v string) {
|
||||
m.Set(field.NewMaturityMonthYear(v))
|
||||
}
|
||||
|
||||
// SetMaturityDate sets MaturityDate, Tag 541.
|
||||
func (m NoRelatedSym) SetMaturityDate(v string) {
|
||||
m.Set(field.NewMaturityDate(v))
|
||||
}
|
||||
|
||||
// SetCouponPaymentDate sets CouponPaymentDate, Tag 224.
|
||||
func (m NoRelatedSym) SetCouponPaymentDate(v string) {
|
||||
m.Set(field.NewCouponPaymentDate(v))
|
||||
}
|
||||
|
||||
// SetIssueDate sets IssueDate, Tag 225.
|
||||
func (m NoRelatedSym) SetIssueDate(v string) {
|
||||
m.Set(field.NewIssueDate(v))
|
||||
}
|
||||
|
||||
// SetRepoCollateralSecurityType sets RepoCollateralSecurityType, Tag 239.
|
||||
func (m NoRelatedSym) SetRepoCollateralSecurityType(v int) {
|
||||
m.Set(field.NewRepoCollateralSecurityType(v))
|
||||
}
|
||||
|
||||
// SetRepurchaseTerm sets RepurchaseTerm, Tag 226.
|
||||
func (m NoRelatedSym) SetRepurchaseTerm(v int) {
|
||||
m.Set(field.NewRepurchaseTerm(v))
|
||||
}
|
||||
|
||||
// SetRepurchaseRate sets RepurchaseRate, Tag 227.
|
||||
func (m NoRelatedSym) SetRepurchaseRate(value decimal.Decimal, scale int32) {
|
||||
m.Set(field.NewRepurchaseRate(value, scale))
|
||||
}
|
||||
|
||||
// SetFactor sets Factor, Tag 228.
|
||||
func (m NoRelatedSym) SetFactor(value decimal.Decimal, scale int32) {
|
||||
m.Set(field.NewFactor(value, scale))
|
||||
}
|
||||
|
||||
// SetCreditRating sets CreditRating, Tag 255.
|
||||
func (m NoRelatedSym) SetCreditRating(v string) {
|
||||
m.Set(field.NewCreditRating(v))
|
||||
}
|
||||
|
||||
// SetInstrRegistry sets InstrRegistry, Tag 543.
|
||||
func (m NoRelatedSym) SetInstrRegistry(v enum.InstrRegistry) {
|
||||
m.Set(field.NewInstrRegistry(v))
|
||||
}
|
||||
|
||||
// SetCountryOfIssue sets CountryOfIssue, Tag 470.
|
||||
func (m NoRelatedSym) SetCountryOfIssue(v string) {
|
||||
m.Set(field.NewCountryOfIssue(v))
|
||||
}
|
||||
|
||||
// SetStateOrProvinceOfIssue sets StateOrProvinceOfIssue, Tag 471.
|
||||
func (m NoRelatedSym) SetStateOrProvinceOfIssue(v string) {
|
||||
m.Set(field.NewStateOrProvinceOfIssue(v))
|
||||
}
|
||||
|
||||
// SetLocaleOfIssue sets LocaleOfIssue, Tag 472.
|
||||
func (m NoRelatedSym) SetLocaleOfIssue(v string) {
|
||||
m.Set(field.NewLocaleOfIssue(v))
|
||||
}
|
||||
|
||||
// SetRedemptionDate sets RedemptionDate, Tag 240.
|
||||
func (m NoRelatedSym) SetRedemptionDate(v string) {
|
||||
m.Set(field.NewRedemptionDate(v))
|
||||
}
|
||||
|
||||
// SetStrikePrice sets StrikePrice, Tag 202.
|
||||
func (m NoRelatedSym) SetStrikePrice(value decimal.Decimal, scale int32) {
|
||||
m.Set(field.NewStrikePrice(value, scale))
|
||||
}
|
||||
|
||||
// SetOptAttribute sets OptAttribute, Tag 206.
|
||||
func (m NoRelatedSym) SetOptAttribute(v string) {
|
||||
m.Set(field.NewOptAttribute(v))
|
||||
}
|
||||
|
||||
// SetContractMultiplier sets ContractMultiplier, Tag 231.
|
||||
func (m NoRelatedSym) SetContractMultiplier(value decimal.Decimal, scale int32) {
|
||||
m.Set(field.NewContractMultiplier(value, scale))
|
||||
}
|
||||
|
||||
// SetCouponRate sets CouponRate, Tag 223.
|
||||
func (m NoRelatedSym) SetCouponRate(value decimal.Decimal, scale int32) {
|
||||
m.Set(field.NewCouponRate(value, scale))
|
||||
}
|
||||
|
||||
// SetSecurityExchange sets SecurityExchange, Tag 207.
|
||||
func (m NoRelatedSym) SetSecurityExchange(v string) {
|
||||
m.Set(field.NewSecurityExchange(v))
|
||||
}
|
||||
|
||||
// SetIssuer sets Issuer, Tag 106.
|
||||
func (m NoRelatedSym) SetIssuer(v string) {
|
||||
m.Set(field.NewIssuer(v))
|
||||
}
|
||||
|
||||
// SetEncodedIssuerLen sets EncodedIssuerLen, Tag 348.
|
||||
func (m NoRelatedSym) SetEncodedIssuerLen(v int) {
|
||||
m.Set(field.NewEncodedIssuerLen(v))
|
||||
}
|
||||
|
||||
// SetEncodedIssuer sets EncodedIssuer, Tag 349.
|
||||
func (m NoRelatedSym) SetEncodedIssuer(v string) {
|
||||
m.Set(field.NewEncodedIssuer(v))
|
||||
}
|
||||
|
||||
// SetSecurityDesc sets SecurityDesc, Tag 107.
|
||||
func (m NoRelatedSym) SetSecurityDesc(v string) {
|
||||
m.Set(field.NewSecurityDesc(v))
|
||||
}
|
||||
|
||||
// SetEncodedSecurityDescLen sets EncodedSecurityDescLen, Tag 350.
|
||||
func (m NoRelatedSym) SetEncodedSecurityDescLen(v int) {
|
||||
m.Set(field.NewEncodedSecurityDescLen(v))
|
||||
}
|
||||
|
||||
// SetEncodedSecurityDesc sets EncodedSecurityDesc, Tag 351.
|
||||
func (m NoRelatedSym) SetEncodedSecurityDesc(v string) {
|
||||
m.Set(field.NewEncodedSecurityDesc(v))
|
||||
}
|
||||
|
||||
// SetPrevClosePx sets PrevClosePx, Tag 140.
|
||||
func (m NoRelatedSym) SetPrevClosePx(value decimal.Decimal, scale int32) {
|
||||
m.Set(field.NewPrevClosePx(value, scale))
|
||||
}
|
||||
|
||||
// SetQuoteRequestType sets QuoteRequestType, Tag 303.
|
||||
func (m NoRelatedSym) SetQuoteRequestType(v enum.QuoteRequestType) {
|
||||
m.Set(field.NewQuoteRequestType(v))
|
||||
}
|
||||
|
||||
// SetQuoteType sets QuoteType, Tag 537.
|
||||
func (m NoRelatedSym) SetQuoteType(v enum.QuoteType) {
|
||||
m.Set(field.NewQuoteType(v))
|
||||
}
|
||||
|
||||
// SetTradingSessionID sets TradingSessionID, Tag 336.
|
||||
func (m NoRelatedSym) SetTradingSessionID(v enum.TradingSessionID) {
|
||||
m.Set(field.NewTradingSessionID(v))
|
||||
}
|
||||
|
||||
// SetTradingSessionSubID sets TradingSessionSubID, Tag 625.
|
||||
func (m NoRelatedSym) SetTradingSessionSubID(v enum.TradingSessionSubID) {
|
||||
m.Set(field.NewTradingSessionSubID(v))
|
||||
}
|
||||
|
||||
// GetSymbol gets Symbol, Tag 55.
|
||||
func (m NoRelatedSym) 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 NoRelatedSym) 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 NoRelatedSym) 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 NoRelatedSym) 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 NoRelatedSym) GetNoSecurityAltID() (NoSecurityAltIDRepeatingGroup, quickfix.MessageRejectError) {
|
||||
f := NewNoSecurityAltIDRepeatingGroup()
|
||||
err := m.GetGroup(f)
|
||||
return f, err
|
||||
}
|
||||
|
||||
// GetProduct gets Product, Tag 460.
|
||||
func (m NoRelatedSym) 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 NoRelatedSym) 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 NoRelatedSym) 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 NoRelatedSym) 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 NoRelatedSym) 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 NoRelatedSym) 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 NoRelatedSym) 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 NoRelatedSym) 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 NoRelatedSym) 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 NoRelatedSym) 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 NoRelatedSym) 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 NoRelatedSym) 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 NoRelatedSym) 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 NoRelatedSym) 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 NoRelatedSym) 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 NoRelatedSym) 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 NoRelatedSym) 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 NoRelatedSym) 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 NoRelatedSym) 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 NoRelatedSym) 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 NoRelatedSym) 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 NoRelatedSym) 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 NoRelatedSym) 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 NoRelatedSym) 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 NoRelatedSym) 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 NoRelatedSym) 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 NoRelatedSym) 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 NoRelatedSym) GetEncodedSecurityDesc() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.EncodedSecurityDescField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetPrevClosePx gets PrevClosePx, Tag 140.
|
||||
func (m NoRelatedSym) GetPrevClosePx() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
||||
var f field.PrevClosePxField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetQuoteRequestType gets QuoteRequestType, Tag 303.
|
||||
func (m NoRelatedSym) GetQuoteRequestType() (v enum.QuoteRequestType, err quickfix.MessageRejectError) {
|
||||
var f field.QuoteRequestTypeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetQuoteType gets QuoteType, Tag 537.
|
||||
func (m NoRelatedSym) GetQuoteType() (v enum.QuoteType, err quickfix.MessageRejectError) {
|
||||
var f field.QuoteTypeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTradingSessionID gets TradingSessionID, Tag 336.
|
||||
func (m NoRelatedSym) GetTradingSessionID() (v enum.TradingSessionID, err quickfix.MessageRejectError) {
|
||||
var f field.TradingSessionIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTradingSessionSubID gets TradingSessionSubID, Tag 625.
|
||||
func (m NoRelatedSym) GetTradingSessionSubID() (v enum.TradingSessionSubID, err quickfix.MessageRejectError) {
|
||||
var f field.TradingSessionSubIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasSymbol returns true if Symbol is present, Tag 55.
|
||||
func (m NoRelatedSym) HasSymbol() bool {
|
||||
return m.Has(tag.Symbol)
|
||||
}
|
||||
|
||||
// HasSymbolSfx returns true if SymbolSfx is present, Tag 65.
|
||||
func (m NoRelatedSym) HasSymbolSfx() bool {
|
||||
return m.Has(tag.SymbolSfx)
|
||||
}
|
||||
|
||||
// HasSecurityID returns true if SecurityID is present, Tag 48.
|
||||
func (m NoRelatedSym) HasSecurityID() bool {
|
||||
return m.Has(tag.SecurityID)
|
||||
}
|
||||
|
||||
// HasSecurityIDSource returns true if SecurityIDSource is present, Tag 22.
|
||||
func (m NoRelatedSym) HasSecurityIDSource() bool {
|
||||
return m.Has(tag.SecurityIDSource)
|
||||
}
|
||||
|
||||
// HasNoSecurityAltID returns true if NoSecurityAltID is present, Tag 454.
|
||||
func (m NoRelatedSym) HasNoSecurityAltID() bool {
|
||||
return m.Has(tag.NoSecurityAltID)
|
||||
}
|
||||
|
||||
// HasProduct returns true if Product is present, Tag 460.
|
||||
func (m NoRelatedSym) HasProduct() bool {
|
||||
return m.Has(tag.Product)
|
||||
}
|
||||
|
||||
// HasCFICode returns true if CFICode is present, Tag 461.
|
||||
func (m NoRelatedSym) HasCFICode() bool {
|
||||
return m.Has(tag.CFICode)
|
||||
}
|
||||
|
||||
// HasSecurityType returns true if SecurityType is present, Tag 167.
|
||||
func (m NoRelatedSym) HasSecurityType() bool {
|
||||
return m.Has(tag.SecurityType)
|
||||
}
|
||||
|
||||
// HasMaturityMonthYear returns true if MaturityMonthYear is present, Tag 200.
|
||||
func (m NoRelatedSym) HasMaturityMonthYear() bool {
|
||||
return m.Has(tag.MaturityMonthYear)
|
||||
}
|
||||
|
||||
// HasMaturityDate returns true if MaturityDate is present, Tag 541.
|
||||
func (m NoRelatedSym) HasMaturityDate() bool {
|
||||
return m.Has(tag.MaturityDate)
|
||||
}
|
||||
|
||||
// HasCouponPaymentDate returns true if CouponPaymentDate is present, Tag 224.
|
||||
func (m NoRelatedSym) HasCouponPaymentDate() bool {
|
||||
return m.Has(tag.CouponPaymentDate)
|
||||
}
|
||||
|
||||
// HasIssueDate returns true if IssueDate is present, Tag 225.
|
||||
func (m NoRelatedSym) HasIssueDate() bool {
|
||||
return m.Has(tag.IssueDate)
|
||||
}
|
||||
|
||||
// HasRepoCollateralSecurityType returns true if RepoCollateralSecurityType is present, Tag 239.
|
||||
func (m NoRelatedSym) HasRepoCollateralSecurityType() bool {
|
||||
return m.Has(tag.RepoCollateralSecurityType)
|
||||
}
|
||||
|
||||
// HasRepurchaseTerm returns true if RepurchaseTerm is present, Tag 226.
|
||||
func (m NoRelatedSym) HasRepurchaseTerm() bool {
|
||||
return m.Has(tag.RepurchaseTerm)
|
||||
}
|
||||
|
||||
// HasRepurchaseRate returns true if RepurchaseRate is present, Tag 227.
|
||||
func (m NoRelatedSym) HasRepurchaseRate() bool {
|
||||
return m.Has(tag.RepurchaseRate)
|
||||
}
|
||||
|
||||
// HasFactor returns true if Factor is present, Tag 228.
|
||||
func (m NoRelatedSym) HasFactor() bool {
|
||||
return m.Has(tag.Factor)
|
||||
}
|
||||
|
||||
// HasCreditRating returns true if CreditRating is present, Tag 255.
|
||||
func (m NoRelatedSym) HasCreditRating() bool {
|
||||
return m.Has(tag.CreditRating)
|
||||
}
|
||||
|
||||
// HasInstrRegistry returns true if InstrRegistry is present, Tag 543.
|
||||
func (m NoRelatedSym) HasInstrRegistry() bool {
|
||||
return m.Has(tag.InstrRegistry)
|
||||
}
|
||||
|
||||
// HasCountryOfIssue returns true if CountryOfIssue is present, Tag 470.
|
||||
func (m NoRelatedSym) HasCountryOfIssue() bool {
|
||||
return m.Has(tag.CountryOfIssue)
|
||||
}
|
||||
|
||||
// HasStateOrProvinceOfIssue returns true if StateOrProvinceOfIssue is present, Tag 471.
|
||||
func (m NoRelatedSym) HasStateOrProvinceOfIssue() bool {
|
||||
return m.Has(tag.StateOrProvinceOfIssue)
|
||||
}
|
||||
|
||||
// HasLocaleOfIssue returns true if LocaleOfIssue is present, Tag 472.
|
||||
func (m NoRelatedSym) HasLocaleOfIssue() bool {
|
||||
return m.Has(tag.LocaleOfIssue)
|
||||
}
|
||||
|
||||
// HasRedemptionDate returns true if RedemptionDate is present, Tag 240.
|
||||
func (m NoRelatedSym) HasRedemptionDate() bool {
|
||||
return m.Has(tag.RedemptionDate)
|
||||
}
|
||||
|
||||
// HasStrikePrice returns true if StrikePrice is present, Tag 202.
|
||||
func (m NoRelatedSym) HasStrikePrice() bool {
|
||||
return m.Has(tag.StrikePrice)
|
||||
}
|
||||
|
||||
// HasOptAttribute returns true if OptAttribute is present, Tag 206.
|
||||
func (m NoRelatedSym) HasOptAttribute() bool {
|
||||
return m.Has(tag.OptAttribute)
|
||||
}
|
||||
|
||||
// HasContractMultiplier returns true if ContractMultiplier is present, Tag 231.
|
||||
func (m NoRelatedSym) HasContractMultiplier() bool {
|
||||
return m.Has(tag.ContractMultiplier)
|
||||
}
|
||||
|
||||
// HasCouponRate returns true if CouponRate is present, Tag 223.
|
||||
func (m NoRelatedSym) HasCouponRate() bool {
|
||||
return m.Has(tag.CouponRate)
|
||||
}
|
||||
|
||||
// HasSecurityExchange returns true if SecurityExchange is present, Tag 207.
|
||||
func (m NoRelatedSym) HasSecurityExchange() bool {
|
||||
return m.Has(tag.SecurityExchange)
|
||||
}
|
||||
|
||||
// HasIssuer returns true if Issuer is present, Tag 106.
|
||||
func (m NoRelatedSym) HasIssuer() bool {
|
||||
return m.Has(tag.Issuer)
|
||||
}
|
||||
|
||||
// HasEncodedIssuerLen returns true if EncodedIssuerLen is present, Tag 348.
|
||||
func (m NoRelatedSym) HasEncodedIssuerLen() bool {
|
||||
return m.Has(tag.EncodedIssuerLen)
|
||||
}
|
||||
|
||||
// HasEncodedIssuer returns true if EncodedIssuer is present, Tag 349.
|
||||
func (m NoRelatedSym) HasEncodedIssuer() bool {
|
||||
return m.Has(tag.EncodedIssuer)
|
||||
}
|
||||
|
||||
// HasSecurityDesc returns true if SecurityDesc is present, Tag 107.
|
||||
func (m NoRelatedSym) HasSecurityDesc() bool {
|
||||
return m.Has(tag.SecurityDesc)
|
||||
}
|
||||
|
||||
// HasEncodedSecurityDescLen returns true if EncodedSecurityDescLen is present, Tag 350.
|
||||
func (m NoRelatedSym) HasEncodedSecurityDescLen() bool {
|
||||
return m.Has(tag.EncodedSecurityDescLen)
|
||||
}
|
||||
|
||||
// HasEncodedSecurityDesc returns true if EncodedSecurityDesc is present, Tag 351.
|
||||
func (m NoRelatedSym) HasEncodedSecurityDesc() bool {
|
||||
return m.Has(tag.EncodedSecurityDesc)
|
||||
}
|
||||
|
||||
// HasPrevClosePx returns true if PrevClosePx is present, Tag 140.
|
||||
func (m NoRelatedSym) HasPrevClosePx() bool {
|
||||
return m.Has(tag.PrevClosePx)
|
||||
}
|
||||
|
||||
// HasQuoteRequestType returns true if QuoteRequestType is present, Tag 303.
|
||||
func (m NoRelatedSym) HasQuoteRequestType() bool {
|
||||
return m.Has(tag.QuoteRequestType)
|
||||
}
|
||||
|
||||
// HasQuoteType returns true if QuoteType is present, Tag 537.
|
||||
func (m NoRelatedSym) HasQuoteType() bool {
|
||||
return m.Has(tag.QuoteType)
|
||||
}
|
||||
|
||||
// HasTradingSessionID returns true if TradingSessionID is present, Tag 336.
|
||||
func (m NoRelatedSym) HasTradingSessionID() bool {
|
||||
return m.Has(tag.TradingSessionID)
|
||||
}
|
||||
|
||||
// HasTradingSessionSubID returns true if TradingSessionSubID is present, Tag 625.
|
||||
func (m NoRelatedSym) 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)}
|
||||
}
|
||||
|
||||
// NoRelatedSymRepeatingGroup is a repeating group, Tag 146.
|
||||
type NoRelatedSymRepeatingGroup struct {
|
||||
*quickfix.RepeatingGroup
|
||||
}
|
||||
|
||||
// NewNoRelatedSymRepeatingGroup returns an initialized, NoRelatedSymRepeatingGroup.
|
||||
func NewNoRelatedSymRepeatingGroup() NoRelatedSymRepeatingGroup {
|
||||
return NoRelatedSymRepeatingGroup{
|
||||
quickfix.NewRepeatingGroup(
|
||||
tag.NoRelatedSym,
|
||||
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.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.OptAttribute),
|
||||
quickfix.GroupElement(tag.ContractMultiplier),
|
||||
quickfix.GroupElement(tag.CouponRate),
|
||||
quickfix.GroupElement(tag.SecurityExchange),
|
||||
quickfix.GroupElement(tag.Issuer),
|
||||
quickfix.GroupElement(tag.EncodedIssuerLen),
|
||||
quickfix.GroupElement(tag.EncodedIssuer),
|
||||
quickfix.GroupElement(tag.SecurityDesc),
|
||||
quickfix.GroupElement(tag.EncodedSecurityDescLen),
|
||||
quickfix.GroupElement(tag.EncodedSecurityDesc),
|
||||
quickfix.GroupElement(tag.PrevClosePx),
|
||||
quickfix.GroupElement(tag.QuoteRequestType),
|
||||
quickfix.GroupElement(tag.QuoteType),
|
||||
quickfix.GroupElement(tag.TradingSessionID),
|
||||
quickfix.GroupElement(tag.TradingSessionSubID),
|
||||
},
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
// Add create and append a new NoRelatedSym to this group.
|
||||
func (m NoRelatedSymRepeatingGroup) Add() NoRelatedSym {
|
||||
g := m.RepeatingGroup.Add()
|
||||
return NoRelatedSym{g}
|
||||
}
|
||||
|
||||
// Get returns the ith NoRelatedSym in the NoRelatedSymRepeatinGroup.
|
||||
func (m NoRelatedSymRepeatingGroup) Get(i int) NoRelatedSym {
|
||||
return NoRelatedSym{m.RepeatingGroup.Get(i)}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
1916
quickfix/gen/fix43/securitylist/SecurityList.generated.go
Normal file
1916
quickfix/gen/fix43/securitylist/SecurityList.generated.go
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,928 @@
|
||||
// Code generated by quickfix. DO NOT EDIT.
|
||||
package securitylistrequest
|
||||
|
||||
import (
|
||||
"github.com/shopspring/decimal"
|
||||
|
||||
"github.com/quickfixgo/quickfix"
|
||||
"github.com/quickfixgo/quickfix/gen/enum"
|
||||
"github.com/quickfixgo/quickfix/gen/field"
|
||||
"github.com/quickfixgo/quickfix/gen/fix43"
|
||||
"github.com/quickfixgo/quickfix/gen/tag"
|
||||
)
|
||||
|
||||
// SecurityListRequest is the fix43 SecurityListRequest type, MsgType = x.
|
||||
type SecurityListRequest struct {
|
||||
fix43.Header
|
||||
*quickfix.Body
|
||||
fix43.Trailer
|
||||
Message *quickfix.Message
|
||||
}
|
||||
|
||||
// FromMessage creates a SecurityListRequest from a quickfix.Message instance.
|
||||
func FromMessage(m *quickfix.Message) SecurityListRequest {
|
||||
return SecurityListRequest{
|
||||
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 SecurityListRequest) ToMessage() *quickfix.Message {
|
||||
return m.Message
|
||||
}
|
||||
|
||||
// New returns a SecurityListRequest initialized with the required fields for SecurityListRequest.
|
||||
func New(securityreqid field.SecurityReqIDField, securitylistrequesttype field.SecurityListRequestTypeField) (m SecurityListRequest) {
|
||||
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("x"))
|
||||
m.Set(securityreqid)
|
||||
m.Set(securitylistrequesttype)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// A RouteOut is the callback type that should be implemented for routing Message.
|
||||
type RouteOut func(msg SecurityListRequest, 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", "x", r
|
||||
}
|
||||
|
||||
// SetCurrency sets Currency, Tag 15.
|
||||
func (m SecurityListRequest) SetCurrency(v string) {
|
||||
m.Set(field.NewCurrency(v))
|
||||
}
|
||||
|
||||
// SetSecurityIDSource sets SecurityIDSource, Tag 22.
|
||||
func (m SecurityListRequest) SetSecurityIDSource(v enum.SecurityIDSource) {
|
||||
m.Set(field.NewSecurityIDSource(v))
|
||||
}
|
||||
|
||||
// SetSecurityID sets SecurityID, Tag 48.
|
||||
func (m SecurityListRequest) SetSecurityID(v string) {
|
||||
m.Set(field.NewSecurityID(v))
|
||||
}
|
||||
|
||||
// SetSymbol sets Symbol, Tag 55.
|
||||
func (m SecurityListRequest) SetSymbol(v string) {
|
||||
m.Set(field.NewSymbol(v))
|
||||
}
|
||||
|
||||
// SetText sets Text, Tag 58.
|
||||
func (m SecurityListRequest) SetText(v string) {
|
||||
m.Set(field.NewText(v))
|
||||
}
|
||||
|
||||
// SetSymbolSfx sets SymbolSfx, Tag 65.
|
||||
func (m SecurityListRequest) SetSymbolSfx(v enum.SymbolSfx) {
|
||||
m.Set(field.NewSymbolSfx(v))
|
||||
}
|
||||
|
||||
// SetIssuer sets Issuer, Tag 106.
|
||||
func (m SecurityListRequest) SetIssuer(v string) {
|
||||
m.Set(field.NewIssuer(v))
|
||||
}
|
||||
|
||||
// SetSecurityDesc sets SecurityDesc, Tag 107.
|
||||
func (m SecurityListRequest) SetSecurityDesc(v string) {
|
||||
m.Set(field.NewSecurityDesc(v))
|
||||
}
|
||||
|
||||
// SetSecurityType sets SecurityType, Tag 167.
|
||||
func (m SecurityListRequest) SetSecurityType(v enum.SecurityType) {
|
||||
m.Set(field.NewSecurityType(v))
|
||||
}
|
||||
|
||||
// SetMaturityMonthYear sets MaturityMonthYear, Tag 200.
|
||||
func (m SecurityListRequest) SetMaturityMonthYear(v string) {
|
||||
m.Set(field.NewMaturityMonthYear(v))
|
||||
}
|
||||
|
||||
// SetStrikePrice sets StrikePrice, Tag 202.
|
||||
func (m SecurityListRequest) SetStrikePrice(value decimal.Decimal, scale int32) {
|
||||
m.Set(field.NewStrikePrice(value, scale))
|
||||
}
|
||||
|
||||
// SetOptAttribute sets OptAttribute, Tag 206.
|
||||
func (m SecurityListRequest) SetOptAttribute(v string) {
|
||||
m.Set(field.NewOptAttribute(v))
|
||||
}
|
||||
|
||||
// SetSecurityExchange sets SecurityExchange, Tag 207.
|
||||
func (m SecurityListRequest) SetSecurityExchange(v string) {
|
||||
m.Set(field.NewSecurityExchange(v))
|
||||
}
|
||||
|
||||
// SetCouponRate sets CouponRate, Tag 223.
|
||||
func (m SecurityListRequest) SetCouponRate(value decimal.Decimal, scale int32) {
|
||||
m.Set(field.NewCouponRate(value, scale))
|
||||
}
|
||||
|
||||
// SetCouponPaymentDate sets CouponPaymentDate, Tag 224.
|
||||
func (m SecurityListRequest) SetCouponPaymentDate(v string) {
|
||||
m.Set(field.NewCouponPaymentDate(v))
|
||||
}
|
||||
|
||||
// SetIssueDate sets IssueDate, Tag 225.
|
||||
func (m SecurityListRequest) SetIssueDate(v string) {
|
||||
m.Set(field.NewIssueDate(v))
|
||||
}
|
||||
|
||||
// SetRepurchaseTerm sets RepurchaseTerm, Tag 226.
|
||||
func (m SecurityListRequest) SetRepurchaseTerm(v int) {
|
||||
m.Set(field.NewRepurchaseTerm(v))
|
||||
}
|
||||
|
||||
// SetRepurchaseRate sets RepurchaseRate, Tag 227.
|
||||
func (m SecurityListRequest) SetRepurchaseRate(value decimal.Decimal, scale int32) {
|
||||
m.Set(field.NewRepurchaseRate(value, scale))
|
||||
}
|
||||
|
||||
// SetFactor sets Factor, Tag 228.
|
||||
func (m SecurityListRequest) SetFactor(value decimal.Decimal, scale int32) {
|
||||
m.Set(field.NewFactor(value, scale))
|
||||
}
|
||||
|
||||
// SetContractMultiplier sets ContractMultiplier, Tag 231.
|
||||
func (m SecurityListRequest) SetContractMultiplier(value decimal.Decimal, scale int32) {
|
||||
m.Set(field.NewContractMultiplier(value, scale))
|
||||
}
|
||||
|
||||
// SetRepoCollateralSecurityType sets RepoCollateralSecurityType, Tag 239.
|
||||
func (m SecurityListRequest) SetRepoCollateralSecurityType(v int) {
|
||||
m.Set(field.NewRepoCollateralSecurityType(v))
|
||||
}
|
||||
|
||||
// SetRedemptionDate sets RedemptionDate, Tag 240.
|
||||
func (m SecurityListRequest) SetRedemptionDate(v string) {
|
||||
m.Set(field.NewRedemptionDate(v))
|
||||
}
|
||||
|
||||
// SetCreditRating sets CreditRating, Tag 255.
|
||||
func (m SecurityListRequest) SetCreditRating(v string) {
|
||||
m.Set(field.NewCreditRating(v))
|
||||
}
|
||||
|
||||
// SetSubscriptionRequestType sets SubscriptionRequestType, Tag 263.
|
||||
func (m SecurityListRequest) SetSubscriptionRequestType(v enum.SubscriptionRequestType) {
|
||||
m.Set(field.NewSubscriptionRequestType(v))
|
||||
}
|
||||
|
||||
// SetSecurityReqID sets SecurityReqID, Tag 320.
|
||||
func (m SecurityListRequest) SetSecurityReqID(v string) {
|
||||
m.Set(field.NewSecurityReqID(v))
|
||||
}
|
||||
|
||||
// SetTradingSessionID sets TradingSessionID, Tag 336.
|
||||
func (m SecurityListRequest) SetTradingSessionID(v enum.TradingSessionID) {
|
||||
m.Set(field.NewTradingSessionID(v))
|
||||
}
|
||||
|
||||
// SetEncodedIssuerLen sets EncodedIssuerLen, Tag 348.
|
||||
func (m SecurityListRequest) SetEncodedIssuerLen(v int) {
|
||||
m.Set(field.NewEncodedIssuerLen(v))
|
||||
}
|
||||
|
||||
// SetEncodedIssuer sets EncodedIssuer, Tag 349.
|
||||
func (m SecurityListRequest) SetEncodedIssuer(v string) {
|
||||
m.Set(field.NewEncodedIssuer(v))
|
||||
}
|
||||
|
||||
// SetEncodedSecurityDescLen sets EncodedSecurityDescLen, Tag 350.
|
||||
func (m SecurityListRequest) SetEncodedSecurityDescLen(v int) {
|
||||
m.Set(field.NewEncodedSecurityDescLen(v))
|
||||
}
|
||||
|
||||
// SetEncodedSecurityDesc sets EncodedSecurityDesc, Tag 351.
|
||||
func (m SecurityListRequest) SetEncodedSecurityDesc(v string) {
|
||||
m.Set(field.NewEncodedSecurityDesc(v))
|
||||
}
|
||||
|
||||
// SetEncodedTextLen sets EncodedTextLen, Tag 354.
|
||||
func (m SecurityListRequest) SetEncodedTextLen(v int) {
|
||||
m.Set(field.NewEncodedTextLen(v))
|
||||
}
|
||||
|
||||
// SetEncodedText sets EncodedText, Tag 355.
|
||||
func (m SecurityListRequest) SetEncodedText(v string) {
|
||||
m.Set(field.NewEncodedText(v))
|
||||
}
|
||||
|
||||
// SetNoSecurityAltID sets NoSecurityAltID, Tag 454.
|
||||
func (m SecurityListRequest) SetNoSecurityAltID(f NoSecurityAltIDRepeatingGroup) {
|
||||
m.SetGroup(f)
|
||||
}
|
||||
|
||||
// SetProduct sets Product, Tag 460.
|
||||
func (m SecurityListRequest) SetProduct(v enum.Product) {
|
||||
m.Set(field.NewProduct(v))
|
||||
}
|
||||
|
||||
// SetCFICode sets CFICode, Tag 461.
|
||||
func (m SecurityListRequest) SetCFICode(v string) {
|
||||
m.Set(field.NewCFICode(v))
|
||||
}
|
||||
|
||||
// SetCountryOfIssue sets CountryOfIssue, Tag 470.
|
||||
func (m SecurityListRequest) SetCountryOfIssue(v string) {
|
||||
m.Set(field.NewCountryOfIssue(v))
|
||||
}
|
||||
|
||||
// SetStateOrProvinceOfIssue sets StateOrProvinceOfIssue, Tag 471.
|
||||
func (m SecurityListRequest) SetStateOrProvinceOfIssue(v string) {
|
||||
m.Set(field.NewStateOrProvinceOfIssue(v))
|
||||
}
|
||||
|
||||
// SetLocaleOfIssue sets LocaleOfIssue, Tag 472.
|
||||
func (m SecurityListRequest) SetLocaleOfIssue(v string) {
|
||||
m.Set(field.NewLocaleOfIssue(v))
|
||||
}
|
||||
|
||||
// SetMaturityDate sets MaturityDate, Tag 541.
|
||||
func (m SecurityListRequest) SetMaturityDate(v string) {
|
||||
m.Set(field.NewMaturityDate(v))
|
||||
}
|
||||
|
||||
// SetInstrRegistry sets InstrRegistry, Tag 543.
|
||||
func (m SecurityListRequest) SetInstrRegistry(v enum.InstrRegistry) {
|
||||
m.Set(field.NewInstrRegistry(v))
|
||||
}
|
||||
|
||||
// SetSecurityListRequestType sets SecurityListRequestType, Tag 559.
|
||||
func (m SecurityListRequest) SetSecurityListRequestType(v enum.SecurityListRequestType) {
|
||||
m.Set(field.NewSecurityListRequestType(v))
|
||||
}
|
||||
|
||||
// SetTradingSessionSubID sets TradingSessionSubID, Tag 625.
|
||||
func (m SecurityListRequest) SetTradingSessionSubID(v enum.TradingSessionSubID) {
|
||||
m.Set(field.NewTradingSessionSubID(v))
|
||||
}
|
||||
|
||||
// GetCurrency gets Currency, Tag 15.
|
||||
func (m SecurityListRequest) 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 SecurityListRequest) 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 SecurityListRequest) 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 SecurityListRequest) GetSymbol() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.SymbolField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetText gets Text, Tag 58.
|
||||
func (m SecurityListRequest) GetText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.TextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetSymbolSfx gets SymbolSfx, Tag 65.
|
||||
func (m SecurityListRequest) 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 SecurityListRequest) 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 SecurityListRequest) 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 SecurityListRequest) 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 SecurityListRequest) 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 SecurityListRequest) 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 SecurityListRequest) 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 SecurityListRequest) 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 SecurityListRequest) 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 SecurityListRequest) 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 SecurityListRequest) 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 SecurityListRequest) 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 SecurityListRequest) 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 SecurityListRequest) 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 SecurityListRequest) 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 SecurityListRequest) 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 SecurityListRequest) 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 SecurityListRequest) 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 SecurityListRequest) GetSubscriptionRequestType() (v enum.SubscriptionRequestType, err quickfix.MessageRejectError) {
|
||||
var f field.SubscriptionRequestTypeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetSecurityReqID gets SecurityReqID, Tag 320.
|
||||
func (m SecurityListRequest) GetSecurityReqID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.SecurityReqIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTradingSessionID gets TradingSessionID, Tag 336.
|
||||
func (m SecurityListRequest) 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 SecurityListRequest) 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 SecurityListRequest) 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 SecurityListRequest) 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 SecurityListRequest) GetEncodedSecurityDesc() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.EncodedSecurityDescField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetEncodedTextLen gets EncodedTextLen, Tag 354.
|
||||
func (m SecurityListRequest) 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 SecurityListRequest) GetEncodedText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.EncodedTextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetNoSecurityAltID gets NoSecurityAltID, Tag 454.
|
||||
func (m SecurityListRequest) GetNoSecurityAltID() (NoSecurityAltIDRepeatingGroup, quickfix.MessageRejectError) {
|
||||
f := NewNoSecurityAltIDRepeatingGroup()
|
||||
err := m.GetGroup(f)
|
||||
return f, err
|
||||
}
|
||||
|
||||
// GetProduct gets Product, Tag 460.
|
||||
func (m SecurityListRequest) 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 SecurityListRequest) 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 SecurityListRequest) 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 SecurityListRequest) 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 SecurityListRequest) 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 SecurityListRequest) 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 SecurityListRequest) GetInstrRegistry() (v enum.InstrRegistry, err quickfix.MessageRejectError) {
|
||||
var f field.InstrRegistryField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetSecurityListRequestType gets SecurityListRequestType, Tag 559.
|
||||
func (m SecurityListRequest) GetSecurityListRequestType() (v enum.SecurityListRequestType, err quickfix.MessageRejectError) {
|
||||
var f field.SecurityListRequestTypeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTradingSessionSubID gets TradingSessionSubID, Tag 625.
|
||||
func (m SecurityListRequest) 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 SecurityListRequest) HasCurrency() bool {
|
||||
return m.Has(tag.Currency)
|
||||
}
|
||||
|
||||
// HasSecurityIDSource returns true if SecurityIDSource is present, Tag 22.
|
||||
func (m SecurityListRequest) HasSecurityIDSource() bool {
|
||||
return m.Has(tag.SecurityIDSource)
|
||||
}
|
||||
|
||||
// HasSecurityID returns true if SecurityID is present, Tag 48.
|
||||
func (m SecurityListRequest) HasSecurityID() bool {
|
||||
return m.Has(tag.SecurityID)
|
||||
}
|
||||
|
||||
// HasSymbol returns true if Symbol is present, Tag 55.
|
||||
func (m SecurityListRequest) HasSymbol() bool {
|
||||
return m.Has(tag.Symbol)
|
||||
}
|
||||
|
||||
// HasText returns true if Text is present, Tag 58.
|
||||
func (m SecurityListRequest) HasText() bool {
|
||||
return m.Has(tag.Text)
|
||||
}
|
||||
|
||||
// HasSymbolSfx returns true if SymbolSfx is present, Tag 65.
|
||||
func (m SecurityListRequest) HasSymbolSfx() bool {
|
||||
return m.Has(tag.SymbolSfx)
|
||||
}
|
||||
|
||||
// HasIssuer returns true if Issuer is present, Tag 106.
|
||||
func (m SecurityListRequest) HasIssuer() bool {
|
||||
return m.Has(tag.Issuer)
|
||||
}
|
||||
|
||||
// HasSecurityDesc returns true if SecurityDesc is present, Tag 107.
|
||||
func (m SecurityListRequest) HasSecurityDesc() bool {
|
||||
return m.Has(tag.SecurityDesc)
|
||||
}
|
||||
|
||||
// HasSecurityType returns true if SecurityType is present, Tag 167.
|
||||
func (m SecurityListRequest) HasSecurityType() bool {
|
||||
return m.Has(tag.SecurityType)
|
||||
}
|
||||
|
||||
// HasMaturityMonthYear returns true if MaturityMonthYear is present, Tag 200.
|
||||
func (m SecurityListRequest) HasMaturityMonthYear() bool {
|
||||
return m.Has(tag.MaturityMonthYear)
|
||||
}
|
||||
|
||||
// HasStrikePrice returns true if StrikePrice is present, Tag 202.
|
||||
func (m SecurityListRequest) HasStrikePrice() bool {
|
||||
return m.Has(tag.StrikePrice)
|
||||
}
|
||||
|
||||
// HasOptAttribute returns true if OptAttribute is present, Tag 206.
|
||||
func (m SecurityListRequest) HasOptAttribute() bool {
|
||||
return m.Has(tag.OptAttribute)
|
||||
}
|
||||
|
||||
// HasSecurityExchange returns true if SecurityExchange is present, Tag 207.
|
||||
func (m SecurityListRequest) HasSecurityExchange() bool {
|
||||
return m.Has(tag.SecurityExchange)
|
||||
}
|
||||
|
||||
// HasCouponRate returns true if CouponRate is present, Tag 223.
|
||||
func (m SecurityListRequest) HasCouponRate() bool {
|
||||
return m.Has(tag.CouponRate)
|
||||
}
|
||||
|
||||
// HasCouponPaymentDate returns true if CouponPaymentDate is present, Tag 224.
|
||||
func (m SecurityListRequest) HasCouponPaymentDate() bool {
|
||||
return m.Has(tag.CouponPaymentDate)
|
||||
}
|
||||
|
||||
// HasIssueDate returns true if IssueDate is present, Tag 225.
|
||||
func (m SecurityListRequest) HasIssueDate() bool {
|
||||
return m.Has(tag.IssueDate)
|
||||
}
|
||||
|
||||
// HasRepurchaseTerm returns true if RepurchaseTerm is present, Tag 226.
|
||||
func (m SecurityListRequest) HasRepurchaseTerm() bool {
|
||||
return m.Has(tag.RepurchaseTerm)
|
||||
}
|
||||
|
||||
// HasRepurchaseRate returns true if RepurchaseRate is present, Tag 227.
|
||||
func (m SecurityListRequest) HasRepurchaseRate() bool {
|
||||
return m.Has(tag.RepurchaseRate)
|
||||
}
|
||||
|
||||
// HasFactor returns true if Factor is present, Tag 228.
|
||||
func (m SecurityListRequest) HasFactor() bool {
|
||||
return m.Has(tag.Factor)
|
||||
}
|
||||
|
||||
// HasContractMultiplier returns true if ContractMultiplier is present, Tag 231.
|
||||
func (m SecurityListRequest) HasContractMultiplier() bool {
|
||||
return m.Has(tag.ContractMultiplier)
|
||||
}
|
||||
|
||||
// HasRepoCollateralSecurityType returns true if RepoCollateralSecurityType is present, Tag 239.
|
||||
func (m SecurityListRequest) HasRepoCollateralSecurityType() bool {
|
||||
return m.Has(tag.RepoCollateralSecurityType)
|
||||
}
|
||||
|
||||
// HasRedemptionDate returns true if RedemptionDate is present, Tag 240.
|
||||
func (m SecurityListRequest) HasRedemptionDate() bool {
|
||||
return m.Has(tag.RedemptionDate)
|
||||
}
|
||||
|
||||
// HasCreditRating returns true if CreditRating is present, Tag 255.
|
||||
func (m SecurityListRequest) HasCreditRating() bool {
|
||||
return m.Has(tag.CreditRating)
|
||||
}
|
||||
|
||||
// HasSubscriptionRequestType returns true if SubscriptionRequestType is present, Tag 263.
|
||||
func (m SecurityListRequest) HasSubscriptionRequestType() bool {
|
||||
return m.Has(tag.SubscriptionRequestType)
|
||||
}
|
||||
|
||||
// HasSecurityReqID returns true if SecurityReqID is present, Tag 320.
|
||||
func (m SecurityListRequest) HasSecurityReqID() bool {
|
||||
return m.Has(tag.SecurityReqID)
|
||||
}
|
||||
|
||||
// HasTradingSessionID returns true if TradingSessionID is present, Tag 336.
|
||||
func (m SecurityListRequest) HasTradingSessionID() bool {
|
||||
return m.Has(tag.TradingSessionID)
|
||||
}
|
||||
|
||||
// HasEncodedIssuerLen returns true if EncodedIssuerLen is present, Tag 348.
|
||||
func (m SecurityListRequest) HasEncodedIssuerLen() bool {
|
||||
return m.Has(tag.EncodedIssuerLen)
|
||||
}
|
||||
|
||||
// HasEncodedIssuer returns true if EncodedIssuer is present, Tag 349.
|
||||
func (m SecurityListRequest) HasEncodedIssuer() bool {
|
||||
return m.Has(tag.EncodedIssuer)
|
||||
}
|
||||
|
||||
// HasEncodedSecurityDescLen returns true if EncodedSecurityDescLen is present, Tag 350.
|
||||
func (m SecurityListRequest) HasEncodedSecurityDescLen() bool {
|
||||
return m.Has(tag.EncodedSecurityDescLen)
|
||||
}
|
||||
|
||||
// HasEncodedSecurityDesc returns true if EncodedSecurityDesc is present, Tag 351.
|
||||
func (m SecurityListRequest) HasEncodedSecurityDesc() bool {
|
||||
return m.Has(tag.EncodedSecurityDesc)
|
||||
}
|
||||
|
||||
// HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.
|
||||
func (m SecurityListRequest) HasEncodedTextLen() bool {
|
||||
return m.Has(tag.EncodedTextLen)
|
||||
}
|
||||
|
||||
// HasEncodedText returns true if EncodedText is present, Tag 355.
|
||||
func (m SecurityListRequest) HasEncodedText() bool {
|
||||
return m.Has(tag.EncodedText)
|
||||
}
|
||||
|
||||
// HasNoSecurityAltID returns true if NoSecurityAltID is present, Tag 454.
|
||||
func (m SecurityListRequest) HasNoSecurityAltID() bool {
|
||||
return m.Has(tag.NoSecurityAltID)
|
||||
}
|
||||
|
||||
// HasProduct returns true if Product is present, Tag 460.
|
||||
func (m SecurityListRequest) HasProduct() bool {
|
||||
return m.Has(tag.Product)
|
||||
}
|
||||
|
||||
// HasCFICode returns true if CFICode is present, Tag 461.
|
||||
func (m SecurityListRequest) HasCFICode() bool {
|
||||
return m.Has(tag.CFICode)
|
||||
}
|
||||
|
||||
// HasCountryOfIssue returns true if CountryOfIssue is present, Tag 470.
|
||||
func (m SecurityListRequest) HasCountryOfIssue() bool {
|
||||
return m.Has(tag.CountryOfIssue)
|
||||
}
|
||||
|
||||
// HasStateOrProvinceOfIssue returns true if StateOrProvinceOfIssue is present, Tag 471.
|
||||
func (m SecurityListRequest) HasStateOrProvinceOfIssue() bool {
|
||||
return m.Has(tag.StateOrProvinceOfIssue)
|
||||
}
|
||||
|
||||
// HasLocaleOfIssue returns true if LocaleOfIssue is present, Tag 472.
|
||||
func (m SecurityListRequest) HasLocaleOfIssue() bool {
|
||||
return m.Has(tag.LocaleOfIssue)
|
||||
}
|
||||
|
||||
// HasMaturityDate returns true if MaturityDate is present, Tag 541.
|
||||
func (m SecurityListRequest) HasMaturityDate() bool {
|
||||
return m.Has(tag.MaturityDate)
|
||||
}
|
||||
|
||||
// HasInstrRegistry returns true if InstrRegistry is present, Tag 543.
|
||||
func (m SecurityListRequest) HasInstrRegistry() bool {
|
||||
return m.Has(tag.InstrRegistry)
|
||||
}
|
||||
|
||||
// HasSecurityListRequestType returns true if SecurityListRequestType is present, Tag 559.
|
||||
func (m SecurityListRequest) HasSecurityListRequestType() bool {
|
||||
return m.Has(tag.SecurityListRequestType)
|
||||
}
|
||||
|
||||
// HasTradingSessionSubID returns true if TradingSessionSubID is present, Tag 625.
|
||||
func (m SecurityListRequest) 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)}
|
||||
}
|
||||
1156
quickfix/gen/fix43/securitystatus/SecurityStatus.generated.go
Normal file
1156
quickfix/gen/fix43/securitystatus/SecurityStatus.generated.go
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,852 @@
|
||||
// Code generated by quickfix. DO NOT EDIT.
|
||||
package securitystatusrequest
|
||||
|
||||
import (
|
||||
"github.com/shopspring/decimal"
|
||||
|
||||
"github.com/quickfixgo/quickfix"
|
||||
"github.com/quickfixgo/quickfix/gen/enum"
|
||||
"github.com/quickfixgo/quickfix/gen/field"
|
||||
"github.com/quickfixgo/quickfix/gen/fix43"
|
||||
"github.com/quickfixgo/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)}
|
||||
}
|
||||
@ -0,0 +1,171 @@
|
||||
// Code generated by quickfix. DO NOT EDIT.
|
||||
package securitytyperequest
|
||||
|
||||
import (
|
||||
"github.com/quickfixgo/quickfix"
|
||||
"github.com/quickfixgo/quickfix/gen/enum"
|
||||
"github.com/quickfixgo/quickfix/gen/field"
|
||||
"github.com/quickfixgo/quickfix/gen/fix43"
|
||||
"github.com/quickfixgo/quickfix/gen/tag"
|
||||
)
|
||||
|
||||
// SecurityTypeRequest is the fix43 SecurityTypeRequest type, MsgType = v.
|
||||
type SecurityTypeRequest struct {
|
||||
fix43.Header
|
||||
*quickfix.Body
|
||||
fix43.Trailer
|
||||
Message *quickfix.Message
|
||||
}
|
||||
|
||||
// FromMessage creates a SecurityTypeRequest from a quickfix.Message instance.
|
||||
func FromMessage(m *quickfix.Message) SecurityTypeRequest {
|
||||
return SecurityTypeRequest{
|
||||
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 SecurityTypeRequest) ToMessage() *quickfix.Message {
|
||||
return m.Message
|
||||
}
|
||||
|
||||
// New returns a SecurityTypeRequest initialized with the required fields for SecurityTypeRequest.
|
||||
func New(securityreqid field.SecurityReqIDField) (m SecurityTypeRequest) {
|
||||
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("v"))
|
||||
m.Set(securityreqid)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// A RouteOut is the callback type that should be implemented for routing Message.
|
||||
type RouteOut func(msg SecurityTypeRequest, 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", "v", r
|
||||
}
|
||||
|
||||
// SetText sets Text, Tag 58.
|
||||
func (m SecurityTypeRequest) SetText(v string) {
|
||||
m.Set(field.NewText(v))
|
||||
}
|
||||
|
||||
// SetSecurityReqID sets SecurityReqID, Tag 320.
|
||||
func (m SecurityTypeRequest) SetSecurityReqID(v string) {
|
||||
m.Set(field.NewSecurityReqID(v))
|
||||
}
|
||||
|
||||
// SetTradingSessionID sets TradingSessionID, Tag 336.
|
||||
func (m SecurityTypeRequest) SetTradingSessionID(v enum.TradingSessionID) {
|
||||
m.Set(field.NewTradingSessionID(v))
|
||||
}
|
||||
|
||||
// SetEncodedTextLen sets EncodedTextLen, Tag 354.
|
||||
func (m SecurityTypeRequest) SetEncodedTextLen(v int) {
|
||||
m.Set(field.NewEncodedTextLen(v))
|
||||
}
|
||||
|
||||
// SetEncodedText sets EncodedText, Tag 355.
|
||||
func (m SecurityTypeRequest) SetEncodedText(v string) {
|
||||
m.Set(field.NewEncodedText(v))
|
||||
}
|
||||
|
||||
// SetTradingSessionSubID sets TradingSessionSubID, Tag 625.
|
||||
func (m SecurityTypeRequest) SetTradingSessionSubID(v enum.TradingSessionSubID) {
|
||||
m.Set(field.NewTradingSessionSubID(v))
|
||||
}
|
||||
|
||||
// GetText gets Text, Tag 58.
|
||||
func (m SecurityTypeRequest) GetText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.TextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetSecurityReqID gets SecurityReqID, Tag 320.
|
||||
func (m SecurityTypeRequest) GetSecurityReqID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.SecurityReqIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTradingSessionID gets TradingSessionID, Tag 336.
|
||||
func (m SecurityTypeRequest) GetTradingSessionID() (v enum.TradingSessionID, err quickfix.MessageRejectError) {
|
||||
var f field.TradingSessionIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetEncodedTextLen gets EncodedTextLen, Tag 354.
|
||||
func (m SecurityTypeRequest) 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 SecurityTypeRequest) GetEncodedText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.EncodedTextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTradingSessionSubID gets TradingSessionSubID, Tag 625.
|
||||
func (m SecurityTypeRequest) GetTradingSessionSubID() (v enum.TradingSessionSubID, err quickfix.MessageRejectError) {
|
||||
var f field.TradingSessionSubIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasText returns true if Text is present, Tag 58.
|
||||
func (m SecurityTypeRequest) HasText() bool {
|
||||
return m.Has(tag.Text)
|
||||
}
|
||||
|
||||
// HasSecurityReqID returns true if SecurityReqID is present, Tag 320.
|
||||
func (m SecurityTypeRequest) HasSecurityReqID() bool {
|
||||
return m.Has(tag.SecurityReqID)
|
||||
}
|
||||
|
||||
// HasTradingSessionID returns true if TradingSessionID is present, Tag 336.
|
||||
func (m SecurityTypeRequest) HasTradingSessionID() bool {
|
||||
return m.Has(tag.TradingSessionID)
|
||||
}
|
||||
|
||||
// HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.
|
||||
func (m SecurityTypeRequest) HasEncodedTextLen() bool {
|
||||
return m.Has(tag.EncodedTextLen)
|
||||
}
|
||||
|
||||
// HasEncodedText returns true if EncodedText is present, Tag 355.
|
||||
func (m SecurityTypeRequest) HasEncodedText() bool {
|
||||
return m.Has(tag.EncodedText)
|
||||
}
|
||||
|
||||
// HasTradingSessionSubID returns true if TradingSessionSubID is present, Tag 625.
|
||||
func (m SecurityTypeRequest) HasTradingSessionSubID() bool {
|
||||
return m.Has(tag.TradingSessionSubID)
|
||||
}
|
||||
358
quickfix/gen/fix43/securitytypes/SecurityTypes.generated.go
Normal file
358
quickfix/gen/fix43/securitytypes/SecurityTypes.generated.go
Normal file
@ -0,0 +1,358 @@
|
||||
// Code generated by quickfix. DO NOT EDIT.
|
||||
package securitytypes
|
||||
|
||||
import (
|
||||
"github.com/quickfixgo/quickfix"
|
||||
"github.com/quickfixgo/quickfix/gen/enum"
|
||||
"github.com/quickfixgo/quickfix/gen/field"
|
||||
"github.com/quickfixgo/quickfix/gen/fix43"
|
||||
"github.com/quickfixgo/quickfix/gen/tag"
|
||||
)
|
||||
|
||||
// SecurityTypes is the fix43 SecurityTypes type, MsgType = w.
|
||||
type SecurityTypes struct {
|
||||
fix43.Header
|
||||
*quickfix.Body
|
||||
fix43.Trailer
|
||||
Message *quickfix.Message
|
||||
}
|
||||
|
||||
// FromMessage creates a SecurityTypes from a quickfix.Message instance.
|
||||
func FromMessage(m *quickfix.Message) SecurityTypes {
|
||||
return SecurityTypes{
|
||||
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 SecurityTypes) ToMessage() *quickfix.Message {
|
||||
return m.Message
|
||||
}
|
||||
|
||||
// New returns a SecurityTypes initialized with the required fields for SecurityTypes.
|
||||
func New(securityreqid field.SecurityReqIDField, securityresponseid field.SecurityResponseIDField, securityresponsetype field.SecurityResponseTypeField) (m SecurityTypes) {
|
||||
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("w"))
|
||||
m.Set(securityreqid)
|
||||
m.Set(securityresponseid)
|
||||
m.Set(securityresponsetype)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// A RouteOut is the callback type that should be implemented for routing Message.
|
||||
type RouteOut func(msg SecurityTypes, 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", "w", r
|
||||
}
|
||||
|
||||
// SetText sets Text, Tag 58.
|
||||
func (m SecurityTypes) SetText(v string) {
|
||||
m.Set(field.NewText(v))
|
||||
}
|
||||
|
||||
// SetSubscriptionRequestType sets SubscriptionRequestType, Tag 263.
|
||||
func (m SecurityTypes) SetSubscriptionRequestType(v enum.SubscriptionRequestType) {
|
||||
m.Set(field.NewSubscriptionRequestType(v))
|
||||
}
|
||||
|
||||
// SetSecurityReqID sets SecurityReqID, Tag 320.
|
||||
func (m SecurityTypes) SetSecurityReqID(v string) {
|
||||
m.Set(field.NewSecurityReqID(v))
|
||||
}
|
||||
|
||||
// SetSecurityResponseID sets SecurityResponseID, Tag 322.
|
||||
func (m SecurityTypes) SetSecurityResponseID(v string) {
|
||||
m.Set(field.NewSecurityResponseID(v))
|
||||
}
|
||||
|
||||
// SetSecurityResponseType sets SecurityResponseType, Tag 323.
|
||||
func (m SecurityTypes) SetSecurityResponseType(v enum.SecurityResponseType) {
|
||||
m.Set(field.NewSecurityResponseType(v))
|
||||
}
|
||||
|
||||
// SetTradingSessionID sets TradingSessionID, Tag 336.
|
||||
func (m SecurityTypes) SetTradingSessionID(v enum.TradingSessionID) {
|
||||
m.Set(field.NewTradingSessionID(v))
|
||||
}
|
||||
|
||||
// SetEncodedTextLen sets EncodedTextLen, Tag 354.
|
||||
func (m SecurityTypes) SetEncodedTextLen(v int) {
|
||||
m.Set(field.NewEncodedTextLen(v))
|
||||
}
|
||||
|
||||
// SetEncodedText sets EncodedText, Tag 355.
|
||||
func (m SecurityTypes) SetEncodedText(v string) {
|
||||
m.Set(field.NewEncodedText(v))
|
||||
}
|
||||
|
||||
// SetTotalNumSecurityTypes sets TotalNumSecurityTypes, Tag 557.
|
||||
func (m SecurityTypes) SetTotalNumSecurityTypes(v int) {
|
||||
m.Set(field.NewTotalNumSecurityTypes(v))
|
||||
}
|
||||
|
||||
// SetNoSecurityTypes sets NoSecurityTypes, Tag 558.
|
||||
func (m SecurityTypes) SetNoSecurityTypes(f NoSecurityTypesRepeatingGroup) {
|
||||
m.SetGroup(f)
|
||||
}
|
||||
|
||||
// SetTradingSessionSubID sets TradingSessionSubID, Tag 625.
|
||||
func (m SecurityTypes) SetTradingSessionSubID(v enum.TradingSessionSubID) {
|
||||
m.Set(field.NewTradingSessionSubID(v))
|
||||
}
|
||||
|
||||
// GetText gets Text, Tag 58.
|
||||
func (m SecurityTypes) GetText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.TextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetSubscriptionRequestType gets SubscriptionRequestType, Tag 263.
|
||||
func (m SecurityTypes) GetSubscriptionRequestType() (v enum.SubscriptionRequestType, err quickfix.MessageRejectError) {
|
||||
var f field.SubscriptionRequestTypeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetSecurityReqID gets SecurityReqID, Tag 320.
|
||||
func (m SecurityTypes) GetSecurityReqID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.SecurityReqIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetSecurityResponseID gets SecurityResponseID, Tag 322.
|
||||
func (m SecurityTypes) GetSecurityResponseID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.SecurityResponseIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetSecurityResponseType gets SecurityResponseType, Tag 323.
|
||||
func (m SecurityTypes) GetSecurityResponseType() (v enum.SecurityResponseType, err quickfix.MessageRejectError) {
|
||||
var f field.SecurityResponseTypeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTradingSessionID gets TradingSessionID, Tag 336.
|
||||
func (m SecurityTypes) GetTradingSessionID() (v enum.TradingSessionID, err quickfix.MessageRejectError) {
|
||||
var f field.TradingSessionIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetEncodedTextLen gets EncodedTextLen, Tag 354.
|
||||
func (m SecurityTypes) 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 SecurityTypes) GetEncodedText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.EncodedTextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTotalNumSecurityTypes gets TotalNumSecurityTypes, Tag 557.
|
||||
func (m SecurityTypes) GetTotalNumSecurityTypes() (v int, err quickfix.MessageRejectError) {
|
||||
var f field.TotalNumSecurityTypesField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetNoSecurityTypes gets NoSecurityTypes, Tag 558.
|
||||
func (m SecurityTypes) GetNoSecurityTypes() (NoSecurityTypesRepeatingGroup, quickfix.MessageRejectError) {
|
||||
f := NewNoSecurityTypesRepeatingGroup()
|
||||
err := m.GetGroup(f)
|
||||
return f, err
|
||||
}
|
||||
|
||||
// GetTradingSessionSubID gets TradingSessionSubID, Tag 625.
|
||||
func (m SecurityTypes) GetTradingSessionSubID() (v enum.TradingSessionSubID, err quickfix.MessageRejectError) {
|
||||
var f field.TradingSessionSubIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasText returns true if Text is present, Tag 58.
|
||||
func (m SecurityTypes) HasText() bool {
|
||||
return m.Has(tag.Text)
|
||||
}
|
||||
|
||||
// HasSubscriptionRequestType returns true if SubscriptionRequestType is present, Tag 263.
|
||||
func (m SecurityTypes) HasSubscriptionRequestType() bool {
|
||||
return m.Has(tag.SubscriptionRequestType)
|
||||
}
|
||||
|
||||
// HasSecurityReqID returns true if SecurityReqID is present, Tag 320.
|
||||
func (m SecurityTypes) HasSecurityReqID() bool {
|
||||
return m.Has(tag.SecurityReqID)
|
||||
}
|
||||
|
||||
// HasSecurityResponseID returns true if SecurityResponseID is present, Tag 322.
|
||||
func (m SecurityTypes) HasSecurityResponseID() bool {
|
||||
return m.Has(tag.SecurityResponseID)
|
||||
}
|
||||
|
||||
// HasSecurityResponseType returns true if SecurityResponseType is present, Tag 323.
|
||||
func (m SecurityTypes) HasSecurityResponseType() bool {
|
||||
return m.Has(tag.SecurityResponseType)
|
||||
}
|
||||
|
||||
// HasTradingSessionID returns true if TradingSessionID is present, Tag 336.
|
||||
func (m SecurityTypes) HasTradingSessionID() bool {
|
||||
return m.Has(tag.TradingSessionID)
|
||||
}
|
||||
|
||||
// HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.
|
||||
func (m SecurityTypes) HasEncodedTextLen() bool {
|
||||
return m.Has(tag.EncodedTextLen)
|
||||
}
|
||||
|
||||
// HasEncodedText returns true if EncodedText is present, Tag 355.
|
||||
func (m SecurityTypes) HasEncodedText() bool {
|
||||
return m.Has(tag.EncodedText)
|
||||
}
|
||||
|
||||
// HasTotalNumSecurityTypes returns true if TotalNumSecurityTypes is present, Tag 557.
|
||||
func (m SecurityTypes) HasTotalNumSecurityTypes() bool {
|
||||
return m.Has(tag.TotalNumSecurityTypes)
|
||||
}
|
||||
|
||||
// HasNoSecurityTypes returns true if NoSecurityTypes is present, Tag 558.
|
||||
func (m SecurityTypes) HasNoSecurityTypes() bool {
|
||||
return m.Has(tag.NoSecurityTypes)
|
||||
}
|
||||
|
||||
// HasTradingSessionSubID returns true if TradingSessionSubID is present, Tag 625.
|
||||
func (m SecurityTypes) HasTradingSessionSubID() bool {
|
||||
return m.Has(tag.TradingSessionSubID)
|
||||
}
|
||||
|
||||
// NoSecurityTypes is a repeating group element, Tag 558.
|
||||
type NoSecurityTypes struct {
|
||||
*quickfix.Group
|
||||
}
|
||||
|
||||
// SetSecurityType sets SecurityType, Tag 167.
|
||||
func (m NoSecurityTypes) SetSecurityType(v enum.SecurityType) {
|
||||
m.Set(field.NewSecurityType(v))
|
||||
}
|
||||
|
||||
// SetProduct sets Product, Tag 460.
|
||||
func (m NoSecurityTypes) SetProduct(v enum.Product) {
|
||||
m.Set(field.NewProduct(v))
|
||||
}
|
||||
|
||||
// SetCFICode sets CFICode, Tag 461.
|
||||
func (m NoSecurityTypes) SetCFICode(v string) {
|
||||
m.Set(field.NewCFICode(v))
|
||||
}
|
||||
|
||||
// GetSecurityType gets SecurityType, Tag 167.
|
||||
func (m NoSecurityTypes) GetSecurityType() (v enum.SecurityType, err quickfix.MessageRejectError) {
|
||||
var f field.SecurityTypeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetProduct gets Product, Tag 460.
|
||||
func (m NoSecurityTypes) 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 NoSecurityTypes) GetCFICode() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.CFICodeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasSecurityType returns true if SecurityType is present, Tag 167.
|
||||
func (m NoSecurityTypes) HasSecurityType() bool {
|
||||
return m.Has(tag.SecurityType)
|
||||
}
|
||||
|
||||
// HasProduct returns true if Product is present, Tag 460.
|
||||
func (m NoSecurityTypes) HasProduct() bool {
|
||||
return m.Has(tag.Product)
|
||||
}
|
||||
|
||||
// HasCFICode returns true if CFICode is present, Tag 461.
|
||||
func (m NoSecurityTypes) HasCFICode() bool {
|
||||
return m.Has(tag.CFICode)
|
||||
}
|
||||
|
||||
// NoSecurityTypesRepeatingGroup is a repeating group, Tag 558.
|
||||
type NoSecurityTypesRepeatingGroup struct {
|
||||
*quickfix.RepeatingGroup
|
||||
}
|
||||
|
||||
// NewNoSecurityTypesRepeatingGroup returns an initialized, NoSecurityTypesRepeatingGroup.
|
||||
func NewNoSecurityTypesRepeatingGroup() NoSecurityTypesRepeatingGroup {
|
||||
return NoSecurityTypesRepeatingGroup{
|
||||
quickfix.NewRepeatingGroup(
|
||||
tag.NoSecurityTypes,
|
||||
quickfix.GroupTemplate{
|
||||
quickfix.GroupElement(tag.SecurityType),
|
||||
quickfix.GroupElement(tag.Product),
|
||||
quickfix.GroupElement(tag.CFICode),
|
||||
},
|
||||
),
|
||||
}
|
||||
}
|
||||
|
||||
// Add create and append a new NoSecurityTypes to this group.
|
||||
func (m NoSecurityTypesRepeatingGroup) Add() NoSecurityTypes {
|
||||
g := m.RepeatingGroup.Add()
|
||||
return NoSecurityTypes{g}
|
||||
}
|
||||
|
||||
// Get returns the ith NoSecurityTypes in the NoSecurityTypesRepeatinGroup.
|
||||
func (m NoSecurityTypesRepeatingGroup) Get(i int) NoSecurityTypes {
|
||||
return NoSecurityTypes{m.RepeatingGroup.Get(i)}
|
||||
}
|
||||
94
quickfix/gen/fix43/sequencereset/SequenceReset.generated.go
Normal file
94
quickfix/gen/fix43/sequencereset/SequenceReset.generated.go
Normal file
@ -0,0 +1,94 @@
|
||||
// Code generated by quickfix. DO NOT EDIT.
|
||||
package sequencereset
|
||||
|
||||
import (
|
||||
"github.com/quickfixgo/quickfix"
|
||||
"github.com/quickfixgo/quickfix/gen/field"
|
||||
"github.com/quickfixgo/quickfix/gen/fix43"
|
||||
"github.com/quickfixgo/quickfix/gen/tag"
|
||||
)
|
||||
|
||||
// SequenceReset is the fix43 SequenceReset type, MsgType = 4.
|
||||
type SequenceReset struct {
|
||||
fix43.Header
|
||||
*quickfix.Body
|
||||
fix43.Trailer
|
||||
Message *quickfix.Message
|
||||
}
|
||||
|
||||
// FromMessage creates a SequenceReset from a quickfix.Message instance.
|
||||
func FromMessage(m *quickfix.Message) SequenceReset {
|
||||
return SequenceReset{
|
||||
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 SequenceReset) ToMessage() *quickfix.Message {
|
||||
return m.Message
|
||||
}
|
||||
|
||||
// New returns a SequenceReset initialized with the required fields for SequenceReset.
|
||||
func New(newseqno field.NewSeqNoField) (m SequenceReset) {
|
||||
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("4"))
|
||||
m.Set(newseqno)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// A RouteOut is the callback type that should be implemented for routing Message.
|
||||
type RouteOut func(msg SequenceReset, 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", "4", r
|
||||
}
|
||||
|
||||
// SetNewSeqNo sets NewSeqNo, Tag 36.
|
||||
func (m SequenceReset) SetNewSeqNo(v int) {
|
||||
m.Set(field.NewNewSeqNo(v))
|
||||
}
|
||||
|
||||
// SetGapFillFlag sets GapFillFlag, Tag 123.
|
||||
func (m SequenceReset) SetGapFillFlag(v bool) {
|
||||
m.Set(field.NewGapFillFlag(v))
|
||||
}
|
||||
|
||||
// GetNewSeqNo gets NewSeqNo, Tag 36.
|
||||
func (m SequenceReset) GetNewSeqNo() (v int, err quickfix.MessageRejectError) {
|
||||
var f field.NewSeqNoField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetGapFillFlag gets GapFillFlag, Tag 123.
|
||||
func (m SequenceReset) GetGapFillFlag() (v bool, err quickfix.MessageRejectError) {
|
||||
var f field.GapFillFlagField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasNewSeqNo returns true if NewSeqNo is present, Tag 36.
|
||||
func (m SequenceReset) HasNewSeqNo() bool {
|
||||
return m.Has(tag.NewSeqNo)
|
||||
}
|
||||
|
||||
// HasGapFillFlag returns true if GapFillFlag is present, Tag 123.
|
||||
func (m SequenceReset) HasGapFillFlag() bool {
|
||||
return m.Has(tag.GapFillFlag)
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
75
quickfix/gen/fix43/testrequest/TestRequest.generated.go
Normal file
75
quickfix/gen/fix43/testrequest/TestRequest.generated.go
Normal file
@ -0,0 +1,75 @@
|
||||
// Code generated by quickfix. DO NOT EDIT.
|
||||
package testrequest
|
||||
|
||||
import (
|
||||
"github.com/quickfixgo/quickfix"
|
||||
"github.com/quickfixgo/quickfix/gen/field"
|
||||
"github.com/quickfixgo/quickfix/gen/fix43"
|
||||
"github.com/quickfixgo/quickfix/gen/tag"
|
||||
)
|
||||
|
||||
// TestRequest is the fix43 TestRequest type, MsgType = 1.
|
||||
type TestRequest struct {
|
||||
fix43.Header
|
||||
*quickfix.Body
|
||||
fix43.Trailer
|
||||
Message *quickfix.Message
|
||||
}
|
||||
|
||||
// FromMessage creates a TestRequest from a quickfix.Message instance.
|
||||
func FromMessage(m *quickfix.Message) TestRequest {
|
||||
return TestRequest{
|
||||
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 TestRequest) ToMessage() *quickfix.Message {
|
||||
return m.Message
|
||||
}
|
||||
|
||||
// New returns a TestRequest initialized with the required fields for TestRequest.
|
||||
func New(testreqid field.TestReqIDField) (m TestRequest) {
|
||||
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("1"))
|
||||
m.Set(testreqid)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// A RouteOut is the callback type that should be implemented for routing Message.
|
||||
type RouteOut func(msg TestRequest, 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", "1", r
|
||||
}
|
||||
|
||||
// SetTestReqID sets TestReqID, Tag 112.
|
||||
func (m TestRequest) SetTestReqID(v string) {
|
||||
m.Set(field.NewTestReqID(v))
|
||||
}
|
||||
|
||||
// GetTestReqID gets TestReqID, Tag 112.
|
||||
func (m TestRequest) GetTestReqID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.TestReqIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasTestReqID returns true if TestReqID is present, Tag 112.
|
||||
func (m TestRequest) HasTestReqID() bool {
|
||||
return m.Has(tag.TestReqID)
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,385 @@
|
||||
// Code generated by quickfix. DO NOT EDIT.
|
||||
package tradingsessionstatus
|
||||
|
||||
import (
|
||||
"time"
|
||||
|
||||
"github.com/shopspring/decimal"
|
||||
|
||||
"github.com/quickfixgo/quickfix"
|
||||
"github.com/quickfixgo/quickfix/gen/enum"
|
||||
"github.com/quickfixgo/quickfix/gen/field"
|
||||
"github.com/quickfixgo/quickfix/gen/fix43"
|
||||
"github.com/quickfixgo/quickfix/gen/tag"
|
||||
)
|
||||
|
||||
// TradingSessionStatus is the fix43 TradingSessionStatus type, MsgType = h.
|
||||
type TradingSessionStatus struct {
|
||||
fix43.Header
|
||||
*quickfix.Body
|
||||
fix43.Trailer
|
||||
Message *quickfix.Message
|
||||
}
|
||||
|
||||
// FromMessage creates a TradingSessionStatus from a quickfix.Message instance.
|
||||
func FromMessage(m *quickfix.Message) TradingSessionStatus {
|
||||
return TradingSessionStatus{
|
||||
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 TradingSessionStatus) ToMessage() *quickfix.Message {
|
||||
return m.Message
|
||||
}
|
||||
|
||||
// New returns a TradingSessionStatus initialized with the required fields for TradingSessionStatus.
|
||||
func New(tradingsessionid field.TradingSessionIDField, tradsesstatus field.TradSesStatusField) (m TradingSessionStatus) {
|
||||
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("h"))
|
||||
m.Set(tradingsessionid)
|
||||
m.Set(tradsesstatus)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// A RouteOut is the callback type that should be implemented for routing Message.
|
||||
type RouteOut func(msg TradingSessionStatus, 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", "h", r
|
||||
}
|
||||
|
||||
// SetText sets Text, Tag 58.
|
||||
func (m TradingSessionStatus) SetText(v string) {
|
||||
m.Set(field.NewText(v))
|
||||
}
|
||||
|
||||
// SetUnsolicitedIndicator sets UnsolicitedIndicator, Tag 325.
|
||||
func (m TradingSessionStatus) SetUnsolicitedIndicator(v bool) {
|
||||
m.Set(field.NewUnsolicitedIndicator(v))
|
||||
}
|
||||
|
||||
// SetTradSesReqID sets TradSesReqID, Tag 335.
|
||||
func (m TradingSessionStatus) SetTradSesReqID(v string) {
|
||||
m.Set(field.NewTradSesReqID(v))
|
||||
}
|
||||
|
||||
// SetTradingSessionID sets TradingSessionID, Tag 336.
|
||||
func (m TradingSessionStatus) SetTradingSessionID(v enum.TradingSessionID) {
|
||||
m.Set(field.NewTradingSessionID(v))
|
||||
}
|
||||
|
||||
// SetTradSesMethod sets TradSesMethod, Tag 338.
|
||||
func (m TradingSessionStatus) SetTradSesMethod(v enum.TradSesMethod) {
|
||||
m.Set(field.NewTradSesMethod(v))
|
||||
}
|
||||
|
||||
// SetTradSesMode sets TradSesMode, Tag 339.
|
||||
func (m TradingSessionStatus) SetTradSesMode(v enum.TradSesMode) {
|
||||
m.Set(field.NewTradSesMode(v))
|
||||
}
|
||||
|
||||
// SetTradSesStatus sets TradSesStatus, Tag 340.
|
||||
func (m TradingSessionStatus) SetTradSesStatus(v enum.TradSesStatus) {
|
||||
m.Set(field.NewTradSesStatus(v))
|
||||
}
|
||||
|
||||
// SetTradSesStartTime sets TradSesStartTime, Tag 341.
|
||||
func (m TradingSessionStatus) SetTradSesStartTime(v time.Time) {
|
||||
m.Set(field.NewTradSesStartTime(v))
|
||||
}
|
||||
|
||||
// SetTradSesOpenTime sets TradSesOpenTime, Tag 342.
|
||||
func (m TradingSessionStatus) SetTradSesOpenTime(v time.Time) {
|
||||
m.Set(field.NewTradSesOpenTime(v))
|
||||
}
|
||||
|
||||
// SetTradSesPreCloseTime sets TradSesPreCloseTime, Tag 343.
|
||||
func (m TradingSessionStatus) SetTradSesPreCloseTime(v time.Time) {
|
||||
m.Set(field.NewTradSesPreCloseTime(v))
|
||||
}
|
||||
|
||||
// SetTradSesCloseTime sets TradSesCloseTime, Tag 344.
|
||||
func (m TradingSessionStatus) SetTradSesCloseTime(v time.Time) {
|
||||
m.Set(field.NewTradSesCloseTime(v))
|
||||
}
|
||||
|
||||
// SetTradSesEndTime sets TradSesEndTime, Tag 345.
|
||||
func (m TradingSessionStatus) SetTradSesEndTime(v time.Time) {
|
||||
m.Set(field.NewTradSesEndTime(v))
|
||||
}
|
||||
|
||||
// SetEncodedTextLen sets EncodedTextLen, Tag 354.
|
||||
func (m TradingSessionStatus) SetEncodedTextLen(v int) {
|
||||
m.Set(field.NewEncodedTextLen(v))
|
||||
}
|
||||
|
||||
// SetEncodedText sets EncodedText, Tag 355.
|
||||
func (m TradingSessionStatus) SetEncodedText(v string) {
|
||||
m.Set(field.NewEncodedText(v))
|
||||
}
|
||||
|
||||
// SetTotalVolumeTraded sets TotalVolumeTraded, Tag 387.
|
||||
func (m TradingSessionStatus) SetTotalVolumeTraded(value decimal.Decimal, scale int32) {
|
||||
m.Set(field.NewTotalVolumeTraded(value, scale))
|
||||
}
|
||||
|
||||
// SetTradSesStatusRejReason sets TradSesStatusRejReason, Tag 567.
|
||||
func (m TradingSessionStatus) SetTradSesStatusRejReason(v enum.TradSesStatusRejReason) {
|
||||
m.Set(field.NewTradSesStatusRejReason(v))
|
||||
}
|
||||
|
||||
// SetTradingSessionSubID sets TradingSessionSubID, Tag 625.
|
||||
func (m TradingSessionStatus) SetTradingSessionSubID(v enum.TradingSessionSubID) {
|
||||
m.Set(field.NewTradingSessionSubID(v))
|
||||
}
|
||||
|
||||
// GetText gets Text, Tag 58.
|
||||
func (m TradingSessionStatus) GetText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.TextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetUnsolicitedIndicator gets UnsolicitedIndicator, Tag 325.
|
||||
func (m TradingSessionStatus) GetUnsolicitedIndicator() (v bool, err quickfix.MessageRejectError) {
|
||||
var f field.UnsolicitedIndicatorField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTradSesReqID gets TradSesReqID, Tag 335.
|
||||
func (m TradingSessionStatus) GetTradSesReqID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.TradSesReqIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTradingSessionID gets TradingSessionID, Tag 336.
|
||||
func (m TradingSessionStatus) GetTradingSessionID() (v enum.TradingSessionID, err quickfix.MessageRejectError) {
|
||||
var f field.TradingSessionIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTradSesMethod gets TradSesMethod, Tag 338.
|
||||
func (m TradingSessionStatus) GetTradSesMethod() (v enum.TradSesMethod, err quickfix.MessageRejectError) {
|
||||
var f field.TradSesMethodField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTradSesMode gets TradSesMode, Tag 339.
|
||||
func (m TradingSessionStatus) GetTradSesMode() (v enum.TradSesMode, err quickfix.MessageRejectError) {
|
||||
var f field.TradSesModeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTradSesStatus gets TradSesStatus, Tag 340.
|
||||
func (m TradingSessionStatus) GetTradSesStatus() (v enum.TradSesStatus, err quickfix.MessageRejectError) {
|
||||
var f field.TradSesStatusField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTradSesStartTime gets TradSesStartTime, Tag 341.
|
||||
func (m TradingSessionStatus) GetTradSesStartTime() (v time.Time, err quickfix.MessageRejectError) {
|
||||
var f field.TradSesStartTimeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTradSesOpenTime gets TradSesOpenTime, Tag 342.
|
||||
func (m TradingSessionStatus) GetTradSesOpenTime() (v time.Time, err quickfix.MessageRejectError) {
|
||||
var f field.TradSesOpenTimeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTradSesPreCloseTime gets TradSesPreCloseTime, Tag 343.
|
||||
func (m TradingSessionStatus) GetTradSesPreCloseTime() (v time.Time, err quickfix.MessageRejectError) {
|
||||
var f field.TradSesPreCloseTimeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTradSesCloseTime gets TradSesCloseTime, Tag 344.
|
||||
func (m TradingSessionStatus) GetTradSesCloseTime() (v time.Time, err quickfix.MessageRejectError) {
|
||||
var f field.TradSesCloseTimeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTradSesEndTime gets TradSesEndTime, Tag 345.
|
||||
func (m TradingSessionStatus) GetTradSesEndTime() (v time.Time, err quickfix.MessageRejectError) {
|
||||
var f field.TradSesEndTimeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetEncodedTextLen gets EncodedTextLen, Tag 354.
|
||||
func (m TradingSessionStatus) 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 TradingSessionStatus) GetEncodedText() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.EncodedTextField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTotalVolumeTraded gets TotalVolumeTraded, Tag 387.
|
||||
func (m TradingSessionStatus) GetTotalVolumeTraded() (v decimal.Decimal, err quickfix.MessageRejectError) {
|
||||
var f field.TotalVolumeTradedField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTradSesStatusRejReason gets TradSesStatusRejReason, Tag 567.
|
||||
func (m TradingSessionStatus) GetTradSesStatusRejReason() (v enum.TradSesStatusRejReason, err quickfix.MessageRejectError) {
|
||||
var f field.TradSesStatusRejReasonField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTradingSessionSubID gets TradingSessionSubID, Tag 625.
|
||||
func (m TradingSessionStatus) GetTradingSessionSubID() (v enum.TradingSessionSubID, err quickfix.MessageRejectError) {
|
||||
var f field.TradingSessionSubIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasText returns true if Text is present, Tag 58.
|
||||
func (m TradingSessionStatus) HasText() bool {
|
||||
return m.Has(tag.Text)
|
||||
}
|
||||
|
||||
// HasUnsolicitedIndicator returns true if UnsolicitedIndicator is present, Tag 325.
|
||||
func (m TradingSessionStatus) HasUnsolicitedIndicator() bool {
|
||||
return m.Has(tag.UnsolicitedIndicator)
|
||||
}
|
||||
|
||||
// HasTradSesReqID returns true if TradSesReqID is present, Tag 335.
|
||||
func (m TradingSessionStatus) HasTradSesReqID() bool {
|
||||
return m.Has(tag.TradSesReqID)
|
||||
}
|
||||
|
||||
// HasTradingSessionID returns true if TradingSessionID is present, Tag 336.
|
||||
func (m TradingSessionStatus) HasTradingSessionID() bool {
|
||||
return m.Has(tag.TradingSessionID)
|
||||
}
|
||||
|
||||
// HasTradSesMethod returns true if TradSesMethod is present, Tag 338.
|
||||
func (m TradingSessionStatus) HasTradSesMethod() bool {
|
||||
return m.Has(tag.TradSesMethod)
|
||||
}
|
||||
|
||||
// HasTradSesMode returns true if TradSesMode is present, Tag 339.
|
||||
func (m TradingSessionStatus) HasTradSesMode() bool {
|
||||
return m.Has(tag.TradSesMode)
|
||||
}
|
||||
|
||||
// HasTradSesStatus returns true if TradSesStatus is present, Tag 340.
|
||||
func (m TradingSessionStatus) HasTradSesStatus() bool {
|
||||
return m.Has(tag.TradSesStatus)
|
||||
}
|
||||
|
||||
// HasTradSesStartTime returns true if TradSesStartTime is present, Tag 341.
|
||||
func (m TradingSessionStatus) HasTradSesStartTime() bool {
|
||||
return m.Has(tag.TradSesStartTime)
|
||||
}
|
||||
|
||||
// HasTradSesOpenTime returns true if TradSesOpenTime is present, Tag 342.
|
||||
func (m TradingSessionStatus) HasTradSesOpenTime() bool {
|
||||
return m.Has(tag.TradSesOpenTime)
|
||||
}
|
||||
|
||||
// HasTradSesPreCloseTime returns true if TradSesPreCloseTime is present, Tag 343.
|
||||
func (m TradingSessionStatus) HasTradSesPreCloseTime() bool {
|
||||
return m.Has(tag.TradSesPreCloseTime)
|
||||
}
|
||||
|
||||
// HasTradSesCloseTime returns true if TradSesCloseTime is present, Tag 344.
|
||||
func (m TradingSessionStatus) HasTradSesCloseTime() bool {
|
||||
return m.Has(tag.TradSesCloseTime)
|
||||
}
|
||||
|
||||
// HasTradSesEndTime returns true if TradSesEndTime is present, Tag 345.
|
||||
func (m TradingSessionStatus) HasTradSesEndTime() bool {
|
||||
return m.Has(tag.TradSesEndTime)
|
||||
}
|
||||
|
||||
// HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.
|
||||
func (m TradingSessionStatus) HasEncodedTextLen() bool {
|
||||
return m.Has(tag.EncodedTextLen)
|
||||
}
|
||||
|
||||
// HasEncodedText returns true if EncodedText is present, Tag 355.
|
||||
func (m TradingSessionStatus) HasEncodedText() bool {
|
||||
return m.Has(tag.EncodedText)
|
||||
}
|
||||
|
||||
// HasTotalVolumeTraded returns true if TotalVolumeTraded is present, Tag 387.
|
||||
func (m TradingSessionStatus) HasTotalVolumeTraded() bool {
|
||||
return m.Has(tag.TotalVolumeTraded)
|
||||
}
|
||||
|
||||
// HasTradSesStatusRejReason returns true if TradSesStatusRejReason is present, Tag 567.
|
||||
func (m TradingSessionStatus) HasTradSesStatusRejReason() bool {
|
||||
return m.Has(tag.TradSesStatusRejReason)
|
||||
}
|
||||
|
||||
// HasTradingSessionSubID returns true if TradingSessionSubID is present, Tag 625.
|
||||
func (m TradingSessionStatus) HasTradingSessionSubID() bool {
|
||||
return m.Has(tag.TradingSessionSubID)
|
||||
}
|
||||
@ -0,0 +1,172 @@
|
||||
// Code generated by quickfix. DO NOT EDIT.
|
||||
package tradingsessionstatusrequest
|
||||
|
||||
import (
|
||||
"github.com/quickfixgo/quickfix"
|
||||
"github.com/quickfixgo/quickfix/gen/enum"
|
||||
"github.com/quickfixgo/quickfix/gen/field"
|
||||
"github.com/quickfixgo/quickfix/gen/fix43"
|
||||
"github.com/quickfixgo/quickfix/gen/tag"
|
||||
)
|
||||
|
||||
// TradingSessionStatusRequest is the fix43 TradingSessionStatusRequest type, MsgType = g.
|
||||
type TradingSessionStatusRequest struct {
|
||||
fix43.Header
|
||||
*quickfix.Body
|
||||
fix43.Trailer
|
||||
Message *quickfix.Message
|
||||
}
|
||||
|
||||
// FromMessage creates a TradingSessionStatusRequest from a quickfix.Message instance.
|
||||
func FromMessage(m *quickfix.Message) TradingSessionStatusRequest {
|
||||
return TradingSessionStatusRequest{
|
||||
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 TradingSessionStatusRequest) ToMessage() *quickfix.Message {
|
||||
return m.Message
|
||||
}
|
||||
|
||||
// New returns a TradingSessionStatusRequest initialized with the required fields for TradingSessionStatusRequest.
|
||||
func New(tradsesreqid field.TradSesReqIDField, subscriptionrequesttype field.SubscriptionRequestTypeField) (m TradingSessionStatusRequest) {
|
||||
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("g"))
|
||||
m.Set(tradsesreqid)
|
||||
m.Set(subscriptionrequesttype)
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// A RouteOut is the callback type that should be implemented for routing Message.
|
||||
type RouteOut func(msg TradingSessionStatusRequest, 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", "g", r
|
||||
}
|
||||
|
||||
// SetSubscriptionRequestType sets SubscriptionRequestType, Tag 263.
|
||||
func (m TradingSessionStatusRequest) SetSubscriptionRequestType(v enum.SubscriptionRequestType) {
|
||||
m.Set(field.NewSubscriptionRequestType(v))
|
||||
}
|
||||
|
||||
// SetTradSesReqID sets TradSesReqID, Tag 335.
|
||||
func (m TradingSessionStatusRequest) SetTradSesReqID(v string) {
|
||||
m.Set(field.NewTradSesReqID(v))
|
||||
}
|
||||
|
||||
// SetTradingSessionID sets TradingSessionID, Tag 336.
|
||||
func (m TradingSessionStatusRequest) SetTradingSessionID(v enum.TradingSessionID) {
|
||||
m.Set(field.NewTradingSessionID(v))
|
||||
}
|
||||
|
||||
// SetTradSesMethod sets TradSesMethod, Tag 338.
|
||||
func (m TradingSessionStatusRequest) SetTradSesMethod(v enum.TradSesMethod) {
|
||||
m.Set(field.NewTradSesMethod(v))
|
||||
}
|
||||
|
||||
// SetTradSesMode sets TradSesMode, Tag 339.
|
||||
func (m TradingSessionStatusRequest) SetTradSesMode(v enum.TradSesMode) {
|
||||
m.Set(field.NewTradSesMode(v))
|
||||
}
|
||||
|
||||
// SetTradingSessionSubID sets TradingSessionSubID, Tag 625.
|
||||
func (m TradingSessionStatusRequest) SetTradingSessionSubID(v enum.TradingSessionSubID) {
|
||||
m.Set(field.NewTradingSessionSubID(v))
|
||||
}
|
||||
|
||||
// GetSubscriptionRequestType gets SubscriptionRequestType, Tag 263.
|
||||
func (m TradingSessionStatusRequest) GetSubscriptionRequestType() (v enum.SubscriptionRequestType, err quickfix.MessageRejectError) {
|
||||
var f field.SubscriptionRequestTypeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTradSesReqID gets TradSesReqID, Tag 335.
|
||||
func (m TradingSessionStatusRequest) GetTradSesReqID() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.TradSesReqIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTradingSessionID gets TradingSessionID, Tag 336.
|
||||
func (m TradingSessionStatusRequest) GetTradingSessionID() (v enum.TradingSessionID, err quickfix.MessageRejectError) {
|
||||
var f field.TradingSessionIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTradSesMethod gets TradSesMethod, Tag 338.
|
||||
func (m TradingSessionStatusRequest) GetTradSesMethod() (v enum.TradSesMethod, err quickfix.MessageRejectError) {
|
||||
var f field.TradSesMethodField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTradSesMode gets TradSesMode, Tag 339.
|
||||
func (m TradingSessionStatusRequest) GetTradSesMode() (v enum.TradSesMode, err quickfix.MessageRejectError) {
|
||||
var f field.TradSesModeField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetTradingSessionSubID gets TradingSessionSubID, Tag 625.
|
||||
func (m TradingSessionStatusRequest) GetTradingSessionSubID() (v enum.TradingSessionSubID, err quickfix.MessageRejectError) {
|
||||
var f field.TradingSessionSubIDField
|
||||
if err = m.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasSubscriptionRequestType returns true if SubscriptionRequestType is present, Tag 263.
|
||||
func (m TradingSessionStatusRequest) HasSubscriptionRequestType() bool {
|
||||
return m.Has(tag.SubscriptionRequestType)
|
||||
}
|
||||
|
||||
// HasTradSesReqID returns true if TradSesReqID is present, Tag 335.
|
||||
func (m TradingSessionStatusRequest) HasTradSesReqID() bool {
|
||||
return m.Has(tag.TradSesReqID)
|
||||
}
|
||||
|
||||
// HasTradingSessionID returns true if TradingSessionID is present, Tag 336.
|
||||
func (m TradingSessionStatusRequest) HasTradingSessionID() bool {
|
||||
return m.Has(tag.TradingSessionID)
|
||||
}
|
||||
|
||||
// HasTradSesMethod returns true if TradSesMethod is present, Tag 338.
|
||||
func (m TradingSessionStatusRequest) HasTradSesMethod() bool {
|
||||
return m.Has(tag.TradSesMethod)
|
||||
}
|
||||
|
||||
// HasTradSesMode returns true if TradSesMode is present, Tag 339.
|
||||
func (m TradingSessionStatusRequest) HasTradSesMode() bool {
|
||||
return m.Has(tag.TradSesMode)
|
||||
}
|
||||
|
||||
// HasTradingSessionSubID returns true if TradingSessionSubID is present, Tag 625.
|
||||
func (m TradingSessionStatusRequest) HasTradingSessionSubID() bool {
|
||||
return m.Has(tag.TradingSessionSubID)
|
||||
}
|
||||
70
quickfix/gen/fix43/trailer.generated.go
Normal file
70
quickfix/gen/fix43/trailer.generated.go
Normal file
@ -0,0 +1,70 @@
|
||||
// Code generated by quickfix. DO NOT EDIT.
|
||||
package fix43
|
||||
|
||||
import (
|
||||
"github.com/quickfixgo/quickfix"
|
||||
"github.com/quickfixgo/quickfix/gen/field"
|
||||
"github.com/quickfixgo/quickfix/gen/tag"
|
||||
)
|
||||
|
||||
// Trailer is the fix43 Trailer type.
|
||||
type Trailer struct {
|
||||
*quickfix.Trailer
|
||||
}
|
||||
|
||||
// SetCheckSum sets CheckSum, Tag 10.
|
||||
func (t Trailer) SetCheckSum(v string) {
|
||||
t.Set(field.NewCheckSum(v))
|
||||
}
|
||||
|
||||
// SetSignature sets Signature, Tag 89.
|
||||
func (t Trailer) SetSignature(v string) {
|
||||
t.Set(field.NewSignature(v))
|
||||
}
|
||||
|
||||
// SetSignatureLength sets SignatureLength, Tag 93.
|
||||
func (t Trailer) SetSignatureLength(v int) {
|
||||
t.Set(field.NewSignatureLength(v))
|
||||
}
|
||||
|
||||
// GetCheckSum gets CheckSum, Tag 10.
|
||||
func (t Trailer) GetCheckSum() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.CheckSumField
|
||||
if err = t.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetSignature gets Signature, Tag 89.
|
||||
func (t Trailer) GetSignature() (v string, err quickfix.MessageRejectError) {
|
||||
var f field.SignatureField
|
||||
if err = t.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// GetSignatureLength gets SignatureLength, Tag 93.
|
||||
func (t Trailer) GetSignatureLength() (v int, err quickfix.MessageRejectError) {
|
||||
var f field.SignatureLengthField
|
||||
if err = t.Get(&f); err == nil {
|
||||
v = f.Value()
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
// HasCheckSum returns true if CheckSum is present, Tag 10.
|
||||
func (t Trailer) HasCheckSum() bool {
|
||||
return t.Has(tag.CheckSum)
|
||||
}
|
||||
|
||||
// HasSignature returns true if Signature is present, Tag 89.
|
||||
func (t Trailer) HasSignature() bool {
|
||||
return t.Has(tag.Signature)
|
||||
}
|
||||
|
||||
// HasSignatureLength returns true if SignatureLength is present, Tag 93.
|
||||
func (t Trailer) HasSignatureLength() bool {
|
||||
return t.Has(tag.SignatureLength)
|
||||
}
|
||||
Reference in New Issue
Block a user