Documentation ¶
Overview ¶
Package executionreport msg type = 8.
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) SetAvgPx(v float64)
- func (m *Message) SetClOrdID(v string)
- func (m *Message) SetClientID(v string)
- func (m *Message) SetCommType(v string)
- func (m *Message) SetCommission(v float64)
- func (m *Message) SetCumQty(v int)
- func (m *Message) SetCurrency(v string)
- func (m *Message) SetExecBroker(v string)
- func (m *Message) SetExecID(v int)
- func (m *Message) SetExecInst(v string)
- func (m *Message) SetExecRefID(v int)
- func (m *Message) SetExecTransType(v string)
- func (m *Message) SetExpireTime(v time.Time)
- func (m *Message) SetFutSettDate(v string)
- func (m *Message) SetIDSource(v string)
- func (m *Message) SetIssuer(v string)
- func (m *Message) SetLastCapacity(v string)
- func (m *Message) SetLastMkt(v string)
- func (m *Message) SetLastPx(v float64)
- func (m *Message) SetLastShares(v int)
- func (m *Message) SetListID(v string)
- func (m *Message) SetNetMoney(v float64)
- func (m *Message) SetNoMiscFees(v []NoMiscFees)
- func (m *Message) SetOrdRejReason(v int)
- func (m *Message) SetOrdStatus(v string)
- func (m *Message) SetOrdType(v string)
- func (m *Message) SetOrderID(v string)
- func (m *Message) SetOrderQty(v int)
- func (m *Message) SetPrice(v float64)
- func (m *Message) SetReportToExch(v string)
- func (m *Message) SetRule80A(v string)
- func (m *Message) SetSecurityDesc(v string)
- func (m *Message) SetSecurityID(v string)
- func (m *Message) SetSettlCurrAmt(v float64)
- func (m *Message) SetSettlCurrency(v string)
- func (m *Message) SetSettlmntTyp(v string)
- func (m *Message) SetSide(v string)
- func (m *Message) SetStopPx(v float64)
- func (m *Message) SetSymbol(v string)
- func (m *Message) SetSymbolSfx(v string)
- func (m *Message) SetText(v string)
- func (m *Message) SetTimeInForce(v string)
- func (m *Message) SetTradeDate(v string)
- func (m *Message) SetTransactTime(v time.Time)
- type NoMiscFees
- type RouteOut
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Message ¶
type Message struct { FIXMsgType string `fix:"8"` fix40.Header //OrderID is a required field for ExecutionReport. OrderID string `fix:"37"` //ClOrdID is a non-required field for ExecutionReport. ClOrdID *string `fix:"11"` //ClientID is a non-required field for ExecutionReport. ClientID *string `fix:"109"` //ExecBroker is a non-required field for ExecutionReport. ExecBroker *string `fix:"76"` //ListID is a non-required field for ExecutionReport. ListID *string `fix:"66"` //ExecID is a required field for ExecutionReport. ExecID int `fix:"17"` //ExecTransType is a required field for ExecutionReport. ExecTransType string `fix:"20"` //ExecRefID is a non-required field for ExecutionReport. ExecRefID *int `fix:"19"` //OrdStatus is a required field for ExecutionReport. OrdStatus string `fix:"39"` //OrdRejReason is a non-required field for ExecutionReport. OrdRejReason *int `fix:"103"` //Account is a non-required field for ExecutionReport. Account *string `fix:"1"` //SettlmntTyp is a non-required field for ExecutionReport. SettlmntTyp *string `fix:"63"` //FutSettDate is a non-required field for ExecutionReport. FutSettDate *string `fix:"64"` //Symbol is a required field for ExecutionReport. Symbol string `fix:"55"` //SymbolSfx is a non-required field for ExecutionReport. SymbolSfx *string `fix:"65"` //SecurityID is a non-required field for ExecutionReport. SecurityID *string `fix:"48"` //IDSource is a non-required field for ExecutionReport. IDSource *string `fix:"22"` //Issuer is a non-required field for ExecutionReport. Issuer *string `fix:"106"` //SecurityDesc is a non-required field for ExecutionReport. SecurityDesc *string `fix:"107"` //Side is a required field for ExecutionReport. Side string `fix:"54"` //OrderQty is a required field for ExecutionReport. OrderQty int `fix:"38"` //OrdType is a non-required field for ExecutionReport. OrdType *string `fix:"40"` //Price is a non-required field for ExecutionReport. Price *float64 `fix:"44"` //StopPx is a non-required field for ExecutionReport. StopPx *float64 `fix:"99"` //Currency is a non-required field for ExecutionReport. Currency *string `fix:"15"` //TimeInForce is a non-required field for ExecutionReport. TimeInForce *string `fix:"59"` //ExpireTime is a non-required field for ExecutionReport. ExpireTime *time.Time `fix:"126"` //ExecInst is a non-required field for ExecutionReport. ExecInst *string `fix:"18"` //Rule80A is a non-required field for ExecutionReport. Rule80A *string `fix:"47"` LastShares int `fix:"32"` //LastPx is a required field for ExecutionReport. LastPx float64 `fix:"31"` //LastMkt is a non-required field for ExecutionReport. LastMkt *string `fix:"30"` //LastCapacity is a non-required field for ExecutionReport. LastCapacity *string `fix:"29"` //CumQty is a required field for ExecutionReport. CumQty int `fix:"14"` //AvgPx is a required field for ExecutionReport. AvgPx float64 `fix:"6"` //TradeDate is a non-required field for ExecutionReport. TradeDate *string `fix:"75"` //TransactTime is a non-required field for ExecutionReport. TransactTime *time.Time `fix:"60"` //ReportToExch is a non-required field for ExecutionReport. ReportToExch *string `fix:"113"` //Commission is a non-required field for ExecutionReport. Commission *float64 `fix:"12"` //CommType is a non-required field for ExecutionReport. CommType *string `fix:"13"` //NoMiscFees is a non-required field for ExecutionReport. NoMiscFees []NoMiscFees `fix:"136,omitempty"` //NetMoney is a non-required field for ExecutionReport. NetMoney *float64 `fix:"118"` //SettlCurrAmt is a non-required field for ExecutionReport. SettlCurrAmt *float64 `fix:"119"` //SettlCurrency is a non-required field for ExecutionReport. SettlCurrency *string `fix:"120"` //Text is a non-required field for ExecutionReport. Text *string `fix:"58"` fix40.Trailer }
Message is a ExecutionReport FIX Message
func New ¶
func New(orderid string, execid int, exectranstype string, ordstatus string, symbol string, side string, orderqty int, lastshares int, lastpx float64, cumqty int, avgpx float64) *Message
New returns an initialized ExecutionReport instance
func (*Message) SetAccount ¶
func (*Message) SetClOrdID ¶
func (*Message) SetClientID ¶
func (*Message) SetCommType ¶
func (*Message) SetCommission ¶
func (*Message) SetCurrency ¶
func (*Message) SetExecBroker ¶
func (*Message) SetExecInst ¶
func (*Message) SetExecRefID ¶
func (*Message) SetExecTransType ¶
func (*Message) SetExpireTime ¶
func (*Message) SetFutSettDate ¶
func (*Message) SetIDSource ¶
func (*Message) SetLastCapacity ¶
func (*Message) SetLastMkt ¶
func (*Message) SetLastShares ¶
func (*Message) SetNetMoney ¶
func (*Message) SetNoMiscFees ¶
func (m *Message) SetNoMiscFees(v []NoMiscFees)
func (*Message) SetOrdRejReason ¶
func (*Message) SetOrdStatus ¶
func (*Message) SetOrdType ¶
func (*Message) SetOrderID ¶
func (*Message) SetOrderQty ¶
func (*Message) SetReportToExch ¶
func (*Message) SetRule80A ¶
func (*Message) SetSecurityDesc ¶
func (*Message) SetSecurityID ¶
func (*Message) SetSettlCurrAmt ¶
func (*Message) SetSettlCurrency ¶
func (*Message) SetSettlmntTyp ¶
func (*Message) SetSymbolSfx ¶
func (*Message) SetTimeInForce ¶
func (*Message) SetTradeDate ¶
func (*Message) SetTransactTime ¶
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"` }
NoMiscFees is a repeating group in ExecutionReport
func NewNoMiscFees ¶
func NewNoMiscFees() *NoMiscFees
NewNoMiscFees returns an initialized NoMiscFees instance
func (*NoMiscFees) SetMiscFeeAmt ¶
func (m *NoMiscFees) SetMiscFeeAmt(v float64)
func (*NoMiscFees) SetMiscFeeCurr ¶
func (m *NoMiscFees) SetMiscFeeCurr(v string)
func (*NoMiscFees) SetMiscFeeType ¶
func (m *NoMiscFees) SetMiscFeeType(v string)
Click to show internal directories.
Click to hide internal directories.