tradecapturereportack

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

Documentation

Overview

Package tradecapturereportack msg type = AR.

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:"AR"`
	fix44.Header
	//TradeReportID is a required field for TradeCaptureReportAck.
	TradeReportID string `fix:"571"`
	//TradeReportTransType is a non-required field for TradeCaptureReportAck.
	TradeReportTransType *int `fix:"487"`
	//TradeReportType is a non-required field for TradeCaptureReportAck.
	TradeReportType *int `fix:"856"`
	//TrdType is a non-required field for TradeCaptureReportAck.
	TrdType *int `fix:"828"`
	//TrdSubType is a non-required field for TradeCaptureReportAck.
	TrdSubType *int `fix:"829"`
	//SecondaryTrdType is a non-required field for TradeCaptureReportAck.
	SecondaryTrdType *int `fix:"855"`
	//TransferReason is a non-required field for TradeCaptureReportAck.
	TransferReason *string `fix:"830"`
	//ExecType is a required field for TradeCaptureReportAck.
	ExecType string `fix:"150"`
	//TradeReportRefID is a non-required field for TradeCaptureReportAck.
	TradeReportRefID *string `fix:"572"`
	//SecondaryTradeReportRefID is a non-required field for TradeCaptureReportAck.
	SecondaryTradeReportRefID *string `fix:"881"`
	//TrdRptStatus is a non-required field for TradeCaptureReportAck.
	TrdRptStatus *int `fix:"939"`
	//TradeReportRejectReason is a non-required field for TradeCaptureReportAck.
	TradeReportRejectReason *int `fix:"751"`
	//SecondaryTradeReportID is a non-required field for TradeCaptureReportAck.
	SecondaryTradeReportID *string `fix:"818"`
	//SubscriptionRequestType is a non-required field for TradeCaptureReportAck.
	SubscriptionRequestType *string `fix:"263"`
	//TradeLinkID is a non-required field for TradeCaptureReportAck.
	TradeLinkID *string `fix:"820"`
	//TrdMatchID is a non-required field for TradeCaptureReportAck.
	TrdMatchID *string `fix:"880"`
	//ExecID is a non-required field for TradeCaptureReportAck.
	ExecID *string `fix:"17"`
	//SecondaryExecID is a non-required field for TradeCaptureReportAck.
	SecondaryExecID *string `fix:"527"`
	//Instrument is a required component for TradeCaptureReportAck.
	instrument.Instrument
	//TransactTime is a non-required field for TradeCaptureReportAck.
	TransactTime *time.Time `fix:"60"`
	//TrdRegTimestamps is a non-required component for TradeCaptureReportAck.
	TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps
	//ResponseTransportType is a non-required field for TradeCaptureReportAck.
	ResponseTransportType *int `fix:"725"`
	//ResponseDestination is a non-required field for TradeCaptureReportAck.
	ResponseDestination *string `fix:"726"`
	//Text is a non-required field for TradeCaptureReportAck.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for TradeCaptureReportAck.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for TradeCaptureReportAck.
	EncodedText *string `fix:"355"`
	//NoLegs is a non-required field for TradeCaptureReportAck.
	NoLegs []NoLegs `fix:"555,omitempty"`
	//ClearingFeeIndicator is a non-required field for TradeCaptureReportAck.
	ClearingFeeIndicator *string `fix:"635"`
	//OrderCapacity is a non-required field for TradeCaptureReportAck.
	OrderCapacity *string `fix:"528"`
	//OrderRestrictions is a non-required field for TradeCaptureReportAck.
	OrderRestrictions *string `fix:"529"`
	//CustOrderCapacity is a non-required field for TradeCaptureReportAck.
	CustOrderCapacity *int `fix:"582"`
	//Account is a non-required field for TradeCaptureReportAck.
	Account *string `fix:"1"`
	//AcctIDSource is a non-required field for TradeCaptureReportAck.
	AcctIDSource *int `fix:"660"`
	//AccountType is a non-required field for TradeCaptureReportAck.
	AccountType *int `fix:"581"`
	//PositionEffect is a non-required field for TradeCaptureReportAck.
	PositionEffect *string `fix:"77"`
	//PreallocMethod is a non-required field for TradeCaptureReportAck.
	PreallocMethod *string `fix:"591"`
	//NoAllocs is a non-required field for TradeCaptureReportAck.
	NoAllocs []NoAllocs `fix:"78,omitempty"`
	fix44.Trailer
}

Message is a TradeCaptureReportAck FIX Message

func New added in v0.2.0

func New(tradereportid string, exectype string, instrument instrument.Instrument) *Message

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

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

func (m *Message) SetExecID(v string)

func (*Message) SetExecType added in v0.2.0

func (m *Message) SetExecType(v string)

func (*Message) SetInstrument added in v0.2.0

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

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

func (m *Message) SetOrderCapacity(v string)

func (*Message) SetOrderRestrictions added in v0.2.0

func (m *Message) SetOrderRestrictions(v string)

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

func (m *Message) SetResponseDestination(v string)

func (*Message) SetResponseTransportType added in v0.2.0

func (m *Message) SetResponseTransportType(v int)

func (*Message) SetSecondaryExecID added in v0.2.0

func (m *Message) SetSecondaryExecID(v string)

func (*Message) SetSecondaryTradeReportID added in v0.2.0

func (m *Message) SetSecondaryTradeReportID(v string)

func (*Message) SetSecondaryTradeReportRefID added in v0.2.0

func (m *Message) SetSecondaryTradeReportRefID(v string)

func (*Message) SetSecondaryTrdType added in v0.2.0

func (m *Message) SetSecondaryTrdType(v int)

func (*Message) SetSubscriptionRequestType added in v0.2.0

func (m *Message) SetSubscriptionRequestType(v string)

func (*Message) SetText added in v0.2.0

func (m *Message) SetText(v string)

func (*Message) SetTradeLinkID added in v0.2.0

func (m *Message) SetTradeLinkID(v string)

func (*Message) SetTradeReportID added in v0.2.0

func (m *Message) SetTradeReportID(v string)

func (*Message) SetTradeReportRefID added in v0.2.0

func (m *Message) SetTradeReportRefID(v string)

func (*Message) SetTradeReportRejectReason added in v0.2.0

func (m *Message) SetTradeReportRejectReason(v int)

func (*Message) SetTradeReportTransType added in v0.2.0

func (m *Message) SetTradeReportTransType(v int)

func (*Message) SetTradeReportType added in v0.2.0

func (m *Message) SetTradeReportType(v int)

func (*Message) SetTransactTime added in v0.2.0

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

func (*Message) SetTransferReason added in v0.2.0

func (m *Message) SetTransferReason(v string)

func (*Message) SetTrdMatchID added in v0.2.0

func (m *Message) SetTrdMatchID(v string)

func (*Message) SetTrdRegTimestamps added in v0.2.0

func (m *Message) SetTrdRegTimestamps(v trdregtimestamps.TrdRegTimestamps)

func (*Message) SetTrdRptStatus added in v0.2.0

func (m *Message) SetTrdRptStatus(v int)

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)

type NoAllocs

type NoAllocs struct {
	//AllocAccount is a non-required field for NoAllocs.
	AllocAccount *string `fix:"79"`
	//AllocAcctIDSource is a non-required field for NoAllocs.
	AllocAcctIDSource *int `fix:"661"`
	//AllocSettlCurrency is a non-required field for NoAllocs.
	AllocSettlCurrency *string `fix:"736"`
	//IndividualAllocID is a non-required field for NoAllocs.
	IndividualAllocID *string `fix:"467"`
	//NestedParties2 is a non-required component for NoAllocs.
	NestedParties2 *nestedparties2.NestedParties2
	//AllocQty is a non-required field for NoAllocs.
	AllocQty *float64 `fix:"80"`
}

NoAllocs is a repeating group in TradeCaptureReportAck

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

func (m *NoAllocs) SetAllocAcctIDSource(v int)

func (*NoAllocs) SetAllocQty added in v0.2.0

func (m *NoAllocs) SetAllocQty(v float64)

func (*NoAllocs) SetAllocSettlCurrency added in v0.2.0

func (m *NoAllocs) SetAllocSettlCurrency(v string)

func (*NoAllocs) SetIndividualAllocID added in v0.2.0

func (m *NoAllocs) SetIndividualAllocID(v string)

func (*NoAllocs) SetNestedParties2 added in v0.2.0

func (m *NoAllocs) SetNestedParties2(v nestedparties2.NestedParties2)

type NoLegs

type NoLegs struct {
	//InstrumentLeg is a non-required component for NoLegs.
	InstrumentLeg *instrumentleg.InstrumentLeg
	//LegQty is a non-required field for NoLegs.
	LegQty *float64 `fix:"687"`
	//LegSwapType is a non-required field for NoLegs.
	LegSwapType *int `fix:"690"`
	//LegStipulations is a non-required component for NoLegs.
	LegStipulations *legstipulations.LegStipulations
	//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"`
	//LegSettlType is a non-required field for NoLegs.
	LegSettlType *string `fix:"587"`
	//LegSettlDate is a non-required field for NoLegs.
	LegSettlDate *string `fix:"588"`
	//LegLastPx is a non-required field for NoLegs.
	LegLastPx *float64 `fix:"637"`
}

NoLegs is a repeating group in TradeCaptureReportAck

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

func (m *NoLegs) SetLegLastPx(v float64)

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

func (m *NoLegs) SetLegQty(v float64)

func (*NoLegs) SetLegRefID added in v0.2.0

func (m *NoLegs) SetLegRefID(v string)

func (*NoLegs) SetLegSettlDate added in v0.2.0

func (m *NoLegs) SetLegSettlDate(v string)

func (*NoLegs) SetLegSettlType added in v0.2.0

func (m *NoLegs) SetLegSettlType(v string)

func (*NoLegs) SetLegStipulations added in v0.2.0

func (m *NoLegs) SetLegStipulations(v legstipulations.LegStipulations)

func (*NoLegs) SetLegSwapType added in v0.2.0

func (m *NoLegs) SetLegSwapType(v int)

func (*NoLegs) SetNestedParties added in v0.2.0

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

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