multilegordercancelreplacerequest

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

Documentation

Overview

Package multilegordercancelreplacerequest msg type = AC.

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:"AC"`
	fix43.Header
	//OrderID is a non-required field for MultilegOrderCancelReplaceRequest.
	OrderID *string `fix:"37"`
	//OrigClOrdID is a required field for MultilegOrderCancelReplaceRequest.
	OrigClOrdID string `fix:"41"`
	//ClOrdID is a required field for MultilegOrderCancelReplaceRequest.
	ClOrdID string `fix:"11"`
	//SecondaryClOrdID is a non-required field for MultilegOrderCancelReplaceRequest.
	SecondaryClOrdID *string `fix:"526"`
	//ClOrdLinkID is a non-required field for MultilegOrderCancelReplaceRequest.
	ClOrdLinkID *string `fix:"583"`
	//OrigOrdModTime is a non-required field for MultilegOrderCancelReplaceRequest.
	OrigOrdModTime *time.Time `fix:"586"`
	//Parties is a non-required component for MultilegOrderCancelReplaceRequest.
	Parties *parties.Parties
	//Account is a non-required field for MultilegOrderCancelReplaceRequest.
	Account *string `fix:"1"`
	//AccountType is a non-required field for MultilegOrderCancelReplaceRequest.
	AccountType *int `fix:"581"`
	//DayBookingInst is a non-required field for MultilegOrderCancelReplaceRequest.
	DayBookingInst *string `fix:"589"`
	//BookingUnit is a non-required field for MultilegOrderCancelReplaceRequest.
	BookingUnit *string `fix:"590"`
	//PreallocMethod is a non-required field for MultilegOrderCancelReplaceRequest.
	PreallocMethod *string `fix:"591"`
	//NoAllocs is a non-required field for MultilegOrderCancelReplaceRequest.
	NoAllocs []NoAllocs `fix:"78,omitempty"`
	//SettlmntTyp is a non-required field for MultilegOrderCancelReplaceRequest.
	SettlmntTyp *string `fix:"63"`
	//FutSettDate is a non-required field for MultilegOrderCancelReplaceRequest.
	FutSettDate *string `fix:"64"`
	//CashMargin is a non-required field for MultilegOrderCancelReplaceRequest.
	CashMargin *string `fix:"544"`
	//ClearingFeeIndicator is a non-required field for MultilegOrderCancelReplaceRequest.
	ClearingFeeIndicator *string `fix:"635"`
	//HandlInst is a required field for MultilegOrderCancelReplaceRequest.
	HandlInst string `fix:"21"`
	//ExecInst is a non-required field for MultilegOrderCancelReplaceRequest.
	ExecInst *string `fix:"18"`
	//MinQty is a non-required field for MultilegOrderCancelReplaceRequest.
	MinQty *float64 `fix:"110"`
	//MaxFloor is a non-required field for MultilegOrderCancelReplaceRequest.
	MaxFloor *float64 `fix:"111"`
	//ExDestination is a non-required field for MultilegOrderCancelReplaceRequest.
	ExDestination *string `fix:"100"`
	//NoTradingSessions is a non-required field for MultilegOrderCancelReplaceRequest.
	NoTradingSessions []NoTradingSessions `fix:"386,omitempty"`
	//ProcessCode is a non-required field for MultilegOrderCancelReplaceRequest.
	ProcessCode *string `fix:"81"`
	//Side is a required field for MultilegOrderCancelReplaceRequest.
	Side string `fix:"54"`
	//Instrument is a required component for MultilegOrderCancelReplaceRequest.
	instrument.Instrument
	//PrevClosePx is a non-required field for MultilegOrderCancelReplaceRequest.
	PrevClosePx *float64 `fix:"140"`
	//NoLegs is a required field for MultilegOrderCancelReplaceRequest.
	NoLegs []NoLegs `fix:"555"`
	//LocateReqd is a non-required field for MultilegOrderCancelReplaceRequest.
	LocateReqd *bool `fix:"114"`
	//TransactTime is a required field for MultilegOrderCancelReplaceRequest.
	TransactTime time.Time `fix:"60"`
	//QuantityType is a non-required field for MultilegOrderCancelReplaceRequest.
	QuantityType *int `fix:"465"`
	//OrderQtyData is a required component for MultilegOrderCancelReplaceRequest.
	orderqtydata.OrderQtyData
	//OrdType is a required field for MultilegOrderCancelReplaceRequest.
	OrdType string `fix:"40"`
	//PriceType is a non-required field for MultilegOrderCancelReplaceRequest.
	PriceType *int `fix:"423"`
	//Price is a non-required field for MultilegOrderCancelReplaceRequest.
	Price *float64 `fix:"44"`
	//StopPx is a non-required field for MultilegOrderCancelReplaceRequest.
	StopPx *float64 `fix:"99"`
	//Currency is a non-required field for MultilegOrderCancelReplaceRequest.
	Currency *string `fix:"15"`
	//ComplianceID is a non-required field for MultilegOrderCancelReplaceRequest.
	ComplianceID *string `fix:"376"`
	//SolicitedFlag is a non-required field for MultilegOrderCancelReplaceRequest.
	SolicitedFlag *bool `fix:"377"`
	//IOIid is a non-required field for MultilegOrderCancelReplaceRequest.
	IOIid *string `fix:"23"`
	//QuoteID is a non-required field for MultilegOrderCancelReplaceRequest.
	QuoteID *string `fix:"117"`
	//TimeInForce is a non-required field for MultilegOrderCancelReplaceRequest.
	TimeInForce *string `fix:"59"`
	//EffectiveTime is a non-required field for MultilegOrderCancelReplaceRequest.
	EffectiveTime *time.Time `fix:"168"`
	//ExpireDate is a non-required field for MultilegOrderCancelReplaceRequest.
	ExpireDate *string `fix:"432"`
	//ExpireTime is a non-required field for MultilegOrderCancelReplaceRequest.
	ExpireTime *time.Time `fix:"126"`
	//GTBookingInst is a non-required field for MultilegOrderCancelReplaceRequest.
	GTBookingInst *int `fix:"427"`
	//CommissionData is a non-required component for MultilegOrderCancelReplaceRequest.
	CommissionData *commissiondata.CommissionData
	//OrderCapacity is a non-required field for MultilegOrderCancelReplaceRequest.
	OrderCapacity *string `fix:"528"`
	//OrderRestrictions is a non-required field for MultilegOrderCancelReplaceRequest.
	OrderRestrictions *string `fix:"529"`
	//CustOrderCapacity is a non-required field for MultilegOrderCancelReplaceRequest.
	CustOrderCapacity *int `fix:"582"`
	//ForexReq is a non-required field for MultilegOrderCancelReplaceRequest.
	ForexReq *bool `fix:"121"`
	//SettlCurrency is a non-required field for MultilegOrderCancelReplaceRequest.
	SettlCurrency *string `fix:"120"`
	//Text is a non-required field for MultilegOrderCancelReplaceRequest.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for MultilegOrderCancelReplaceRequest.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for MultilegOrderCancelReplaceRequest.
	EncodedText *string `fix:"355"`
	//PositionEffect is a non-required field for MultilegOrderCancelReplaceRequest.
	PositionEffect *string `fix:"77"`
	//CoveredOrUncovered is a non-required field for MultilegOrderCancelReplaceRequest.
	CoveredOrUncovered *int `fix:"203"`
	//MaxShow is a non-required field for MultilegOrderCancelReplaceRequest.
	MaxShow *float64 `fix:"210"`
	//PegDifference is a non-required field for MultilegOrderCancelReplaceRequest.
	PegDifference *float64 `fix:"211"`
	//DiscretionInst is a non-required field for MultilegOrderCancelReplaceRequest.
	DiscretionInst *string `fix:"388"`
	//DiscretionOffset is a non-required field for MultilegOrderCancelReplaceRequest.
	DiscretionOffset *float64 `fix:"389"`
	//CancellationRights is a non-required field for MultilegOrderCancelReplaceRequest.
	CancellationRights *string `fix:"480"`
	//MoneyLaunderingStatus is a non-required field for MultilegOrderCancelReplaceRequest.
	MoneyLaunderingStatus *string `fix:"481"`
	//RegistID is a non-required field for MultilegOrderCancelReplaceRequest.
	RegistID *string `fix:"513"`
	//Designation is a non-required field for MultilegOrderCancelReplaceRequest.
	Designation *string `fix:"494"`
	//MultiLegRptTypeReq is a non-required field for MultilegOrderCancelReplaceRequest.
	MultiLegRptTypeReq *int `fix:"563"`
	//NetMoney is a non-required field for MultilegOrderCancelReplaceRequest.
	NetMoney *float64 `fix:"118"`
	fix43.Trailer
}

Message is a MultilegOrderCancelReplaceRequest FIX Message

func New added in v0.2.0

func New(origclordid string, clordid string, handlinst string, side string, instrument instrument.Instrument, nolegs []NoLegs, transacttime time.Time, orderqtydata orderqtydata.OrderQtyData, ordtype string) *Message

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

func (m *Message) SetAccountType(v int)

func (*Message) SetBookingUnit added in v0.2.0

func (m *Message) SetBookingUnit(v string)

func (*Message) SetCancellationRights added in v0.2.0

func (m *Message) SetCancellationRights(v string)

func (*Message) SetCashMargin added in v0.2.0

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

func (m *Message) SetClearingFeeIndicator(v string)

func (*Message) SetCommissionData added in v0.2.0

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

func (*Message) SetComplianceID added in v0.2.0

func (m *Message) SetComplianceID(v string)

func (*Message) SetCoveredOrUncovered added in v0.2.0

func (m *Message) SetCoveredOrUncovered(v int)

func (*Message) SetCurrency added in v0.2.0

func (m *Message) SetCurrency(v string)

func (*Message) SetCustOrderCapacity added in v0.2.0

func (m *Message) SetCustOrderCapacity(v int)

func (*Message) SetDayBookingInst added in v0.2.0

func (m *Message) SetDayBookingInst(v string)

func (*Message) SetDesignation added in v0.2.0

func (m *Message) SetDesignation(v string)

func (*Message) SetDiscretionInst added in v0.2.0

func (m *Message) SetDiscretionInst(v string)

func (*Message) SetDiscretionOffset added in v0.2.0

func (m *Message) SetDiscretionOffset(v float64)

func (*Message) SetEffectiveTime added in v0.2.0

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

func (*Message) SetEncodedText added in v0.2.0

func (m *Message) SetEncodedText(v string)

func (*Message) SetEncodedTextLen added in v0.2.0

func (m *Message) SetEncodedTextLen(v int)

func (*Message) SetExDestination added in v0.2.0

func (m *Message) SetExDestination(v string)

func (*Message) SetExecInst added in v0.2.0

func (m *Message) SetExecInst(v string)

func (*Message) SetExpireDate added in v0.2.0

func (m *Message) SetExpireDate(v string)

func (*Message) SetExpireTime added in v0.2.0

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

func (*Message) SetForexReq added in v0.2.0

func (m *Message) SetForexReq(v bool)

func (*Message) SetFutSettDate added in v0.2.0

func (m *Message) SetFutSettDate(v string)

func (*Message) SetGTBookingInst added in v0.2.0

func (m *Message) SetGTBookingInst(v int)

func (*Message) SetHandlInst added in v0.2.0

func (m *Message) SetHandlInst(v string)

func (*Message) SetIOIid added in v0.2.0

func (m *Message) SetIOIid(v string)

func (*Message) SetInstrument added in v0.2.0

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

func (*Message) SetLocateReqd added in v0.2.0

func (m *Message) SetLocateReqd(v bool)

func (*Message) SetMaxFloor added in v0.2.0

func (m *Message) SetMaxFloor(v float64)

func (*Message) SetMaxShow added in v0.2.0

func (m *Message) SetMaxShow(v float64)

func (*Message) SetMinQty added in v0.2.0

func (m *Message) SetMinQty(v float64)

func (*Message) SetMoneyLaunderingStatus added in v0.2.0

func (m *Message) SetMoneyLaunderingStatus(v string)

func (*Message) SetMultiLegRptTypeReq added in v0.2.0

func (m *Message) SetMultiLegRptTypeReq(v int)

func (*Message) SetNetMoney added in v0.2.0

func (m *Message) SetNetMoney(v float64)

func (*Message) SetNoAllocs added in v0.2.0

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

func (*Message) SetNoLegs added in v0.2.0

func (m *Message) SetNoLegs(v []NoLegs)

func (*Message) SetNoTradingSessions added in v0.2.0

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

func (*Message) SetOrdType added in v0.2.0

func (m *Message) SetOrdType(v string)

func (*Message) SetOrderCapacity added in v0.2.0

func (m *Message) SetOrderCapacity(v string)

func (*Message) SetOrderID added in v0.2.0

func (m *Message) SetOrderID(v string)

func (*Message) SetOrderQtyData added in v0.2.0

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

func (*Message) SetOrderRestrictions added in v0.2.0

func (m *Message) SetOrderRestrictions(v string)

func (*Message) SetOrigClOrdID added in v0.2.0

func (m *Message) SetOrigClOrdID(v string)

func (*Message) SetOrigOrdModTime added in v0.2.0

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

func (*Message) SetParties added in v0.2.0

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

func (*Message) SetPegDifference added in v0.2.0

func (m *Message) SetPegDifference(v float64)

func (*Message) SetPositionEffect added in v0.2.0

func (m *Message) SetPositionEffect(v string)

func (*Message) SetPreallocMethod added in v0.2.0

func (m *Message) SetPreallocMethod(v string)

func (*Message) SetPrevClosePx added in v0.2.0

func (m *Message) SetPrevClosePx(v float64)

func (*Message) SetPrice added in v0.2.0

func (m *Message) SetPrice(v float64)

func (*Message) SetPriceType added in v0.2.0

func (m *Message) SetPriceType(v int)

func (*Message) SetProcessCode added in v0.2.0

func (m *Message) SetProcessCode(v string)

func (*Message) SetQuantityType added in v0.2.0

func (m *Message) SetQuantityType(v int)

func (*Message) SetQuoteID added in v0.2.0

func (m *Message) SetQuoteID(v string)

func (*Message) SetRegistID added in v0.2.0

func (m *Message) SetRegistID(v string)

func (*Message) SetSecondaryClOrdID added in v0.2.0

func (m *Message) SetSecondaryClOrdID(v string)

func (*Message) SetSettlCurrency added in v0.2.0

func (m *Message) SetSettlCurrency(v string)

func (*Message) SetSettlmntTyp added in v0.2.0

func (m *Message) SetSettlmntTyp(v string)

func (*Message) SetSide added in v0.2.0

func (m *Message) SetSide(v string)

func (*Message) SetSolicitedFlag added in v0.2.0

func (m *Message) SetSolicitedFlag(v bool)

func (*Message) SetStopPx added in v0.2.0

func (m *Message) SetStopPx(v float64)

func (*Message) SetText added in v0.2.0

func (m *Message) SetText(v string)

func (*Message) SetTimeInForce added in v0.2.0

func (m *Message) SetTimeInForce(v string)

func (*Message) SetTransactTime added in v0.2.0

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

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"`
	//AllocQty is a non-required field for NoAllocs.
	AllocQty *float64 `fix:"80"`
}

NoAllocs is a repeating group in MultilegOrderCancelReplaceRequest

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)

type NoLegs

type NoLegs struct {
	//InstrumentLeg is a non-required component for NoLegs.
	InstrumentLeg *instrumentleg.InstrumentLeg
	//LegPositionEffect is a non-required field for NoLegs.
	LegPositionEffect *string `fix:"564"`
	//LegCoveredOrUncovered is a non-required field for NoLegs.
	LegCoveredOrUncovered *int `fix:"565"`
	//NestedParties is a non-required component for NoLegs.
	NestedParties *nestedparties.NestedParties
	//LegRefID is a non-required field for NoLegs.
	LegRefID *string `fix:"654"`
	//LegPrice is a non-required field for NoLegs.
	LegPrice *float64 `fix:"566"`
	//LegSettlmntTyp is a non-required field for NoLegs.
	LegSettlmntTyp *string `fix:"587"`
	//LegFutSettDate is a non-required field for NoLegs.
	LegFutSettDate *string `fix:"588"`
}

NoLegs is a repeating group in MultilegOrderCancelReplaceRequest

func NewNoLegs added in v0.2.0

func NewNoLegs() *NoLegs

NewNoLegs returns an initialized NoLegs instance

func (*NoLegs) SetInstrumentLeg added in v0.2.0

func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg)

func (*NoLegs) SetLegCoveredOrUncovered added in v0.2.0

func (m *NoLegs) SetLegCoveredOrUncovered(v int)

func (*NoLegs) SetLegFutSettDate added in v0.2.0

func (m *NoLegs) SetLegFutSettDate(v string)

func (*NoLegs) SetLegPositionEffect added in v0.2.0

func (m *NoLegs) SetLegPositionEffect(v string)

func (*NoLegs) SetLegPrice added in v0.2.0

func (m *NoLegs) SetLegPrice(v float64)

func (*NoLegs) SetLegRefID added in v0.2.0

func (m *NoLegs) SetLegRefID(v string)

func (*NoLegs) SetLegSettlmntTyp added in v0.2.0

func (m *NoLegs) SetLegSettlmntTyp(v string)

func (*NoLegs) SetNestedParties added in v0.2.0

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

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 MultilegOrderCancelReplaceRequest

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