allocationreport

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

Documentation

Overview

Package allocationreport msg type = AS.

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

Message is a AllocationReport FIX Message

func New

func New(allocreportid string, alloctranstype string, allocreporttype int, allocstatus int, side string, instrument instrument.Instrument, quantity float64, avgpx float64, tradedate string) *Message

New returns an initialized AllocationReport instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetAccruedInterestAmt

func (m *Message) SetAccruedInterestAmt(v float64)

func (*Message) SetAccruedInterestRate

func (m *Message) SetAccruedInterestRate(v float64)

func (*Message) SetAllocCancReplaceReason

func (m *Message) SetAllocCancReplaceReason(v int)

func (*Message) SetAllocGrp

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

func (*Message) SetAllocID

func (m *Message) SetAllocID(v string)

func (*Message) SetAllocIntermedReqType

func (m *Message) SetAllocIntermedReqType(v int)

func (*Message) SetAllocLinkID

func (m *Message) SetAllocLinkID(v string)

func (*Message) SetAllocLinkType

func (m *Message) SetAllocLinkType(v int)

func (*Message) SetAllocNoOrdersType

func (m *Message) SetAllocNoOrdersType(v int)

func (*Message) SetAllocRejCode

func (m *Message) SetAllocRejCode(v int)

func (*Message) SetAllocReportID

func (m *Message) SetAllocReportID(v string)

func (*Message) SetAllocReportRefID

func (m *Message) SetAllocReportRefID(v string)

func (*Message) SetAllocReportType

func (m *Message) SetAllocReportType(v int)

func (*Message) SetAllocStatus

func (m *Message) SetAllocStatus(v int)

func (*Message) SetAllocTransType

func (m *Message) SetAllocTransType(v string)

func (*Message) SetAutoAcceptIndicator

func (m *Message) SetAutoAcceptIndicator(v bool)

func (*Message) SetAvgParPx

func (m *Message) SetAvgParPx(v float64)

func (*Message) SetAvgPx

func (m *Message) SetAvgPx(v float64)

func (*Message) SetAvgPxIndicator

func (m *Message) SetAvgPxIndicator(v int)

func (*Message) SetAvgPxPrecision

func (m *Message) SetAvgPxPrecision(v int)

func (*Message) SetBookingRefID

func (m *Message) SetBookingRefID(v string)

func (*Message) SetBookingType

func (m *Message) SetBookingType(v int)

func (*Message) SetClearingBusinessDate

func (m *Message) SetClearingBusinessDate(v string)

func (*Message) SetConcession

func (m *Message) SetConcession(v float64)

func (*Message) SetCurrency

func (m *Message) SetCurrency(v string)

func (*Message) SetCustOrderCapacity

func (m *Message) SetCustOrderCapacity(v int)

func (*Message) SetEncodedText

func (m *Message) SetEncodedText(v string)

func (*Message) SetEncodedTextLen

func (m *Message) SetEncodedTextLen(v int)

func (*Message) SetEndAccruedInterestAmt

func (m *Message) SetEndAccruedInterestAmt(v float64)

func (*Message) SetEndCash

func (m *Message) SetEndCash(v float64)

func (*Message) SetExecAllocGrp

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

func (*Message) SetFinancingDetails

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

func (*Message) SetGrossTradeAmt

func (m *Message) SetGrossTradeAmt(v float64)

func (*Message) SetInstrmtLegGrp

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

func (*Message) SetInstrument

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

func (*Message) SetInstrumentExtension

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

func (*Message) SetInterestAtMaturity

func (m *Message) SetInterestAtMaturity(v float64)

func (*Message) SetLastFragment

func (m *Message) SetLastFragment(v bool)

func (*Message) SetLastMkt

func (m *Message) SetLastMkt(v string)

func (*Message) SetLegalConfirm

func (m *Message) SetLegalConfirm(v bool)

func (*Message) SetMatchType

func (m *Message) SetMatchType(v string)

func (*Message) SetMessageEventSource

func (m *Message) SetMessageEventSource(v string)

func (*Message) SetMultiLegReportingType

func (m *Message) SetMultiLegReportingType(v string)

func (*Message) SetNetMoney

func (m *Message) SetNetMoney(v float64)

func (*Message) SetNumDaysInterest

func (m *Message) SetNumDaysInterest(v int)

func (*Message) SetOrdAllocGrp

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

func (*Message) SetParties

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

func (*Message) SetPositionAmountData

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

func (*Message) SetPositionEffect

func (m *Message) SetPositionEffect(v string)

func (*Message) SetPreviouslyReported

func (m *Message) SetPreviouslyReported(v bool)

func (*Message) SetPriceType

func (m *Message) SetPriceType(v int)

func (*Message) SetQtyType

func (m *Message) SetQtyType(v int)

func (*Message) SetQuantity

func (m *Message) SetQuantity(v float64)

func (*Message) SetRefAllocID

func (m *Message) SetRefAllocID(v string)

func (*Message) SetReversalIndicator

func (m *Message) SetReversalIndicator(v bool)

func (*Message) SetRndPx

func (m *Message) SetRndPx(v float64)

func (*Message) SetSecondaryAllocID

func (m *Message) SetSecondaryAllocID(v string)

func (*Message) SetSettlDate

func (m *Message) SetSettlDate(v string)

func (*Message) SetSettlType

func (m *Message) SetSettlType(v string)

func (*Message) SetSide

func (m *Message) SetSide(v string)

func (*Message) SetSpreadOrBenchmarkCurveData

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

func (*Message) SetStartCash

func (m *Message) SetStartCash(v float64)

func (*Message) SetStipulations

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

func (*Message) SetText

func (m *Message) SetText(v string)

func (*Message) SetTotNoAllocs

func (m *Message) SetTotNoAllocs(v int)

func (*Message) SetTotalAccruedInterestAmt

func (m *Message) SetTotalAccruedInterestAmt(v float64)

func (*Message) SetTotalTakedown

func (m *Message) SetTotalTakedown(v float64)

func (*Message) SetTradeDate

func (m *Message) SetTradeDate(v string)

func (*Message) SetTradeInputDevice

func (m *Message) SetTradeInputDevice(v string)

func (*Message) SetTradeInputSource

func (m *Message) SetTradeInputSource(v string)

func (*Message) SetTradeOriginationDate

func (m *Message) SetTradeOriginationDate(v string)

func (*Message) SetTradingSessionID

func (m *Message) SetTradingSessionID(v string)

func (*Message) SetTradingSessionSubID

func (m *Message) SetTradingSessionSubID(v string)

func (*Message) SetTransactTime

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

func (*Message) SetTrdSubType

func (m *Message) SetTrdSubType(v int)

func (*Message) SetTrdType

func (m *Message) SetTrdType(v int)

func (*Message) SetUndInstrmtGrp

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

func (*Message) SetYieldData

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