Documentation ¶
Overview ¶
Package positionreport msg type = AP.
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) SetDeliveryDate(v string)
- func (m *Message) SetEncodedText(v string)
- func (m *Message) SetEncodedTextLen(v int)
- func (m *Message) SetInstrument(v instrument.Instrument)
- func (m *Message) SetNoLegs(v []NoLegs)
- func (m *Message) SetNoUnderlyings(v []NoUnderlyings)
- func (m *Message) SetParties(v parties.Parties)
- func (m *Message) SetPosMaintRptID(v string)
- func (m *Message) SetPosReqID(v string)
- func (m *Message) SetPosReqResult(v int)
- func (m *Message) SetPosReqType(v int)
- func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData)
- func (m *Message) SetPositionQty(v positionqty.PositionQty)
- func (m *Message) SetPriorSettlPrice(v float64)
- func (m *Message) SetRegistStatus(v string)
- func (m *Message) SetSettlPrice(v float64)
- func (m *Message) SetSettlPriceType(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) SetTotalNumPosReports(v int)
- func (m *Message) SetUnsolicitedIndicator(v bool)
- type NoLegs
- type NoUnderlyings
- type RouteOut
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Message ¶
type Message struct { FIXMsgType string `fix:"AP"` fix44.Header //PosMaintRptID is a required field for PositionReport. PosMaintRptID string `fix:"721"` //PosReqID is a non-required field for PositionReport. PosReqID *string `fix:"710"` //PosReqType is a non-required field for PositionReport. PosReqType *int `fix:"724"` //SubscriptionRequestType is a non-required field for PositionReport. SubscriptionRequestType *string `fix:"263"` //TotalNumPosReports is a non-required field for PositionReport. TotalNumPosReports *int `fix:"727"` //UnsolicitedIndicator is a non-required field for PositionReport. UnsolicitedIndicator *bool `fix:"325"` //PosReqResult is a required field for PositionReport. PosReqResult int `fix:"728"` //ClearingBusinessDate is a required field for PositionReport. ClearingBusinessDate string `fix:"715"` //SettlSessID is a non-required field for PositionReport. SettlSessID *string `fix:"716"` //SettlSessSubID is a non-required field for PositionReport. SettlSessSubID *string `fix:"717"` //Parties is a required component for PositionReport. parties.Parties //Account is a required field for PositionReport. Account string `fix:"1"` //AcctIDSource is a non-required field for PositionReport. AcctIDSource *int `fix:"660"` //AccountType is a required field for PositionReport. AccountType int `fix:"581"` //Instrument is a non-required component for PositionReport. Instrument *instrument.Instrument //Currency is a non-required field for PositionReport. Currency *string `fix:"15"` //SettlPrice is a required field for PositionReport. SettlPrice float64 `fix:"730"` //SettlPriceType is a required field for PositionReport. SettlPriceType int `fix:"731"` //PriorSettlPrice is a required field for PositionReport. PriorSettlPrice float64 `fix:"734"` //NoLegs is a non-required field for PositionReport. NoLegs []NoLegs `fix:"555,omitempty"` //NoUnderlyings is a non-required field for PositionReport. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` //PositionQty is a required component for PositionReport. positionqty.PositionQty //PositionAmountData is a required component for PositionReport. positionamountdata.PositionAmountData //RegistStatus is a non-required field for PositionReport. RegistStatus *string `fix:"506"` //DeliveryDate is a non-required field for PositionReport. DeliveryDate *string `fix:"743"` //Text is a non-required field for PositionReport. Text *string `fix:"58"` //EncodedTextLen is a non-required field for PositionReport. EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for PositionReport. EncodedText *string `fix:"355"` fix44.Trailer }
Message is a PositionReport FIX Message
func New ¶ added in v0.2.0
func New(posmaintrptid string, posreqresult int, clearingbusinessdate string, parties parties.Parties, account string, accounttype int, settlprice float64, settlpricetype int, priorsettlprice float64, positionqty positionqty.PositionQty, positionamountdata positionamountdata.PositionAmountData) *Message
New returns an initialized PositionReport instance
func (*Message) SetAccount ¶ added in v0.2.0
func (*Message) SetAccountType ¶ added in v0.2.0
func (*Message) SetAcctIDSource ¶ added in v0.2.0
func (*Message) SetClearingBusinessDate ¶ added in v0.2.0
func (*Message) SetCurrency ¶ added in v0.2.0
func (*Message) SetDeliveryDate ¶ added in v0.2.0
func (*Message) SetEncodedText ¶ added in v0.2.0
func (*Message) SetEncodedTextLen ¶ added in v0.2.0
func (*Message) SetInstrument ¶ added in v0.2.0
func (m *Message) SetInstrument(v instrument.Instrument)
func (*Message) SetNoUnderlyings ¶ added in v0.2.0
func (m *Message) SetNoUnderlyings(v []NoUnderlyings)
func (*Message) SetParties ¶ added in v0.2.0
func (*Message) SetPosMaintRptID ¶ added in v0.2.0
func (*Message) SetPosReqID ¶ added in v0.2.0
func (*Message) SetPosReqResult ¶ added in v0.2.0
func (*Message) SetPosReqType ¶ added in v0.2.0
func (*Message) SetPositionAmountData ¶ added in v0.2.0
func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData)
func (*Message) SetPositionQty ¶ added in v0.2.0
func (m *Message) SetPositionQty(v positionqty.PositionQty)
func (*Message) SetPriorSettlPrice ¶ added in v0.2.0
func (*Message) SetRegistStatus ¶ added in v0.2.0
func (*Message) SetSettlPrice ¶ added in v0.2.0
func (*Message) SetSettlPriceType ¶ added in v0.2.0
func (*Message) SetSettlSessID ¶ added in v0.2.0
func (*Message) SetSettlSessSubID ¶ added in v0.2.0
func (*Message) SetSubscriptionRequestType ¶ added in v0.2.0
func (*Message) SetTotalNumPosReports ¶ added in v0.2.0
func (*Message) SetUnsolicitedIndicator ¶ added in v0.2.0
type NoLegs ¶
type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. InstrumentLeg *instrumentleg.InstrumentLeg }
NoLegs is a repeating group in PositionReport
func NewNoLegs ¶ added in v0.2.0
func NewNoLegs() *NoLegs
NewNoLegs returns an initialized NoLegs instance
func (*NoLegs) SetInstrumentLeg ¶ added in v0.2.0
func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg)
type NoUnderlyings ¶
type NoUnderlyings struct { //UnderlyingInstrument is a non-required component for NoUnderlyings. UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument //UnderlyingSettlPrice is a required field for NoUnderlyings. UnderlyingSettlPrice float64 `fix:"732"` //UnderlyingSettlPriceType is a required field for NoUnderlyings. UnderlyingSettlPriceType int `fix:"733"` }
NoUnderlyings is a repeating group in PositionReport
func NewNoUnderlyings ¶ added in v0.2.0
func NewNoUnderlyings(underlyingsettlprice float64, underlyingsettlpricetype int) *NoUnderlyings
NewNoUnderlyings returns an initialized NoUnderlyings instance
func (*NoUnderlyings) SetUnderlyingInstrument ¶ added in v0.2.0
func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument)
func (*NoUnderlyings) SetUnderlyingSettlPrice ¶ added in v0.2.0
func (m *NoUnderlyings) SetUnderlyingSettlPrice(v float64)
func (*NoUnderlyings) SetUnderlyingSettlPriceType ¶ added in v0.2.0
func (m *NoUnderlyings) SetUnderlyingSettlPriceType(v int)
Click to show internal directories.
Click to hide internal directories.