ordercancelreject

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: 4 Imported by: 0

Documentation

Overview

Package ordercancelreject msg type = 9.

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:"9"`
	fix43.Header
	//OrderID is a required field for OrderCancelReject.
	OrderID string `fix:"37"`
	//SecondaryOrderID is a non-required field for OrderCancelReject.
	SecondaryOrderID *string `fix:"198"`
	//SecondaryClOrdID is a non-required field for OrderCancelReject.
	SecondaryClOrdID *string `fix:"526"`
	//ClOrdID is a required field for OrderCancelReject.
	ClOrdID string `fix:"11"`
	//ClOrdLinkID is a non-required field for OrderCancelReject.
	ClOrdLinkID *string `fix:"583"`
	//OrigClOrdID is a required field for OrderCancelReject.
	OrigClOrdID string `fix:"41"`
	//OrdStatus is a required field for OrderCancelReject.
	OrdStatus string `fix:"39"`
	//WorkingIndicator is a non-required field for OrderCancelReject.
	WorkingIndicator *bool `fix:"636"`
	//OrigOrdModTime is a non-required field for OrderCancelReject.
	OrigOrdModTime *time.Time `fix:"586"`
	//ListID is a non-required field for OrderCancelReject.
	ListID *string `fix:"66"`
	//Account is a non-required field for OrderCancelReject.
	Account *string `fix:"1"`
	//AccountType is a non-required field for OrderCancelReject.
	AccountType *int `fix:"581"`
	//TradeOriginationDate is a non-required field for OrderCancelReject.
	TradeOriginationDate *string `fix:"229"`
	//TransactTime is a non-required field for OrderCancelReject.
	TransactTime *time.Time `fix:"60"`
	//CxlRejResponseTo is a required field for OrderCancelReject.
	CxlRejResponseTo string `fix:"434"`
	//CxlRejReason is a non-required field for OrderCancelReject.
	CxlRejReason *int `fix:"102"`
	//Text is a non-required field for OrderCancelReject.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for OrderCancelReject.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for OrderCancelReject.
	EncodedText *string `fix:"355"`
	fix43.Trailer
}

Message is a OrderCancelReject FIX Message

func New added in v0.2.0

func New(orderid string, clordid string, origclordid string, ordstatus string, cxlrejresponseto string) *Message

New returns an initialized OrderCancelReject instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetAccount added in v0.2.0

func (m *Message) SetAccount(v string)

func (*Message) SetAccountType added in v0.2.0

func (m *Message) SetAccountType(v int)

func (*Message) SetClOrdID added in v0.2.0

func (m *Message) SetClOrdID(v string)

func (*Message) SetClOrdLinkID added in v0.2.0

func (m *Message) SetClOrdLinkID(v string)

func (*Message) SetCxlRejReason added in v0.2.0

func (m *Message) SetCxlRejReason(v int)

func (*Message) SetCxlRejResponseTo added in v0.2.0

func (m *Message) SetCxlRejResponseTo(v string)

func (*Message) SetEncodedText added in v0.2.0

func (m *Message) SetEncodedText(v string)

func (*Message) SetEncodedTextLen added in v0.2.0

func (m *Message) SetEncodedTextLen(v int)

func (*Message) SetListID added in v0.2.0

func (m *Message) SetListID(v string)

func (*Message) SetOrdStatus added in v0.2.0

func (m *Message) SetOrdStatus(v string)

func (*Message) SetOrderID added in v0.2.0

func (m *Message) SetOrderID(v string)

func (*Message) SetOrigClOrdID added in v0.2.0

func (m *Message) SetOrigClOrdID(v string)

func (*Message) SetOrigOrdModTime added in v0.2.0

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

func (*Message) SetSecondaryClOrdID added in v0.2.0

func (m *Message) SetSecondaryClOrdID(v string)

func (*Message) SetSecondaryOrderID added in v0.2.0

func (m *Message) SetSecondaryOrderID(v string)

func (*Message) SetText added in v0.2.0

func (m *Message) SetText(v string)

func (*Message) SetTradeOriginationDate added in v0.2.0

func (m *Message) SetTradeOriginationDate(v string)

func (*Message) SetTransactTime added in v0.2.0

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

func (*Message) SetWorkingIndicator added in v0.2.0

func (m *Message) SetWorkingIndicator(v bool)

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