allocationinstructionalert

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 allocationinstructionalert msg type = BM.

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:"BM"`
	fixt11.Header
	//AllocID is a required field for AllocationInstructionAlert.
	AllocID string `fix:"70"`
	//AllocTransType is a required field for AllocationInstructionAlert.
	AllocTransType string `fix:"71"`
	//AllocType is a required field for AllocationInstructionAlert.
	AllocType int `fix:"626"`
	//SecondaryAllocID is a non-required field for AllocationInstructionAlert.
	SecondaryAllocID *string `fix:"793"`
	//RefAllocID is a non-required field for AllocationInstructionAlert.
	RefAllocID *string `fix:"72"`
	//AllocCancReplaceReason is a non-required field for AllocationInstructionAlert.
	AllocCancReplaceReason *int `fix:"796"`
	//AllocIntermedReqType is a non-required field for AllocationInstructionAlert.
	AllocIntermedReqType *int `fix:"808"`
	//AllocLinkID is a non-required field for AllocationInstructionAlert.
	AllocLinkID *string `fix:"196"`
	//AllocLinkType is a non-required field for AllocationInstructionAlert.
	AllocLinkType *int `fix:"197"`
	//BookingRefID is a non-required field for AllocationInstructionAlert.
	BookingRefID *string `fix:"466"`
	//AllocNoOrdersType is a non-required field for AllocationInstructionAlert.
	AllocNoOrdersType *int `fix:"857"`
	//OrdAllocGrp is a non-required component for AllocationInstructionAlert.
	OrdAllocGrp *ordallocgrp.OrdAllocGrp
	//ExecAllocGrp is a non-required component for AllocationInstructionAlert.
	ExecAllocGrp *execallocgrp.ExecAllocGrp
	//PreviouslyReported is a non-required field for AllocationInstructionAlert.
	PreviouslyReported *bool `fix:"570"`
	//ReversalIndicator is a non-required field for AllocationInstructionAlert.
	ReversalIndicator *bool `fix:"700"`
	//MatchType is a non-required field for AllocationInstructionAlert.
	MatchType *string `fix:"574"`
	//Side is a required field for AllocationInstructionAlert.
	Side string `fix:"54"`
	//Instrument is a required component for AllocationInstructionAlert.
	instrument.Instrument
	//InstrumentExtension is a non-required component for AllocationInstructionAlert.
	InstrumentExtension *instrumentextension.InstrumentExtension
	//FinancingDetails is a non-required component for AllocationInstructionAlert.
	FinancingDetails *financingdetails.FinancingDetails
	//UndInstrmtGrp is a non-required component for AllocationInstructionAlert.
	UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp
	//InstrmtLegGrp is a non-required component for AllocationInstructionAlert.
	InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp
	//Quantity is a required field for AllocationInstructionAlert.
	Quantity float64 `fix:"53"`
	//QtyType is a non-required field for AllocationInstructionAlert.
	QtyType *int `fix:"854"`
	//LastMkt is a non-required field for AllocationInstructionAlert.
	LastMkt *string `fix:"30"`
	//TradeOriginationDate is a non-required field for AllocationInstructionAlert.
	TradeOriginationDate *string `fix:"229"`
	//TradingSessionID is a non-required field for AllocationInstructionAlert.
	TradingSessionID *string `fix:"336"`
	//TradingSessionSubID is a non-required field for AllocationInstructionAlert.
	TradingSessionSubID *string `fix:"625"`
	//PriceType is a non-required field for AllocationInstructionAlert.
	PriceType *int `fix:"423"`
	//AvgPx is a non-required field for AllocationInstructionAlert.
	AvgPx *float64 `fix:"6"`
	//AvgParPx is a non-required field for AllocationInstructionAlert.
	AvgParPx *float64 `fix:"860"`
	//SpreadOrBenchmarkCurveData is a non-required component for AllocationInstructionAlert.
	SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData
	//Currency is a non-required field for AllocationInstructionAlert.
	Currency *string `fix:"15"`
	//AvgPxPrecision is a non-required field for AllocationInstructionAlert.
	AvgPxPrecision *int `fix:"74"`
	//Parties is a non-required component for AllocationInstructionAlert.
	Parties *parties.Parties
	//TradeDate is a required field for AllocationInstructionAlert.
	TradeDate string `fix:"75"`
	//TransactTime is a non-required field for AllocationInstructionAlert.
	TransactTime *time.Time `fix:"60"`
	//SettlType is a non-required field for AllocationInstructionAlert.
	SettlType *string `fix:"63"`
	//SettlDate is a non-required field for AllocationInstructionAlert.
	SettlDate *string `fix:"64"`
	//BookingType is a non-required field for AllocationInstructionAlert.
	BookingType *int `fix:"775"`
	//GrossTradeAmt is a non-required field for AllocationInstructionAlert.
	GrossTradeAmt *float64 `fix:"381"`
	//Concession is a non-required field for AllocationInstructionAlert.
	Concession *float64 `fix:"238"`
	//TotalTakedown is a non-required field for AllocationInstructionAlert.
	TotalTakedown *float64 `fix:"237"`
	//NetMoney is a non-required field for AllocationInstructionAlert.
	NetMoney *float64 `fix:"118"`
	//PositionEffect is a non-required field for AllocationInstructionAlert.
	PositionEffect *string `fix:"77"`
	//AutoAcceptIndicator is a non-required field for AllocationInstructionAlert.
	AutoAcceptIndicator *bool `fix:"754"`
	//Text is a non-required field for AllocationInstructionAlert.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for AllocationInstructionAlert.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for AllocationInstructionAlert.
	EncodedText *string `fix:"355"`
	//NumDaysInterest is a non-required field for AllocationInstructionAlert.
	NumDaysInterest *int `fix:"157"`
	//AccruedInterestRate is a non-required field for AllocationInstructionAlert.
	AccruedInterestRate *float64 `fix:"158"`
	//AccruedInterestAmt is a non-required field for AllocationInstructionAlert.
	AccruedInterestAmt *float64 `fix:"159"`
	//TotalAccruedInterestAmt is a non-required field for AllocationInstructionAlert.
	TotalAccruedInterestAmt *float64 `fix:"540"`
	//InterestAtMaturity is a non-required field for AllocationInstructionAlert.
	InterestAtMaturity *float64 `fix:"738"`
	//EndAccruedInterestAmt is a non-required field for AllocationInstructionAlert.
	EndAccruedInterestAmt *float64 `fix:"920"`
	//StartCash is a non-required field for AllocationInstructionAlert.
	StartCash *float64 `fix:"921"`
	//EndCash is a non-required field for AllocationInstructionAlert.
	EndCash *float64 `fix:"922"`
	//LegalConfirm is a non-required field for AllocationInstructionAlert.
	LegalConfirm *bool `fix:"650"`
	//Stipulations is a non-required component for AllocationInstructionAlert.
	Stipulations *stipulations.Stipulations
	//YieldData is a non-required component for AllocationInstructionAlert.
	YieldData *yielddata.YieldData
	//PositionAmountData is a non-required component for AllocationInstructionAlert.
	PositionAmountData *positionamountdata.PositionAmountData
	//TotNoAllocs is a non-required field for AllocationInstructionAlert.
	TotNoAllocs *int `fix:"892"`
	//LastFragment is a non-required field for AllocationInstructionAlert.
	LastFragment *bool `fix:"893"`
	//AllocGrp is a non-required component for AllocationInstructionAlert.
	AllocGrp *allocgrp.AllocGrp
	//AvgPxIndicator is a non-required field for AllocationInstructionAlert.
	AvgPxIndicator *int `fix:"819"`
	//ClearingBusinessDate is a non-required field for AllocationInstructionAlert.
	ClearingBusinessDate *string `fix:"715"`
	//TrdType is a non-required field for AllocationInstructionAlert.
	TrdType *int `fix:"828"`
	//TrdSubType is a non-required field for AllocationInstructionAlert.
	TrdSubType *int `fix:"829"`
	//CustOrderCapacity is a non-required field for AllocationInstructionAlert.
	CustOrderCapacity *int `fix:"582"`
	//TradeInputSource is a non-required field for AllocationInstructionAlert.
	TradeInputSource *string `fix:"578"`
	//MultiLegReportingType is a non-required field for AllocationInstructionAlert.
	MultiLegReportingType *string `fix:"442"`
	//MessageEventSource is a non-required field for AllocationInstructionAlert.
	MessageEventSource *string `fix:"1011"`
	//RndPx is a non-required field for AllocationInstructionAlert.
	RndPx *float64 `fix:"991"`
	fixt11.Trailer
}

Message is a AllocationInstructionAlert FIX Message

func New added in v0.2.0

func New(allocid string, alloctranstype string, alloctype int, side string, instrument instrument.Instrument, quantity float64, tradedate string) *Message

New returns an initialized AllocationInstructionAlert instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetAccruedInterestAmt added in v0.2.0

func (m *Message) SetAccruedInterestAmt(v float64)

func (*Message) SetAccruedInterestRate added in v0.2.0

func (m *Message) SetAccruedInterestRate(v float64)

func (*Message) SetAllocCancReplaceReason added in v0.2.0

func (m *Message) SetAllocCancReplaceReason(v int)

func (*Message) SetAllocGrp added in v0.2.0

func (m *Message) SetAllocGrp(v allocgrp.AllocGrp)

func (*Message) SetAllocID added in v0.2.0

func (m *Message) SetAllocID(v string)

func (*Message) SetAllocIntermedReqType added in v0.2.0

func (m *Message) SetAllocIntermedReqType(v int)

func (*Message) SetAllocLinkID added in v0.2.0

func (m *Message) SetAllocLinkID(v string)

func (*Message) SetAllocLinkType added in v0.2.0

func (m *Message) SetAllocLinkType(v int)

func (*Message) SetAllocNoOrdersType added in v0.2.0

func (m *Message) SetAllocNoOrdersType(v int)

func (*Message) SetAllocTransType added in v0.2.0

func (m *Message) SetAllocTransType(v string)

func (*Message) SetAllocType added in v0.2.0

func (m *Message) SetAllocType(v int)

func (*Message) SetAutoAcceptIndicator added in v0.2.0

func (m *Message) SetAutoAcceptIndicator(v bool)

func (*Message) SetAvgParPx added in v0.2.0

func (m *Message) SetAvgParPx(v float64)

func (*Message) SetAvgPx added in v0.2.0

func (m *Message) SetAvgPx(v float64)

func (*Message) SetAvgPxIndicator added in v0.2.0

func (m *Message) SetAvgPxIndicator(v int)

func (*Message) SetAvgPxPrecision added in v0.2.0

func (m *Message) SetAvgPxPrecision(v int)

func (*Message) SetBookingRefID added in v0.2.0

func (m *Message) SetBookingRefID(v string)

func (*Message) SetBookingType added in v0.2.0

func (m *Message) SetBookingType(v int)

func (*Message) SetClearingBusinessDate added in v0.2.0

func (m *Message) SetClearingBusinessDate(v string)

func (*Message) SetConcession added in v0.2.0

func (m *Message) SetConcession(v float64)

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

func (m *Message) SetEndAccruedInterestAmt(v float64)

func (*Message) SetEndCash added in v0.2.0

func (m *Message) SetEndCash(v float64)

func (*Message) SetExecAllocGrp added in v0.2.0

func (m *Message) SetExecAllocGrp(v execallocgrp.ExecAllocGrp)

func (*Message) SetFinancingDetails added in v0.2.0

func (m *Message) SetFinancingDetails(v financingdetails.FinancingDetails)

func (*Message) SetGrossTradeAmt added in v0.2.0

func (m *Message) SetGrossTradeAmt(v float64)

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

func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension)

func (*Message) SetInterestAtMaturity added in v0.2.0

func (m *Message) SetInterestAtMaturity(v float64)

func (*Message) SetLastFragment added in v0.2.0

func (m *Message) SetLastFragment(v bool)

func (*Message) SetLastMkt added in v0.2.0

func (m *Message) SetLastMkt(v string)

func (*Message) SetLegalConfirm added in v0.2.0

func (m *Message) SetLegalConfirm(v bool)

func (*Message) SetMatchType added in v0.2.0

func (m *Message) SetMatchType(v string)

func (*Message) SetMessageEventSource added in v0.2.0

func (m *Message) SetMessageEventSource(v string)

func (*Message) SetMultiLegReportingType added in v0.2.0

func (m *Message) SetMultiLegReportingType(v string)

func (*Message) SetNetMoney added in v0.2.0

func (m *Message) SetNetMoney(v float64)

func (*Message) SetNumDaysInterest added in v0.2.0

func (m *Message) SetNumDaysInterest(v int)

func (*Message) SetOrdAllocGrp added in v0.2.0

func (m *Message) SetOrdAllocGrp(v ordallocgrp.OrdAllocGrp)

func (*Message) SetParties added in v0.2.0

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

func (*Message) SetPositionAmountData added in v0.2.0

func (m *Message) SetPositionAmountData(v positionamountdata.PositionAmountData)

func (*Message) SetPositionEffect added in v0.2.0

func (m *Message) SetPositionEffect(v string)

func (*Message) SetPreviouslyReported added in v0.2.0

func (m *Message) SetPreviouslyReported(v bool)

func (*Message) SetPriceType added in v0.2.0

func (m *Message) SetPriceType(v int)

func (*Message) SetQtyType added in v0.2.0

func (m *Message) SetQtyType(v int)

func (*Message) SetQuantity added in v0.2.0

func (m *Message) SetQuantity(v float64)

func (*Message) SetRefAllocID added in v0.2.0

func (m *Message) SetRefAllocID(v string)

func (*Message) SetReversalIndicator added in v0.2.0

func (m *Message) SetReversalIndicator(v bool)

func (*Message) SetRndPx added in v0.2.0

func (m *Message) SetRndPx(v float64)

func (*Message) SetSecondaryAllocID added in v0.2.0

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

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

func (*Message) SetStartCash added in v0.2.0

func (m *Message) SetStartCash(v float64)

func (*Message) SetStipulations added in v0.2.0

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

func (*Message) SetText added in v0.2.0

func (m *Message) SetText(v string)

func (*Message) SetTotNoAllocs added in v0.2.0

func (m *Message) SetTotNoAllocs(v int)

func (*Message) SetTotalAccruedInterestAmt added in v0.2.0

func (m *Message) SetTotalAccruedInterestAmt(v float64)

func (*Message) SetTotalTakedown added in v0.2.0

func (m *Message) SetTotalTakedown(v float64)

func (*Message) SetTradeDate added in v0.2.0

func (m *Message) SetTradeDate(v string)

func (*Message) SetTradeInputSource added in v0.2.0

func (m *Message) SetTradeInputSource(v string)

func (*Message) SetTradeOriginationDate added in v0.2.0

func (m *Message) SetTradeOriginationDate(v string)

func (*Message) SetTradingSessionID added in v0.2.0

func (m *Message) SetTradingSessionID(v string)

func (*Message) SetTradingSessionSubID added in v0.2.0

func (m *Message) SetTradingSessionSubID(v string)

func (*Message) SetTransactTime added in v0.2.0

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

func (*Message) SetTrdSubType added in v0.2.0

func (m *Message) SetTrdSubType(v int)

func (*Message) SetTrdType added in v0.2.0

func (m *Message) SetTrdType(v int)

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