dontknowtrade

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2017 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 DontKnowTrade added in v0.4.0

type DontKnowTrade struct {
	fix42.Header
	*quickfix.Body
	fix42.Trailer
	Message *quickfix.Message
}

DontKnowTrade is the fix42 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(orderid field.OrderIDField, execid field.ExecIDField, 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() (v decimal.Decimal, err quickfix.MessageRejectError)

GetCashOrderQty gets CashOrderQty, Tag 152

func (DontKnowTrade) GetContractMultiplier added in v0.4.0

func (m DontKnowTrade) GetContractMultiplier() (v decimal.Decimal, err quickfix.MessageRejectError)

GetContractMultiplier gets ContractMultiplier, Tag 231

func (DontKnowTrade) GetCouponRate added in v0.4.0

func (m DontKnowTrade) GetCouponRate() (v decimal.Decimal, err quickfix.MessageRejectError)

GetCouponRate gets CouponRate, Tag 223

func (DontKnowTrade) GetDKReason added in v0.4.0

func (m DontKnowTrade) GetDKReason() (v enum.DKReason, err quickfix.MessageRejectError)

GetDKReason gets DKReason, Tag 127

func (DontKnowTrade) GetEncodedIssuer added in v0.4.0

func (m DontKnowTrade) GetEncodedIssuer() (v string, err quickfix.MessageRejectError)

GetEncodedIssuer gets EncodedIssuer, Tag 349

func (DontKnowTrade) GetEncodedIssuerLen added in v0.4.0

func (m DontKnowTrade) GetEncodedIssuerLen() (v int, err quickfix.MessageRejectError)

GetEncodedIssuerLen gets EncodedIssuerLen, Tag 348

func (DontKnowTrade) GetEncodedSecurityDesc added in v0.4.0

func (m DontKnowTrade) GetEncodedSecurityDesc() (v string, err quickfix.MessageRejectError)

GetEncodedSecurityDesc gets EncodedSecurityDesc, Tag 351

func (DontKnowTrade) GetEncodedSecurityDescLen added in v0.4.0

func (m DontKnowTrade) GetEncodedSecurityDescLen() (v int, err quickfix.MessageRejectError)

GetEncodedSecurityDescLen gets EncodedSecurityDescLen, Tag 350

func (DontKnowTrade) GetEncodedText added in v0.4.0

func (m DontKnowTrade) GetEncodedText() (v string, err quickfix.MessageRejectError)

GetEncodedText gets EncodedText, Tag 355

func (DontKnowTrade) GetEncodedTextLen added in v0.4.0

func (m DontKnowTrade) GetEncodedTextLen() (v int, err quickfix.MessageRejectError)

GetEncodedTextLen gets EncodedTextLen, Tag 354

func (DontKnowTrade) GetExecID added in v0.4.0

func (m DontKnowTrade) GetExecID() (v string, err quickfix.MessageRejectError)

GetExecID gets ExecID, Tag 17

func (DontKnowTrade) GetIDSource added in v0.4.0

func (m DontKnowTrade) GetIDSource() (v enum.IDSource, err quickfix.MessageRejectError)

GetIDSource gets IDSource, Tag 22

func (DontKnowTrade) GetIssuer added in v0.4.0

func (m DontKnowTrade) GetIssuer() (v string, err quickfix.MessageRejectError)

GetIssuer gets Issuer, Tag 106

func (DontKnowTrade) GetLastPx added in v0.4.0

func (m DontKnowTrade) GetLastPx() (v decimal.Decimal, err quickfix.MessageRejectError)

GetLastPx gets LastPx, Tag 31

func (DontKnowTrade) GetLastShares added in v0.4.0

func (m DontKnowTrade) GetLastShares() (v decimal.Decimal, err quickfix.MessageRejectError)

GetLastShares gets LastShares, Tag 32

func (DontKnowTrade) GetMaturityDay added in v0.4.0

func (m DontKnowTrade) GetMaturityDay() (v int, err quickfix.MessageRejectError)

GetMaturityDay gets MaturityDay, Tag 205

func (DontKnowTrade) GetMaturityMonthYear added in v0.4.0

func (m DontKnowTrade) GetMaturityMonthYear() (v string, err quickfix.MessageRejectError)

GetMaturityMonthYear gets MaturityMonthYear, Tag 200

func (DontKnowTrade) GetOptAttribute added in v0.4.0

func (m DontKnowTrade) GetOptAttribute() (v string, err quickfix.MessageRejectError)

GetOptAttribute gets OptAttribute, Tag 206

func (DontKnowTrade) GetOrderID added in v0.4.0

func (m DontKnowTrade) GetOrderID() (v string, err quickfix.MessageRejectError)

GetOrderID gets OrderID, Tag 37

func (DontKnowTrade) GetOrderQty added in v0.4.0

func (m DontKnowTrade) GetOrderQty() (v decimal.Decimal, err quickfix.MessageRejectError)

GetOrderQty gets OrderQty, Tag 38

func (DontKnowTrade) GetPutOrCall added in v0.4.0

func (m DontKnowTrade) GetPutOrCall() (v enum.PutOrCall, err quickfix.MessageRejectError)

GetPutOrCall gets PutOrCall, Tag 201

func (DontKnowTrade) GetSecurityDesc added in v0.4.0

func (m DontKnowTrade) GetSecurityDesc() (v string, err quickfix.MessageRejectError)

GetSecurityDesc gets SecurityDesc, Tag 107

func (DontKnowTrade) GetSecurityExchange added in v0.4.0

func (m DontKnowTrade) GetSecurityExchange() (v string, err quickfix.MessageRejectError)

GetSecurityExchange gets SecurityExchange, Tag 207

func (DontKnowTrade) GetSecurityID added in v0.4.0

func (m DontKnowTrade) GetSecurityID() (v string, err quickfix.MessageRejectError)

GetSecurityID gets SecurityID, Tag 48

func (DontKnowTrade) GetSecurityType added in v0.4.0

func (m DontKnowTrade) GetSecurityType() (v enum.SecurityType, err quickfix.MessageRejectError)

GetSecurityType gets SecurityType, Tag 167

func (DontKnowTrade) GetSide added in v0.4.0

func (m DontKnowTrade) GetSide() (v enum.Side, err quickfix.MessageRejectError)

GetSide gets Side, Tag 54

func (DontKnowTrade) GetStrikePrice added in v0.4.0

func (m DontKnowTrade) GetStrikePrice() (v decimal.Decimal, err quickfix.MessageRejectError)

GetStrikePrice gets StrikePrice, Tag 202

func (DontKnowTrade) GetSymbol added in v0.4.0

func (m DontKnowTrade) GetSymbol() (v string, err quickfix.MessageRejectError)

GetSymbol gets Symbol, Tag 55

func (DontKnowTrade) GetSymbolSfx added in v0.4.0

func (m DontKnowTrade) GetSymbolSfx() (v enum.SymbolSfx, err quickfix.MessageRejectError)

GetSymbolSfx gets SymbolSfx, Tag 65

func (DontKnowTrade) GetText added in v0.4.0

func (m DontKnowTrade) GetText() (v string, err quickfix.MessageRejectError)

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) HasContractMultiplier added in v0.4.0

func (m DontKnowTrade) HasContractMultiplier() bool

HasContractMultiplier returns true if ContractMultiplier is present, Tag 231

func (DontKnowTrade) HasCouponRate added in v0.4.0

func (m DontKnowTrade) HasCouponRate() bool

HasCouponRate returns true if CouponRate is present, Tag 223

func (DontKnowTrade) HasDKReason added in v0.4.0

func (m DontKnowTrade) HasDKReason() bool

HasDKReason returns true if DKReason is present, Tag 127

func (DontKnowTrade) HasEncodedIssuer added in v0.4.0

func (m DontKnowTrade) HasEncodedIssuer() bool

HasEncodedIssuer returns true if EncodedIssuer is present, Tag 349

func (DontKnowTrade) HasEncodedIssuerLen added in v0.4.0

func (m DontKnowTrade) HasEncodedIssuerLen() bool

HasEncodedIssuerLen returns true if EncodedIssuerLen is present, Tag 348

func (DontKnowTrade) HasEncodedSecurityDesc added in v0.4.0

func (m DontKnowTrade) HasEncodedSecurityDesc() bool

HasEncodedSecurityDesc returns true if EncodedSecurityDesc is present, Tag 351

func (DontKnowTrade) HasEncodedSecurityDescLen added in v0.4.0

func (m DontKnowTrade) HasEncodedSecurityDescLen() bool

HasEncodedSecurityDescLen returns true if EncodedSecurityDescLen is present, Tag 350

func (DontKnowTrade) HasEncodedText added in v0.4.0

func (m DontKnowTrade) HasEncodedText() bool

HasEncodedText returns true if EncodedText is present, Tag 355

func (DontKnowTrade) HasEncodedTextLen added in v0.4.0

func (m DontKnowTrade) HasEncodedTextLen() bool

HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354

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(value decimal.Decimal, scale int32)

SetCashOrderQty sets CashOrderQty, Tag 152

func (DontKnowTrade) SetContractMultiplier added in v0.4.0

func (m DontKnowTrade) SetContractMultiplier(value decimal.Decimal, scale int32)

SetContractMultiplier sets ContractMultiplier, Tag 231

func (DontKnowTrade) SetCouponRate added in v0.4.0

func (m DontKnowTrade) SetCouponRate(value decimal.Decimal, scale int32)

SetCouponRate sets CouponRate, Tag 223

func (DontKnowTrade) SetDKReason added in v0.4.0

func (m DontKnowTrade) SetDKReason(v enum.DKReason)

SetDKReason sets DKReason, Tag 127

func (DontKnowTrade) SetEncodedIssuer added in v0.4.0

func (m DontKnowTrade) SetEncodedIssuer(v string)

SetEncodedIssuer sets EncodedIssuer, Tag 349

func (DontKnowTrade) SetEncodedIssuerLen added in v0.4.0

func (m DontKnowTrade) SetEncodedIssuerLen(v int)

SetEncodedIssuerLen sets EncodedIssuerLen, Tag 348

func (DontKnowTrade) SetEncodedSecurityDesc added in v0.4.0

func (m DontKnowTrade) SetEncodedSecurityDesc(v string)

SetEncodedSecurityDesc sets EncodedSecurityDesc, Tag 351

func (DontKnowTrade) SetEncodedSecurityDescLen added in v0.4.0

func (m DontKnowTrade) SetEncodedSecurityDescLen(v int)

SetEncodedSecurityDescLen sets EncodedSecurityDescLen, Tag 350

func (DontKnowTrade) SetEncodedText added in v0.4.0

func (m DontKnowTrade) SetEncodedText(v string)

SetEncodedText sets EncodedText, Tag 355

func (DontKnowTrade) SetEncodedTextLen added in v0.4.0

func (m DontKnowTrade) SetEncodedTextLen(v int)

SetEncodedTextLen sets EncodedTextLen, Tag 354

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 enum.IDSource)

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(value decimal.Decimal, scale int32)

SetLastPx sets LastPx, Tag 31

func (DontKnowTrade) SetLastShares added in v0.4.0

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

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(value decimal.Decimal, scale int32)

SetOrderQty sets OrderQty, Tag 38

func (DontKnowTrade) SetPutOrCall added in v0.4.0

func (m DontKnowTrade) SetPutOrCall(v enum.PutOrCall)

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 enum.SecurityType)

SetSecurityType sets SecurityType, Tag 167

func (DontKnowTrade) SetSide added in v0.4.0

func (m DontKnowTrade) SetSide(v enum.Side)

SetSide sets Side, Tag 54

func (DontKnowTrade) SetStrikePrice added in v0.4.0

func (m DontKnowTrade) SetStrikePrice(value decimal.Decimal, scale int32)

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 enum.SymbolSfx)

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