newordercross

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

Documentation

Overview

Package newordercross msg type = s.

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:"s"`
	fixt11.Header
	//CrossID is a required field for NewOrderCross.
	CrossID string `fix:"548"`
	//CrossType is a required field for NewOrderCross.
	CrossType int `fix:"549"`
	//CrossPrioritization is a required field for NewOrderCross.
	CrossPrioritization int `fix:"550"`
	//SideCrossOrdModGrp is a required component for NewOrderCross.
	sidecrossordmodgrp.SideCrossOrdModGrp
	//Instrument is a required component for NewOrderCross.
	instrument.Instrument
	//UndInstrmtGrp is a non-required component for NewOrderCross.
	UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp
	//InstrmtLegGrp is a non-required component for NewOrderCross.
	InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp
	//SettlType is a non-required field for NewOrderCross.
	SettlType *string `fix:"63"`
	//SettlDate is a non-required field for NewOrderCross.
	SettlDate *string `fix:"64"`
	//HandlInst is a non-required field for NewOrderCross.
	HandlInst *string `fix:"21"`
	//ExecInst is a non-required field for NewOrderCross.
	ExecInst *string `fix:"18"`
	//MinQty is a non-required field for NewOrderCross.
	MinQty *float64 `fix:"110"`
	//MaxFloor is a non-required field for NewOrderCross.
	MaxFloor *float64 `fix:"111"`
	//ExDestination is a non-required field for NewOrderCross.
	ExDestination *string `fix:"100"`
	//TrdgSesGrp is a non-required component for NewOrderCross.
	TrdgSesGrp *trdgsesgrp.TrdgSesGrp
	//ProcessCode is a non-required field for NewOrderCross.
	ProcessCode *string `fix:"81"`
	//PrevClosePx is a non-required field for NewOrderCross.
	PrevClosePx *float64 `fix:"140"`
	//LocateReqd is a non-required field for NewOrderCross.
	LocateReqd *bool `fix:"114"`
	//TransactTime is a required field for NewOrderCross.
	TransactTime time.Time `fix:"60"`
	//Stipulations is a non-required component for NewOrderCross.
	Stipulations *stipulations.Stipulations
	//OrdType is a required field for NewOrderCross.
	OrdType string `fix:"40"`
	//PriceType is a non-required field for NewOrderCross.
	PriceType *int `fix:"423"`
	//Price is a non-required field for NewOrderCross.
	Price *float64 `fix:"44"`
	//StopPx is a non-required field for NewOrderCross.
	StopPx *float64 `fix:"99"`
	//SpreadOrBenchmarkCurveData is a non-required component for NewOrderCross.
	SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData
	//YieldData is a non-required component for NewOrderCross.
	YieldData *yielddata.YieldData
	//Currency is a non-required field for NewOrderCross.
	Currency *string `fix:"15"`
	//ComplianceID is a non-required field for NewOrderCross.
	ComplianceID *string `fix:"376"`
	//IOIID is a non-required field for NewOrderCross.
	IOIID *string `fix:"23"`
	//QuoteID is a non-required field for NewOrderCross.
	QuoteID *string `fix:"117"`
	//TimeInForce is a non-required field for NewOrderCross.
	TimeInForce *string `fix:"59"`
	//EffectiveTime is a non-required field for NewOrderCross.
	EffectiveTime *time.Time `fix:"168"`
	//ExpireDate is a non-required field for NewOrderCross.
	ExpireDate *string `fix:"432"`
	//ExpireTime is a non-required field for NewOrderCross.
	ExpireTime *time.Time `fix:"126"`
	//GTBookingInst is a non-required field for NewOrderCross.
	GTBookingInst *int `fix:"427"`
	//MaxShow is a non-required field for NewOrderCross.
	MaxShow *float64 `fix:"210"`
	//PegInstructions is a non-required component for NewOrderCross.
	PegInstructions *peginstructions.PegInstructions
	//DiscretionInstructions is a non-required component for NewOrderCross.
	DiscretionInstructions *discretioninstructions.DiscretionInstructions
	//TargetStrategy is a non-required field for NewOrderCross.
	TargetStrategy *int `fix:"847"`
	//TargetStrategyParameters is a non-required field for NewOrderCross.
	TargetStrategyParameters *string `fix:"848"`
	//ParticipationRate is a non-required field for NewOrderCross.
	ParticipationRate *float64 `fix:"849"`
	//CancellationRights is a non-required field for NewOrderCross.
	CancellationRights *string `fix:"480"`
	//MoneyLaunderingStatus is a non-required field for NewOrderCross.
	MoneyLaunderingStatus *string `fix:"481"`
	//RegistID is a non-required field for NewOrderCross.
	RegistID *string `fix:"513"`
	//Designation is a non-required field for NewOrderCross.
	Designation *string `fix:"494"`
	//StrategyParametersGrp is a non-required component for NewOrderCross.
	StrategyParametersGrp *strategyparametersgrp.StrategyParametersGrp
	//TransBkdTime is a non-required field for NewOrderCross.
	TransBkdTime *time.Time `fix:"483"`
	//RootParties is a non-required component for NewOrderCross.
	RootParties *rootparties.RootParties
	//MatchIncrement is a non-required field for NewOrderCross.
	MatchIncrement *float64 `fix:"1089"`
	//MaxPriceLevels is a non-required field for NewOrderCross.
	MaxPriceLevels *int `fix:"1090"`
	//DisplayInstruction is a non-required component for NewOrderCross.
	DisplayInstruction *displayinstruction.DisplayInstruction
	//PriceProtectionScope is a non-required field for NewOrderCross.
	PriceProtectionScope *string `fix:"1092"`
	//TriggeringInstruction is a non-required component for NewOrderCross.
	TriggeringInstruction *triggeringinstruction.TriggeringInstruction
	//ExDestinationIDSource is a non-required field for NewOrderCross.
	ExDestinationIDSource *string `fix:"1133"`
	fixt11.Trailer
}

Message is a NewOrderCross FIX Message

func New added in v0.2.0

func New(crossid string, crosstype int, crossprioritization int, sidecrossordmodgrp sidecrossordmodgrp.SideCrossOrdModGrp, instrument instrument.Instrument, transacttime time.Time, ordtype string) *Message

New returns an initialized NewOrderCross instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetCancellationRights added in v0.2.0

func (m *Message) SetCancellationRights(v string)

func (*Message) SetComplianceID added in v0.2.0

func (m *Message) SetComplianceID(v string)

func (*Message) SetCrossID added in v0.2.0

func (m *Message) SetCrossID(v string)

func (*Message) SetCrossPrioritization added in v0.2.0

func (m *Message) SetCrossPrioritization(v int)

func (*Message) SetCrossType added in v0.2.0

func (m *Message) SetCrossType(v int)

func (*Message) SetCurrency added in v0.2.0

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

func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp)

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

func (m *Message) SetOrdType(v string)

func (*Message) SetParticipationRate added in v0.2.0

func (m *Message) SetParticipationRate(v float64)

func (*Message) SetPegInstructions added in v0.2.0

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

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

func (m *Message) SetRootParties(v rootparties.RootParties)

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

func (m *Message) SetSideCrossOrdModGrp(v sidecrossordmodgrp.SideCrossOrdModGrp)

func (*Message) SetSpreadOrBenchmarkCurveData added in v0.2.0

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

func (*Message) SetStipulations added in v0.2.0

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

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

func (m *Message) SetTimeInForce(v string)

func (*Message) SetTransBkdTime added in v0.2.0

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

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)

func (*Message) SetYieldData added in v0.2.0

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

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