neworderlist

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

Documentation

Overview

Package neworderlist msg type = E.

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:"E"`
	fix40.Header
	//ListID is a required field for NewOrderList.
	ListID string `fix:"66"`
	//WaveNo is a non-required field for NewOrderList.
	WaveNo *string `fix:"105"`
	//ListSeqNo is a required field for NewOrderList.
	ListSeqNo int `fix:"67"`
	//ListNoOrds is a required field for NewOrderList.
	ListNoOrds int `fix:"68"`
	//ListExecInst is a non-required field for NewOrderList.
	ListExecInst *string `fix:"69"`
	//ClOrdID is a required field for NewOrderList.
	ClOrdID string `fix:"11"`
	//ClientID is a non-required field for NewOrderList.
	ClientID *string `fix:"109"`
	//ExecBroker is a non-required field for NewOrderList.
	ExecBroker *string `fix:"76"`
	//Account is a non-required field for NewOrderList.
	Account *string `fix:"1"`
	//SettlmntTyp is a non-required field for NewOrderList.
	SettlmntTyp *string `fix:"63"`
	//FutSettDate is a non-required field for NewOrderList.
	FutSettDate *string `fix:"64"`
	//HandlInst is a required field for NewOrderList.
	HandlInst string `fix:"21"`
	//ExecInst is a non-required field for NewOrderList.
	ExecInst *string `fix:"18"`
	//MinQty is a non-required field for NewOrderList.
	MinQty *int `fix:"110"`
	//MaxFloor is a non-required field for NewOrderList.
	MaxFloor *int `fix:"111"`
	//ExDestination is a non-required field for NewOrderList.
	ExDestination *string `fix:"100"`
	//ProcessCode is a non-required field for NewOrderList.
	ProcessCode *string `fix:"81"`
	//Symbol is a required field for NewOrderList.
	Symbol string `fix:"55"`
	//SymbolSfx is a non-required field for NewOrderList.
	SymbolSfx *string `fix:"65"`
	//SecurityID is a non-required field for NewOrderList.
	SecurityID *string `fix:"48"`
	//IDSource is a non-required field for NewOrderList.
	IDSource *string `fix:"22"`
	//Issuer is a non-required field for NewOrderList.
	Issuer *string `fix:"106"`
	//SecurityDesc is a non-required field for NewOrderList.
	SecurityDesc *string `fix:"107"`
	//PrevClosePx is a non-required field for NewOrderList.
	PrevClosePx *float64 `fix:"140"`
	//Side is a required field for NewOrderList.
	Side string `fix:"54"`
	//LocateReqd is a non-required field for NewOrderList.
	LocateReqd *string `fix:"114"`
	//OrderQty is a required field for NewOrderList.
	OrderQty int `fix:"38"`
	//OrdType is a required field for NewOrderList.
	OrdType string `fix:"40"`
	//Price is a non-required field for NewOrderList.
	Price *float64 `fix:"44"`
	//StopPx is a non-required field for NewOrderList.
	StopPx *float64 `fix:"99"`
	//Currency is a non-required field for NewOrderList.
	Currency *string `fix:"15"`
	//TimeInForce is a non-required field for NewOrderList.
	TimeInForce *string `fix:"59"`
	//ExpireTime is a non-required field for NewOrderList.
	ExpireTime *time.Time `fix:"126"`
	//Commission is a non-required field for NewOrderList.
	Commission *float64 `fix:"12"`
	//CommType is a non-required field for NewOrderList.
	CommType *string `fix:"13"`
	//Rule80A is a non-required field for NewOrderList.
	Rule80A *string `fix:"47"`
	//ForexReq is a non-required field for NewOrderList.
	ForexReq *string `fix:"121"`
	//SettlCurrency is a non-required field for NewOrderList.
	SettlCurrency *string `fix:"120"`
	//Text is a non-required field for NewOrderList.
	Text *string `fix:"58"`
	fix40.Trailer
}

Message is a NewOrderList FIX Message

func New

func New(listid string, listseqno int, listnoords int, clordid string, handlinst string, symbol string, side string, orderqty int, ordtype string) *Message

New returns an initialized NewOrderList instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetAccount

func (m *Message) SetAccount(v string)

func (*Message) SetClOrdID

func (m *Message) SetClOrdID(v string)

func (*Message) SetClientID

func (m *Message) SetClientID(v string)

func (*Message) SetCommType

func (m *Message) SetCommType(v string)

func (*Message) SetCommission

func (m *Message) SetCommission(v float64)

func (*Message) SetCurrency

func (m *Message) SetCurrency(v string)

func (*Message) SetExDestination

func (m *Message) SetExDestination(v string)

func (*Message) SetExecBroker

func (m *Message) SetExecBroker(v string)

func (*Message) SetExecInst

func (m *Message) SetExecInst(v string)

func (*Message) SetExpireTime

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

func (*Message) SetForexReq

func (m *Message) SetForexReq(v string)

func (*Message) SetFutSettDate

func (m *Message) SetFutSettDate(v string)

func (*Message) SetHandlInst

func (m *Message) SetHandlInst(v string)

func (*Message) SetIDSource

func (m *Message) SetIDSource(v string)

func (*Message) SetIssuer

func (m *Message) SetIssuer(v string)

func (*Message) SetListExecInst

func (m *Message) SetListExecInst(v string)

func (*Message) SetListID

func (m *Message) SetListID(v string)

func (*Message) SetListNoOrds

func (m *Message) SetListNoOrds(v int)

func (*Message) SetListSeqNo

func (m *Message) SetListSeqNo(v int)

func (*Message) SetLocateReqd

func (m *Message) SetLocateReqd(v string)

func (*Message) SetMaxFloor

func (m *Message) SetMaxFloor(v int)

func (*Message) SetMinQty

func (m *Message) SetMinQty(v int)

func (*Message) SetOrdType

func (m *Message) SetOrdType(v string)

func (*Message) SetOrderQty

func (m *Message) SetOrderQty(v int)

func (*Message) SetPrevClosePx

func (m *Message) SetPrevClosePx(v float64)

func (*Message) SetPrice

func (m *Message) SetPrice(v float64)

func (*Message) SetProcessCode

func (m *Message) SetProcessCode(v string)

func (*Message) SetRule80A

func (m *Message) SetRule80A(v string)

func (*Message) SetSecurityDesc

func (m *Message) SetSecurityDesc(v string)

func (*Message) SetSecurityID

func (m *Message) SetSecurityID(v string)

func (*Message) SetSettlCurrency

func (m *Message) SetSettlCurrency(v string)

func (*Message) SetSettlmntTyp

func (m *Message) SetSettlmntTyp(v string)

func (*Message) SetSide

func (m *Message) SetSide(v string)

func (*Message) SetStopPx

func (m *Message) SetStopPx(v float64)

func (*Message) SetSymbol

func (m *Message) SetSymbol(v string)

func (*Message) SetSymbolSfx

func (m *Message) SetSymbolSfx(v string)

func (*Message) SetText

func (m *Message) SetText(v string)

func (*Message) SetTimeInForce

func (m *Message) SetTimeInForce(v string)

func (*Message) SetWaveNo

func (m *Message) SetWaveNo(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