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: 6 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"`
	fix43.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"`
	//ExecID is a non-required field for TradeCaptureReportRequest.
	ExecID *string `fix:"17"`
	//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"`
	//Parties is a non-required component for TradeCaptureReportRequest.
	Parties *parties.Parties
	//Instrument is a non-required component for TradeCaptureReportRequest.
	Instrument *instrument.Instrument
	//NoDates is a non-required field for TradeCaptureReportRequest.
	NoDates []NoDates `fix:"580,omitempty"`
	//Side is a non-required field for TradeCaptureReportRequest.
	Side *string `fix:"54"`
	//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"`
	//TradeInputSource is a non-required field for TradeCaptureReportRequest.
	TradeInputSource *string `fix:"578"`
	//TradeInputDevice is a non-required field for TradeCaptureReportRequest.
	TradeInputDevice *string `fix:"579"`
	fix43.Trailer
}

Message is a TradeCaptureReportRequest FIX Message

func New added in v0.2.0

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

func (m *Message) SetClOrdID(v string)

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

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

func (*Message) SetMatchStatus added in v0.2.0

func (m *Message) SetMatchStatus(v string)

func (*Message) SetNoDates added in v0.2.0

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

func (*Message) SetOrderID added in v0.2.0

func (m *Message) SetOrderID(v string)

func (*Message) SetParties added in v0.2.0

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

func (*Message) SetSide added in v0.2.0

func (m *Message) SetSide(v string)

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

func (m *Message) SetTradeInputDevice(v string)

func (*Message) SetTradeInputSource added in v0.2.0

func (m *Message) SetTradeInputSource(v string)

func (*Message) SetTradeRequestID added in v0.2.0

func (m *Message) SetTradeRequestID(v string)

func (*Message) SetTradeRequestType added in v0.2.0

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

func NewNoDates() *NoDates

NewNoDates returns an initialized NoDates instance

func (*NoDates) SetTradeDate added in v0.2.0

func (m *NoDates) SetTradeDate(v string)

func (*NoDates) SetTransactTime added in v0.2.0

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

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