Documentation ¶
Overview ¶
Package confirmation msg type = AK.
Index ¶
- func Route(router RouteOut) (string, string, quickfix.MessageRoute)
- type Message
- func (m Message) Marshal() quickfix.Message
- func (m *Message) SetAccruedInterestAmt(v float64)
- func (m *Message) SetAccruedInterestRate(v float64)
- func (m *Message) SetAllocAccount(v string)
- func (m *Message) SetAllocAccountType(v int)
- func (m *Message) SetAllocAcctIDSource(v int)
- func (m *Message) SetAllocID(v string)
- func (m *Message) SetAllocQty(v float64)
- func (m *Message) SetAvgParPx(v float64)
- func (m *Message) SetAvgPx(v float64)
- func (m *Message) SetAvgPxPrecision(v int)
- func (m *Message) SetCommissionData(v commissiondata.CommissionData)
- func (m *Message) SetConcession(v float64)
- func (m *Message) SetConfirmID(v string)
- func (m *Message) SetConfirmRefID(v string)
- func (m *Message) SetConfirmReqID(v string)
- func (m *Message) SetConfirmStatus(v int)
- func (m *Message) SetConfirmTransType(v int)
- func (m *Message) SetConfirmType(v int)
- func (m *Message) SetCopyMsgIndicator(v bool)
- func (m *Message) SetCurrency(v string)
- func (m *Message) SetEncodedText(v string)
- func (m *Message) SetEncodedTextLen(v int)
- func (m *Message) SetEndAccruedInterestAmt(v float64)
- func (m *Message) SetEndCash(v float64)
- func (m *Message) SetExDate(v string)
- func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails)
- func (m *Message) SetGrossTradeAmt(v float64)
- func (m *Message) SetIndividualAllocID(v string)
- func (m *Message) SetInstrument(v instrument.Instrument)
- func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension)
- func (m *Message) SetInterestAtMaturity(v float64)
- func (m *Message) SetLastMkt(v string)
- func (m *Message) SetLegalConfirm(v bool)
- func (m *Message) SetMaturityNetMoney(v float64)
- func (m *Message) SetNetMoney(v float64)
- func (m *Message) SetNoCapacities(v []NoCapacities)
- func (m *Message) SetNoLegs(v []NoLegs)
- func (m *Message) SetNoMiscFees(v []NoMiscFees)
- func (m *Message) SetNoOrders(v []NoOrders)
- func (m *Message) SetNoUnderlyings(v []NoUnderlyings)
- func (m *Message) SetNumDaysInterest(v int)
- func (m *Message) SetParties(v parties.Parties)
- func (m *Message) SetPriceType(v int)
- func (m *Message) SetProcessCode(v string)
- func (m *Message) SetQtyType(v int)
- func (m *Message) SetReportedPx(v float64)
- func (m *Message) SetSecondaryAllocID(v string)
- func (m *Message) SetSettlCurrAmt(v float64)
- func (m *Message) SetSettlCurrFxRate(v float64)
- func (m *Message) SetSettlCurrFxRateCalc(v string)
- func (m *Message) SetSettlCurrency(v string)
- func (m *Message) SetSettlDate(v string)
- func (m *Message) SetSettlInstructionsData(v settlinstructionsdata.SettlInstructionsData)
- func (m *Message) SetSettlType(v string)
- func (m *Message) SetSharedCommission(v float64)
- func (m *Message) SetSide(v string)
- func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData)
- func (m *Message) SetStartCash(v float64)
- func (m *Message) SetStipulations(v stipulations.Stipulations)
- func (m *Message) SetText(v string)
- func (m *Message) SetTotalTakedown(v float64)
- func (m *Message) SetTradeDate(v string)
- func (m *Message) SetTransactTime(v time.Time)
- func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps)
- func (m *Message) SetYieldData(v yielddata.YieldData)
- type NoCapacities
- type NoLegs
- type NoMiscFees
- type NoOrders
- func (m *NoOrders) SetClOrdID(v string)
- func (m *NoOrders) SetListID(v string)
- func (m *NoOrders) SetNestedParties2(v nestedparties2.NestedParties2)
- func (m *NoOrders) SetOrderAvgPx(v float64)
- func (m *NoOrders) SetOrderBookingQty(v float64)
- func (m *NoOrders) SetOrderID(v string)
- func (m *NoOrders) SetOrderQty(v float64)
- func (m *NoOrders) SetSecondaryClOrdID(v string)
- func (m *NoOrders) SetSecondaryOrderID(v string)
- type NoUnderlyings
- type RouteOut
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Message ¶
type Message struct { FIXMsgType string `fix:"AK"` fix44.Header //ConfirmID is a required field for Confirmation. ConfirmID string `fix:"664"` //ConfirmRefID is a non-required field for Confirmation. ConfirmRefID *string `fix:"772"` //ConfirmReqID is a non-required field for Confirmation. ConfirmReqID *string `fix:"859"` //ConfirmTransType is a required field for Confirmation. ConfirmTransType int `fix:"666"` //ConfirmType is a required field for Confirmation. ConfirmType int `fix:"773"` //CopyMsgIndicator is a non-required field for Confirmation. CopyMsgIndicator *bool `fix:"797"` //LegalConfirm is a non-required field for Confirmation. LegalConfirm *bool `fix:"650"` //ConfirmStatus is a required field for Confirmation. ConfirmStatus int `fix:"665"` //Parties is a non-required component for Confirmation. Parties *parties.Parties //NoOrders is a non-required field for Confirmation. NoOrders []NoOrders `fix:"73,omitempty"` //AllocID is a non-required field for Confirmation. AllocID *string `fix:"70"` //SecondaryAllocID is a non-required field for Confirmation. SecondaryAllocID *string `fix:"793"` //IndividualAllocID is a non-required field for Confirmation. IndividualAllocID *string `fix:"467"` //TransactTime is a required field for Confirmation. TransactTime time.Time `fix:"60"` //TradeDate is a required field for Confirmation. TradeDate string `fix:"75"` //TrdRegTimestamps is a non-required component for Confirmation. TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps //Instrument is a required component for Confirmation. instrument.Instrument //InstrumentExtension is a non-required component for Confirmation. InstrumentExtension *instrumentextension.InstrumentExtension //FinancingDetails is a non-required component for Confirmation. FinancingDetails *financingdetails.FinancingDetails //NoUnderlyings is a required field for Confirmation. NoUnderlyings []NoUnderlyings `fix:"711"` //NoLegs is a required field for Confirmation. NoLegs []NoLegs `fix:"555"` //YieldData is a non-required component for Confirmation. YieldData *yielddata.YieldData //AllocQty is a required field for Confirmation. AllocQty float64 `fix:"80"` //QtyType is a non-required field for Confirmation. QtyType *int `fix:"854"` //Side is a required field for Confirmation. Side string `fix:"54"` //Currency is a non-required field for Confirmation. Currency *string `fix:"15"` //LastMkt is a non-required field for Confirmation. LastMkt *string `fix:"30"` //NoCapacities is a required field for Confirmation. NoCapacities []NoCapacities `fix:"862"` //AllocAccount is a required field for Confirmation. AllocAccount string `fix:"79"` //AllocAcctIDSource is a non-required field for Confirmation. AllocAcctIDSource *int `fix:"661"` //AllocAccountType is a non-required field for Confirmation. AllocAccountType *int `fix:"798"` //AvgPx is a required field for Confirmation. AvgPx float64 `fix:"6"` //AvgPxPrecision is a non-required field for Confirmation. AvgPxPrecision *int `fix:"74"` //PriceType is a non-required field for Confirmation. PriceType *int `fix:"423"` //AvgParPx is a non-required field for Confirmation. AvgParPx *float64 `fix:"860"` //SpreadOrBenchmarkCurveData is a non-required component for Confirmation. SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData //ReportedPx is a non-required field for Confirmation. ReportedPx *float64 `fix:"861"` //Text is a non-required field for Confirmation. Text *string `fix:"58"` //EncodedTextLen is a non-required field for Confirmation. EncodedTextLen *int `fix:"354"` //EncodedText is a non-required field for Confirmation. EncodedText *string `fix:"355"` //ProcessCode is a non-required field for Confirmation. ProcessCode *string `fix:"81"` //GrossTradeAmt is a required field for Confirmation. GrossTradeAmt float64 `fix:"381"` //NumDaysInterest is a non-required field for Confirmation. NumDaysInterest *int `fix:"157"` //ExDate is a non-required field for Confirmation. ExDate *string `fix:"230"` //AccruedInterestRate is a non-required field for Confirmation. AccruedInterestRate *float64 `fix:"158"` //AccruedInterestAmt is a non-required field for Confirmation. AccruedInterestAmt *float64 `fix:"159"` //InterestAtMaturity is a non-required field for Confirmation. InterestAtMaturity *float64 `fix:"738"` //EndAccruedInterestAmt is a non-required field for Confirmation. EndAccruedInterestAmt *float64 `fix:"920"` //StartCash is a non-required field for Confirmation. StartCash *float64 `fix:"921"` //EndCash is a non-required field for Confirmation. EndCash *float64 `fix:"922"` //Concession is a non-required field for Confirmation. Concession *float64 `fix:"238"` //TotalTakedown is a non-required field for Confirmation. TotalTakedown *float64 `fix:"237"` //NetMoney is a required field for Confirmation. NetMoney float64 `fix:"118"` //MaturityNetMoney is a non-required field for Confirmation. MaturityNetMoney *float64 `fix:"890"` //SettlCurrAmt is a non-required field for Confirmation. SettlCurrAmt *float64 `fix:"119"` //SettlCurrency is a non-required field for Confirmation. SettlCurrency *string `fix:"120"` //SettlCurrFxRate is a non-required field for Confirmation. SettlCurrFxRate *float64 `fix:"155"` //SettlCurrFxRateCalc is a non-required field for Confirmation. SettlCurrFxRateCalc *string `fix:"156"` //SettlType is a non-required field for Confirmation. SettlType *string `fix:"63"` //SettlDate is a non-required field for Confirmation. SettlDate *string `fix:"64"` //SettlInstructionsData is a non-required component for Confirmation. SettlInstructionsData *settlinstructionsdata.SettlInstructionsData //CommissionData is a non-required component for Confirmation. CommissionData *commissiondata.CommissionData SharedCommission *float64 `fix:"858"` //Stipulations is a non-required component for Confirmation. Stipulations *stipulations.Stipulations //NoMiscFees is a non-required field for Confirmation. NoMiscFees []NoMiscFees `fix:"136,omitempty"` fix44.Trailer }
Message is a Confirmation FIX Message
func New ¶ added in v0.2.0
func New(confirmid string, confirmtranstype int, confirmtype int, confirmstatus int, transacttime time.Time, tradedate string, instrument instrument.Instrument, nounderlyings []NoUnderlyings, nolegs []NoLegs, allocqty float64, side string, nocapacities []NoCapacities, allocaccount string, avgpx float64, grosstradeamt float64, netmoney float64) *Message
New returns an initialized Confirmation instance
func (*Message) SetAccruedInterestAmt ¶ added in v0.2.0
func (*Message) SetAccruedInterestRate ¶ added in v0.2.0
func (*Message) SetAllocAccount ¶ added in v0.2.0
func (*Message) SetAllocAccountType ¶ added in v0.2.0
func (*Message) SetAllocAcctIDSource ¶ added in v0.2.0
func (*Message) SetAllocID ¶ added in v0.2.0
func (*Message) SetAllocQty ¶ added in v0.2.0
func (*Message) SetAvgParPx ¶ added in v0.2.0
func (*Message) SetAvgPxPrecision ¶ added in v0.2.0
func (*Message) SetCommissionData ¶ added in v0.2.0
func (m *Message) SetCommissionData(v commissiondata.CommissionData)
func (*Message) SetConcession ¶ added in v0.2.0
func (*Message) SetConfirmID ¶ added in v0.2.0
func (*Message) SetConfirmRefID ¶ added in v0.2.0
func (*Message) SetConfirmReqID ¶ added in v0.2.0
func (*Message) SetConfirmStatus ¶ added in v0.2.0
func (*Message) SetConfirmTransType ¶ added in v0.2.0
func (*Message) SetConfirmType ¶ added in v0.2.0
func (*Message) SetCopyMsgIndicator ¶ 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) SetEndAccruedInterestAmt ¶ added in v0.2.0
func (*Message) SetEndCash ¶ added in v0.2.0
func (*Message) SetFinancingDetails ¶ added in v0.2.0
func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails)
func (*Message) SetGrossTradeAmt ¶ added in v0.2.0
func (*Message) SetIndividualAllocID ¶ added in v0.2.0
func (*Message) SetInstrument ¶ added in v0.2.0
func (m *Message) SetInstrument(v instrument.Instrument)
func (*Message) SetInstrumentExtension ¶ added in v0.2.0
func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension)
func (*Message) SetInterestAtMaturity ¶ added in v0.2.0
func (*Message) SetLastMkt ¶ added in v0.2.0
func (*Message) SetLegalConfirm ¶ added in v0.2.0
func (*Message) SetMaturityNetMoney ¶ added in v0.2.0
func (*Message) SetNetMoney ¶ added in v0.2.0
func (*Message) SetNoCapacities ¶ added in v0.2.0
func (m *Message) SetNoCapacities(v []NoCapacities)
func (*Message) SetNoMiscFees ¶ added in v0.2.0
func (m *Message) SetNoMiscFees(v []NoMiscFees)
func (*Message) SetNoOrders ¶ added in v0.2.0
func (*Message) SetNoUnderlyings ¶ added in v0.2.0
func (m *Message) SetNoUnderlyings(v []NoUnderlyings)
func (*Message) SetNumDaysInterest ¶ added in v0.2.0
func (*Message) SetParties ¶ added in v0.2.0
func (*Message) SetPriceType ¶ added in v0.2.0
func (*Message) SetProcessCode ¶ added in v0.2.0
func (*Message) SetQtyType ¶ added in v0.2.0
func (*Message) SetReportedPx ¶ added in v0.2.0
func (*Message) SetSecondaryAllocID ¶ added in v0.2.0
func (*Message) SetSettlCurrAmt ¶ added in v0.2.0
func (*Message) SetSettlCurrFxRate ¶ added in v0.2.0
func (*Message) SetSettlCurrFxRateCalc ¶ added in v0.2.0
func (*Message) SetSettlCurrency ¶ added in v0.2.0
func (*Message) SetSettlDate ¶ added in v0.2.0
func (*Message) SetSettlInstructionsData ¶ added in v0.2.0
func (m *Message) SetSettlInstructionsData(v settlinstructionsdata.SettlInstructionsData)
func (*Message) SetSettlType ¶ added in v0.2.0
func (*Message) SetSharedCommission ¶ added in v0.2.0
func (*Message) SetSpreadOrBenchmarkCurveData ¶ added in v0.2.0
func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData)
func (*Message) SetStartCash ¶ added in v0.2.0
func (*Message) SetStipulations ¶ added in v0.2.0
func (m *Message) SetStipulations(v stipulations.Stipulations)
func (*Message) SetTotalTakedown ¶ added in v0.2.0
func (*Message) SetTradeDate ¶ added in v0.2.0
func (*Message) SetTransactTime ¶ added in v0.2.0
func (*Message) SetTrdRegTimestamps ¶ added in v0.2.0
func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps)
func (*Message) SetYieldData ¶ added in v0.2.0
type NoCapacities ¶
type NoCapacities struct { //OrderCapacity is a required field for NoCapacities. OrderCapacity string `fix:"528"` //OrderRestrictions is a non-required field for NoCapacities. OrderRestrictions *string `fix:"529"` //OrderCapacityQty is a required field for NoCapacities. OrderCapacityQty float64 `fix:"863"` }
NoCapacities is a repeating group in Confirmation
func NewNoCapacities ¶ added in v0.2.0
func NewNoCapacities(ordercapacity string, ordercapacityqty float64) *NoCapacities
NewNoCapacities returns an initialized NoCapacities instance
func (*NoCapacities) SetOrderCapacity ¶ added in v0.2.0
func (m *NoCapacities) SetOrderCapacity(v string)
func (*NoCapacities) SetOrderCapacityQty ¶ added in v0.2.0
func (m *NoCapacities) SetOrderCapacityQty(v float64)
func (*NoCapacities) SetOrderRestrictions ¶ added in v0.2.0
func (m *NoCapacities) SetOrderRestrictions(v string)
type NoLegs ¶
type NoLegs struct { //InstrumentLeg is a non-required component for NoLegs. InstrumentLeg *instrumentleg.InstrumentLeg }
NoLegs is a repeating group in Confirmation
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 NoMiscFees ¶
type NoMiscFees struct { //MiscFeeAmt is a non-required field for NoMiscFees. MiscFeeAmt *float64 `fix:"137"` //MiscFeeCurr is a non-required field for NoMiscFees. MiscFeeCurr *string `fix:"138"` //MiscFeeType is a non-required field for NoMiscFees. MiscFeeType *string `fix:"139"` //MiscFeeBasis is a non-required field for NoMiscFees. MiscFeeBasis *int `fix:"891"` }
NoMiscFees is a repeating group in Confirmation
func NewNoMiscFees ¶ added in v0.2.0
func NewNoMiscFees() *NoMiscFees
NewNoMiscFees returns an initialized NoMiscFees instance
func (*NoMiscFees) SetMiscFeeAmt ¶ added in v0.2.0
func (m *NoMiscFees) SetMiscFeeAmt(v float64)
func (*NoMiscFees) SetMiscFeeBasis ¶ added in v0.2.0
func (m *NoMiscFees) SetMiscFeeBasis(v int)
func (*NoMiscFees) SetMiscFeeCurr ¶ added in v0.2.0
func (m *NoMiscFees) SetMiscFeeCurr(v string)
func (*NoMiscFees) SetMiscFeeType ¶ added in v0.2.0
func (m *NoMiscFees) SetMiscFeeType(v string)
type NoOrders ¶
type NoOrders struct { //ClOrdID is a non-required field for NoOrders. ClOrdID *string `fix:"11"` //OrderID is a non-required field for NoOrders. OrderID *string `fix:"37"` //SecondaryOrderID is a non-required field for NoOrders. SecondaryOrderID *string `fix:"198"` //SecondaryClOrdID is a non-required field for NoOrders. SecondaryClOrdID *string `fix:"526"` //ListID is a non-required field for NoOrders. ListID *string `fix:"66"` //NestedParties2 is a non-required component for NoOrders. NestedParties2 *nestedparties2.NestedParties2 //OrderQty is a non-required field for NoOrders. OrderQty *float64 `fix:"38"` //OrderAvgPx is a non-required field for NoOrders. OrderAvgPx *float64 `fix:"799"` //OrderBookingQty is a non-required field for NoOrders. OrderBookingQty *float64 `fix:"800"` }
NoOrders is a repeating group in Confirmation
func NewNoOrders ¶ added in v0.2.0
func NewNoOrders() *NoOrders
NewNoOrders returns an initialized NoOrders instance
func (*NoOrders) SetClOrdID ¶ added in v0.2.0
func (*NoOrders) SetNestedParties2 ¶ added in v0.2.0
func (m *NoOrders) SetNestedParties2(v nestedparties2.NestedParties2)
func (*NoOrders) SetOrderAvgPx ¶ added in v0.2.0
func (*NoOrders) SetOrderBookingQty ¶ added in v0.2.0
func (*NoOrders) SetOrderID ¶ added in v0.2.0
func (*NoOrders) SetOrderQty ¶ added in v0.2.0
func (*NoOrders) SetSecondaryClOrdID ¶ added in v0.2.0
func (*NoOrders) SetSecondaryOrderID ¶ added in v0.2.0
type NoUnderlyings ¶
type NoUnderlyings struct { //UnderlyingInstrument is a non-required component for NoUnderlyings. UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument }
NoUnderlyings is a repeating group in Confirmation
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.