ordermassactionrequest

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

Documentation

Overview

Package ordermassactionrequest msg type = CA.

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:"CA"`
	fixt11.Header
	//ClOrdID is a required field for OrderMassActionRequest.
	ClOrdID string `fix:"11"`
	//SecondaryClOrdID is a non-required field for OrderMassActionRequest.
	SecondaryClOrdID *string `fix:"526"`
	//MassActionType is a required field for OrderMassActionRequest.
	MassActionType int `fix:"1373"`
	//MassActionScope is a required field for OrderMassActionRequest.
	MassActionScope int `fix:"1374"`
	//MarketID is a non-required field for OrderMassActionRequest.
	MarketID *string `fix:"1301"`
	//MarketSegmentID is a non-required field for OrderMassActionRequest.
	MarketSegmentID *string `fix:"1300"`
	//TradingSessionID is a non-required field for OrderMassActionRequest.
	TradingSessionID *string `fix:"336"`
	//TradingSessionSubID is a non-required field for OrderMassActionRequest.
	TradingSessionSubID *string `fix:"625"`
	//Parties is a non-required component for OrderMassActionRequest.
	Parties *parties.Parties
	//Instrument is a non-required component for OrderMassActionRequest.
	Instrument *instrument.Instrument
	//UnderlyingInstrument is a non-required component for OrderMassActionRequest.
	UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument
	//Side is a non-required field for OrderMassActionRequest.
	Side *string `fix:"54"`
	//TransactTime is a required field for OrderMassActionRequest.
	TransactTime time.Time `fix:"60"`
	//Text is a non-required field for OrderMassActionRequest.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for OrderMassActionRequest.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for OrderMassActionRequest.
	EncodedText *string `fix:"355"`
	//TargetParties is a non-required component for OrderMassActionRequest.
	TargetParties *targetparties.TargetParties
	fixt11.Trailer
}

Message is a OrderMassActionRequest FIX Message

func New added in v0.2.0

func New(clordid string, massactiontype int, massactionscope int, transacttime time.Time) *Message

New returns an initialized OrderMassActionRequest 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) SetMarketID added in v0.2.0

func (m *Message) SetMarketID(v string)

func (*Message) SetMarketSegmentID added in v0.2.0

func (m *Message) SetMarketSegmentID(v string)

func (*Message) SetMassActionScope added in v0.2.0

func (m *Message) SetMassActionScope(v int)

func (*Message) SetMassActionType added in v0.2.0

func (m *Message) SetMassActionType(v int)

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

func (m *Message) SetTargetParties(v targetparties.TargetParties)

func (*Message) SetText added in v0.2.0

func (m *Message) SetText(v string)

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 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