dontknowtrade

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

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

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() (f field.CashOrderQtyField, err quickfix.MessageRejectError)

GetCashOrderQty gets CashOrderQty, Tag 152

func (DontKnowTrade) GetContractMultiplier added in v0.4.0

func (m DontKnowTrade) GetContractMultiplier() (f field.ContractMultiplierField, err quickfix.MessageRejectError)

GetContractMultiplier gets ContractMultiplier, Tag 231

func (DontKnowTrade) GetCouponRate added in v0.4.0

func (m DontKnowTrade) GetCouponRate() (f field.CouponRateField, err quickfix.MessageRejectError)

GetCouponRate gets CouponRate, Tag 223

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

func (m DontKnowTrade) GetEncodedIssuer() (f field.EncodedIssuerField, err quickfix.MessageRejectError)

GetEncodedIssuer gets EncodedIssuer, Tag 349

func (DontKnowTrade) GetEncodedIssuerLen added in v0.4.0

func (m DontKnowTrade) GetEncodedIssuerLen() (f field.EncodedIssuerLenField, err quickfix.MessageRejectError)

GetEncodedIssuerLen gets EncodedIssuerLen, Tag 348

func (DontKnowTrade) GetEncodedSecurityDesc added in v0.4.0

func (m DontKnowTrade) GetEncodedSecurityDesc() (f field.EncodedSecurityDescField, err quickfix.MessageRejectError)

GetEncodedSecurityDesc gets EncodedSecurityDesc, Tag 351

func (DontKnowTrade) GetEncodedSecurityDescLen added in v0.4.0

func (m DontKnowTrade) GetEncodedSecurityDescLen() (f field.EncodedSecurityDescLenField, err quickfix.MessageRejectError)

GetEncodedSecurityDescLen gets EncodedSecurityDescLen, Tag 350

func (DontKnowTrade) GetEncodedText added in v0.4.0

func (m DontKnowTrade) GetEncodedText() (f field.EncodedTextField, err quickfix.MessageRejectError)

GetEncodedText gets EncodedText, Tag 355

func (DontKnowTrade) GetEncodedTextLen added in v0.4.0

func (m DontKnowTrade) GetEncodedTextLen() (f field.EncodedTextLenField, err quickfix.MessageRejectError)

GetEncodedTextLen gets EncodedTextLen, Tag 354

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) 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 string)

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 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(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 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(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 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