tradecapturereportrequest

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 tradecapturereportrequest msg type = AD.

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:"AD"`
	fix44.Header
	//TradeRequestID is a required field for TradeCaptureReportRequest.
	TradeRequestID string `fix:"568"`
	//TradeRequestType is a required field for TradeCaptureReportRequest.
	TradeRequestType int `fix:"569"`
	//SubscriptionRequestType is a non-required field for TradeCaptureReportRequest.
	SubscriptionRequestType *string `fix:"263"`
	//TradeReportID is a non-required field for TradeCaptureReportRequest.
	TradeReportID *string `fix:"571"`
	//SecondaryTradeReportID is a non-required field for TradeCaptureReportRequest.
	SecondaryTradeReportID *string `fix:"818"`
	//ExecID is a non-required field for TradeCaptureReportRequest.
	ExecID *string `fix:"17"`
	//ExecType is a non-required field for TradeCaptureReportRequest.
	ExecType *string `fix:"150"`
	//OrderID is a non-required field for TradeCaptureReportRequest.
	OrderID *string `fix:"37"`
	//ClOrdID is a non-required field for TradeCaptureReportRequest.
	ClOrdID *string `fix:"11"`
	//MatchStatus is a non-required field for TradeCaptureReportRequest.
	MatchStatus *string `fix:"573"`
	//TrdType is a non-required field for TradeCaptureReportRequest.
	TrdType *int `fix:"828"`
	//TrdSubType is a non-required field for TradeCaptureReportRequest.
	TrdSubType *int `fix:"829"`
	//TransferReason is a non-required field for TradeCaptureReportRequest.
	TransferReason *string `fix:"830"`
	//SecondaryTrdType is a non-required field for TradeCaptureReportRequest.
	SecondaryTrdType *int `fix:"855"`
	//TradeLinkID is a non-required field for TradeCaptureReportRequest.
	TradeLinkID *string `fix:"820"`
	//TrdMatchID is a non-required field for TradeCaptureReportRequest.
	TrdMatchID *string `fix:"880"`
	//Parties is a non-required component for TradeCaptureReportRequest.
	Parties *parties.Parties
	//Instrument is a non-required component for TradeCaptureReportRequest.
	Instrument *instrument.Instrument
	//InstrumentExtension is a non-required component for TradeCaptureReportRequest.
	InstrumentExtension *instrumentextension.InstrumentExtension
	//FinancingDetails is a non-required component for TradeCaptureReportRequest.
	FinancingDetails *financingdetails.FinancingDetails
	//NoUnderlyings is a non-required field for TradeCaptureReportRequest.
	NoUnderlyings []NoUnderlyings `fix:"711,omitempty"`
	//NoLegs is a non-required field for TradeCaptureReportRequest.
	NoLegs []NoLegs `fix:"555,omitempty"`
	//NoDates is a non-required field for TradeCaptureReportRequest.
	NoDates []NoDates `fix:"580,omitempty"`
	//ClearingBusinessDate is a non-required field for TradeCaptureReportRequest.
	ClearingBusinessDate *string `fix:"715"`
	//TradingSessionID is a non-required field for TradeCaptureReportRequest.
	TradingSessionID *string `fix:"336"`
	//TradingSessionSubID is a non-required field for TradeCaptureReportRequest.
	TradingSessionSubID *string `fix:"625"`
	//TimeBracket is a non-required field for TradeCaptureReportRequest.
	TimeBracket *string `fix:"943"`
	//Side is a non-required field for TradeCaptureReportRequest.
	Side *string `fix:"54"`
	//MultiLegReportingType is a non-required field for TradeCaptureReportRequest.
	MultiLegReportingType *string `fix:"442"`
	//TradeInputSource is a non-required field for TradeCaptureReportRequest.
	TradeInputSource *string `fix:"578"`
	//TradeInputDevice is a non-required field for TradeCaptureReportRequest.
	TradeInputDevice *string `fix:"579"`
	//ResponseTransportType is a non-required field for TradeCaptureReportRequest.
	ResponseTransportType *int `fix:"725"`
	//ResponseDestination is a non-required field for TradeCaptureReportRequest.
	ResponseDestination *string `fix:"726"`
	//Text is a non-required field for TradeCaptureReportRequest.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for TradeCaptureReportRequest.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for TradeCaptureReportRequest.
	EncodedText *string `fix:"355"`
	fix44.Trailer
}

Message is a TradeCaptureReportRequest FIX Message

func New

func New(traderequestid string, traderequesttype int) *Message

New returns an initialized TradeCaptureReportRequest instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetClOrdID

func (m *Message) SetClOrdID(v string)

func (*Message) SetClearingBusinessDate

func (m *Message) SetClearingBusinessDate(v string)

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) SetFinancingDetails

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

func (*Message) SetInstrument

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

func (*Message) SetInstrumentExtension

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

func (*Message) SetMatchStatus

func (m *Message) SetMatchStatus(v string)

func (*Message) SetMultiLegReportingType

func (m *Message) SetMultiLegReportingType(v string)

func (*Message) SetNoDates

func (m *Message) SetNoDates(v []NoDates)

func (*Message) SetNoLegs

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

func (*Message) SetNoUnderlyings

func (m *Message) SetNoUnderlyings(v []NoUnderlyings)

func (*Message) SetOrderID

func (m *Message) SetOrderID(v string)

func (*Message) SetParties

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

func (*Message) SetResponseDestination

func (m *Message) SetResponseDestination(v string)

func (*Message) SetResponseTransportType

func (m *Message) SetResponseTransportType(v int)

func (*Message) SetSecondaryTradeReportID

func (m *Message) SetSecondaryTradeReportID(v string)

func (*Message) SetSecondaryTrdType

func (m *Message) SetSecondaryTrdType(v int)

func (*Message) SetSide

func (m *Message) SetSide(v string)

func (*Message) SetSubscriptionRequestType

func (m *Message) SetSubscriptionRequestType(v string)

func (*Message) SetText

func (m *Message) SetText(v string)

func (*Message) SetTimeBracket

func (m *Message) SetTimeBracket(v string)

func (*Message) SetTradeInputDevice

func (m *Message) SetTradeInputDevice(v string)

func (*Message) SetTradeInputSource

func (m *Message) SetTradeInputSource(v string)

func (*Message) SetTradeLinkID

func (m *Message) SetTradeLinkID(v string)

func (*Message) SetTradeReportID

func (m *Message) SetTradeReportID(v string)

func (*Message) SetTradeRequestID

func (m *Message) SetTradeRequestID(v string)

func (*Message) SetTradeRequestType

func (m *Message) SetTradeRequestType(v int)

func (*Message) SetTradingSessionID

func (m *Message) SetTradingSessionID(v string)

func (*Message) SetTradingSessionSubID

func (m *Message) SetTradingSessionSubID(v string)

func (*Message) SetTransferReason

func (m *Message) SetTransferReason(v string)

func (*Message) SetTrdMatchID

func (m *Message) SetTrdMatchID(v string)

func (*Message) SetTrdSubType

func (m *Message) SetTrdSubType(v int)

func (*Message) SetTrdType

func (m *Message) SetTrdType(v int)

type NoDates

type NoDates struct {
	//TradeDate is a non-required field for NoDates.
	TradeDate *string `fix:"75"`
	//TransactTime is a non-required field for NoDates.
	TransactTime *time.Time `fix:"60"`
}

NoDates is a repeating group in TradeCaptureReportRequest

func NewNoDates

func NewNoDates() *NoDates

NewNoDates returns an initialized NoDates instance

func (*NoDates) SetTradeDate

func (m *NoDates) SetTradeDate(v string)

func (*NoDates) SetTransactTime

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

type NoLegs

type NoLegs struct {
	//InstrumentLeg is a non-required component for NoLegs.
	InstrumentLeg *instrumentleg.InstrumentLeg
}

NoLegs is a repeating group in TradeCaptureReportRequest

func NewNoLegs

func NewNoLegs() *NoLegs

NewNoLegs returns an initialized NoLegs instance

func (*NoLegs) SetInstrumentLeg

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

type NoUnderlyings

type NoUnderlyings struct {
	//UnderlyingInstrument is a non-required component for NoUnderlyings.
	UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument
}

NoUnderlyings is a repeating group in TradeCaptureReportRequest

func NewNoUnderlyings

func NewNoUnderlyings() *NoUnderlyings

NewNoUnderlyings returns an initialized NoUnderlyings instance

func (*NoUnderlyings) SetUnderlyingInstrument

func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument)

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