ordermasscancelrequest

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

Documentation

Overview

Package ordermasscancelrequest msg type = q.

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:"q"`
	fixt11.Header
	//ClOrdID is a required field for OrderMassCancelRequest.
	ClOrdID string `fix:"11"`
	//SecondaryClOrdID is a non-required field for OrderMassCancelRequest.
	SecondaryClOrdID *string `fix:"526"`
	//MassCancelRequestType is a required field for OrderMassCancelRequest.
	MassCancelRequestType string `fix:"530"`
	//TradingSessionID is a non-required field for OrderMassCancelRequest.
	TradingSessionID *string `fix:"336"`
	//TradingSessionSubID is a non-required field for OrderMassCancelRequest.
	TradingSessionSubID *string `fix:"625"`
	//Instrument is a non-required component for OrderMassCancelRequest.
	Instrument *instrument.Instrument
	//UnderlyingInstrument is a non-required component for OrderMassCancelRequest.
	UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument
	//Side is a non-required field for OrderMassCancelRequest.
	Side *string `fix:"54"`
	//TransactTime is a required field for OrderMassCancelRequest.
	TransactTime time.Time `fix:"60"`
	//Text is a non-required field for OrderMassCancelRequest.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for OrderMassCancelRequest.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for OrderMassCancelRequest.
	EncodedText *string `fix:"355"`
	//Parties is a non-required component for OrderMassCancelRequest.
	Parties *parties.Parties
	fixt11.Trailer
}

Message is a OrderMassCancelRequest FIX Message

func New

func New(clordid string, masscancelrequesttype string, transacttime time.Time) *Message

New returns an initialized OrderMassCancelRequest instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetClOrdID

func (m *Message) SetClOrdID(v string)

func (*Message) SetEncodedText

func (m *Message) SetEncodedText(v string)

func (*Message) SetEncodedTextLen

func (m *Message) SetEncodedTextLen(v int)

func (*Message) SetInstrument

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

func (*Message) SetMassCancelRequestType

func (m *Message) SetMassCancelRequestType(v string)

func (*Message) SetParties

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

func (*Message) SetSecondaryClOrdID

func (m *Message) SetSecondaryClOrdID(v string)

func (*Message) SetSide

func (m *Message) SetSide(v string)

func (*Message) SetText

func (m *Message) SetText(v string)

func (*Message) SetTradingSessionID

func (m *Message) SetTradingSessionID(v string)

func (*Message) SetTradingSessionSubID

func (m *Message) SetTradingSessionSubID(v string)

func (*Message) SetTransactTime

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

func (*Message) SetUnderlyingInstrument

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

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