ordercancelrequest

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2016 License: Apache-1.1 Imports: 7 Imported by: 0

Documentation

Overview

Package ordercancelrequest msg type = F.

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 Message

type Message struct {
	FIXMsgType string `fix:"F"`
	fix43.Header
	//OrigClOrdID is a required field for OrderCancelRequest.
	OrigClOrdID string `fix:"41"`
	//OrderID is a non-required field for OrderCancelRequest.
	OrderID *string `fix:"37"`
	//ClOrdID is a required field for OrderCancelRequest.
	ClOrdID string `fix:"11"`
	//SecondaryClOrdID is a non-required field for OrderCancelRequest.
	SecondaryClOrdID *string `fix:"526"`
	//ClOrdLinkID is a non-required field for OrderCancelRequest.
	ClOrdLinkID *string `fix:"583"`
	//ListID is a non-required field for OrderCancelRequest.
	ListID *string `fix:"66"`
	//OrigOrdModTime is a non-required field for OrderCancelRequest.
	OrigOrdModTime *time.Time `fix:"586"`
	//Account is a non-required field for OrderCancelRequest.
	Account *string `fix:"1"`
	//AccountType is a non-required field for OrderCancelRequest.
	AccountType *int `fix:"581"`
	//Parties is a non-required component for OrderCancelRequest.
	Parties *parties.Parties
	//Instrument is a required component for OrderCancelRequest.
	instrument.Instrument
	//Side is a required field for OrderCancelRequest.
	Side string `fix:"54"`
	//TransactTime is a required field for OrderCancelRequest.
	TransactTime time.Time `fix:"60"`
	//OrderQtyData is a required component for OrderCancelRequest.
	orderqtydata.OrderQtyData
	//ComplianceID is a non-required field for OrderCancelRequest.
	ComplianceID *string `fix:"376"`
	//Text is a non-required field for OrderCancelRequest.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for OrderCancelRequest.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for OrderCancelRequest.
	EncodedText *string `fix:"355"`
	fix43.Trailer
}

Message is a OrderCancelRequest FIX Message

func New

func New(origclordid string, clordid string, instrument instrument.Instrument, side string, transacttime time.Time, orderqtydata orderqtydata.OrderQtyData) *Message

New returns an initialized OrderCancelRequest instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetAccount

func (m *Message) SetAccount(v string)

func (*Message) SetAccountType

func (m *Message) SetAccountType(v int)

func (*Message) SetClOrdID

func (m *Message) SetClOrdID(v string)

func (*Message) SetClOrdLinkID

func (m *Message) SetClOrdLinkID(v string)

func (*Message) SetComplianceID

func (m *Message) SetComplianceID(v string)

func (*Message) SetEncodedText

func (m *Message) SetEncodedText(v string)

func (*Message) SetEncodedTextLen

func (m *Message) SetEncodedTextLen(v int)

func (*Message) SetInstrument

func (m *Message) SetInstrument(v instrument.Instrument)

func (*Message) SetListID

func (m *Message) SetListID(v string)

func (*Message) SetOrderID

func (m *Message) SetOrderID(v string)

func (*Message) SetOrderQtyData

func (m *Message) SetOrderQtyData(v orderqtydata.OrderQtyData)

func (*Message) SetOrigClOrdID

func (m *Message) SetOrigClOrdID(v string)

func (*Message) SetOrigOrdModTime

func (m *Message) SetOrigOrdModTime(v time.Time)

func (*Message) SetParties

func (m *Message) SetParties(v parties.Parties)

func (*Message) SetSecondaryClOrdID

func (m *Message) SetSecondaryClOrdID(v string)

func (*Message) SetSide

func (m *Message) SetSide(v string)

func (*Message) SetText

func (m *Message) SetText(v string)

func (*Message) SetTransactTime

func (m *Message) SetTransactTime(v time.Time)

type RouteOut

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