tradecapturereportack

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: 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

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

func (m *Message) SetAccount(v string)

func (*Message) SetAccountType

func (m *Message) SetAccountType(v int)

func (*Message) SetAcctIDSource

func (m *Message) SetAcctIDSource(v int)

func (*Message) SetClearingFeeIndicator

func (m *Message) SetClearingFeeIndicator(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) SetExecID

func (m *Message) SetExecID(v string)

func (*Message) SetExecType

func (m *Message) SetExecType(v string)

func (*Message) SetInstrument

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

func (*Message) SetNoAllocs

func (m *Message) SetNoAllocs(v []NoAllocs)

func (*Message) SetNoLegs

func (m *Message) SetNoLegs(v []NoLegs)

func (*Message) SetOrderCapacity

func (m *Message) SetOrderCapacity(v string)

func (*Message) SetOrderRestrictions

func (m *Message) SetOrderRestrictions(v string)

func (*Message) SetPositionEffect

func (m *Message) SetPositionEffect(v string)

func (*Message) SetPreallocMethod

func (m *Message) SetPreallocMethod(v string)

func (*Message) SetResponseDestination

func (m *Message) SetResponseDestination(v string)

func (*Message) SetResponseTransportType

func (m *Message) SetResponseTransportType(v int)

func (*Message) SetSecondaryExecID

func (m *Message) SetSecondaryExecID(v string)

func (*Message) SetSecondaryTradeReportID

func (m *Message) SetSecondaryTradeReportID(v string)

func (*Message) SetSecondaryTradeReportRefID

func (m *Message) SetSecondaryTradeReportRefID(v string)

func (*Message) SetSecondaryTrdType

func (m *Message) SetSecondaryTrdType(v int)

func (*Message) SetSubscriptionRequestType

func (m *Message) SetSubscriptionRequestType(v string)

func (*Message) SetText

func (m *Message) SetText(v string)

func (*Message) SetTradeLinkID

func (m *Message) SetTradeLinkID(v string)

func (*Message) SetTradeReportID

func (m *Message) SetTradeReportID(v string)

func (*Message) SetTradeReportRefID

func (m *Message) SetTradeReportRefID(v string)

func (*Message) SetTradeReportRejectReason

func (m *Message) SetTradeReportRejectReason(v int)

func (*Message) SetTradeReportTransType

func (m *Message) SetTradeReportTransType(v int)

func (*Message) SetTradeReportType

func (m *Message) SetTradeReportType(v int)

func (*Message) SetTransactTime

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

func (*Message) SetTransferReason

func (m *Message) SetTransferReason(v string)

func (*Message) SetTrdMatchID

func (m *Message) SetTrdMatchID(v string)

func (*Message) SetTrdRegTimestamps

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

func (*Message) SetTrdRptStatus

func (m *Message) SetTrdRptStatus(v int)

func (*Message) SetTrdSubType

func (m *Message) SetTrdSubType(v int)

func (*Message) SetTrdType

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

func NewNoAllocs() *NoAllocs

NewNoAllocs returns an initialized NoAllocs instance

func (*NoAllocs) SetAllocAccount

func (m *NoAllocs) SetAllocAccount(v string)

func (*NoAllocs) SetAllocAcctIDSource

func (m *NoAllocs) SetAllocAcctIDSource(v int)

func (*NoAllocs) SetAllocQty

func (m *NoAllocs) SetAllocQty(v float64)

func (*NoAllocs) SetAllocSettlCurrency

func (m *NoAllocs) SetAllocSettlCurrency(v string)

func (*NoAllocs) SetIndividualAllocID

func (m *NoAllocs) SetIndividualAllocID(v string)

func (*NoAllocs) SetNestedParties2

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

func NewNoLegs() *NoLegs

NewNoLegs returns an initialized NoLegs instance

func (*NoLegs) SetInstrumentLeg

func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg)

func (*NoLegs) SetLegCoveredOrUncovered

func (m *NoLegs) SetLegCoveredOrUncovered(v int)

func (*NoLegs) SetLegLastPx

func (m *NoLegs) SetLegLastPx(v float64)

func (*NoLegs) SetLegPositionEffect

func (m *NoLegs) SetLegPositionEffect(v string)

func (*NoLegs) SetLegPrice

func (m *NoLegs) SetLegPrice(v float64)

func (*NoLegs) SetLegQty

func (m *NoLegs) SetLegQty(v float64)

func (*NoLegs) SetLegRefID

func (m *NoLegs) SetLegRefID(v string)

func (*NoLegs) SetLegSettlDate

func (m *NoLegs) SetLegSettlDate(v string)

func (*NoLegs) SetLegSettlType

func (m *NoLegs) SetLegSettlType(v string)

func (*NoLegs) SetLegStipulations

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

func (*NoLegs) SetLegSwapType

func (m *NoLegs) SetLegSwapType(v int)

func (*NoLegs) SetNestedParties

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