collateralrequest

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

Documentation

Overview

Package collateralrequest msg type = AX.

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

Message is a CollateralRequest FIX Message

func New

func New(collreqid string, collasgnreason int, transacttime time.Time) *Message

New returns an initialized CollateralRequest 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) SetCollAsgnReason

func (m *Message) SetCollAsgnReason(v int)

func (*Message) SetCollReqID

func (m *Message) SetCollReqID(v string)

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

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

func (*Message) SetFinancingDetails

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

func (*Message) SetInstrument

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

func (*Message) SetMarginExcess

func (m *Message) SetMarginExcess(v float64)

func (*Message) SetNoExecs

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

func (*Message) SetNoLegs

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

func (*Message) SetNoMiscFees

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

func (*Message) SetNoTrades

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

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

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 CollateralRequest

func NewNoExecs

func NewNoExecs() *NoExecs

NewNoExecs returns an initialized NoExecs instance

func (*NoExecs) SetExecID

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 CollateralRequest

func NewNoLegs

func NewNoLegs() *NoLegs

NewNoLegs returns an initialized NoLegs instance

func (*NoLegs) SetInstrumentLeg

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 CollateralRequest

func NewNoMiscFees

func NewNoMiscFees() *NoMiscFees

NewNoMiscFees returns an initialized NoMiscFees instance

func (*NoMiscFees) SetMiscFeeAmt

func (m *NoMiscFees) SetMiscFeeAmt(v float64)

func (*NoMiscFees) SetMiscFeeBasis

func (m *NoMiscFees) SetMiscFeeBasis(v int)

func (*NoMiscFees) SetMiscFeeCurr

func (m *NoMiscFees) SetMiscFeeCurr(v string)

func (*NoMiscFees) SetMiscFeeType

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 CollateralRequest

func NewNoTrades

func NewNoTrades() *NoTrades

NewNoTrades returns an initialized NoTrades instance

func (*NoTrades) SetSecondaryTradeReportID

func (m *NoTrades) SetSecondaryTradeReportID(v string)

func (*NoTrades) SetTradeReportID

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 CollateralRequest

func NewNoUnderlyings

func NewNoUnderlyings() *NoUnderlyings

NewNoUnderlyings returns an initialized NoUnderlyings instance

func (*NoUnderlyings) SetCollAction

func (m *NoUnderlyings) SetCollAction(v int)

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