executionreport

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2016 License: Apache-1.1 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Route

func Route(router RouteOut) (string, string, quickfix.MessageRoute)

Route returns the beginstring, message type, and MessageRoute for this Message type

Types

type ExecutionReport

type ExecutionReport struct {
	fix40.Header
	quickfix.Body
	fix40.Trailer
	//ReceiveTime is the time that this message was read from the socket connection
	ReceiveTime time.Time
}

ExecutionReport is the fix40 ExecutionReport type, MsgType = 8

func FromMessage

func FromMessage(m quickfix.Message) ExecutionReport

FromMessage creates a ExecutionReport from a quickfix.Message instance

func New

func New(orderid field.OrderIDField, execid field.ExecIDField, exectranstype field.ExecTransTypeField, ordstatus field.OrdStatusField, symbol field.SymbolField, side field.SideField, orderqty field.OrderQtyField, lastshares field.LastSharesField, lastpx field.LastPxField, cumqty field.CumQtyField, avgpx field.AvgPxField) (m ExecutionReport)

New returns a ExecutionReport initialized with the required fields for ExecutionReport

func (ExecutionReport) GetAccount

GetAccount gets Account, Tag 1

func (ExecutionReport) GetAvgPx

GetAvgPx gets AvgPx, Tag 6

func (ExecutionReport) GetClOrdID

GetClOrdID gets ClOrdID, Tag 11

func (ExecutionReport) GetClientID

GetClientID gets ClientID, Tag 109

func (ExecutionReport) GetCommType

GetCommType gets CommType, Tag 13

func (ExecutionReport) GetCommission

GetCommission gets Commission, Tag 12

func (ExecutionReport) GetCumQty

GetCumQty gets CumQty, Tag 14

func (ExecutionReport) GetCurrency

GetCurrency gets Currency, Tag 15

func (ExecutionReport) GetExecBroker

GetExecBroker gets ExecBroker, Tag 76

func (ExecutionReport) GetExecID

GetExecID gets ExecID, Tag 17

func (ExecutionReport) GetExecInst

GetExecInst gets ExecInst, Tag 18

func (ExecutionReport) GetExecRefID

GetExecRefID gets ExecRefID, Tag 19

func (ExecutionReport) GetExecTransType

func (m ExecutionReport) GetExecTransType() (f field.ExecTransTypeField, err quickfix.MessageRejectError)

GetExecTransType gets ExecTransType, Tag 20

func (ExecutionReport) GetExpireTime

GetExpireTime gets ExpireTime, Tag 126

func (ExecutionReport) GetFutSettDate

GetFutSettDate gets FutSettDate, Tag 64

func (ExecutionReport) GetIDSource

GetIDSource gets IDSource, Tag 22

func (ExecutionReport) GetIssuer

GetIssuer gets Issuer, Tag 106

func (ExecutionReport) GetLastCapacity

func (m ExecutionReport) GetLastCapacity() (f field.LastCapacityField, err quickfix.MessageRejectError)

GetLastCapacity gets LastCapacity, Tag 29

func (ExecutionReport) GetLastMkt

GetLastMkt gets LastMkt, Tag 30

func (ExecutionReport) GetLastPx

GetLastPx gets LastPx, Tag 31

func (ExecutionReport) GetLastShares

GetLastShares gets LastShares, Tag 32

func (ExecutionReport) GetListID

GetListID gets ListID, Tag 66

func (ExecutionReport) GetNetMoney

GetNetMoney gets NetMoney, Tag 118

func (ExecutionReport) GetNoMiscFees

GetNoMiscFees gets NoMiscFees, Tag 136

func (ExecutionReport) GetOrdRejReason

func (m ExecutionReport) GetOrdRejReason() (f field.OrdRejReasonField, err quickfix.MessageRejectError)

GetOrdRejReason gets OrdRejReason, Tag 103

func (ExecutionReport) GetOrdStatus

GetOrdStatus gets OrdStatus, Tag 39

func (ExecutionReport) GetOrdType

GetOrdType gets OrdType, Tag 40

func (ExecutionReport) GetOrderID

GetOrderID gets OrderID, Tag 37

func (ExecutionReport) GetOrderQty

GetOrderQty gets OrderQty, Tag 38

func (ExecutionReport) GetPrice

GetPrice gets Price, Tag 44

func (ExecutionReport) GetReportToExch

func (m ExecutionReport) GetReportToExch() (f field.ReportToExchField, err quickfix.MessageRejectError)

GetReportToExch gets ReportToExch, Tag 113

func (ExecutionReport) GetRule80A

GetRule80A gets Rule80A, Tag 47

func (ExecutionReport) GetSecurityDesc

func (m ExecutionReport) GetSecurityDesc() (f field.SecurityDescField, err quickfix.MessageRejectError)

GetSecurityDesc gets SecurityDesc, Tag 107

func (ExecutionReport) GetSecurityID

GetSecurityID gets SecurityID, Tag 48

func (ExecutionReport) GetSettlCurrAmt

func (m ExecutionReport) GetSettlCurrAmt() (f field.SettlCurrAmtField, err quickfix.MessageRejectError)

GetSettlCurrAmt gets SettlCurrAmt, Tag 119

func (ExecutionReport) GetSettlCurrency

func (m ExecutionReport) GetSettlCurrency() (f field.SettlCurrencyField, err quickfix.MessageRejectError)

GetSettlCurrency gets SettlCurrency, Tag 120

func (ExecutionReport) GetSettlmntTyp

GetSettlmntTyp gets SettlmntTyp, Tag 63

func (ExecutionReport) GetSide

GetSide gets Side, Tag 54

func (ExecutionReport) GetStopPx

GetStopPx gets StopPx, Tag 99

func (ExecutionReport) GetSymbol

GetSymbol gets Symbol, Tag 55

func (ExecutionReport) GetSymbolSfx

GetSymbolSfx gets SymbolSfx, Tag 65

func (ExecutionReport) GetText

GetText gets Text, Tag 58

func (ExecutionReport) GetTimeInForce

GetTimeInForce gets TimeInForce, Tag 59

func (ExecutionReport) GetTradeDate

GetTradeDate gets TradeDate, Tag 75

func (ExecutionReport) GetTransactTime

func (m ExecutionReport) GetTransactTime() (f field.TransactTimeField, err quickfix.MessageRejectError)

GetTransactTime gets TransactTime, Tag 60

func (ExecutionReport) HasAccount

func (m ExecutionReport) HasAccount() bool

HasAccount returns true if Account is present, Tag 1

func (ExecutionReport) HasAvgPx

func (m ExecutionReport) HasAvgPx() bool

HasAvgPx returns true if AvgPx is present, Tag 6

func (ExecutionReport) HasClOrdID

func (m ExecutionReport) HasClOrdID() bool

HasClOrdID returns true if ClOrdID is present, Tag 11

func (ExecutionReport) HasClientID

func (m ExecutionReport) HasClientID() bool

HasClientID returns true if ClientID is present, Tag 109

func (ExecutionReport) HasCommType

func (m ExecutionReport) HasCommType() bool

HasCommType returns true if CommType is present, Tag 13

func (ExecutionReport) HasCommission

func (m ExecutionReport) HasCommission() bool

HasCommission returns true if Commission is present, Tag 12

func (ExecutionReport) HasCumQty

func (m ExecutionReport) HasCumQty() bool

HasCumQty returns true if CumQty is present, Tag 14

func (ExecutionReport) HasCurrency

func (m ExecutionReport) HasCurrency() bool

HasCurrency returns true if Currency is present, Tag 15

func (ExecutionReport) HasExecBroker

func (m ExecutionReport) HasExecBroker() bool

HasExecBroker returns true if ExecBroker is present, Tag 76

func (ExecutionReport) HasExecID

func (m ExecutionReport) HasExecID() bool

HasExecID returns true if ExecID is present, Tag 17

func (ExecutionReport) HasExecInst

func (m ExecutionReport) HasExecInst() bool

HasExecInst returns true if ExecInst is present, Tag 18

func (ExecutionReport) HasExecRefID

func (m ExecutionReport) HasExecRefID() bool

HasExecRefID returns true if ExecRefID is present, Tag 19

func (ExecutionReport) HasExecTransType

func (m ExecutionReport) HasExecTransType() bool

HasExecTransType returns true if ExecTransType is present, Tag 20

func (ExecutionReport) HasExpireTime

func (m ExecutionReport) HasExpireTime() bool

HasExpireTime returns true if ExpireTime is present, Tag 126

func (ExecutionReport) HasFutSettDate

func (m ExecutionReport) HasFutSettDate() bool

HasFutSettDate returns true if FutSettDate is present, Tag 64

func (ExecutionReport) HasIDSource

func (m ExecutionReport) HasIDSource() bool

HasIDSource returns true if IDSource is present, Tag 22

func (ExecutionReport) HasIssuer

func (m ExecutionReport) HasIssuer() bool

HasIssuer returns true if Issuer is present, Tag 106

func (ExecutionReport) HasLastCapacity

func (m ExecutionReport) HasLastCapacity() bool

HasLastCapacity returns true if LastCapacity is present, Tag 29

func (ExecutionReport) HasLastMkt

func (m ExecutionReport) HasLastMkt() bool

HasLastMkt returns true if LastMkt is present, Tag 30

func (ExecutionReport) HasLastPx

func (m ExecutionReport) HasLastPx() bool

HasLastPx returns true if LastPx is present, Tag 31

func (ExecutionReport) HasLastShares

func (m ExecutionReport) HasLastShares() bool

HasLastShares returns true if LastShares is present, Tag 32

func (ExecutionReport) HasListID

func (m ExecutionReport) HasListID() bool

HasListID returns true if ListID is present, Tag 66

func (ExecutionReport) HasNetMoney

func (m ExecutionReport) HasNetMoney() bool

HasNetMoney returns true if NetMoney is present, Tag 118

func (ExecutionReport) HasNoMiscFees

func (m ExecutionReport) HasNoMiscFees() bool

HasNoMiscFees returns true if NoMiscFees is present, Tag 136

func (ExecutionReport) HasOrdRejReason

func (m ExecutionReport) HasOrdRejReason() bool

HasOrdRejReason returns true if OrdRejReason is present, Tag 103

func (ExecutionReport) HasOrdStatus

func (m ExecutionReport) HasOrdStatus() bool

HasOrdStatus returns true if OrdStatus is present, Tag 39

func (ExecutionReport) HasOrdType

func (m ExecutionReport) HasOrdType() bool

HasOrdType returns true if OrdType is present, Tag 40

func (ExecutionReport) HasOrderID

func (m ExecutionReport) HasOrderID() bool

HasOrderID returns true if OrderID is present, Tag 37

func (ExecutionReport) HasOrderQty

func (m ExecutionReport) HasOrderQty() bool

HasOrderQty returns true if OrderQty is present, Tag 38

func (ExecutionReport) HasPrice

func (m ExecutionReport) HasPrice() bool

HasPrice returns true if Price is present, Tag 44

func (ExecutionReport) HasReportToExch

func (m ExecutionReport) HasReportToExch() bool

HasReportToExch returns true if ReportToExch is present, Tag 113

func (ExecutionReport) HasRule80A

func (m ExecutionReport) HasRule80A() bool

HasRule80A returns true if Rule80A is present, Tag 47

func (ExecutionReport) HasSecurityDesc

func (m ExecutionReport) HasSecurityDesc() bool

HasSecurityDesc returns true if SecurityDesc is present, Tag 107

func (ExecutionReport) HasSecurityID

func (m ExecutionReport) HasSecurityID() bool

HasSecurityID returns true if SecurityID is present, Tag 48

func (ExecutionReport) HasSettlCurrAmt

func (m ExecutionReport) HasSettlCurrAmt() bool

HasSettlCurrAmt returns true if SettlCurrAmt is present, Tag 119

func (ExecutionReport) HasSettlCurrency

func (m ExecutionReport) HasSettlCurrency() bool

HasSettlCurrency returns true if SettlCurrency is present, Tag 120

func (ExecutionReport) HasSettlmntTyp

func (m ExecutionReport) HasSettlmntTyp() bool

HasSettlmntTyp returns true if SettlmntTyp is present, Tag 63

func (ExecutionReport) HasSide

func (m ExecutionReport) HasSide() bool

HasSide returns true if Side is present, Tag 54

func (ExecutionReport) HasStopPx

func (m ExecutionReport) HasStopPx() bool

HasStopPx returns true if StopPx is present, Tag 99

func (ExecutionReport) HasSymbol

func (m ExecutionReport) HasSymbol() bool

HasSymbol returns true if Symbol is present, Tag 55

func (ExecutionReport) HasSymbolSfx

func (m ExecutionReport) HasSymbolSfx() bool

HasSymbolSfx returns true if SymbolSfx is present, Tag 65

func (ExecutionReport) HasText

func (m ExecutionReport) HasText() bool

HasText returns true if Text is present, Tag 58

func (ExecutionReport) HasTimeInForce

func (m ExecutionReport) HasTimeInForce() bool

HasTimeInForce returns true if TimeInForce is present, Tag 59

func (ExecutionReport) HasTradeDate

func (m ExecutionReport) HasTradeDate() bool

HasTradeDate returns true if TradeDate is present, Tag 75

func (ExecutionReport) HasTransactTime

func (m ExecutionReport) HasTransactTime() bool

HasTransactTime returns true if TransactTime is present, Tag 60

func (ExecutionReport) SetAccount

func (m ExecutionReport) SetAccount(v string)

SetAccount sets Account, Tag 1

func (ExecutionReport) SetAvgPx

func (m ExecutionReport) SetAvgPx(value decimal.Decimal, scale int32)

SetAvgPx sets AvgPx, Tag 6

func (ExecutionReport) SetClOrdID

func (m ExecutionReport) SetClOrdID(v string)

SetClOrdID sets ClOrdID, Tag 11

func (ExecutionReport) SetClientID

func (m ExecutionReport) SetClientID(v string)

SetClientID sets ClientID, Tag 109

func (ExecutionReport) SetCommType

func (m ExecutionReport) SetCommType(v string)

SetCommType sets CommType, Tag 13

func (ExecutionReport) SetCommission

func (m ExecutionReport) SetCommission(value decimal.Decimal, scale int32)

SetCommission sets Commission, Tag 12

func (ExecutionReport) SetCumQty

func (m ExecutionReport) SetCumQty(value decimal.Decimal, scale int32)

SetCumQty sets CumQty, Tag 14

func (ExecutionReport) SetCurrency

func (m ExecutionReport) SetCurrency(v string)

SetCurrency sets Currency, Tag 15

func (ExecutionReport) SetExecBroker

func (m ExecutionReport) SetExecBroker(v string)

SetExecBroker sets ExecBroker, Tag 76

func (ExecutionReport) SetExecID

func (m ExecutionReport) SetExecID(v string)

SetExecID sets ExecID, Tag 17

func (ExecutionReport) SetExecInst

func (m ExecutionReport) SetExecInst(v string)

SetExecInst sets ExecInst, Tag 18

func (ExecutionReport) SetExecRefID

func (m ExecutionReport) SetExecRefID(v string)

SetExecRefID sets ExecRefID, Tag 19

func (ExecutionReport) SetExecTransType

func (m ExecutionReport) SetExecTransType(v string)

SetExecTransType sets ExecTransType, Tag 20

func (ExecutionReport) SetExpireTime

func (m ExecutionReport) SetExpireTime(v time.Time)

SetExpireTime sets ExpireTime, Tag 126

func (ExecutionReport) SetFutSettDate

func (m ExecutionReport) SetFutSettDate(v string)

SetFutSettDate sets FutSettDate, Tag 64

func (ExecutionReport) SetIDSource

func (m ExecutionReport) SetIDSource(v string)

SetIDSource sets IDSource, Tag 22

func (ExecutionReport) SetIssuer

func (m ExecutionReport) SetIssuer(v string)

SetIssuer sets Issuer, Tag 106

func (ExecutionReport) SetLastCapacity

func (m ExecutionReport) SetLastCapacity(v string)

SetLastCapacity sets LastCapacity, Tag 29

func (ExecutionReport) SetLastMkt

func (m ExecutionReport) SetLastMkt(v string)

SetLastMkt sets LastMkt, Tag 30

func (ExecutionReport) SetLastPx

func (m ExecutionReport) SetLastPx(value decimal.Decimal, scale int32)

SetLastPx sets LastPx, Tag 31

func (ExecutionReport) SetLastShares

func (m ExecutionReport) SetLastShares(value decimal.Decimal, scale int32)

SetLastShares sets LastShares, Tag 32

func (ExecutionReport) SetListID

func (m ExecutionReport) SetListID(v string)

SetListID sets ListID, Tag 66

func (ExecutionReport) SetNetMoney

func (m ExecutionReport) SetNetMoney(value decimal.Decimal, scale int32)

SetNetMoney sets NetMoney, Tag 118

func (ExecutionReport) SetNoMiscFees

func (m ExecutionReport) SetNoMiscFees(f NoMiscFeesRepeatingGroup)

SetNoMiscFees sets NoMiscFees, Tag 136

func (ExecutionReport) SetOrdRejReason

func (m ExecutionReport) SetOrdRejReason(v int)

SetOrdRejReason sets OrdRejReason, Tag 103

func (ExecutionReport) SetOrdStatus

func (m ExecutionReport) SetOrdStatus(v string)

SetOrdStatus sets OrdStatus, Tag 39

func (ExecutionReport) SetOrdType

func (m ExecutionReport) SetOrdType(v string)

SetOrdType sets OrdType, Tag 40

func (ExecutionReport) SetOrderID

func (m ExecutionReport) SetOrderID(v string)

SetOrderID sets OrderID, Tag 37

func (ExecutionReport) SetOrderQty

func (m ExecutionReport) SetOrderQty(value decimal.Decimal, scale int32)

SetOrderQty sets OrderQty, Tag 38

func (ExecutionReport) SetPrice

func (m ExecutionReport) SetPrice(value decimal.Decimal, scale int32)

SetPrice sets Price, Tag 44

func (ExecutionReport) SetReportToExch

func (m ExecutionReport) SetReportToExch(v bool)

SetReportToExch sets ReportToExch, Tag 113

func (ExecutionReport) SetRule80A

func (m ExecutionReport) SetRule80A(v string)

SetRule80A sets Rule80A, Tag 47

func (ExecutionReport) SetSecurityDesc

func (m ExecutionReport) SetSecurityDesc(v string)

SetSecurityDesc sets SecurityDesc, Tag 107

func (ExecutionReport) SetSecurityID

func (m ExecutionReport) SetSecurityID(v string)

SetSecurityID sets SecurityID, Tag 48

func (ExecutionReport) SetSettlCurrAmt

func (m ExecutionReport) SetSettlCurrAmt(value decimal.Decimal, scale int32)

SetSettlCurrAmt sets SettlCurrAmt, Tag 119

func (ExecutionReport) SetSettlCurrency

func (m ExecutionReport) SetSettlCurrency(v string)

SetSettlCurrency sets SettlCurrency, Tag 120

func (ExecutionReport) SetSettlmntTyp

func (m ExecutionReport) SetSettlmntTyp(v string)

SetSettlmntTyp sets SettlmntTyp, Tag 63

func (ExecutionReport) SetSide

func (m ExecutionReport) SetSide(v string)

SetSide sets Side, Tag 54

func (ExecutionReport) SetStopPx

func (m ExecutionReport) SetStopPx(value decimal.Decimal, scale int32)

SetStopPx sets StopPx, Tag 99

func (ExecutionReport) SetSymbol

func (m ExecutionReport) SetSymbol(v string)

SetSymbol sets Symbol, Tag 55

func (ExecutionReport) SetSymbolSfx

func (m ExecutionReport) SetSymbolSfx(v string)

SetSymbolSfx sets SymbolSfx, Tag 65

func (ExecutionReport) SetText

func (m ExecutionReport) SetText(v string)

SetText sets Text, Tag 58

func (ExecutionReport) SetTimeInForce

func (m ExecutionReport) SetTimeInForce(v string)

SetTimeInForce sets TimeInForce, Tag 59

func (ExecutionReport) SetTradeDate

func (m ExecutionReport) SetTradeDate(v string)

SetTradeDate sets TradeDate, Tag 75

func (ExecutionReport) SetTransactTime

func (m ExecutionReport) SetTransactTime(v time.Time)

SetTransactTime sets TransactTime, Tag 60

func (ExecutionReport) ToMessage

func (m ExecutionReport) ToMessage() quickfix.Message

ToMessage returns a quickfix.Message instance

type NoMiscFees

type NoMiscFees struct {
	quickfix.Group
}

NoMiscFees is a repeating group element, Tag 136

func (NoMiscFees) GetMiscFeeAmt

func (m NoMiscFees) GetMiscFeeAmt() (f field.MiscFeeAmtField, err quickfix.MessageRejectError)

GetMiscFeeAmt gets MiscFeeAmt, Tag 137

func (NoMiscFees) GetMiscFeeCurr

func (m NoMiscFees) GetMiscFeeCurr() (f field.MiscFeeCurrField, err quickfix.MessageRejectError)

GetMiscFeeCurr gets MiscFeeCurr, Tag 138

func (NoMiscFees) GetMiscFeeType

func (m NoMiscFees) GetMiscFeeType() (f field.MiscFeeTypeField, err quickfix.MessageRejectError)

GetMiscFeeType gets MiscFeeType, Tag 139

func (NoMiscFees) HasMiscFeeAmt

func (m NoMiscFees) HasMiscFeeAmt() bool

HasMiscFeeAmt returns true if MiscFeeAmt is present, Tag 137

func (NoMiscFees) HasMiscFeeCurr

func (m NoMiscFees) HasMiscFeeCurr() bool

HasMiscFeeCurr returns true if MiscFeeCurr is present, Tag 138

func (NoMiscFees) HasMiscFeeType

func (m NoMiscFees) HasMiscFeeType() bool

HasMiscFeeType returns true if MiscFeeType is present, Tag 139

func (NoMiscFees) SetMiscFeeAmt

func (m NoMiscFees) SetMiscFeeAmt(value decimal.Decimal, scale int32)

SetMiscFeeAmt sets MiscFeeAmt, Tag 137

func (NoMiscFees) SetMiscFeeCurr

func (m NoMiscFees) SetMiscFeeCurr(v string)

SetMiscFeeCurr sets MiscFeeCurr, Tag 138

func (NoMiscFees) SetMiscFeeType

func (m NoMiscFees) SetMiscFeeType(v string)

SetMiscFeeType sets MiscFeeType, Tag 139

type NoMiscFeesRepeatingGroup

type NoMiscFeesRepeatingGroup struct {
	*quickfix.RepeatingGroup
}

NoMiscFeesRepeatingGroup is a repeating group, Tag 136

func NewNoMiscFeesRepeatingGroup

func NewNoMiscFeesRepeatingGroup() NoMiscFeesRepeatingGroup

NewNoMiscFeesRepeatingGroup returns an initialized, NoMiscFeesRepeatingGroup

func (NoMiscFeesRepeatingGroup) Add

Add create and append a new NoMiscFees to this group

func (NoMiscFeesRepeatingGroup) Get

Get returns the ith NoMiscFees in the NoMiscFeesRepeatinGroup

type RouteOut

type RouteOut func(msg ExecutionReport, sessionID quickfix.SessionID) quickfix.MessageRejectError

A RouteOut is the callback type that should be implemented for routing Message

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL