dontknowtrade

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2022 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

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

DontKnowTrade is the fix42 DontKnowTrade type, MsgType = Q.

func FromMessage

func FromMessage(m *quickfix.Message) DontKnowTrade

FromMessage creates a DontKnowTrade from a quickfix.Message instance.

func New

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

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

GetCashOrderQty gets CashOrderQty, Tag 152.

func (DontKnowTrade) GetContractMultiplier

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

GetContractMultiplier gets ContractMultiplier, Tag 231.

func (DontKnowTrade) GetCouponRate

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

GetCouponRate gets CouponRate, Tag 223.

func (DontKnowTrade) GetDKReason

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

GetDKReason gets DKReason, Tag 127.

func (DontKnowTrade) GetEncodedIssuer

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

GetEncodedIssuer gets EncodedIssuer, Tag 349.

func (DontKnowTrade) GetEncodedIssuerLen

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

GetEncodedIssuerLen gets EncodedIssuerLen, Tag 348.

func (DontKnowTrade) GetEncodedSecurityDesc

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

GetEncodedSecurityDesc gets EncodedSecurityDesc, Tag 351.

func (DontKnowTrade) GetEncodedSecurityDescLen

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

GetEncodedSecurityDescLen gets EncodedSecurityDescLen, Tag 350.

func (DontKnowTrade) GetEncodedText

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

GetEncodedText gets EncodedText, Tag 355.

func (DontKnowTrade) GetEncodedTextLen

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

GetEncodedTextLen gets EncodedTextLen, Tag 354.

func (DontKnowTrade) GetExecID

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

GetExecID gets ExecID, Tag 17.

func (DontKnowTrade) GetIDSource

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

GetIDSource gets IDSource, Tag 22.

func (DontKnowTrade) GetIssuer

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

GetIssuer gets Issuer, Tag 106.

func (DontKnowTrade) GetLastPx

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

GetLastPx gets LastPx, Tag 31.

func (DontKnowTrade) GetLastShares

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

GetLastShares gets LastShares, Tag 32.

func (DontKnowTrade) GetMaturityDay

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

GetMaturityDay gets MaturityDay, Tag 205.

func (DontKnowTrade) GetMaturityMonthYear

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

GetMaturityMonthYear gets MaturityMonthYear, Tag 200.

func (DontKnowTrade) GetOptAttribute

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

GetOptAttribute gets OptAttribute, Tag 206.

func (DontKnowTrade) GetOrderID

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

GetOrderID gets OrderID, Tag 37.

func (DontKnowTrade) GetOrderQty

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

GetOrderQty gets OrderQty, Tag 38.

func (DontKnowTrade) GetPutOrCall

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

GetPutOrCall gets PutOrCall, Tag 201.

func (DontKnowTrade) GetSecurityDesc

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

GetSecurityDesc gets SecurityDesc, Tag 107.

func (DontKnowTrade) GetSecurityExchange

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

GetSecurityExchange gets SecurityExchange, Tag 207.

func (DontKnowTrade) GetSecurityID

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

GetSecurityID gets SecurityID, Tag 48.

func (DontKnowTrade) GetSecurityType

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

GetSecurityType gets SecurityType, Tag 167.

func (DontKnowTrade) GetSide

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

GetSide gets Side, Tag 54.

func (DontKnowTrade) GetStrikePrice

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

GetStrikePrice gets StrikePrice, Tag 202.

func (DontKnowTrade) GetSymbol

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

GetSymbol gets Symbol, Tag 55.

func (DontKnowTrade) GetSymbolSfx

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

GetSymbolSfx gets SymbolSfx, Tag 65.

func (DontKnowTrade) GetText

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

GetText gets Text, Tag 58.

func (DontKnowTrade) HasCashOrderQty

func (m DontKnowTrade) HasCashOrderQty() bool

HasCashOrderQty returns true if CashOrderQty is present, Tag 152.

func (DontKnowTrade) HasContractMultiplier

func (m DontKnowTrade) HasContractMultiplier() bool

HasContractMultiplier returns true if ContractMultiplier is present, Tag 231.

func (DontKnowTrade) HasCouponRate

func (m DontKnowTrade) HasCouponRate() bool

HasCouponRate returns true if CouponRate is present, Tag 223.

func (DontKnowTrade) HasDKReason

func (m DontKnowTrade) HasDKReason() bool

HasDKReason returns true if DKReason is present, Tag 127.

func (DontKnowTrade) HasEncodedIssuer

func (m DontKnowTrade) HasEncodedIssuer() bool

HasEncodedIssuer returns true if EncodedIssuer is present, Tag 349.

func (DontKnowTrade) HasEncodedIssuerLen

func (m DontKnowTrade) HasEncodedIssuerLen() bool

HasEncodedIssuerLen returns true if EncodedIssuerLen is present, Tag 348.

func (DontKnowTrade) HasEncodedSecurityDesc

func (m DontKnowTrade) HasEncodedSecurityDesc() bool

HasEncodedSecurityDesc returns true if EncodedSecurityDesc is present, Tag 351.

func (DontKnowTrade) HasEncodedSecurityDescLen

func (m DontKnowTrade) HasEncodedSecurityDescLen() bool

HasEncodedSecurityDescLen returns true if EncodedSecurityDescLen is present, Tag 350.

func (DontKnowTrade) HasEncodedText

func (m DontKnowTrade) HasEncodedText() bool

HasEncodedText returns true if EncodedText is present, Tag 355.

func (DontKnowTrade) HasEncodedTextLen

func (m DontKnowTrade) HasEncodedTextLen() bool

HasEncodedTextLen returns true if EncodedTextLen is present, Tag 354.

func (DontKnowTrade) HasExecID

func (m DontKnowTrade) HasExecID() bool

HasExecID returns true if ExecID is present, Tag 17.

func (DontKnowTrade) HasIDSource

func (m DontKnowTrade) HasIDSource() bool

HasIDSource returns true if IDSource is present, Tag 22.

func (DontKnowTrade) HasIssuer

func (m DontKnowTrade) HasIssuer() bool

HasIssuer returns true if Issuer is present, Tag 106.

func (DontKnowTrade) HasLastPx

func (m DontKnowTrade) HasLastPx() bool

HasLastPx returns true if LastPx is present, Tag 31.

func (DontKnowTrade) HasLastShares

func (m DontKnowTrade) HasLastShares() bool

HasLastShares returns true if LastShares is present, Tag 32.

func (DontKnowTrade) HasMaturityDay

func (m DontKnowTrade) HasMaturityDay() bool

HasMaturityDay returns true if MaturityDay is present, Tag 205.

func (DontKnowTrade) HasMaturityMonthYear

func (m DontKnowTrade) HasMaturityMonthYear() bool

HasMaturityMonthYear returns true if MaturityMonthYear is present, Tag 200.

func (DontKnowTrade) HasOptAttribute

func (m DontKnowTrade) HasOptAttribute() bool

HasOptAttribute returns true if OptAttribute is present, Tag 206.

func (DontKnowTrade) HasOrderID

func (m DontKnowTrade) HasOrderID() bool

HasOrderID returns true if OrderID is present, Tag 37.

func (DontKnowTrade) HasOrderQty

func (m DontKnowTrade) HasOrderQty() bool

HasOrderQty returns true if OrderQty is present, Tag 38.

func (DontKnowTrade) HasPutOrCall

func (m DontKnowTrade) HasPutOrCall() bool

HasPutOrCall returns true if PutOrCall is present, Tag 201.

func (DontKnowTrade) HasSecurityDesc

func (m DontKnowTrade) HasSecurityDesc() bool

HasSecurityDesc returns true if SecurityDesc is present, Tag 107.

func (DontKnowTrade) HasSecurityExchange

func (m DontKnowTrade) HasSecurityExchange() bool

HasSecurityExchange returns true if SecurityExchange is present, Tag 207.

func (DontKnowTrade) HasSecurityID

func (m DontKnowTrade) HasSecurityID() bool

HasSecurityID returns true if SecurityID is present, Tag 48.

func (DontKnowTrade) HasSecurityType

func (m DontKnowTrade) HasSecurityType() bool

HasSecurityType returns true if SecurityType is present, Tag 167.

func (DontKnowTrade) HasSide

func (m DontKnowTrade) HasSide() bool

HasSide returns true if Side is present, Tag 54.

func (DontKnowTrade) HasStrikePrice

func (m DontKnowTrade) HasStrikePrice() bool

HasStrikePrice returns true if StrikePrice is present, Tag 202.

func (DontKnowTrade) HasSymbol

func (m DontKnowTrade) HasSymbol() bool

HasSymbol returns true if Symbol is present, Tag 55.

func (DontKnowTrade) HasSymbolSfx

func (m DontKnowTrade) HasSymbolSfx() bool

HasSymbolSfx returns true if SymbolSfx is present, Tag 65.

func (DontKnowTrade) HasText

func (m DontKnowTrade) HasText() bool

HasText returns true if Text is present, Tag 58.

func (DontKnowTrade) SetCashOrderQty

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

SetCashOrderQty sets CashOrderQty, Tag 152.

func (DontKnowTrade) SetContractMultiplier

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

SetContractMultiplier sets ContractMultiplier, Tag 231.

func (DontKnowTrade) SetCouponRate

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

SetCouponRate sets CouponRate, Tag 223.

func (DontKnowTrade) SetDKReason

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

SetDKReason sets DKReason, Tag 127.

func (DontKnowTrade) SetEncodedIssuer

func (m DontKnowTrade) SetEncodedIssuer(v string)

SetEncodedIssuer sets EncodedIssuer, Tag 349.

func (DontKnowTrade) SetEncodedIssuerLen

func (m DontKnowTrade) SetEncodedIssuerLen(v int)

SetEncodedIssuerLen sets EncodedIssuerLen, Tag 348.

func (DontKnowTrade) SetEncodedSecurityDesc

func (m DontKnowTrade) SetEncodedSecurityDesc(v string)

SetEncodedSecurityDesc sets EncodedSecurityDesc, Tag 351.

func (DontKnowTrade) SetEncodedSecurityDescLen

func (m DontKnowTrade) SetEncodedSecurityDescLen(v int)

SetEncodedSecurityDescLen sets EncodedSecurityDescLen, Tag 350.

func (DontKnowTrade) SetEncodedText

func (m DontKnowTrade) SetEncodedText(v string)

SetEncodedText sets EncodedText, Tag 355.

func (DontKnowTrade) SetEncodedTextLen

func (m DontKnowTrade) SetEncodedTextLen(v int)

SetEncodedTextLen sets EncodedTextLen, Tag 354.

func (DontKnowTrade) SetExecID

func (m DontKnowTrade) SetExecID(v string)

SetExecID sets ExecID, Tag 17.

func (DontKnowTrade) SetIDSource

func (m DontKnowTrade) SetIDSource(v enum.IDSource)

SetIDSource sets IDSource, Tag 22.

func (DontKnowTrade) SetIssuer

func (m DontKnowTrade) SetIssuer(v string)

SetIssuer sets Issuer, Tag 106.

func (DontKnowTrade) SetLastPx

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

SetLastPx sets LastPx, Tag 31.

func (DontKnowTrade) SetLastShares

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

SetLastShares sets LastShares, Tag 32.

func (DontKnowTrade) SetMaturityDay

func (m DontKnowTrade) SetMaturityDay(v int)

SetMaturityDay sets MaturityDay, Tag 205.

func (DontKnowTrade) SetMaturityMonthYear

func (m DontKnowTrade) SetMaturityMonthYear(v string)

SetMaturityMonthYear sets MaturityMonthYear, Tag 200.

func (DontKnowTrade) SetOptAttribute

func (m DontKnowTrade) SetOptAttribute(v string)

SetOptAttribute sets OptAttribute, Tag 206.

func (DontKnowTrade) SetOrderID

func (m DontKnowTrade) SetOrderID(v string)

SetOrderID sets OrderID, Tag 37.

func (DontKnowTrade) SetOrderQty

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

SetOrderQty sets OrderQty, Tag 38.

func (DontKnowTrade) SetPutOrCall

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

SetPutOrCall sets PutOrCall, Tag 201.

func (DontKnowTrade) SetSecurityDesc

func (m DontKnowTrade) SetSecurityDesc(v string)

SetSecurityDesc sets SecurityDesc, Tag 107.

func (DontKnowTrade) SetSecurityExchange

func (m DontKnowTrade) SetSecurityExchange(v string)

SetSecurityExchange sets SecurityExchange, Tag 207.

func (DontKnowTrade) SetSecurityID

func (m DontKnowTrade) SetSecurityID(v string)

SetSecurityID sets SecurityID, Tag 48.

func (DontKnowTrade) SetSecurityType

func (m DontKnowTrade) SetSecurityType(v enum.SecurityType)

SetSecurityType sets SecurityType, Tag 167.

func (DontKnowTrade) SetSide

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

SetSide sets Side, Tag 54.

func (DontKnowTrade) SetStrikePrice

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

SetStrikePrice sets StrikePrice, Tag 202.

func (DontKnowTrade) SetSymbol

func (m DontKnowTrade) SetSymbol(v string)

SetSymbol sets Symbol, Tag 55.

func (DontKnowTrade) SetSymbolSfx

func (m DontKnowTrade) SetSymbolSfx(v enum.SymbolSfx)

SetSymbolSfx sets SymbolSfx, Tag 65.

func (DontKnowTrade) SetText

func (m DontKnowTrade) SetText(v string)

SetText sets Text, Tag 58.

func (DontKnowTrade) ToMessage

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