collateralresponse

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2016 License: Apache-1.1 Imports: 12 Imported by: 0

Documentation

Overview

Package collateralresponse msg type = AZ.

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:"AZ"`
	fix44.Header
	//CollRespID is a required field for CollateralResponse.
	CollRespID string `fix:"904"`
	//CollAsgnID is a required field for CollateralResponse.
	CollAsgnID string `fix:"902"`
	//CollReqID is a non-required field for CollateralResponse.
	CollReqID *string `fix:"894"`
	//CollAsgnReason is a required field for CollateralResponse.
	CollAsgnReason int `fix:"895"`
	//CollAsgnTransType is a non-required field for CollateralResponse.
	CollAsgnTransType *int `fix:"903"`
	//CollAsgnRespType is a required field for CollateralResponse.
	CollAsgnRespType int `fix:"905"`
	//CollAsgnRejectReason is a non-required field for CollateralResponse.
	CollAsgnRejectReason *int `fix:"906"`
	//TransactTime is a required field for CollateralResponse.
	TransactTime time.Time `fix:"60"`
	//Parties is a non-required component for CollateralResponse.
	Parties *parties.Parties
	//Account is a non-required field for CollateralResponse.
	Account *string `fix:"1"`
	//AccountType is a non-required field for CollateralResponse.
	AccountType *int `fix:"581"`
	//ClOrdID is a non-required field for CollateralResponse.
	ClOrdID *string `fix:"11"`
	//OrderID is a non-required field for CollateralResponse.
	OrderID *string `fix:"37"`
	//SecondaryOrderID is a non-required field for CollateralResponse.
	SecondaryOrderID *string `fix:"198"`
	//SecondaryClOrdID is a non-required field for CollateralResponse.
	SecondaryClOrdID *string `fix:"526"`
	//NoExecs is a non-required field for CollateralResponse.
	NoExecs []NoExecs `fix:"124,omitempty"`
	//NoTrades is a non-required field for CollateralResponse.
	NoTrades []NoTrades `fix:"897,omitempty"`
	//Instrument is a non-required component for CollateralResponse.
	Instrument *instrument.Instrument
	//FinancingDetails is a non-required component for CollateralResponse.
	FinancingDetails *financingdetails.FinancingDetails
	//SettlDate is a non-required field for CollateralResponse.
	SettlDate *string `fix:"64"`
	//Quantity is a non-required field for CollateralResponse.
	Quantity *float64 `fix:"53"`
	//QtyType is a non-required field for CollateralResponse.
	QtyType *int `fix:"854"`
	//Currency is a non-required field for CollateralResponse.
	Currency *string `fix:"15"`
	//NoLegs is a non-required field for CollateralResponse.
	NoLegs []NoLegs `fix:"555,omitempty"`
	//NoUnderlyings is a non-required field for CollateralResponse.
	NoUnderlyings []NoUnderlyings `fix:"711,omitempty"`
	//MarginExcess is a non-required field for CollateralResponse.
	MarginExcess *float64 `fix:"899"`
	//TotalNetValue is a non-required field for CollateralResponse.
	TotalNetValue *float64 `fix:"900"`
	//CashOutstanding is a non-required field for CollateralResponse.
	CashOutstanding *float64 `fix:"901"`
	//TrdRegTimestamps is a non-required component for CollateralResponse.
	TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps
	//Side is a non-required field for CollateralResponse.
	Side *string `fix:"54"`
	//NoMiscFees is a non-required field for CollateralResponse.
	NoMiscFees []NoMiscFees `fix:"136,omitempty"`
	//Price is a non-required field for CollateralResponse.
	Price *float64 `fix:"44"`
	//PriceType is a non-required field for CollateralResponse.
	PriceType *int `fix:"423"`
	//AccruedInterestAmt is a non-required field for CollateralResponse.
	AccruedInterestAmt *float64 `fix:"159"`
	//EndAccruedInterestAmt is a non-required field for CollateralResponse.
	EndAccruedInterestAmt *float64 `fix:"920"`
	//StartCash is a non-required field for CollateralResponse.
	StartCash *float64 `fix:"921"`
	//EndCash is a non-required field for CollateralResponse.
	EndCash *float64 `fix:"922"`
	//SpreadOrBenchmarkCurveData is a non-required component for CollateralResponse.
	SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData
	//Stipulations is a non-required component for CollateralResponse.
	Stipulations *stipulations.Stipulations
	//Text is a non-required field for CollateralResponse.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for CollateralResponse.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for CollateralResponse.
	EncodedText *string `fix:"355"`
	fix44.Trailer
}

Message is a CollateralResponse FIX Message

func New added in v0.2.0

func New(collrespid string, collasgnid string, collasgnreason int, collasgnresptype int, transacttime time.Time) *Message

New returns an initialized CollateralResponse instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetAccount added in v0.2.0

func (m *Message) SetAccount(v string)

func (*Message) SetAccountType added in v0.2.0

func (m *Message) SetAccountType(v int)

func (*Message) SetAccruedInterestAmt added in v0.2.0

func (m *Message) SetAccruedInterestAmt(v float64)

func (*Message) SetCashOutstanding added in v0.2.0

func (m *Message) SetCashOutstanding(v float64)

func (*Message) SetClOrdID added in v0.2.0

func (m *Message) SetClOrdID(v string)

func (*Message) SetCollAsgnID added in v0.2.0

func (m *Message) SetCollAsgnID(v string)

func (*Message) SetCollAsgnReason added in v0.2.0

func (m *Message) SetCollAsgnReason(v int)

func (*Message) SetCollAsgnRejectReason added in v0.2.0

func (m *Message) SetCollAsgnRejectReason(v int)

func (*Message) SetCollAsgnRespType added in v0.2.0

func (m *Message) SetCollAsgnRespType(v int)

func (*Message) SetCollAsgnTransType added in v0.2.0

func (m *Message) SetCollAsgnTransType(v int)

func (*Message) SetCollReqID added in v0.2.0

func (m *Message) SetCollReqID(v string)

func (*Message) SetCollRespID added in v0.2.0

func (m *Message) SetCollRespID(v string)

func (*Message) SetCurrency added in v0.2.0

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

func (m *Message) SetEndAccruedInterestAmt(v float64)

func (*Message) SetEndCash added in v0.2.0

func (m *Message) SetEndCash(v float64)

func (*Message) SetFinancingDetails added in v0.2.0

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

func (*Message) SetInstrument added in v0.2.0

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

func (*Message) SetMarginExcess added in v0.2.0

func (m *Message) SetMarginExcess(v float64)

func (*Message) SetNoExecs added in v0.2.0

func (m *Message) SetNoExecs(v []NoExecs)

func (*Message) SetNoLegs added in v0.2.0

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

func (*Message) SetNoMiscFees added in v0.2.0

func (m *Message) SetNoMiscFees(v []NoMiscFees)

func (*Message) SetNoTrades added in v0.2.0

func (m *Message) SetNoTrades(v []NoTrades)

func (*Message) SetNoUnderlyings added in v0.2.0

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

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

func (m *Message) SetPrice(v float64)

func (*Message) SetPriceType added in v0.2.0

func (m *Message) SetPriceType(v int)

func (*Message) SetQtyType added in v0.2.0

func (m *Message) SetQtyType(v int)

func (*Message) SetQuantity added in v0.2.0

func (m *Message) SetQuantity(v float64)

func (*Message) SetSecondaryClOrdID added in v0.2.0

func (m *Message) SetSecondaryClOrdID(v string)

func (*Message) SetSecondaryOrderID added in v0.2.0

func (m *Message) SetSecondaryOrderID(v string)

func (*Message) SetSettlDate added in v0.2.0

func (m *Message) SetSettlDate(v string)

func (*Message) SetSide added in v0.2.0

func (m *Message) SetSide(v string)

func (*Message) SetSpreadOrBenchmarkCurveData added in v0.2.0

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

func (*Message) SetStartCash added in v0.2.0

func (m *Message) SetStartCash(v float64)

func (*Message) SetStipulations added in v0.2.0

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

func (*Message) SetText added in v0.2.0

func (m *Message) SetText(v string)

func (*Message) SetTotalNetValue added in v0.2.0

func (m *Message) SetTotalNetValue(v float64)

func (*Message) SetTransactTime added in v0.2.0

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

func (*Message) SetTrdRegTimestamps added in v0.2.0

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

type NoExecs

type NoExecs struct {
	//ExecID is a non-required field for NoExecs.
	ExecID *string `fix:"17"`
}

NoExecs is a repeating group in CollateralResponse

func NewNoExecs added in v0.2.0

func NewNoExecs() *NoExecs

NewNoExecs returns an initialized NoExecs instance

func (*NoExecs) SetExecID added in v0.2.0

func (m *NoExecs) SetExecID(v string)

type NoLegs

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

NoLegs is a repeating group in CollateralResponse

func NewNoLegs added in v0.2.0

func NewNoLegs() *NoLegs

NewNoLegs returns an initialized NoLegs instance

func (*NoLegs) SetInstrumentLeg added in v0.2.0

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

type NoMiscFees

type NoMiscFees struct {
	//MiscFeeAmt is a non-required field for NoMiscFees.
	MiscFeeAmt *float64 `fix:"137"`
	//MiscFeeCurr is a non-required field for NoMiscFees.
	MiscFeeCurr *string `fix:"138"`
	//MiscFeeType is a non-required field for NoMiscFees.
	MiscFeeType *string `fix:"139"`
	//MiscFeeBasis is a non-required field for NoMiscFees.
	MiscFeeBasis *int `fix:"891"`
}

NoMiscFees is a repeating group in CollateralResponse

func NewNoMiscFees added in v0.2.0

func NewNoMiscFees() *NoMiscFees

NewNoMiscFees returns an initialized NoMiscFees instance

func (*NoMiscFees) SetMiscFeeAmt added in v0.2.0

func (m *NoMiscFees) SetMiscFeeAmt(v float64)

func (*NoMiscFees) SetMiscFeeBasis added in v0.2.0

func (m *NoMiscFees) SetMiscFeeBasis(v int)

func (*NoMiscFees) SetMiscFeeCurr added in v0.2.0

func (m *NoMiscFees) SetMiscFeeCurr(v string)

func (*NoMiscFees) SetMiscFeeType added in v0.2.0

func (m *NoMiscFees) SetMiscFeeType(v string)

type NoTrades

type NoTrades struct {
	//TradeReportID is a non-required field for NoTrades.
	TradeReportID *string `fix:"571"`
	//SecondaryTradeReportID is a non-required field for NoTrades.
	SecondaryTradeReportID *string `fix:"818"`
}

NoTrades is a repeating group in CollateralResponse

func NewNoTrades added in v0.2.0

func NewNoTrades() *NoTrades

NewNoTrades returns an initialized NoTrades instance

func (*NoTrades) SetSecondaryTradeReportID added in v0.2.0

func (m *NoTrades) SetSecondaryTradeReportID(v string)

func (*NoTrades) SetTradeReportID added in v0.2.0

func (m *NoTrades) SetTradeReportID(v string)

type NoUnderlyings

type NoUnderlyings struct {
	//UnderlyingInstrument is a non-required component for NoUnderlyings.
	UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument
	//CollAction is a non-required field for NoUnderlyings.
	CollAction *int `fix:"944"`
}

NoUnderlyings is a repeating group in CollateralResponse

func NewNoUnderlyings added in v0.2.0

func NewNoUnderlyings() *NoUnderlyings

NewNoUnderlyings returns an initialized NoUnderlyings instance

func (*NoUnderlyings) SetCollAction added in v0.2.0

func (m *NoUnderlyings) SetCollAction(v int)

func (*NoUnderlyings) SetUnderlyingInstrument added in v0.2.0

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