orderstatusrequest

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

Documentation

Overview

Package orderstatusrequest msg type = H.

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:"H"`
	fix43.Header
	//OrderID is a non-required field for OrderStatusRequest.
	OrderID *string `fix:"37"`
	//ClOrdID is a required field for OrderStatusRequest.
	ClOrdID string `fix:"11"`
	//SecondaryClOrdID is a non-required field for OrderStatusRequest.
	SecondaryClOrdID *string `fix:"526"`
	//ClOrdLinkID is a non-required field for OrderStatusRequest.
	ClOrdLinkID *string `fix:"583"`
	//Parties is a non-required component for OrderStatusRequest.
	Parties *parties.Parties
	//Account is a non-required field for OrderStatusRequest.
	Account *string `fix:"1"`
	//Instrument is a required component for OrderStatusRequest.
	instrument.Instrument
	//Side is a required field for OrderStatusRequest.
	Side string `fix:"54"`
	fix43.Trailer
}

Message is a OrderStatusRequest FIX Message

func New added in v0.2.0

func New(clordid string, instrument instrument.Instrument, side string) *Message

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

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

func (*Message) SetOrderID added in v0.2.0

func (m *Message) SetOrderID(v string)

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)

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