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"`
	fixt11.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 non-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"`
	//AcctIDSource is a non-required field for OrderCancelReject.
	AcctIDSource *int `fix:"660"`
	//AccountType is a non-required field for OrderCancelReject.
	AccountType *int `fix:"581"`
	//TradeOriginationDate is a non-required field for OrderCancelReject.
	TradeOriginationDate *string `fix:"229"`
	//TradeDate is a non-required field for OrderCancelReject.
	TradeDate *string `fix:"75"`
	//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"`
	fixt11.Trailer
}

Message is a OrderCancelReject FIX Message

func New

func New(orderid string, clordid 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

func (m *Message) SetAccount(v string)

func (*Message) SetAccountType

func (m *Message) SetAccountType(v int)

func (*Message) SetAcctIDSource

func (m *Message) SetAcctIDSource(v int)

func (*Message) SetClOrdID

func (m *Message) SetClOrdID(v string)

func (*Message) SetClOrdLinkID

func (m *Message) SetClOrdLinkID(v string)

func (*Message) SetCxlRejReason

func (m *Message) SetCxlRejReason(v int)

func (*Message) SetCxlRejResponseTo

func (m *Message) SetCxlRejResponseTo(v string)

func (*Message) SetEncodedText

func (m *Message) SetEncodedText(v string)

func (*Message) SetEncodedTextLen

func (m *Message) SetEncodedTextLen(v int)

func (*Message) SetListID

func (m *Message) SetListID(v string)

func (*Message) SetOrdStatus

func (m *Message) SetOrdStatus(v string)

func (*Message) SetOrderID

func (m *Message) SetOrderID(v string)

func (*Message) SetOrigClOrdID

func (m *Message) SetOrigClOrdID(v string)

func (*Message) SetOrigOrdModTime

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

func (*Message) SetSecondaryClOrdID

func (m *Message) SetSecondaryClOrdID(v string)

func (*Message) SetSecondaryOrderID

func (m *Message) SetSecondaryOrderID(v string)

func (*Message) SetText

func (m *Message) SetText(v string)

func (*Message) SetTradeDate

func (m *Message) SetTradeDate(v string)

func (*Message) SetTradeOriginationDate

func (m *Message) SetTradeOriginationDate(v string)

func (*Message) SetTransactTime

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

func (*Message) SetWorkingIndicator

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