dontknowtrade

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2016 License: Apache-1.1 Imports: 5 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 DontKnowTrade added in v0.4.0

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

DontKnowTrade is the fix41 DontKnowTrade type, MsgType = Q

func FromMessage added in v0.4.0

func FromMessage(m quickfix.Message) DontKnowTrade

FromMessage creates a DontKnowTrade from a quickfix.Message instance

func New added in v0.2.0

func New(dkreason field.DKReasonField, symbol field.SymbolField, side field.SideField) (m DontKnowTrade)

New returns a DontKnowTrade initialized with the required fields for DontKnowTrade

func (DontKnowTrade) GetCashOrderQty added in v0.4.0

func (m DontKnowTrade) GetCashOrderQty() (f field.CashOrderQtyField, err quickfix.MessageRejectError)

GetCashOrderQty gets CashOrderQty, Tag 152

func (DontKnowTrade) GetDKReason added in v0.4.0

func (m DontKnowTrade) GetDKReason() (f field.DKReasonField, err quickfix.MessageRejectError)

GetDKReason gets DKReason, Tag 127

func (DontKnowTrade) GetExecID added in v0.4.0

GetExecID gets ExecID, Tag 17

func (DontKnowTrade) GetIDSource added in v0.4.0

func (m DontKnowTrade) GetIDSource() (f field.IDSourceField, err quickfix.MessageRejectError)

GetIDSource gets IDSource, Tag 22

func (DontKnowTrade) GetIssuer added in v0.4.0

GetIssuer gets Issuer, Tag 106

func (DontKnowTrade) GetLastPx added in v0.4.0

GetLastPx gets LastPx, Tag 31

func (DontKnowTrade) GetLastShares added in v0.4.0

func (m DontKnowTrade) GetLastShares() (f field.LastSharesField, err quickfix.MessageRejectError)

GetLastShares gets LastShares, Tag 32

func (DontKnowTrade) GetMaturityDay added in v0.4.0

func (m DontKnowTrade) GetMaturityDay() (f field.MaturityDayField, err quickfix.MessageRejectError)

GetMaturityDay gets MaturityDay, Tag 205

func (DontKnowTrade) GetMaturityMonthYear added in v0.4.0

func (m DontKnowTrade) GetMaturityMonthYear() (f field.MaturityMonthYearField, err quickfix.MessageRejectError)

GetMaturityMonthYear gets MaturityMonthYear, Tag 200

func (DontKnowTrade) GetOptAttribute added in v0.4.0

func (m DontKnowTrade) GetOptAttribute() (f field.OptAttributeField, err quickfix.MessageRejectError)

GetOptAttribute gets OptAttribute, Tag 206

func (DontKnowTrade) GetOrderID added in v0.4.0

GetOrderID gets OrderID, Tag 37

func (DontKnowTrade) GetOrderQty added in v0.4.0

func (m DontKnowTrade) GetOrderQty() (f field.OrderQtyField, err quickfix.MessageRejectError)

GetOrderQty gets OrderQty, Tag 38

func (DontKnowTrade) GetPutOrCall added in v0.4.0

func (m DontKnowTrade) GetPutOrCall() (f field.PutOrCallField, err quickfix.MessageRejectError)

GetPutOrCall gets PutOrCall, Tag 201

func (DontKnowTrade) GetSecurityDesc added in v0.4.0

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

GetSecurityDesc gets SecurityDesc, Tag 107

func (DontKnowTrade) GetSecurityExchange added in v0.4.0

func (m DontKnowTrade) GetSecurityExchange() (f field.SecurityExchangeField, err quickfix.MessageRejectError)

GetSecurityExchange gets SecurityExchange, Tag 207

func (DontKnowTrade) GetSecurityID added in v0.4.0

func (m DontKnowTrade) GetSecurityID() (f field.SecurityIDField, err quickfix.MessageRejectError)

GetSecurityID gets SecurityID, Tag 48

func (DontKnowTrade) GetSecurityType added in v0.4.0

func (m DontKnowTrade) GetSecurityType() (f field.SecurityTypeField, err quickfix.MessageRejectError)

GetSecurityType gets SecurityType, Tag 167

func (DontKnowTrade) GetSide added in v0.4.0

GetSide gets Side, Tag 54

func (DontKnowTrade) GetStrikePrice added in v0.4.0

func (m DontKnowTrade) GetStrikePrice() (f field.StrikePriceField, err quickfix.MessageRejectError)

GetStrikePrice gets StrikePrice, Tag 202

func (DontKnowTrade) GetSymbol added in v0.4.0

GetSymbol gets Symbol, Tag 55

func (DontKnowTrade) GetSymbolSfx added in v0.4.0

func (m DontKnowTrade) GetSymbolSfx() (f field.SymbolSfxField, err quickfix.MessageRejectError)

GetSymbolSfx gets SymbolSfx, Tag 65

func (DontKnowTrade) GetText added in v0.4.0

GetText gets Text, Tag 58

func (DontKnowTrade) HasCashOrderQty added in v0.4.0

func (m DontKnowTrade) HasCashOrderQty() bool

HasCashOrderQty returns true if CashOrderQty is present, Tag 152

func (DontKnowTrade) HasDKReason added in v0.4.0

func (m DontKnowTrade) HasDKReason() bool

HasDKReason returns true if DKReason is present, Tag 127

func (DontKnowTrade) HasExecID added in v0.4.0

func (m DontKnowTrade) HasExecID() bool

HasExecID returns true if ExecID is present, Tag 17

func (DontKnowTrade) HasIDSource added in v0.4.0

func (m DontKnowTrade) HasIDSource() bool

HasIDSource returns true if IDSource is present, Tag 22

func (DontKnowTrade) HasIssuer added in v0.4.0

func (m DontKnowTrade) HasIssuer() bool

HasIssuer returns true if Issuer is present, Tag 106

func (DontKnowTrade) HasLastPx added in v0.4.0

func (m DontKnowTrade) HasLastPx() bool

HasLastPx returns true if LastPx is present, Tag 31

func (DontKnowTrade) HasLastShares added in v0.4.0

func (m DontKnowTrade) HasLastShares() bool

HasLastShares returns true if LastShares is present, Tag 32

func (DontKnowTrade) HasMaturityDay added in v0.4.0

func (m DontKnowTrade) HasMaturityDay() bool

HasMaturityDay returns true if MaturityDay is present, Tag 205

func (DontKnowTrade) HasMaturityMonthYear added in v0.4.0

func (m DontKnowTrade) HasMaturityMonthYear() bool

HasMaturityMonthYear returns true if MaturityMonthYear is present, Tag 200

func (DontKnowTrade) HasOptAttribute added in v0.4.0

func (m DontKnowTrade) HasOptAttribute() bool

HasOptAttribute returns true if OptAttribute is present, Tag 206

func (DontKnowTrade) HasOrderID added in v0.4.0

func (m DontKnowTrade) HasOrderID() bool

HasOrderID returns true if OrderID is present, Tag 37

func (DontKnowTrade) HasOrderQty added in v0.4.0

func (m DontKnowTrade) HasOrderQty() bool

HasOrderQty returns true if OrderQty is present, Tag 38

func (DontKnowTrade) HasPutOrCall added in v0.4.0

func (m DontKnowTrade) HasPutOrCall() bool

HasPutOrCall returns true if PutOrCall is present, Tag 201

func (DontKnowTrade) HasSecurityDesc added in v0.4.0

func (m DontKnowTrade) HasSecurityDesc() bool

HasSecurityDesc returns true if SecurityDesc is present, Tag 107

func (DontKnowTrade) HasSecurityExchange added in v0.4.0

func (m DontKnowTrade) HasSecurityExchange() bool

HasSecurityExchange returns true if SecurityExchange is present, Tag 207

func (DontKnowTrade) HasSecurityID added in v0.4.0

func (m DontKnowTrade) HasSecurityID() bool

HasSecurityID returns true if SecurityID is present, Tag 48

func (DontKnowTrade) HasSecurityType added in v0.4.0

func (m DontKnowTrade) HasSecurityType() bool

HasSecurityType returns true if SecurityType is present, Tag 167

func (DontKnowTrade) HasSide added in v0.4.0

func (m DontKnowTrade) HasSide() bool

HasSide returns true if Side is present, Tag 54

func (DontKnowTrade) HasStrikePrice added in v0.4.0

func (m DontKnowTrade) HasStrikePrice() bool

HasStrikePrice returns true if StrikePrice is present, Tag 202

func (DontKnowTrade) HasSymbol added in v0.4.0

func (m DontKnowTrade) HasSymbol() bool

HasSymbol returns true if Symbol is present, Tag 55

func (DontKnowTrade) HasSymbolSfx added in v0.4.0

func (m DontKnowTrade) HasSymbolSfx() bool

HasSymbolSfx returns true if SymbolSfx is present, Tag 65

func (DontKnowTrade) HasText added in v0.4.0

func (m DontKnowTrade) HasText() bool

HasText returns true if Text is present, Tag 58

func (DontKnowTrade) SetCashOrderQty added in v0.4.0

func (m DontKnowTrade) SetCashOrderQty(v float64)

SetCashOrderQty sets CashOrderQty, Tag 152

func (DontKnowTrade) SetDKReason added in v0.4.0

func (m DontKnowTrade) SetDKReason(v string)

SetDKReason sets DKReason, Tag 127

func (DontKnowTrade) SetExecID added in v0.4.0

func (m DontKnowTrade) SetExecID(v string)

SetExecID sets ExecID, Tag 17

func (DontKnowTrade) SetIDSource added in v0.4.0

func (m DontKnowTrade) SetIDSource(v string)

SetIDSource sets IDSource, Tag 22

func (DontKnowTrade) SetIssuer added in v0.4.0

func (m DontKnowTrade) SetIssuer(v string)

SetIssuer sets Issuer, Tag 106

func (DontKnowTrade) SetLastPx added in v0.4.0

func (m DontKnowTrade) SetLastPx(v float64)

SetLastPx sets LastPx, Tag 31

func (DontKnowTrade) SetLastShares added in v0.4.0

func (m DontKnowTrade) SetLastShares(v float64)

SetLastShares sets LastShares, Tag 32

func (DontKnowTrade) SetMaturityDay added in v0.4.0

func (m DontKnowTrade) SetMaturityDay(v int)

SetMaturityDay sets MaturityDay, Tag 205

func (DontKnowTrade) SetMaturityMonthYear added in v0.4.0

func (m DontKnowTrade) SetMaturityMonthYear(v string)

SetMaturityMonthYear sets MaturityMonthYear, Tag 200

func (DontKnowTrade) SetOptAttribute added in v0.4.0

func (m DontKnowTrade) SetOptAttribute(v string)

SetOptAttribute sets OptAttribute, Tag 206

func (DontKnowTrade) SetOrderID added in v0.4.0

func (m DontKnowTrade) SetOrderID(v string)

SetOrderID sets OrderID, Tag 37

func (DontKnowTrade) SetOrderQty added in v0.4.0

func (m DontKnowTrade) SetOrderQty(v float64)

SetOrderQty sets OrderQty, Tag 38

func (DontKnowTrade) SetPutOrCall added in v0.4.0

func (m DontKnowTrade) SetPutOrCall(v int)

SetPutOrCall sets PutOrCall, Tag 201

func (DontKnowTrade) SetSecurityDesc added in v0.4.0

func (m DontKnowTrade) SetSecurityDesc(v string)

SetSecurityDesc sets SecurityDesc, Tag 107

func (DontKnowTrade) SetSecurityExchange added in v0.4.0

func (m DontKnowTrade) SetSecurityExchange(v string)

SetSecurityExchange sets SecurityExchange, Tag 207

func (DontKnowTrade) SetSecurityID added in v0.4.0

func (m DontKnowTrade) SetSecurityID(v string)

SetSecurityID sets SecurityID, Tag 48

func (DontKnowTrade) SetSecurityType added in v0.4.0

func (m DontKnowTrade) SetSecurityType(v string)

SetSecurityType sets SecurityType, Tag 167

func (DontKnowTrade) SetSide added in v0.4.0

func (m DontKnowTrade) SetSide(v string)

SetSide sets Side, Tag 54

func (DontKnowTrade) SetStrikePrice added in v0.4.0

func (m DontKnowTrade) SetStrikePrice(v float64)

SetStrikePrice sets StrikePrice, Tag 202

func (DontKnowTrade) SetSymbol added in v0.4.0

func (m DontKnowTrade) SetSymbol(v string)

SetSymbol sets Symbol, Tag 55

func (DontKnowTrade) SetSymbolSfx added in v0.4.0

func (m DontKnowTrade) SetSymbolSfx(v string)

SetSymbolSfx sets SymbolSfx, Tag 65

func (DontKnowTrade) SetText added in v0.4.0

func (m DontKnowTrade) SetText(v string)

SetText sets Text, Tag 58

func (DontKnowTrade) ToMessage added in v0.4.0

func (m DontKnowTrade) ToMessage() quickfix.Message

ToMessage returns a quickfix.Message instance

type RouteOut

type RouteOut func(msg DontKnowTrade, 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