collateralreport

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

Documentation

Overview

Package collateralreport msg type = BA.

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:"BA"`
	fixt11.Header
	//CollRptID is a required field for CollateralReport.
	CollRptID string `fix:"908"`
	//CollInquiryID is a non-required field for CollateralReport.
	CollInquiryID *string `fix:"909"`
	//CollStatus is a required field for CollateralReport.
	CollStatus int `fix:"910"`
	//TotNumReports is a non-required field for CollateralReport.
	TotNumReports *int `fix:"911"`
	//LastRptRequested is a non-required field for CollateralReport.
	LastRptRequested *bool `fix:"912"`
	//Parties is a non-required component for CollateralReport.
	Parties *parties.Parties
	//Account is a non-required field for CollateralReport.
	Account *string `fix:"1"`
	//AccountType is a non-required field for CollateralReport.
	AccountType *int `fix:"581"`
	//ClOrdID is a non-required field for CollateralReport.
	ClOrdID *string `fix:"11"`
	//OrderID is a non-required field for CollateralReport.
	OrderID *string `fix:"37"`
	//SecondaryOrderID is a non-required field for CollateralReport.
	SecondaryOrderID *string `fix:"198"`
	//SecondaryClOrdID is a non-required field for CollateralReport.
	SecondaryClOrdID *string `fix:"526"`
	//ExecCollGrp is a non-required component for CollateralReport.
	ExecCollGrp *execcollgrp.ExecCollGrp
	//TrdCollGrp is a non-required component for CollateralReport.
	TrdCollGrp *trdcollgrp.TrdCollGrp
	//Instrument is a non-required component for CollateralReport.
	Instrument *instrument.Instrument
	//FinancingDetails is a non-required component for CollateralReport.
	FinancingDetails *financingdetails.FinancingDetails
	//SettlDate is a non-required field for CollateralReport.
	SettlDate *string `fix:"64"`
	//Quantity is a non-required field for CollateralReport.
	Quantity *float64 `fix:"53"`
	//QtyType is a non-required field for CollateralReport.
	QtyType *int `fix:"854"`
	//Currency is a non-required field for CollateralReport.
	Currency *string `fix:"15"`
	//InstrmtLegGrp is a non-required component for CollateralReport.
	InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp
	//UndInstrmtGrp is a non-required component for CollateralReport.
	UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp
	//MarginExcess is a non-required field for CollateralReport.
	MarginExcess *float64 `fix:"899"`
	//TotalNetValue is a non-required field for CollateralReport.
	TotalNetValue *float64 `fix:"900"`
	//CashOutstanding is a non-required field for CollateralReport.
	CashOutstanding *float64 `fix:"901"`
	//TrdRegTimestamps is a non-required component for CollateralReport.
	TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps
	//Side is a non-required field for CollateralReport.
	Side *string `fix:"54"`
	//MiscFeesGrp is a non-required component for CollateralReport.
	MiscFeesGrp *miscfeesgrp.MiscFeesGrp
	//Price is a non-required field for CollateralReport.
	Price *float64 `fix:"44"`
	//PriceType is a non-required field for CollateralReport.
	PriceType *int `fix:"423"`
	//AccruedInterestAmt is a non-required field for CollateralReport.
	AccruedInterestAmt *float64 `fix:"159"`
	//EndAccruedInterestAmt is a non-required field for CollateralReport.
	EndAccruedInterestAmt *float64 `fix:"920"`
	//StartCash is a non-required field for CollateralReport.
	StartCash *float64 `fix:"921"`
	//EndCash is a non-required field for CollateralReport.
	EndCash *float64 `fix:"922"`
	//SpreadOrBenchmarkCurveData is a non-required component for CollateralReport.
	SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData
	//Stipulations is a non-required component for CollateralReport.
	Stipulations *stipulations.Stipulations
	//SettlInstructionsData is a non-required component for CollateralReport.
	SettlInstructionsData *settlinstructionsdata.SettlInstructionsData
	//TradingSessionID is a non-required field for CollateralReport.
	TradingSessionID *string `fix:"336"`
	//TradingSessionSubID is a non-required field for CollateralReport.
	TradingSessionSubID *string `fix:"625"`
	//SettlSessID is a non-required field for CollateralReport.
	SettlSessID *string `fix:"716"`
	//SettlSessSubID is a non-required field for CollateralReport.
	SettlSessSubID *string `fix:"717"`
	//ClearingBusinessDate is a non-required field for CollateralReport.
	ClearingBusinessDate *string `fix:"715"`
	//Text is a non-required field for CollateralReport.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for CollateralReport.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for CollateralReport.
	EncodedText *string `fix:"355"`
	//TransactTime is a non-required field for CollateralReport.
	TransactTime *time.Time `fix:"60"`
	//CollApplType is a non-required field for CollateralReport.
	CollApplType *int `fix:"1043"`
	//FinancialStatus is a non-required field for CollateralReport.
	FinancialStatus *string `fix:"291"`
	fixt11.Trailer
}

Message is a CollateralReport FIX Message

func New

func New(collrptid string, collstatus int) *Message

New returns an initialized CollateralReport 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) SetAccruedInterestAmt

func (m *Message) SetAccruedInterestAmt(v float64)

func (*Message) SetCashOutstanding

func (m *Message) SetCashOutstanding(v float64)

func (*Message) SetClOrdID

func (m *Message) SetClOrdID(v string)

func (*Message) SetClearingBusinessDate

func (m *Message) SetClearingBusinessDate(v string)

func (*Message) SetCollApplType

func (m *Message) SetCollApplType(v int)

func (*Message) SetCollInquiryID

func (m *Message) SetCollInquiryID(v string)

func (*Message) SetCollRptID

func (m *Message) SetCollRptID(v string)

func (*Message) SetCollStatus

func (m *Message) SetCollStatus(v int)

func (*Message) SetCurrency

func (m *Message) SetCurrency(v string)

func (*Message) SetEncodedText

func (m *Message) SetEncodedText(v string)

func (*Message) SetEncodedTextLen

func (m *Message) SetEncodedTextLen(v int)

func (*Message) SetEndAccruedInterestAmt

func (m *Message) SetEndAccruedInterestAmt(v float64)

func (*Message) SetEndCash

func (m *Message) SetEndCash(v float64)

func (*Message) SetExecCollGrp

func (m *Message) SetExecCollGrp(v execcollgrp.ExecCollGrp)

func (*Message) SetFinancialStatus

func (m *Message) SetFinancialStatus(v string)

func (*Message) SetFinancingDetails

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

func (*Message) SetInstrmtLegGrp

func (m *Message) SetInstrmtLegGrp(v instrmtleggrp.InstrmtLegGrp)

func (*Message) SetInstrument

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

func (*Message) SetLastRptRequested

func (m *Message) SetLastRptRequested(v bool)

func (*Message) SetMarginExcess

func (m *Message) SetMarginExcess(v float64)

func (*Message) SetMiscFeesGrp

func (m *Message) SetMiscFeesGrp(v miscfeesgrp.MiscFeesGrp)

func (*Message) SetOrderID

func (m *Message) SetOrderID(v string)

func (*Message) SetParties

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

func (*Message) SetPrice

func (m *Message) SetPrice(v float64)

func (*Message) SetPriceType

func (m *Message) SetPriceType(v int)

func (*Message) SetQtyType

func (m *Message) SetQtyType(v int)

func (*Message) SetQuantity

func (m *Message) SetQuantity(v float64)

func (*Message) SetSecondaryClOrdID

func (m *Message) SetSecondaryClOrdID(v string)

func (*Message) SetSecondaryOrderID

func (m *Message) SetSecondaryOrderID(v string)

func (*Message) SetSettlDate

func (m *Message) SetSettlDate(v string)

func (*Message) SetSettlInstructionsData

func (m *Message) SetSettlInstructionsData(v settlinstructionsdata.SettlInstructionsData)

func (*Message) SetSettlSessID

func (m *Message) SetSettlSessID(v string)

func (*Message) SetSettlSessSubID

func (m *Message) SetSettlSessSubID(v string)

func (*Message) SetSide

func (m *Message) SetSide(v string)

func (*Message) SetSpreadOrBenchmarkCurveData

func (m *Message) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData)

func (*Message) SetStartCash

func (m *Message) SetStartCash(v float64)

func (*Message) SetStipulations

func (m *Message) SetStipulations(v stipulations.Stipulations)

func (*Message) SetText

func (m *Message) SetText(v string)

func (*Message) SetTotNumReports

func (m *Message) SetTotNumReports(v int)

func (*Message) SetTotalNetValue

func (m *Message) SetTotalNetValue(v float64)

func (*Message) SetTradingSessionID

func (m *Message) SetTradingSessionID(v string)

func (*Message) SetTradingSessionSubID

func (m *Message) SetTradingSessionSubID(v string)

func (*Message) SetTransactTime

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

func (*Message) SetTrdCollGrp

func (m *Message) SetTrdCollGrp(v trdcollgrp.TrdCollGrp)

func (*Message) SetTrdRegTimestamps

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

func (*Message) SetUndInstrmtGrp

func (m *Message) SetUndInstrmtGrp(v undinstrmtgrp.UndInstrmtGrp)

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