newordermultileg

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

Documentation

Overview

Package newordermultileg msg type = AB.

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:"AB"`
	fixt11.Header
	//ClOrdID is a required field for NewOrderMultileg.
	ClOrdID string `fix:"11"`
	//SecondaryClOrdID is a non-required field for NewOrderMultileg.
	SecondaryClOrdID *string `fix:"526"`
	//ClOrdLinkID is a non-required field for NewOrderMultileg.
	ClOrdLinkID *string `fix:"583"`
	//Parties is a non-required component for NewOrderMultileg.
	Parties *parties.Parties
	//TradeOriginationDate is a non-required field for NewOrderMultileg.
	TradeOriginationDate *string `fix:"229"`
	//TradeDate is a non-required field for NewOrderMultileg.
	TradeDate *string `fix:"75"`
	//Account is a non-required field for NewOrderMultileg.
	Account *string `fix:"1"`
	//AcctIDSource is a non-required field for NewOrderMultileg.
	AcctIDSource *int `fix:"660"`
	//AccountType is a non-required field for NewOrderMultileg.
	AccountType *int `fix:"581"`
	//DayBookingInst is a non-required field for NewOrderMultileg.
	DayBookingInst *string `fix:"589"`
	//BookingUnit is a non-required field for NewOrderMultileg.
	BookingUnit *string `fix:"590"`
	//PreallocMethod is a non-required field for NewOrderMultileg.
	PreallocMethod *string `fix:"591"`
	//AllocID is a non-required field for NewOrderMultileg.
	AllocID *string `fix:"70"`
	//PreAllocMlegGrp is a non-required component for NewOrderMultileg.
	PreAllocMlegGrp *preallocmleggrp.PreAllocMlegGrp
	//SettlType is a non-required field for NewOrderMultileg.
	SettlType *string `fix:"63"`
	//SettlDate is a non-required field for NewOrderMultileg.
	SettlDate *string `fix:"64"`
	//CashMargin is a non-required field for NewOrderMultileg.
	CashMargin *string `fix:"544"`
	//ClearingFeeIndicator is a non-required field for NewOrderMultileg.
	ClearingFeeIndicator *string `fix:"635"`
	//HandlInst is a non-required field for NewOrderMultileg.
	HandlInst *string `fix:"21"`
	//ExecInst is a non-required field for NewOrderMultileg.
	ExecInst *string `fix:"18"`
	//MinQty is a non-required field for NewOrderMultileg.
	MinQty *float64 `fix:"110"`
	//MaxFloor is a non-required field for NewOrderMultileg.
	MaxFloor *float64 `fix:"111"`
	//ExDestination is a non-required field for NewOrderMultileg.
	ExDestination *string `fix:"100"`
	//TrdgSesGrp is a non-required component for NewOrderMultileg.
	TrdgSesGrp *trdgsesgrp.TrdgSesGrp
	//ProcessCode is a non-required field for NewOrderMultileg.
	ProcessCode *string `fix:"81"`
	//Side is a required field for NewOrderMultileg.
	Side string `fix:"54"`
	//Instrument is a required component for NewOrderMultileg.
	instrument.Instrument
	//UndInstrmtGrp is a non-required component for NewOrderMultileg.
	UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp
	//PrevClosePx is a non-required field for NewOrderMultileg.
	PrevClosePx *float64 `fix:"140"`
	//LegOrdGrp is a required component for NewOrderMultileg.
	legordgrp.LegOrdGrp
	//LocateReqd is a non-required field for NewOrderMultileg.
	LocateReqd *bool `fix:"114"`
	//TransactTime is a required field for NewOrderMultileg.
	TransactTime time.Time `fix:"60"`
	//QtyType is a non-required field for NewOrderMultileg.
	QtyType *int `fix:"854"`
	//OrderQtyData is a non-required component for NewOrderMultileg.
	OrderQtyData *orderqtydata.OrderQtyData
	//OrdType is a required field for NewOrderMultileg.
	OrdType string `fix:"40"`
	//PriceType is a non-required field for NewOrderMultileg.
	PriceType *int `fix:"423"`
	//Price is a non-required field for NewOrderMultileg.
	Price *float64 `fix:"44"`
	//StopPx is a non-required field for NewOrderMultileg.
	StopPx *float64 `fix:"99"`
	//Currency is a non-required field for NewOrderMultileg.
	Currency *string `fix:"15"`
	//ComplianceID is a non-required field for NewOrderMultileg.
	ComplianceID *string `fix:"376"`
	//SolicitedFlag is a non-required field for NewOrderMultileg.
	SolicitedFlag *bool `fix:"377"`
	//IOIID is a non-required field for NewOrderMultileg.
	IOIID *string `fix:"23"`
	//QuoteID is a non-required field for NewOrderMultileg.
	QuoteID *string `fix:"117"`
	//TimeInForce is a non-required field for NewOrderMultileg.
	TimeInForce *string `fix:"59"`
	//EffectiveTime is a non-required field for NewOrderMultileg.
	EffectiveTime *time.Time `fix:"168"`
	//ExpireDate is a non-required field for NewOrderMultileg.
	ExpireDate *string `fix:"432"`
	//ExpireTime is a non-required field for NewOrderMultileg.
	ExpireTime *time.Time `fix:"126"`
	//GTBookingInst is a non-required field for NewOrderMultileg.
	GTBookingInst *int `fix:"427"`
	//CommissionData is a non-required component for NewOrderMultileg.
	CommissionData *commissiondata.CommissionData
	//OrderCapacity is a non-required field for NewOrderMultileg.
	OrderCapacity *string `fix:"528"`
	//OrderRestrictions is a non-required field for NewOrderMultileg.
	OrderRestrictions *string `fix:"529"`
	//CustOrderCapacity is a non-required field for NewOrderMultileg.
	CustOrderCapacity *int `fix:"582"`
	//ForexReq is a non-required field for NewOrderMultileg.
	ForexReq *bool `fix:"121"`
	//SettlCurrency is a non-required field for NewOrderMultileg.
	SettlCurrency *string `fix:"120"`
	//BookingType is a non-required field for NewOrderMultileg.
	BookingType *int `fix:"775"`
	//Text is a non-required field for NewOrderMultileg.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for NewOrderMultileg.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for NewOrderMultileg.
	EncodedText *string `fix:"355"`
	//PositionEffect is a non-required field for NewOrderMultileg.
	PositionEffect *string `fix:"77"`
	//CoveredOrUncovered is a non-required field for NewOrderMultileg.
	CoveredOrUncovered *int `fix:"203"`
	//MaxShow is a non-required field for NewOrderMultileg.
	MaxShow *float64 `fix:"210"`
	//PegInstructions is a non-required component for NewOrderMultileg.
	PegInstructions *peginstructions.PegInstructions
	//DiscretionInstructions is a non-required component for NewOrderMultileg.
	DiscretionInstructions *discretioninstructions.DiscretionInstructions
	//TargetStrategy is a non-required field for NewOrderMultileg.
	TargetStrategy *int `fix:"847"`
	//TargetStrategyParameters is a non-required field for NewOrderMultileg.
	TargetStrategyParameters *string `fix:"848"`
	//ParticipationRate is a non-required field for NewOrderMultileg.
	ParticipationRate *float64 `fix:"849"`
	//CancellationRights is a non-required field for NewOrderMultileg.
	CancellationRights *string `fix:"480"`
	//MoneyLaunderingStatus is a non-required field for NewOrderMultileg.
	MoneyLaunderingStatus *string `fix:"481"`
	//RegistID is a non-required field for NewOrderMultileg.
	RegistID *string `fix:"513"`
	//Designation is a non-required field for NewOrderMultileg.
	Designation *string `fix:"494"`
	//MultiLegRptTypeReq is a non-required field for NewOrderMultileg.
	MultiLegRptTypeReq *int `fix:"563"`
	//StrategyParametersGrp is a non-required component for NewOrderMultileg.
	StrategyParametersGrp *strategyparametersgrp.StrategyParametersGrp
	//SwapPoints is a non-required field for NewOrderMultileg.
	SwapPoints *float64 `fix:"1069"`
	//MatchIncrement is a non-required field for NewOrderMultileg.
	MatchIncrement *float64 `fix:"1089"`
	//MaxPriceLevels is a non-required field for NewOrderMultileg.
	MaxPriceLevels *int `fix:"1090"`
	//DisplayInstruction is a non-required component for NewOrderMultileg.
	DisplayInstruction *displayinstruction.DisplayInstruction
	//PriceProtectionScope is a non-required field for NewOrderMultileg.
	PriceProtectionScope *string `fix:"1092"`
	//TriggeringInstruction is a non-required component for NewOrderMultileg.
	TriggeringInstruction *triggeringinstruction.TriggeringInstruction
	//RefOrderID is a non-required field for NewOrderMultileg.
	RefOrderID *string `fix:"1080"`
	//RefOrderIDSource is a non-required field for NewOrderMultileg.
	RefOrderIDSource *string `fix:"1081"`
	//PreTradeAnonymity is a non-required field for NewOrderMultileg.
	PreTradeAnonymity *bool `fix:"1091"`
	//ExDestinationIDSource is a non-required field for NewOrderMultileg.
	ExDestinationIDSource *string `fix:"1133"`
	fixt11.Trailer
}

Message is a NewOrderMultileg FIX Message

func New added in v0.2.0

func New(clordid string, side string, instrument instrument.Instrument, legordgrp legordgrp.LegOrdGrp, transacttime time.Time, ordtype string) *Message

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

func (m *Message) SetAcctIDSource(v int)

func (*Message) SetAllocID added in v0.2.0

func (m *Message) SetAllocID(v string)

func (*Message) SetBookingType added in v0.2.0

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

func (m *Message) SetDiscretionInstructions(v discretioninstructions.DiscretionInstructions)

func (*Message) SetDisplayInstruction added in v0.2.0

func (m *Message) SetDisplayInstruction(v displayinstruction.DisplayInstruction)

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

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

func (m *Message) SetLegOrdGrp(v legordgrp.LegOrdGrp)

func (*Message) SetLocateReqd added in v0.2.0

func (m *Message) SetLocateReqd(v bool)

func (*Message) SetMatchIncrement added in v0.2.0

func (m *Message) SetMatchIncrement(v float64)

func (*Message) SetMaxFloor added in v0.2.0

func (m *Message) SetMaxFloor(v float64)

func (*Message) SetMaxPriceLevels added in v0.2.0

func (m *Message) SetMaxPriceLevels(v int)

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

func (m *Message) SetParticipationRate(v float64)

func (*Message) SetParties added in v0.2.0

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

func (*Message) SetPegInstructions added in v0.2.0

func (m *Message) SetPegInstructions(v peginstructions.PegInstructions)

func (*Message) SetPositionEffect added in v0.2.0

func (m *Message) SetPositionEffect(v string)

func (*Message) SetPreAllocMlegGrp added in v0.2.0

func (m *Message) SetPreAllocMlegGrp(v preallocmleggrp.PreAllocMlegGrp)

func (*Message) SetPreTradeAnonymity added in v0.2.0

func (m *Message) SetPreTradeAnonymity(v bool)

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

func (m *Message) SetPriceProtectionScope(v string)

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

func (m *Message) SetQtyType(v int)

func (*Message) SetQuoteID added in v0.2.0

func (m *Message) SetQuoteID(v string)

func (*Message) SetRefOrderID added in v0.2.0

func (m *Message) SetRefOrderID(v string)

func (*Message) SetRefOrderIDSource added in v0.2.0

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

func (m *Message) SetSettlDate(v string)

func (*Message) SetSettlType added in v0.2.0

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

func (m *Message) SetStrategyParametersGrp(v strategyparametersgrp.StrategyParametersGrp)

func (*Message) SetSwapPoints added in v0.2.0

func (m *Message) SetSwapPoints(v float64)

func (*Message) SetTargetStrategy added in v0.2.0

func (m *Message) SetTargetStrategy(v int)

func (*Message) SetTargetStrategyParameters added in v0.2.0

func (m *Message) SetTargetStrategyParameters(v string)

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

func (m *Message) SetTradeDate(v string)

func (*Message) SetTradeOriginationDate added in v0.2.0

func (m *Message) SetTradeOriginationDate(v string)

func (*Message) SetTransactTime added in v0.2.0

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

func (*Message) SetTrdgSesGrp added in v0.2.0

func (m *Message) SetTrdgSesGrp(v trdgsesgrp.TrdgSesGrp)

func (*Message) SetTriggeringInstruction added in v0.2.0

func (m *Message) SetTriggeringInstruction(v triggeringinstruction.TriggeringInstruction)

func (*Message) SetUndInstrmtGrp added in v0.2.0

func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp)

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