crossordercancelrequest

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Overview

Package crossordercancelrequest msg type = u.

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:"u"`
	fix43.Header
	//OrderID is a non-required field for CrossOrderCancelRequest.
	OrderID *string `fix:"37"`
	//CrossID is a required field for CrossOrderCancelRequest.
	CrossID string `fix:"548"`
	//OrigCrossID is a required field for CrossOrderCancelRequest.
	OrigCrossID string `fix:"551"`
	//CrossType is a required field for CrossOrderCancelRequest.
	CrossType int `fix:"549"`
	//CrossPrioritization is a required field for CrossOrderCancelRequest.
	CrossPrioritization int `fix:"550"`
	//NoSides is a required field for CrossOrderCancelRequest.
	NoSides []NoSides `fix:"552"`
	//Instrument is a required component for CrossOrderCancelRequest.
	instrument.Instrument
	//TransactTime is a required field for CrossOrderCancelRequest.
	TransactTime time.Time `fix:"60"`
	fix43.Trailer
}

Message is a CrossOrderCancelRequest FIX Message

func New added in v0.2.0

func New(crossid string, origcrossid string, crosstype int, crossprioritization int, nosides []NoSides, instrument instrument.Instrument, transacttime time.Time) *Message

New returns an initialized CrossOrderCancelRequest instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetCrossID added in v0.2.0

func (m *Message) SetCrossID(v string)

func (*Message) SetCrossPrioritization added in v0.2.0

func (m *Message) SetCrossPrioritization(v int)

func (*Message) SetCrossType added in v0.2.0

func (m *Message) SetCrossType(v int)

func (*Message) SetInstrument added in v0.2.0

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

func (*Message) SetNoSides added in v0.2.0

func (m *Message) SetNoSides(v []NoSides)

func (*Message) SetOrderID added in v0.2.0

func (m *Message) SetOrderID(v string)

func (*Message) SetOrigCrossID added in v0.2.0

func (m *Message) SetOrigCrossID(v string)

func (*Message) SetTransactTime added in v0.2.0

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

type NoSides

type NoSides struct {
	//Side is a required field for NoSides.
	Side string `fix:"54"`
	//OrigClOrdID is a required field for NoSides.
	OrigClOrdID string `fix:"41"`
	//ClOrdID is a required field for NoSides.
	ClOrdID string `fix:"11"`
	//SecondaryClOrdID is a non-required field for NoSides.
	SecondaryClOrdID *string `fix:"526"`
	//ClOrdLinkID is a non-required field for NoSides.
	ClOrdLinkID *string `fix:"583"`
	//OrigOrdModTime is a non-required field for NoSides.
	OrigOrdModTime *time.Time `fix:"586"`
	//Parties is a non-required component for NoSides.
	Parties *parties.Parties
	//TradeOriginationDate is a non-required field for NoSides.
	TradeOriginationDate *string `fix:"229"`
	//OrderQtyData is a required component for NoSides.
	orderqtydata.OrderQtyData
	//ComplianceID is a non-required field for NoSides.
	ComplianceID *string `fix:"376"`
	//Text is a non-required field for NoSides.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for NoSides.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for NoSides.
	EncodedText *string `fix:"355"`
}

NoSides is a repeating group in CrossOrderCancelRequest

func NewNoSides added in v0.2.0

func NewNoSides(side string, origclordid string, clordid string, orderqtydata orderqtydata.OrderQtyData) *NoSides

NewNoSides returns an initialized NoSides instance

func (*NoSides) SetClOrdID added in v0.2.0

func (m *NoSides) SetClOrdID(v string)

func (*NoSides) SetClOrdLinkID added in v0.2.0

func (m *NoSides) SetClOrdLinkID(v string)

func (*NoSides) SetComplianceID added in v0.2.0

func (m *NoSides) SetComplianceID(v string)

func (*NoSides) SetEncodedText added in v0.2.0

func (m *NoSides) SetEncodedText(v string)

func (*NoSides) SetEncodedTextLen added in v0.2.0

func (m *NoSides) SetEncodedTextLen(v int)

func (*NoSides) SetOrderQtyData added in v0.2.0

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

func (*NoSides) SetOrigClOrdID added in v0.2.0

func (m *NoSides) SetOrigClOrdID(v string)

func (*NoSides) SetOrigOrdModTime added in v0.2.0

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

func (*NoSides) SetParties added in v0.2.0

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

func (*NoSides) SetSecondaryClOrdID added in v0.2.0

func (m *NoSides) SetSecondaryClOrdID(v string)

func (*NoSides) SetSide added in v0.2.0

func (m *NoSides) SetSide(v string)

func (*NoSides) SetText added in v0.2.0

func (m *NoSides) SetText(v string)

func (*NoSides) SetTradeOriginationDate added in v0.2.0

func (m *NoSides) SetTradeOriginationDate(v string)

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