ordermasscancelreport

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

Documentation

Overview

Package ordermasscancelreport msg type = r.

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:"r"`
	fix43.Header
	//ClOrdID is a non-required field for OrderMassCancelReport.
	ClOrdID *string `fix:"11"`
	//SecondaryClOrdID is a non-required field for OrderMassCancelReport.
	SecondaryClOrdID *string `fix:"526"`
	//OrderID is a required field for OrderMassCancelReport.
	OrderID string `fix:"37"`
	//SecondaryOrderID is a non-required field for OrderMassCancelReport.
	SecondaryOrderID *string `fix:"198"`
	//MassCancelRequestType is a required field for OrderMassCancelReport.
	MassCancelRequestType string `fix:"530"`
	//MassCancelResponse is a required field for OrderMassCancelReport.
	MassCancelResponse string `fix:"531"`
	//MassCancelRejectReason is a non-required field for OrderMassCancelReport.
	MassCancelRejectReason *string `fix:"532"`
	//TotalAffectedOrders is a non-required field for OrderMassCancelReport.
	TotalAffectedOrders *int `fix:"533"`
	//NoAffectedOrders is a non-required field for OrderMassCancelReport.
	NoAffectedOrders []NoAffectedOrders `fix:"534,omitempty"`
	//TradingSessionID is a non-required field for OrderMassCancelReport.
	TradingSessionID *string `fix:"336"`
	//TradingSessionSubID is a non-required field for OrderMassCancelReport.
	TradingSessionSubID *string `fix:"625"`
	//Instrument is a non-required component for OrderMassCancelReport.
	Instrument *instrument.Instrument
	//UnderlyingInstrument is a non-required component for OrderMassCancelReport.
	UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument
	//Side is a non-required field for OrderMassCancelReport.
	Side *string `fix:"54"`
	//TransactTime is a non-required field for OrderMassCancelReport.
	TransactTime *time.Time `fix:"60"`
	//Text is a non-required field for OrderMassCancelReport.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for OrderMassCancelReport.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for OrderMassCancelReport.
	EncodedText *string `fix:"355"`
	fix43.Trailer
}

Message is a OrderMassCancelReport FIX Message

func New added in v0.2.0

func New(orderid string, masscancelrequesttype string, masscancelresponse string) *Message

New returns an initialized OrderMassCancelReport instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetClOrdID added in v0.2.0

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

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

func (*Message) SetMassCancelRejectReason added in v0.2.0

func (m *Message) SetMassCancelRejectReason(v string)

func (*Message) SetMassCancelRequestType added in v0.2.0

func (m *Message) SetMassCancelRequestType(v string)

func (*Message) SetMassCancelResponse added in v0.2.0

func (m *Message) SetMassCancelResponse(v string)

func (*Message) SetNoAffectedOrders added in v0.2.0

func (m *Message) SetNoAffectedOrders(v []NoAffectedOrders)

func (*Message) SetOrderID added in v0.2.0

func (m *Message) SetOrderID(v string)

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

func (m *Message) SetTotalAffectedOrders(v int)

func (*Message) SetTradingSessionID added in v0.2.0

func (m *Message) SetTradingSessionID(v string)

func (*Message) SetTradingSessionSubID added in v0.2.0

func (m *Message) SetTradingSessionSubID(v string)

func (*Message) SetTransactTime added in v0.2.0

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

func (*Message) SetUnderlyingInstrument added in v0.2.0

func (m *Message) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument)

type NoAffectedOrders

type NoAffectedOrders struct {
	//OrigClOrdID is a non-required field for NoAffectedOrders.
	OrigClOrdID *string `fix:"41"`
	//AffectedOrderID is a non-required field for NoAffectedOrders.
	AffectedOrderID *string `fix:"535"`
	//AffectedSecondaryOrderID is a non-required field for NoAffectedOrders.
	AffectedSecondaryOrderID *string `fix:"536"`
}

NoAffectedOrders is a repeating group in OrderMassCancelReport

func NewNoAffectedOrders added in v0.2.0

func NewNoAffectedOrders() *NoAffectedOrders

NewNoAffectedOrders returns an initialized NoAffectedOrders instance

func (*NoAffectedOrders) SetAffectedOrderID added in v0.2.0

func (m *NoAffectedOrders) SetAffectedOrderID(v string)

func (*NoAffectedOrders) SetAffectedSecondaryOrderID added in v0.2.0

func (m *NoAffectedOrders) SetAffectedSecondaryOrderID(v string)

func (*NoAffectedOrders) SetOrigClOrdID added in v0.2.0

func (m *NoAffectedOrders) SetOrigClOrdID(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