ordercancelrequest

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2024 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 OrderCancelRequest

type OrderCancelRequest struct {
	fix40.Header
	*quickfix.Body
	fix40.Trailer
	Message *quickfix.Message
}

OrderCancelRequest is the fix40 OrderCancelRequest type, MsgType = F.

func FromMessage

func FromMessage(m *quickfix.Message) OrderCancelRequest

FromMessage creates a OrderCancelRequest from a quickfix.Message instance.

func New

func New(origclordid field.OrigClOrdIDField, clordid field.ClOrdIDField, cxltype field.CxlTypeField, symbol field.SymbolField, side field.SideField, orderqty field.OrderQtyField) (m OrderCancelRequest)

New returns a OrderCancelRequest initialized with the required fields for OrderCancelRequest.

func (OrderCancelRequest) GetClOrdID

func (m OrderCancelRequest) GetClOrdID() (v string, err quickfix.MessageRejectError)

GetClOrdID gets ClOrdID, Tag 11.

func (OrderCancelRequest) GetClientID

func (m OrderCancelRequest) GetClientID() (v string, err quickfix.MessageRejectError)

GetClientID gets ClientID, Tag 109.

func (OrderCancelRequest) GetCxlType

func (m OrderCancelRequest) GetCxlType() (v enum.CxlType, err quickfix.MessageRejectError)

GetCxlType gets CxlType, Tag 125.

func (OrderCancelRequest) GetExecBroker

func (m OrderCancelRequest) GetExecBroker() (v string, err quickfix.MessageRejectError)

GetExecBroker gets ExecBroker, Tag 76.

func (OrderCancelRequest) GetIDSource

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

GetIDSource gets IDSource, Tag 22.

func (OrderCancelRequest) GetIssuer

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

GetIssuer gets Issuer, Tag 106.

func (OrderCancelRequest) GetListID

func (m OrderCancelRequest) GetListID() (v string, err quickfix.MessageRejectError)

GetListID gets ListID, Tag 66.

func (OrderCancelRequest) GetOrderID

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

GetOrderID gets OrderID, Tag 37.

func (OrderCancelRequest) GetOrderQty

GetOrderQty gets OrderQty, Tag 38.

func (OrderCancelRequest) GetOrigClOrdID

func (m OrderCancelRequest) GetOrigClOrdID() (v string, err quickfix.MessageRejectError)

GetOrigClOrdID gets OrigClOrdID, Tag 41.

func (OrderCancelRequest) GetSecurityDesc

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

GetSecurityDesc gets SecurityDesc, Tag 107.

func (OrderCancelRequest) GetSecurityID

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

GetSecurityID gets SecurityID, Tag 48.

func (OrderCancelRequest) GetSide

GetSide gets Side, Tag 54.

func (OrderCancelRequest) GetSymbol

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

GetSymbol gets Symbol, Tag 55.

func (OrderCancelRequest) GetSymbolSfx

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

GetSymbolSfx gets SymbolSfx, Tag 65.

func (OrderCancelRequest) GetText

GetText gets Text, Tag 58.

func (OrderCancelRequest) HasClOrdID

func (m OrderCancelRequest) HasClOrdID() bool

HasClOrdID returns true if ClOrdID is present, Tag 11.

func (OrderCancelRequest) HasClientID

func (m OrderCancelRequest) HasClientID() bool

HasClientID returns true if ClientID is present, Tag 109.

func (OrderCancelRequest) HasCxlType

func (m OrderCancelRequest) HasCxlType() bool

HasCxlType returns true if CxlType is present, Tag 125.

func (OrderCancelRequest) HasExecBroker

func (m OrderCancelRequest) HasExecBroker() bool

HasExecBroker returns true if ExecBroker is present, Tag 76.

func (OrderCancelRequest) HasIDSource

func (m OrderCancelRequest) HasIDSource() bool

HasIDSource returns true if IDSource is present, Tag 22.

func (OrderCancelRequest) HasIssuer

func (m OrderCancelRequest) HasIssuer() bool

HasIssuer returns true if Issuer is present, Tag 106.

func (OrderCancelRequest) HasListID

func (m OrderCancelRequest) HasListID() bool

HasListID returns true if ListID is present, Tag 66.

func (OrderCancelRequest) HasOrderID

func (m OrderCancelRequest) HasOrderID() bool

HasOrderID returns true if OrderID is present, Tag 37.

func (OrderCancelRequest) HasOrderQty

func (m OrderCancelRequest) HasOrderQty() bool

HasOrderQty returns true if OrderQty is present, Tag 38.

func (OrderCancelRequest) HasOrigClOrdID

func (m OrderCancelRequest) HasOrigClOrdID() bool

HasOrigClOrdID returns true if OrigClOrdID is present, Tag 41.

func (OrderCancelRequest) HasSecurityDesc

func (m OrderCancelRequest) HasSecurityDesc() bool

HasSecurityDesc returns true if SecurityDesc is present, Tag 107.

func (OrderCancelRequest) HasSecurityID

func (m OrderCancelRequest) HasSecurityID() bool

HasSecurityID returns true if SecurityID is present, Tag 48.

func (OrderCancelRequest) HasSide

func (m OrderCancelRequest) HasSide() bool

HasSide returns true if Side is present, Tag 54.

func (OrderCancelRequest) HasSymbol

func (m OrderCancelRequest) HasSymbol() bool

HasSymbol returns true if Symbol is present, Tag 55.

func (OrderCancelRequest) HasSymbolSfx

func (m OrderCancelRequest) HasSymbolSfx() bool

HasSymbolSfx returns true if SymbolSfx is present, Tag 65.

func (OrderCancelRequest) HasText

func (m OrderCancelRequest) HasText() bool

HasText returns true if Text is present, Tag 58.

func (OrderCancelRequest) SetClOrdID

func (m OrderCancelRequest) SetClOrdID(v string)

SetClOrdID sets ClOrdID, Tag 11.

func (OrderCancelRequest) SetClientID

func (m OrderCancelRequest) SetClientID(v string)

SetClientID sets ClientID, Tag 109.

func (OrderCancelRequest) SetCxlType

func (m OrderCancelRequest) SetCxlType(v enum.CxlType)

SetCxlType sets CxlType, Tag 125.

func (OrderCancelRequest) SetExecBroker

func (m OrderCancelRequest) SetExecBroker(v string)

SetExecBroker sets ExecBroker, Tag 76.

func (OrderCancelRequest) SetIDSource

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

SetIDSource sets IDSource, Tag 22.

func (OrderCancelRequest) SetIssuer

func (m OrderCancelRequest) SetIssuer(v string)

SetIssuer sets Issuer, Tag 106.

func (OrderCancelRequest) SetListID

func (m OrderCancelRequest) SetListID(v string)

SetListID sets ListID, Tag 66.

func (OrderCancelRequest) SetOrderID

func (m OrderCancelRequest) SetOrderID(v string)

SetOrderID sets OrderID, Tag 37.

func (OrderCancelRequest) SetOrderQty

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

SetOrderQty sets OrderQty, Tag 38.

func (OrderCancelRequest) SetOrigClOrdID

func (m OrderCancelRequest) SetOrigClOrdID(v string)

SetOrigClOrdID sets OrigClOrdID, Tag 41.

func (OrderCancelRequest) SetSecurityDesc

func (m OrderCancelRequest) SetSecurityDesc(v string)

SetSecurityDesc sets SecurityDesc, Tag 107.

func (OrderCancelRequest) SetSecurityID

func (m OrderCancelRequest) SetSecurityID(v string)

SetSecurityID sets SecurityID, Tag 48.

func (OrderCancelRequest) SetSide

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

SetSide sets Side, Tag 54.

func (OrderCancelRequest) SetSymbol

func (m OrderCancelRequest) SetSymbol(v string)

SetSymbol sets Symbol, Tag 55.

func (OrderCancelRequest) SetSymbolSfx

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

SetSymbolSfx sets SymbolSfx, Tag 65.

func (OrderCancelRequest) SetText

func (m OrderCancelRequest) SetText(v string)

SetText sets Text, Tag 58.

func (OrderCancelRequest) ToMessage

func (m OrderCancelRequest) ToMessage() *quickfix.Message

ToMessage returns a quickfix.Message instance.

type RouteOut

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