Documentation
¶
Overview ¶
Package requestforpositions msg type = AN.
Index ¶
- func Route(router RouteOut) (string, string, quickfix.MessageRoute)
- type Message
- func (m Message) Marshal() quickfix.Message
- func (m *Message) SetAccount(v string)
- func (m *Message) SetAccountType(v int)
- func (m *Message) SetAcctIDSource(v int)
- func (m *Message) SetClearingBusinessDate(v string)
- func (m *Message) SetCurrency(v string)
- func (m *Message) SetEncodedText(v string)
- func (m *Message) SetEncodedTextLen(v int)
- func (m *Message) SetInstrument(v instrument.Instrument)
- func (m *Message) SetMatchStatus(v string)
- func (m *Message) SetNoLegs(v []NoLegs)
- func (m *Message) SetNoTradingSessions(v []NoTradingSessions)
- func (m *Message) SetNoUnderlyings(v []NoUnderlyings)
- func (m *Message) SetParties(v parties.Parties)
- func (m *Message) SetPosReqID(v string)
- func (m *Message) SetPosReqType(v int)
- func (m *Message) SetResponseDestination(v string)
- func (m *Message) SetResponseTransportType(v int)
- func (m *Message) SetSettlSessID(v string)
- func (m *Message) SetSettlSessSubID(v string)
- func (m *Message) SetSubscriptionRequestType(v string)
- func (m *Message) SetText(v string)
- func (m *Message) SetTransactTime(v time.Time)
- type NoLegs
- type NoTradingSessions
- type NoUnderlyings
- type RouteOut
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Message ¶
type Message struct {
FIXMsgType string `fix:"AN"`
fix44.Header
//PosReqID is a required field for RequestForPositions.
PosReqID string `fix:"710"`
//PosReqType is a required field for RequestForPositions.
PosReqType int `fix:"724"`
//MatchStatus is a non-required field for RequestForPositions.
MatchStatus *string `fix:"573"`
//SubscriptionRequestType is a non-required field for RequestForPositions.
SubscriptionRequestType *string `fix:"263"`
//Parties is a required component for RequestForPositions.
parties.Parties
//Account is a required field for RequestForPositions.
Account string `fix:"1"`
//AcctIDSource is a non-required field for RequestForPositions.
AcctIDSource *int `fix:"660"`
//AccountType is a required field for RequestForPositions.
AccountType int `fix:"581"`
//Instrument is a non-required component for RequestForPositions.
Instrument *instrument.Instrument
//Currency is a non-required field for RequestForPositions.
Currency *string `fix:"15"`
//NoLegs is a non-required field for RequestForPositions.
NoLegs []NoLegs `fix:"555,omitempty"`
//NoUnderlyings is a non-required field for RequestForPositions.
NoUnderlyings []NoUnderlyings `fix:"711,omitempty"`
//ClearingBusinessDate is a required field for RequestForPositions.
ClearingBusinessDate string `fix:"715"`
//SettlSessID is a non-required field for RequestForPositions.
SettlSessID *string `fix:"716"`
//SettlSessSubID is a non-required field for RequestForPositions.
SettlSessSubID *string `fix:"717"`
//NoTradingSessions is a non-required field for RequestForPositions.
NoTradingSessions []NoTradingSessions `fix:"386,omitempty"`
//TransactTime is a required field for RequestForPositions.
TransactTime time.Time `fix:"60"`
//ResponseTransportType is a non-required field for RequestForPositions.
ResponseTransportType *int `fix:"725"`
//ResponseDestination is a non-required field for RequestForPositions.
ResponseDestination *string `fix:"726"`
//Text is a non-required field for RequestForPositions.
Text *string `fix:"58"`
//EncodedTextLen is a non-required field for RequestForPositions.
EncodedTextLen *int `fix:"354"`
//EncodedText is a non-required field for RequestForPositions.
EncodedText *string `fix:"355"`
fix44.Trailer
}
Message is a RequestForPositions FIX Message
func New ¶
func New(posreqid string, posreqtype int, parties parties.Parties, account string, accounttype int, clearingbusinessdate string, transacttime time.Time) *Message
New returns an initialized RequestForPositions instance
func (*Message) SetAccount ¶
func (*Message) SetAccountType ¶
func (*Message) SetAcctIDSource ¶
func (*Message) SetClearingBusinessDate ¶
func (*Message) SetCurrency ¶
func (*Message) SetEncodedText ¶
func (*Message) SetEncodedTextLen ¶
func (*Message) SetInstrument ¶
func (m *Message) SetInstrument(v instrument.Instrument)
func (*Message) SetMatchStatus ¶
func (*Message) SetNoTradingSessions ¶
func (m *Message) SetNoTradingSessions(v []NoTradingSessions)
func (*Message) SetNoUnderlyings ¶
func (m *Message) SetNoUnderlyings(v []NoUnderlyings)
func (*Message) SetParties ¶
func (*Message) SetPosReqID ¶
func (*Message) SetPosReqType ¶
func (*Message) SetResponseDestination ¶
func (*Message) SetResponseTransportType ¶
func (*Message) SetSettlSessID ¶
func (*Message) SetSettlSessSubID ¶
func (*Message) SetSubscriptionRequestType ¶
func (*Message) SetTransactTime ¶
type NoLegs ¶
type NoLegs struct {
//InstrumentLeg is a non-required component for NoLegs.
InstrumentLeg *instrumentleg.InstrumentLeg
}
NoLegs is a repeating group in RequestForPositions
func (*NoLegs) SetInstrumentLeg ¶
func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg)
type NoTradingSessions ¶
type NoTradingSessions struct {
//TradingSessionID is a non-required field for NoTradingSessions.
TradingSessionID *string `fix:"336"`
//TradingSessionSubID is a non-required field for NoTradingSessions.
TradingSessionSubID *string `fix:"625"`
}
NoTradingSessions is a repeating group in RequestForPositions
func NewNoTradingSessions ¶
func NewNoTradingSessions() *NoTradingSessions
NewNoTradingSessions returns an initialized NoTradingSessions instance
func (*NoTradingSessions) SetTradingSessionID ¶
func (m *NoTradingSessions) SetTradingSessionID(v string)
func (*NoTradingSessions) SetTradingSessionSubID ¶
func (m *NoTradingSessions) SetTradingSessionSubID(v string)
type NoUnderlyings ¶
type NoUnderlyings struct {
//UnderlyingInstrument is a non-required component for NoUnderlyings.
UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument
}
NoUnderlyings is a repeating group in RequestForPositions
func NewNoUnderlyings ¶
func NewNoUnderlyings() *NoUnderlyings
NewNoUnderlyings returns an initialized NoUnderlyings instance
func (*NoUnderlyings) SetUnderlyingInstrument ¶
func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument)
Click to show internal directories.
Click to hide internal directories.