Documentation ¶
Overview ¶
Package positionmaintenancereport msg type = AM.
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) SetAdjustmentType(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) SetNoLegs(v []NoLegs)
- func (m *Message) SetNoTradingSessions(v []NoTradingSessions)
- func (m *Message) SetNoUnderlyings(v []NoUnderlyings)
- func (m *Message) SetOrigPosReqRefID(v string)
- func (m *Message) SetParties(v parties.Parties)
- func (m *Message) SetPosMaintAction(v int)
- func (m *Message) SetPosMaintResult(v int)
- func (m *Message) SetPosMaintRptID(v string)
- func (m *Message) SetPosMaintStatus(v int)
- func (m *Message) SetPosReqID(v string)
- func (m *Message) SetPosTransType(v int)
- func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData)
- func (m *Message) SetPositionQty(v positionqty.PositionQty)
- func (m *Message) SetSettlSessID(v string)
- func (m *Message) SetSettlSessSubID(v string)
- func (m *Message) SetText(v string)
- func (m *Message) SetThresholdAmount(v float64)
- 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:"AM"` fix44.Header //PosMaintRptID is a required field for PositionMaintenanceReport. PosMaintRptID string `fix:"721"` //PosTransType is a required field for PositionMaintenanceReport. PosTransType int `fix:"709"` //PosReqID is a non-required field for PositionMaintenanceReport. PosReqID *string `fix:"710"` //PosMaintAction is a required field for PositionMaintenanceReport. PosMaintAction int `fix:"712"` //OrigPosReqRefID is a required field for PositionMaintenanceReport. OrigPosReqRefID string `fix:"713"` //PosMaintStatus is a required field for PositionMaintenanceReport. PosMaintStatus int `fix:"722"` //PosMaintResult is a non-required field for PositionMaintenanceReport. PosMaintResult *int `fix:"723"` //ClearingBusinessDate is a required field for PositionMaintenanceReport. ClearingBusinessDate string `fix:"715"` //SettlSessID is a non-required field for PositionMaintenanceReport. SettlSessID *string `fix:"716"` //SettlSessSubID is a non-required field for PositionMaintenanceReport. SettlSessSubID *string `fix:"717"` //Parties is a non-required component for PositionMaintenanceReport. Parties *parties.Parties //Account is a required field for PositionMaintenanceReport. Account string `fix:"1"` //AcctIDSource is a non-required field for PositionMaintenanceReport. AcctIDSource *int `fix:"660"` //AccountType is a required field for PositionMaintenanceReport. AccountType int `fix:"581"` //Instrument is a required component for PositionMaintenanceReport. instrument.Instrument //Currency is a non-required field for PositionMaintenanceReport. Currency *string `fix:"15"` //NoLegs is a non-required field for PositionMaintenanceReport. NoLegs []NoLegs `fix:"555,omitempty"` //NoUnderlyings is a non-required field for PositionMaintenanceReport. NoUnderlyings []NoUnderlyings `fix:"711,omitempty"` //NoTradingSessions is a non-required field for PositionMaintenanceReport. NoTradingSessions []NoTradingSessions `fix:"386,omitempty"` //TransactTime is a required field for PositionMaintenanceReport. TransactTime time.Time `fix:"60"` //PositionQty is a required component for PositionMaintenanceReport. positionqty.PositionQty //PositionAmountData is a required component for PositionMaintenanceReport. positionamountdata.PositionAmountData //AdjustmentType is a non-required field for PositionMaintenanceReport. AdjustmentType *int `fix:"718"` //ThresholdAmount is a non-required field for PositionMaintenanceReport. ThresholdAmount *float64 `fix:"834"` //Text is a non-required field for PositionMaintenanceReport. Text *string `fix:"58"` //EncodedTextLen is a non-required field for PositionMaintenanceReport. EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for PositionMaintenanceReport. EncodedText *string `fix:"355"` fix44.Trailer }
Message is a PositionMaintenanceReport FIX Message
func New ¶ added in v0.2.0
func New(posmaintrptid string, postranstype int, posmaintaction int, origposreqrefid string, posmaintstatus int, clearingbusinessdate string, account string, accounttype int, instrument instrument.Instrument, transacttime time.Time, positionqty positionqty.PositionQty, positionamountdata positionamountdata.PositionAmountData) *Message
New returns an initialized PositionMaintenanceReport 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) SetAdjustmentType ¶ added in v0.2.0
func (*Message) SetClearingBusinessDate ¶ added in v0.2.0
func (*Message) SetCurrency ¶ 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) SetNoTradingSessions ¶ added in v0.2.0
func (m *Message) SetNoTradingSessions(v []NoTradingSessions)
func (*Message) SetNoUnderlyings ¶ added in v0.2.0
func (m *Message) SetNoUnderlyings(v []NoUnderlyings)
func (*Message) SetOrigPosReqRefID ¶ added in v0.2.0
func (*Message) SetParties ¶ added in v0.2.0
func (*Message) SetPosMaintAction ¶ added in v0.2.0
func (*Message) SetPosMaintResult ¶ added in v0.2.0
func (*Message) SetPosMaintRptID ¶ added in v0.2.0
func (*Message) SetPosMaintStatus ¶ added in v0.2.0
func (*Message) SetPosReqID ¶ added in v0.2.0
func (*Message) SetPosTransType ¶ 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) SetSettlSessID ¶ added in v0.2.0
func (*Message) SetSettlSessSubID ¶ added in v0.2.0
func (*Message) SetThresholdAmount ¶ added in v0.2.0
func (*Message) SetTransactTime ¶ 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 PositionMaintenanceReport
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 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 PositionMaintenanceReport
func NewNoTradingSessions ¶ added in v0.2.0
func NewNoTradingSessions() *NoTradingSessions
NewNoTradingSessions returns an initialized NoTradingSessions instance
func (*NoTradingSessions) SetTradingSessionID ¶ added in v0.2.0
func (m *NoTradingSessions) SetTradingSessionID(v string)
func (*NoTradingSessions) SetTradingSessionSubID ¶ added in v0.2.0
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 PositionMaintenanceReport
func NewNoUnderlyings ¶ added in v0.2.0
func NewNoUnderlyings() *NoUnderlyings
NewNoUnderlyings returns an initialized NoUnderlyings instance
func (*NoUnderlyings) SetUnderlyingInstrument ¶ added in v0.2.0
func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument)
Click to show internal directories.
Click to hide internal directories.