neworderlist

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: 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"`
	fix42.Header
	//ListID is a required field for NewOrderList.
	ListID string `fix:"66"`
	//BidID is a non-required field for NewOrderList.
	BidID *string `fix:"390"`
	//ClientBidID is a non-required field for NewOrderList.
	ClientBidID *string `fix:"391"`
	//ProgRptReqs is a non-required field for NewOrderList.
	ProgRptReqs *int `fix:"414"`
	//BidType is a required field for NewOrderList.
	BidType int `fix:"394"`
	//ProgPeriodInterval is a non-required field for NewOrderList.
	ProgPeriodInterval *int `fix:"415"`
	//ListExecInstType is a non-required field for NewOrderList.
	ListExecInstType *string `fix:"433"`
	//ListExecInst is a non-required field for NewOrderList.
	ListExecInst *string `fix:"69"`
	//EncodedListExecInstLen is a non-required field for NewOrderList.
	EncodedListExecInstLen *int `fix:"352"`
	//EncodedListExecInst is a non-required field for NewOrderList.
	EncodedListExecInst *string `fix:"353"`
	//TotNoOrders is a required field for NewOrderList.
	TotNoOrders int `fix:"68"`
	//NoOrders is a required field for NewOrderList.
	NoOrders []NoOrders `fix:"73"`
	fix42.Trailer
}

Message is a NewOrderList FIX Message

func New added in v0.2.0

func New(listid string, bidtype int, totnoorders int, noorders []NoOrders) *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) SetBidID added in v0.2.0

func (m *Message) SetBidID(v string)

func (*Message) SetBidType added in v0.2.0

func (m *Message) SetBidType(v int)

func (*Message) SetClientBidID added in v0.2.0

func (m *Message) SetClientBidID(v string)

func (*Message) SetEncodedListExecInst added in v0.2.0

func (m *Message) SetEncodedListExecInst(v string)

func (*Message) SetEncodedListExecInstLen added in v0.2.0

func (m *Message) SetEncodedListExecInstLen(v int)

func (*Message) SetListExecInst added in v0.2.0

func (m *Message) SetListExecInst(v string)

func (*Message) SetListExecInstType added in v0.2.0

func (m *Message) SetListExecInstType(v string)

func (*Message) SetListID added in v0.2.0

func (m *Message) SetListID(v string)

func (*Message) SetNoOrders added in v0.2.0

func (m *Message) SetNoOrders(v []NoOrders)

func (*Message) SetProgPeriodInterval added in v0.2.0

func (m *Message) SetProgPeriodInterval(v int)

func (*Message) SetProgRptReqs added in v0.2.0

func (m *Message) SetProgRptReqs(v int)

func (*Message) SetTotNoOrders added in v0.2.0

func (m *Message) SetTotNoOrders(v int)

type NoAllocs

type NoAllocs struct {
	//AllocAccount is a non-required field for NoAllocs.
	AllocAccount *string `fix:"79"`
	//AllocShares is a non-required field for NoAllocs.
	AllocShares *float64 `fix:"80"`
}

NoAllocs is a repeating group in NoOrders

func NewNoAllocs added in v0.2.0

func NewNoAllocs() *NoAllocs

NewNoAllocs returns an initialized NoAllocs instance

func (*NoAllocs) SetAllocAccount added in v0.2.0

func (m *NoAllocs) SetAllocAccount(v string)

func (*NoAllocs) SetAllocShares added in v0.2.0

func (m *NoAllocs) SetAllocShares(v float64)

type NoOrders

type NoOrders struct {
	//ClOrdID is a required field for NoOrders.
	ClOrdID string `fix:"11"`
	//ListSeqNo is a required field for NoOrders.
	ListSeqNo int `fix:"67"`
	//SettlInstMode is a non-required field for NoOrders.
	SettlInstMode *string `fix:"160"`
	//ClientID is a non-required field for NoOrders.
	ClientID *string `fix:"109"`
	//ExecBroker is a non-required field for NoOrders.
	ExecBroker *string `fix:"76"`
	//Account is a non-required field for NoOrders.
	Account *string `fix:"1"`
	//NoAllocs is a non-required field for NoOrders.
	NoAllocs []NoAllocs `fix:"78,omitempty"`
	//SettlmntTyp is a non-required field for NoOrders.
	SettlmntTyp *string `fix:"63"`
	//FutSettDate is a non-required field for NoOrders.
	FutSettDate *string `fix:"64"`
	//HandlInst is a non-required field for NoOrders.
	HandlInst *string `fix:"21"`
	//ExecInst is a non-required field for NoOrders.
	ExecInst *string `fix:"18"`
	//MinQty is a non-required field for NoOrders.
	MinQty *float64 `fix:"110"`
	//MaxFloor is a non-required field for NoOrders.
	MaxFloor *float64 `fix:"111"`
	//ExDestination is a non-required field for NoOrders.
	ExDestination *string `fix:"100"`
	//NoTradingSessions is a non-required field for NoOrders.
	NoTradingSessions []NoTradingSessions `fix:"386,omitempty"`
	//ProcessCode is a non-required field for NoOrders.
	ProcessCode *string `fix:"81"`
	//Symbol is a required field for NoOrders.
	Symbol string `fix:"55"`
	//SymbolSfx is a non-required field for NoOrders.
	SymbolSfx *string `fix:"65"`
	//SecurityID is a non-required field for NoOrders.
	SecurityID *string `fix:"48"`
	//IDSource is a non-required field for NoOrders.
	IDSource *string `fix:"22"`
	//SecurityType is a non-required field for NoOrders.
	SecurityType *string `fix:"167"`
	//MaturityMonthYear is a non-required field for NoOrders.
	MaturityMonthYear *string `fix:"200"`
	//MaturityDay is a non-required field for NoOrders.
	MaturityDay *int `fix:"205"`
	//PutOrCall is a non-required field for NoOrders.
	PutOrCall *int `fix:"201"`
	//StrikePrice is a non-required field for NoOrders.
	StrikePrice *float64 `fix:"202"`
	//OptAttribute is a non-required field for NoOrders.
	OptAttribute *string `fix:"206"`
	//ContractMultiplier is a non-required field for NoOrders.
	ContractMultiplier *float64 `fix:"231"`
	//CouponRate is a non-required field for NoOrders.
	CouponRate *float64 `fix:"223"`
	//SecurityExchange is a non-required field for NoOrders.
	SecurityExchange *string `fix:"207"`
	//Issuer is a non-required field for NoOrders.
	Issuer *string `fix:"106"`
	//EncodedIssuerLen is a non-required field for NoOrders.
	EncodedIssuerLen *int `fix:"348"`
	//EncodedIssuer is a non-required field for NoOrders.
	EncodedIssuer *string `fix:"349"`
	//SecurityDesc is a non-required field for NoOrders.
	SecurityDesc *string `fix:"107"`
	//EncodedSecurityDescLen is a non-required field for NoOrders.
	EncodedSecurityDescLen *int `fix:"350"`
	//EncodedSecurityDesc is a non-required field for NoOrders.
	EncodedSecurityDesc *string `fix:"351"`
	//PrevClosePx is a non-required field for NoOrders.
	PrevClosePx *float64 `fix:"140"`
	//Side is a required field for NoOrders.
	Side string `fix:"54"`
	//SideValueInd is a non-required field for NoOrders.
	SideValueInd *int `fix:"401"`
	//LocateReqd is a non-required field for NoOrders.
	LocateReqd *bool `fix:"114"`
	//TransactTime is a non-required field for NoOrders.
	TransactTime *time.Time `fix:"60"`
	//OrderQty is a non-required field for NoOrders.
	OrderQty *float64 `fix:"38"`
	//CashOrderQty is a non-required field for NoOrders.
	CashOrderQty *float64 `fix:"152"`
	//OrdType is a non-required field for NoOrders.
	OrdType *string `fix:"40"`
	//Price is a non-required field for NoOrders.
	Price *float64 `fix:"44"`
	//StopPx is a non-required field for NoOrders.
	StopPx *float64 `fix:"99"`
	//Currency is a non-required field for NoOrders.
	Currency *string `fix:"15"`
	//ComplianceID is a non-required field for NoOrders.
	ComplianceID *string `fix:"376"`
	//SolicitedFlag is a non-required field for NoOrders.
	SolicitedFlag *bool `fix:"377"`
	//IOIid is a non-required field for NoOrders.
	IOIid *string `fix:"23"`
	//QuoteID is a non-required field for NoOrders.
	QuoteID *string `fix:"117"`
	//TimeInForce is a non-required field for NoOrders.
	TimeInForce *string `fix:"59"`
	//EffectiveTime is a non-required field for NoOrders.
	EffectiveTime *time.Time `fix:"168"`
	//ExpireDate is a non-required field for NoOrders.
	ExpireDate *string `fix:"432"`
	//ExpireTime is a non-required field for NoOrders.
	ExpireTime *time.Time `fix:"126"`
	//GTBookingInst is a non-required field for NoOrders.
	GTBookingInst *int `fix:"427"`
	//Commission is a non-required field for NoOrders.
	Commission *float64 `fix:"12"`
	//CommType is a non-required field for NoOrders.
	CommType *string `fix:"13"`
	//Rule80A is a non-required field for NoOrders.
	Rule80A *string `fix:"47"`
	//ForexReq is a non-required field for NoOrders.
	ForexReq *bool `fix:"121"`
	//SettlCurrency is a non-required field for NoOrders.
	SettlCurrency *string `fix:"120"`
	//Text is a non-required field for NoOrders.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for NoOrders.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for NoOrders.
	EncodedText *string `fix:"355"`
	//FutSettDate2 is a non-required field for NoOrders.
	FutSettDate2 *string `fix:"193"`
	//OrderQty2 is a non-required field for NoOrders.
	OrderQty2 *float64 `fix:"192"`
	//OpenClose is a non-required field for NoOrders.
	OpenClose *string `fix:"77"`
	//CoveredOrUncovered is a non-required field for NoOrders.
	CoveredOrUncovered *int `fix:"203"`
	//CustomerOrFirm is a non-required field for NoOrders.
	CustomerOrFirm *int `fix:"204"`
	//MaxShow is a non-required field for NoOrders.
	MaxShow *float64 `fix:"210"`
	//PegDifference is a non-required field for NoOrders.
	PegDifference *float64 `fix:"211"`
	//DiscretionInst is a non-required field for NoOrders.
	DiscretionInst *string `fix:"388"`
	//DiscretionOffset is a non-required field for NoOrders.
	DiscretionOffset *float64 `fix:"389"`
	//ClearingFirm is a non-required field for NoOrders.
	ClearingFirm *string `fix:"439"`
	//ClearingAccount is a non-required field for NoOrders.
	ClearingAccount *string `fix:"440"`
}

NoOrders is a repeating group in NewOrderList

func NewNoOrders added in v0.2.0

func NewNoOrders(clordid string, listseqno int, symbol string, side string) *NoOrders

NewNoOrders returns an initialized NoOrders instance

func (*NoOrders) SetAccount added in v0.2.0

func (m *NoOrders) SetAccount(v string)

func (*NoOrders) SetCashOrderQty added in v0.2.0

func (m *NoOrders) SetCashOrderQty(v float64)

func (*NoOrders) SetClOrdID added in v0.2.0

func (m *NoOrders) SetClOrdID(v string)

func (*NoOrders) SetClearingAccount added in v0.2.0

func (m *NoOrders) SetClearingAccount(v string)

func (*NoOrders) SetClearingFirm added in v0.2.0

func (m *NoOrders) SetClearingFirm(v string)

func (*NoOrders) SetClientID added in v0.2.0

func (m *NoOrders) SetClientID(v string)

func (*NoOrders) SetCommType added in v0.2.0

func (m *NoOrders) SetCommType(v string)

func (*NoOrders) SetCommission added in v0.2.0

func (m *NoOrders) SetCommission(v float64)

func (*NoOrders) SetComplianceID added in v0.2.0

func (m *NoOrders) SetComplianceID(v string)

func (*NoOrders) SetContractMultiplier added in v0.2.0

func (m *NoOrders) SetContractMultiplier(v float64)

func (*NoOrders) SetCouponRate added in v0.2.0

func (m *NoOrders) SetCouponRate(v float64)

func (*NoOrders) SetCoveredOrUncovered added in v0.2.0

func (m *NoOrders) SetCoveredOrUncovered(v int)

func (*NoOrders) SetCurrency added in v0.2.0

func (m *NoOrders) SetCurrency(v string)

func (*NoOrders) SetCustomerOrFirm added in v0.2.0

func (m *NoOrders) SetCustomerOrFirm(v int)

func (*NoOrders) SetDiscretionInst added in v0.2.0

func (m *NoOrders) SetDiscretionInst(v string)

func (*NoOrders) SetDiscretionOffset added in v0.2.0

func (m *NoOrders) SetDiscretionOffset(v float64)

func (*NoOrders) SetEffectiveTime added in v0.2.0

func (m *NoOrders) SetEffectiveTime(v time.Time)

func (*NoOrders) SetEncodedIssuer added in v0.2.0

func (m *NoOrders) SetEncodedIssuer(v string)

func (*NoOrders) SetEncodedIssuerLen added in v0.2.0

func (m *NoOrders) SetEncodedIssuerLen(v int)

func (*NoOrders) SetEncodedSecurityDesc added in v0.2.0

func (m *NoOrders) SetEncodedSecurityDesc(v string)

func (*NoOrders) SetEncodedSecurityDescLen added in v0.2.0

func (m *NoOrders) SetEncodedSecurityDescLen(v int)

func (*NoOrders) SetEncodedText added in v0.2.0

func (m *NoOrders) SetEncodedText(v string)

func (*NoOrders) SetEncodedTextLen added in v0.2.0

func (m *NoOrders) SetEncodedTextLen(v int)

func (*NoOrders) SetExDestination added in v0.2.0

func (m *NoOrders) SetExDestination(v string)

func (*NoOrders) SetExecBroker added in v0.2.0

func (m *NoOrders) SetExecBroker(v string)

func (*NoOrders) SetExecInst added in v0.2.0

func (m *NoOrders) SetExecInst(v string)

func (*NoOrders) SetExpireDate added in v0.2.0

func (m *NoOrders) SetExpireDate(v string)

func (*NoOrders) SetExpireTime added in v0.2.0

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

func (*NoOrders) SetForexReq added in v0.2.0

func (m *NoOrders) SetForexReq(v bool)

func (*NoOrders) SetFutSettDate added in v0.2.0

func (m *NoOrders) SetFutSettDate(v string)

func (*NoOrders) SetFutSettDate2 added in v0.2.0

func (m *NoOrders) SetFutSettDate2(v string)

func (*NoOrders) SetGTBookingInst added in v0.2.0

func (m *NoOrders) SetGTBookingInst(v int)

func (*NoOrders) SetHandlInst added in v0.2.0

func (m *NoOrders) SetHandlInst(v string)

func (*NoOrders) SetIDSource added in v0.2.0

func (m *NoOrders) SetIDSource(v string)

func (*NoOrders) SetIOIid added in v0.2.0

func (m *NoOrders) SetIOIid(v string)

func (*NoOrders) SetIssuer added in v0.2.0

func (m *NoOrders) SetIssuer(v string)

func (*NoOrders) SetListSeqNo added in v0.2.0

func (m *NoOrders) SetListSeqNo(v int)

func (*NoOrders) SetLocateReqd added in v0.2.0

func (m *NoOrders) SetLocateReqd(v bool)

func (*NoOrders) SetMaturityDay added in v0.2.0

func (m *NoOrders) SetMaturityDay(v int)

func (*NoOrders) SetMaturityMonthYear added in v0.2.0

func (m *NoOrders) SetMaturityMonthYear(v string)

func (*NoOrders) SetMaxFloor added in v0.2.0

func (m *NoOrders) SetMaxFloor(v float64)

func (*NoOrders) SetMaxShow added in v0.2.0

func (m *NoOrders) SetMaxShow(v float64)

func (*NoOrders) SetMinQty added in v0.2.0

func (m *NoOrders) SetMinQty(v float64)

func (*NoOrders) SetNoAllocs added in v0.2.0

func (m *NoOrders) SetNoAllocs(v []NoAllocs)

func (*NoOrders) SetNoTradingSessions added in v0.2.0

func (m *NoOrders) SetNoTradingSessions(v []NoTradingSessions)

func (*NoOrders) SetOpenClose added in v0.2.0

func (m *NoOrders) SetOpenClose(v string)

func (*NoOrders) SetOptAttribute added in v0.2.0

func (m *NoOrders) SetOptAttribute(v string)

func (*NoOrders) SetOrdType added in v0.2.0

func (m *NoOrders) SetOrdType(v string)

func (*NoOrders) SetOrderQty added in v0.2.0

func (m *NoOrders) SetOrderQty(v float64)

func (*NoOrders) SetOrderQty2 added in v0.2.0

func (m *NoOrders) SetOrderQty2(v float64)

func (*NoOrders) SetPegDifference added in v0.2.0

func (m *NoOrders) SetPegDifference(v float64)

func (*NoOrders) SetPrevClosePx added in v0.2.0

func (m *NoOrders) SetPrevClosePx(v float64)

func (*NoOrders) SetPrice added in v0.2.0

func (m *NoOrders) SetPrice(v float64)

func (*NoOrders) SetProcessCode added in v0.2.0

func (m *NoOrders) SetProcessCode(v string)

func (*NoOrders) SetPutOrCall added in v0.2.0

func (m *NoOrders) SetPutOrCall(v int)

func (*NoOrders) SetQuoteID added in v0.2.0

func (m *NoOrders) SetQuoteID(v string)

func (*NoOrders) SetRule80A added in v0.2.0

func (m *NoOrders) SetRule80A(v string)

func (*NoOrders) SetSecurityDesc added in v0.2.0

func (m *NoOrders) SetSecurityDesc(v string)

func (*NoOrders) SetSecurityExchange added in v0.2.0

func (m *NoOrders) SetSecurityExchange(v string)

func (*NoOrders) SetSecurityID added in v0.2.0

func (m *NoOrders) SetSecurityID(v string)

func (*NoOrders) SetSecurityType added in v0.2.0

func (m *NoOrders) SetSecurityType(v string)

func (*NoOrders) SetSettlCurrency added in v0.2.0

func (m *NoOrders) SetSettlCurrency(v string)

func (*NoOrders) SetSettlInstMode added in v0.2.0

func (m *NoOrders) SetSettlInstMode(v string)

func (*NoOrders) SetSettlmntTyp added in v0.2.0

func (m *NoOrders) SetSettlmntTyp(v string)

func (*NoOrders) SetSide added in v0.2.0

func (m *NoOrders) SetSide(v string)

func (*NoOrders) SetSideValueInd added in v0.2.0

func (m *NoOrders) SetSideValueInd(v int)

func (*NoOrders) SetSolicitedFlag added in v0.2.0

func (m *NoOrders) SetSolicitedFlag(v bool)

func (*NoOrders) SetStopPx added in v0.2.0

func (m *NoOrders) SetStopPx(v float64)

func (*NoOrders) SetStrikePrice added in v0.2.0

func (m *NoOrders) SetStrikePrice(v float64)

func (*NoOrders) SetSymbol added in v0.2.0

func (m *NoOrders) SetSymbol(v string)

func (*NoOrders) SetSymbolSfx added in v0.2.0

func (m *NoOrders) SetSymbolSfx(v string)

func (*NoOrders) SetText added in v0.2.0

func (m *NoOrders) SetText(v string)

func (*NoOrders) SetTimeInForce added in v0.2.0

func (m *NoOrders) SetTimeInForce(v string)

func (*NoOrders) SetTransactTime added in v0.2.0

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

type NoTradingSessions

type NoTradingSessions struct {
	//TradingSessionID is a non-required field for NoTradingSessions.
	TradingSessionID *string `fix:"336"`
}

NoTradingSessions is a repeating group in NoOrders

func NewNoTradingSessions added in v0.2.0

func NewNoTradingSessions() *NoTradingSessions

NewNoTradingSessions returns an initialized NoTradingSessions instance

func (*NoTradingSessions) SetTradingSessionID added in v0.2.0

func (m *NoTradingSessions) SetTradingSessionID(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