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: 12 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"`
	fix43.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"`
	//CancellationRights is a non-required field for NewOrderList.
	CancellationRights *string `fix:"480"`
	//MoneyLaunderingStatus is a non-required field for NewOrderList.
	MoneyLaunderingStatus *string `fix:"481"`
	//RegistID is a non-required field for NewOrderList.
	RegistID *string `fix:"513"`
	//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"`
	fix43.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) SetCancellationRights added in v0.2.0

func (m *Message) SetCancellationRights(v string)

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

func (m *Message) SetMoneyLaunderingStatus(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) SetRegistID added in v0.2.0

func (m *Message) SetRegistID(v string)

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"`
	//IndividualAllocID is a non-required field for NoAllocs.
	IndividualAllocID *string `fix:"467"`
	//NestedParties is a non-required component for NoAllocs.
	NestedParties *nestedparties.NestedParties
	//AllocQty is a non-required field for NoAllocs.
	AllocQty *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) SetAllocQty added in v0.2.0

func (m *NoAllocs) SetAllocQty(v float64)

func (*NoAllocs) SetIndividualAllocID added in v0.2.0

func (m *NoAllocs) SetIndividualAllocID(v string)

func (*NoAllocs) SetNestedParties added in v0.2.0

func (m *NoAllocs) SetNestedParties(v nestedparties.NestedParties)

type NoOrders

type NoOrders struct {
	//ClOrdID is a required field for NoOrders.
	ClOrdID string `fix:"11"`
	//SecondaryClOrdID is a non-required field for NoOrders.
	SecondaryClOrdID *string `fix:"526"`
	//ListSeqNo is a required field for NoOrders.
	ListSeqNo int `fix:"67"`
	//ClOrdLinkID is a non-required field for NoOrders.
	ClOrdLinkID *string `fix:"583"`
	//SettlInstMode is a non-required field for NoOrders.
	SettlInstMode *string `fix:"160"`
	//Parties is a non-required component for NoOrders.
	Parties *parties.Parties
	//TradeOriginationDate is a non-required field for NoOrders.
	TradeOriginationDate *string `fix:"229"`
	//Account is a non-required field for NoOrders.
	Account *string `fix:"1"`
	//AccountType is a non-required field for NoOrders.
	AccountType *int `fix:"581"`
	//DayBookingInst is a non-required field for NoOrders.
	DayBookingInst *string `fix:"589"`
	//BookingUnit is a non-required field for NoOrders.
	BookingUnit *string `fix:"590"`
	//PreallocMethod is a non-required field for NoOrders.
	PreallocMethod *string `fix:"591"`
	//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"`
	//CashMargin is a non-required field for NoOrders.
	CashMargin *string `fix:"544"`
	//ClearingFeeIndicator is a non-required field for NoOrders.
	ClearingFeeIndicator *string `fix:"635"`
	//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"`
	//Instrument is a required component for NoOrders.
	instrument.Instrument
	//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"`
	//Stipulations is a non-required component for NoOrders.
	Stipulations *stipulations.Stipulations
	//QuantityType is a non-required field for NoOrders.
	QuantityType *int `fix:"465"`
	//OrderQtyData is a required component for NoOrders.
	orderqtydata.OrderQtyData
	//OrdType is a non-required field for NoOrders.
	OrdType *string `fix:"40"`
	//PriceType is a non-required field for NoOrders.
	PriceType *int `fix:"423"`
	//Price is a non-required field for NoOrders.
	Price *float64 `fix:"44"`
	//StopPx is a non-required field for NoOrders.
	StopPx *float64 `fix:"99"`
	//SpreadOrBenchmarkCurveData is a non-required component for NoOrders.
	SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData
	//YieldData is a non-required component for NoOrders.
	YieldData *yielddata.YieldData
	//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"`
	//CommissionData is a non-required component for NoOrders.
	CommissionData *commissiondata.CommissionData
	//OrderCapacity is a non-required field for NoOrders.
	OrderCapacity *string `fix:"528"`
	//OrderRestrictions is a non-required field for NoOrders.
	OrderRestrictions *string `fix:"529"`
	//CustOrderCapacity is a non-required field for NoOrders.
	CustOrderCapacity *int `fix:"582"`
	//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"`
	//Price2 is a non-required field for NoOrders.
	Price2 *float64 `fix:"640"`
	//PositionEffect is a non-required field for NoOrders.
	PositionEffect *string `fix:"77"`
	//CoveredOrUncovered is a non-required field for NoOrders.
	CoveredOrUncovered *int `fix:"203"`
	//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"`
	//Designation is a non-required field for NoOrders.
	Designation *string `fix:"494"`
	//AccruedInterestRate is a non-required field for NoOrders.
	AccruedInterestRate *float64 `fix:"158"`
	//AccruedInterestAmt is a non-required field for NoOrders.
	AccruedInterestAmt *float64 `fix:"159"`
	//NetMoney is a non-required field for NoOrders.
	NetMoney *float64 `fix:"118"`
}

NoOrders is a repeating group in NewOrderList

func NewNoOrders added in v0.2.0

func NewNoOrders(clordid string, listseqno int, instrument instrument.Instrument, side string, orderqtydata orderqtydata.OrderQtyData) *NoOrders

NewNoOrders returns an initialized NoOrders instance

func (*NoOrders) SetAccount added in v0.2.0

func (m *NoOrders) SetAccount(v string)

func (*NoOrders) SetAccountType added in v0.2.0

func (m *NoOrders) SetAccountType(v int)

func (*NoOrders) SetAccruedInterestAmt added in v0.2.0

func (m *NoOrders) SetAccruedInterestAmt(v float64)

func (*NoOrders) SetAccruedInterestRate added in v0.2.0

func (m *NoOrders) SetAccruedInterestRate(v float64)

func (*NoOrders) SetBookingUnit added in v0.2.0

func (m *NoOrders) SetBookingUnit(v string)

func (*NoOrders) SetCashMargin added in v0.2.0

func (m *NoOrders) SetCashMargin(v string)

func (*NoOrders) SetClOrdID added in v0.2.0

func (m *NoOrders) SetClOrdID(v string)

func (*NoOrders) SetClOrdLinkID added in v0.2.0

func (m *NoOrders) SetClOrdLinkID(v string)

func (*NoOrders) SetClearingFeeIndicator added in v0.2.0

func (m *NoOrders) SetClearingFeeIndicator(v string)

func (*NoOrders) SetCommissionData added in v0.2.0

func (m *NoOrders) SetCommissionData(v commissiondata.CommissionData)

func (*NoOrders) SetComplianceID added in v0.2.0

func (m *NoOrders) SetComplianceID(v string)

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

func (m *NoOrders) SetCustOrderCapacity(v int)

func (*NoOrders) SetDayBookingInst added in v0.2.0

func (m *NoOrders) SetDayBookingInst(v string)

func (*NoOrders) SetDesignation added in v0.2.0

func (m *NoOrders) SetDesignation(v string)

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

func (m *NoOrders) SetIOIid(v string)

func (*NoOrders) SetInstrument added in v0.2.0

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

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

func (m *NoOrders) SetNetMoney(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) SetOrdType added in v0.2.0

func (m *NoOrders) SetOrdType(v string)

func (*NoOrders) SetOrderCapacity added in v0.2.0

func (m *NoOrders) SetOrderCapacity(v string)

func (*NoOrders) SetOrderQty2 added in v0.2.0

func (m *NoOrders) SetOrderQty2(v float64)

func (*NoOrders) SetOrderQtyData added in v0.2.0

func (m *NoOrders) SetOrderQtyData(v orderqtydata.OrderQtyData)

func (*NoOrders) SetOrderRestrictions added in v0.2.0

func (m *NoOrders) SetOrderRestrictions(v string)

func (*NoOrders) SetParties added in v0.2.0

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

func (*NoOrders) SetPegDifference added in v0.2.0

func (m *NoOrders) SetPegDifference(v float64)

func (*NoOrders) SetPositionEffect added in v0.2.0

func (m *NoOrders) SetPositionEffect(v string)

func (*NoOrders) SetPreallocMethod added in v0.2.0

func (m *NoOrders) SetPreallocMethod(v string)

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

func (m *NoOrders) SetPrice2(v float64)

func (*NoOrders) SetPriceType added in v0.2.0

func (m *NoOrders) SetPriceType(v int)

func (*NoOrders) SetProcessCode added in v0.2.0

func (m *NoOrders) SetProcessCode(v string)

func (*NoOrders) SetQuantityType added in v0.2.0

func (m *NoOrders) SetQuantityType(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) SetSecondaryClOrdID added in v0.2.0

func (m *NoOrders) SetSecondaryClOrdID(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) SetSpreadOrBenchmarkCurveData added in v0.2.0

func (m *NoOrders) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData)

func (*NoOrders) SetStipulations added in v0.2.0

func (m *NoOrders) SetStipulations(v stipulations.Stipulations)

func (*NoOrders) SetStopPx added in v0.2.0

func (m *NoOrders) SetStopPx(v float64)

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

func (m *NoOrders) SetTradeOriginationDate(v string)

func (*NoOrders) SetTransactTime added in v0.2.0

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

func (*NoOrders) SetYieldData added in v0.2.0

func (m *NoOrders) SetYieldData(v yielddata.YieldData)

type NoTradingSessions

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

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)

func (*NoTradingSessions) SetTradingSessionSubID added in v0.2.0

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