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

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

func (m *Message) SetBidID(v string)

func (*Message) SetBidType

func (m *Message) SetBidType(v int)

func (*Message) SetClientBidID

func (m *Message) SetClientBidID(v string)

func (*Message) SetEncodedListExecInst

func (m *Message) SetEncodedListExecInst(v string)

func (*Message) SetEncodedListExecInstLen

func (m *Message) SetEncodedListExecInstLen(v int)

func (*Message) SetListExecInst

func (m *Message) SetListExecInst(v string)

func (*Message) SetListExecInstType

func (m *Message) SetListExecInstType(v string)

func (*Message) SetListID

func (m *Message) SetListID(v string)

func (*Message) SetNoOrders

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

func (*Message) SetProgPeriodInterval

func (m *Message) SetProgPeriodInterval(v int)

func (*Message) SetProgRptReqs

func (m *Message) SetProgRptReqs(v int)

func (*Message) SetTotNoOrders

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

func NewNoAllocs() *NoAllocs

NewNoAllocs returns an initialized NoAllocs instance

func (*NoAllocs) SetAllocAccount

func (m *NoAllocs) SetAllocAccount(v string)

func (*NoAllocs) SetAllocShares

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

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

NewNoOrders returns an initialized NoOrders instance

func (*NoOrders) SetAccount

func (m *NoOrders) SetAccount(v string)

func (*NoOrders) SetCashOrderQty

func (m *NoOrders) SetCashOrderQty(v float64)

func (*NoOrders) SetClOrdID

func (m *NoOrders) SetClOrdID(v string)

func (*NoOrders) SetClearingAccount

func (m *NoOrders) SetClearingAccount(v string)

func (*NoOrders) SetClearingFirm

func (m *NoOrders) SetClearingFirm(v string)

func (*NoOrders) SetClientID

func (m *NoOrders) SetClientID(v string)

func (*NoOrders) SetCommType

func (m *NoOrders) SetCommType(v string)

func (*NoOrders) SetCommission

func (m *NoOrders) SetCommission(v float64)

func (*NoOrders) SetComplianceID

func (m *NoOrders) SetComplianceID(v string)

func (*NoOrders) SetContractMultiplier

func (m *NoOrders) SetContractMultiplier(v float64)

func (*NoOrders) SetCouponRate

func (m *NoOrders) SetCouponRate(v float64)

func (*NoOrders) SetCoveredOrUncovered

func (m *NoOrders) SetCoveredOrUncovered(v int)

func (*NoOrders) SetCurrency

func (m *NoOrders) SetCurrency(v string)

func (*NoOrders) SetCustomerOrFirm

func (m *NoOrders) SetCustomerOrFirm(v int)

func (*NoOrders) SetDiscretionInst

func (m *NoOrders) SetDiscretionInst(v string)

func (*NoOrders) SetDiscretionOffset

func (m *NoOrders) SetDiscretionOffset(v float64)

func (*NoOrders) SetEffectiveTime

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

func (*NoOrders) SetEncodedIssuer

func (m *NoOrders) SetEncodedIssuer(v string)

func (*NoOrders) SetEncodedIssuerLen

func (m *NoOrders) SetEncodedIssuerLen(v int)

func (*NoOrders) SetEncodedSecurityDesc

func (m *NoOrders) SetEncodedSecurityDesc(v string)

func (*NoOrders) SetEncodedSecurityDescLen

func (m *NoOrders) SetEncodedSecurityDescLen(v int)

func (*NoOrders) SetEncodedText

func (m *NoOrders) SetEncodedText(v string)

func (*NoOrders) SetEncodedTextLen

func (m *NoOrders) SetEncodedTextLen(v int)

func (*NoOrders) SetExDestination

func (m *NoOrders) SetExDestination(v string)

func (*NoOrders) SetExecBroker

func (m *NoOrders) SetExecBroker(v string)

func (*NoOrders) SetExecInst

func (m *NoOrders) SetExecInst(v string)

func (*NoOrders) SetExpireDate

func (m *NoOrders) SetExpireDate(v string)

func (*NoOrders) SetExpireTime

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

func (*NoOrders) SetForexReq

func (m *NoOrders) SetForexReq(v bool)

func (*NoOrders) SetFutSettDate

func (m *NoOrders) SetFutSettDate(v string)

func (*NoOrders) SetFutSettDate2

func (m *NoOrders) SetFutSettDate2(v string)

func (*NoOrders) SetGTBookingInst

func (m *NoOrders) SetGTBookingInst(v int)

func (*NoOrders) SetHandlInst

func (m *NoOrders) SetHandlInst(v string)

func (*NoOrders) SetIDSource

func (m *NoOrders) SetIDSource(v string)

func (*NoOrders) SetIOIid

func (m *NoOrders) SetIOIid(v string)

func (*NoOrders) SetIssuer

func (m *NoOrders) SetIssuer(v string)

func (*NoOrders) SetListSeqNo

func (m *NoOrders) SetListSeqNo(v int)

func (*NoOrders) SetLocateReqd

func (m *NoOrders) SetLocateReqd(v bool)

func (*NoOrders) SetMaturityDay

func (m *NoOrders) SetMaturityDay(v int)

func (*NoOrders) SetMaturityMonthYear

func (m *NoOrders) SetMaturityMonthYear(v string)

func (*NoOrders) SetMaxFloor

func (m *NoOrders) SetMaxFloor(v float64)

func (*NoOrders) SetMaxShow

func (m *NoOrders) SetMaxShow(v float64)

func (*NoOrders) SetMinQty

func (m *NoOrders) SetMinQty(v float64)

func (*NoOrders) SetNoAllocs

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

func (*NoOrders) SetNoTradingSessions

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

func (*NoOrders) SetOpenClose

func (m *NoOrders) SetOpenClose(v string)

func (*NoOrders) SetOptAttribute

func (m *NoOrders) SetOptAttribute(v string)

func (*NoOrders) SetOrdType

func (m *NoOrders) SetOrdType(v string)

func (*NoOrders) SetOrderQty

func (m *NoOrders) SetOrderQty(v float64)

func (*NoOrders) SetOrderQty2

func (m *NoOrders) SetOrderQty2(v float64)

func (*NoOrders) SetPegDifference

func (m *NoOrders) SetPegDifference(v float64)

func (*NoOrders) SetPrevClosePx

func (m *NoOrders) SetPrevClosePx(v float64)

func (*NoOrders) SetPrice

func (m *NoOrders) SetPrice(v float64)

func (*NoOrders) SetProcessCode

func (m *NoOrders) SetProcessCode(v string)

func (*NoOrders) SetPutOrCall

func (m *NoOrders) SetPutOrCall(v int)

func (*NoOrders) SetQuoteID

func (m *NoOrders) SetQuoteID(v string)

func (*NoOrders) SetRule80A

func (m *NoOrders) SetRule80A(v string)

func (*NoOrders) SetSecurityDesc

func (m *NoOrders) SetSecurityDesc(v string)

func (*NoOrders) SetSecurityExchange

func (m *NoOrders) SetSecurityExchange(v string)

func (*NoOrders) SetSecurityID

func (m *NoOrders) SetSecurityID(v string)

func (*NoOrders) SetSecurityType

func (m *NoOrders) SetSecurityType(v string)

func (*NoOrders) SetSettlCurrency

func (m *NoOrders) SetSettlCurrency(v string)

func (*NoOrders) SetSettlInstMode

func (m *NoOrders) SetSettlInstMode(v string)

func (*NoOrders) SetSettlmntTyp

func (m *NoOrders) SetSettlmntTyp(v string)

func (*NoOrders) SetSide

func (m *NoOrders) SetSide(v string)

func (*NoOrders) SetSideValueInd

func (m *NoOrders) SetSideValueInd(v int)

func (*NoOrders) SetSolicitedFlag

func (m *NoOrders) SetSolicitedFlag(v bool)

func (*NoOrders) SetStopPx

func (m *NoOrders) SetStopPx(v float64)

func (*NoOrders) SetStrikePrice

func (m *NoOrders) SetStrikePrice(v float64)

func (*NoOrders) SetSymbol

func (m *NoOrders) SetSymbol(v string)

func (*NoOrders) SetSymbolSfx

func (m *NoOrders) SetSymbolSfx(v string)

func (*NoOrders) SetText

func (m *NoOrders) SetText(v string)

func (*NoOrders) SetTimeInForce

func (m *NoOrders) SetTimeInForce(v string)

func (*NoOrders) SetTransactTime

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

func NewNoTradingSessions() *NoTradingSessions

NewNoTradingSessions returns an initialized NoTradingSessions instance

func (*NoTradingSessions) SetTradingSessionID

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