tradecapturereportrequestack

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

Documentation

Overview

Package tradecapturereportrequestack msg type = AQ.

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:"AQ"`
	fix44.Header
	//TradeRequestID is a required field for TradeCaptureReportRequestAck.
	TradeRequestID string `fix:"568"`
	//TradeRequestType is a required field for TradeCaptureReportRequestAck.
	TradeRequestType int `fix:"569"`
	//SubscriptionRequestType is a non-required field for TradeCaptureReportRequestAck.
	SubscriptionRequestType *string `fix:"263"`
	//TotNumTradeReports is a non-required field for TradeCaptureReportRequestAck.
	TotNumTradeReports *int `fix:"748"`
	//TradeRequestResult is a required field for TradeCaptureReportRequestAck.
	TradeRequestResult int `fix:"749"`
	//TradeRequestStatus is a required field for TradeCaptureReportRequestAck.
	TradeRequestStatus int `fix:"750"`
	//Instrument is a required component for TradeCaptureReportRequestAck.
	instrument.Instrument
	//NoUnderlyings is a non-required field for TradeCaptureReportRequestAck.
	NoUnderlyings []NoUnderlyings `fix:"711,omitempty"`
	//NoLegs is a non-required field for TradeCaptureReportRequestAck.
	NoLegs []NoLegs `fix:"555,omitempty"`
	//MultiLegReportingType is a non-required field for TradeCaptureReportRequestAck.
	MultiLegReportingType *string `fix:"442"`
	//ResponseTransportType is a non-required field for TradeCaptureReportRequestAck.
	ResponseTransportType *int `fix:"725"`
	//ResponseDestination is a non-required field for TradeCaptureReportRequestAck.
	ResponseDestination *string `fix:"726"`
	//Text is a non-required field for TradeCaptureReportRequestAck.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for TradeCaptureReportRequestAck.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for TradeCaptureReportRequestAck.
	EncodedText *string `fix:"355"`
	fix44.Trailer
}

Message is a TradeCaptureReportRequestAck FIX Message

func New

func New(traderequestid string, traderequesttype int, traderequestresult int, traderequeststatus int, instrument instrument.Instrument) *Message

New returns an initialized TradeCaptureReportRequestAck instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetEncodedText

func (m *Message) SetEncodedText(v string)

func (*Message) SetEncodedTextLen

func (m *Message) SetEncodedTextLen(v int)

func (*Message) SetInstrument

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

func (*Message) SetMultiLegReportingType

func (m *Message) SetMultiLegReportingType(v string)

func (*Message) SetNoLegs

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

func (*Message) SetNoUnderlyings

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

func (*Message) SetResponseDestination

func (m *Message) SetResponseDestination(v string)

func (*Message) SetResponseTransportType

func (m *Message) SetResponseTransportType(v int)

func (*Message) SetSubscriptionRequestType

func (m *Message) SetSubscriptionRequestType(v string)

func (*Message) SetText

func (m *Message) SetText(v string)

func (*Message) SetTotNumTradeReports

func (m *Message) SetTotNumTradeReports(v int)

func (*Message) SetTradeRequestID

func (m *Message) SetTradeRequestID(v string)

func (*Message) SetTradeRequestResult

func (m *Message) SetTradeRequestResult(v int)

func (*Message) SetTradeRequestStatus

func (m *Message) SetTradeRequestStatus(v int)

func (*Message) SetTradeRequestType

func (m *Message) SetTradeRequestType(v int)

type NoLegs

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

NoLegs is a repeating group in TradeCaptureReportRequestAck

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 TradeCaptureReportRequestAck

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