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: 9 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"`
	fixt11.Header
	//OrigClOrdID is a non-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"`
	//AcctIDSource is a non-required field for OrderCancelRequest.
	AcctIDSource *int `fix:"660"`
	//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
	//FinancingDetails is a non-required component for OrderCancelRequest.
	FinancingDetails *financingdetails.FinancingDetails
	//UndInstrmtGrp is a non-required component for OrderCancelRequest.
	UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp
	//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"`
	fixt11.Trailer
}

Message is a OrderCancelRequest FIX Message

func New added in v0.2.0

func New(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 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) SetAcctIDSource added in v0.2.0

func (m *Message) SetAcctIDSource(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) SetComplianceID added in v0.2.0

func (m *Message) SetComplianceID(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) SetFinancingDetails added in v0.2.0

func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails)

func (*Message) SetInstrument added in v0.2.0

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

func (*Message) SetListID added in v0.2.0

func (m *Message) SetListID(v string)

func (*Message) SetOrderID added in v0.2.0

func (m *Message) SetOrderID(v string)

func (*Message) SetOrderQtyData added in v0.2.0

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

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) SetParties added in v0.2.0

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

func (*Message) SetSecondaryClOrdID added in v0.2.0

func (m *Message) SetSecondaryClOrdID(v string)

func (*Message) SetSide added in v0.2.0

func (m *Message) SetSide(v string)

func (*Message) SetText added in v0.2.0

func (m *Message) SetText(v string)

func (*Message) SetTransactTime added in v0.2.0

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

func (*Message) SetUndInstrmtGrp added in v0.2.0

func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp)

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