collateralassignment

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 collateralassignment msg type = AY.

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:"AY"`
	fixt11.Header
	//CollAsgnID is a required field for CollateralAssignment.
	CollAsgnID string `fix:"902"`
	//CollReqID is a non-required field for CollateralAssignment.
	CollReqID *string `fix:"894"`
	//CollAsgnReason is a required field for CollateralAssignment.
	CollAsgnReason int `fix:"895"`
	//CollAsgnTransType is a required field for CollateralAssignment.
	CollAsgnTransType int `fix:"903"`
	//CollAsgnRefID is a non-required field for CollateralAssignment.
	CollAsgnRefID *string `fix:"907"`
	//TransactTime is a required field for CollateralAssignment.
	TransactTime time.Time `fix:"60"`
	//ExpireTime is a non-required field for CollateralAssignment.
	ExpireTime *time.Time `fix:"126"`
	//Parties is a non-required component for CollateralAssignment.
	Parties *parties.Parties
	//Account is a non-required field for CollateralAssignment.
	Account *string `fix:"1"`
	//AccountType is a non-required field for CollateralAssignment.
	AccountType *int `fix:"581"`
	//ClOrdID is a non-required field for CollateralAssignment.
	ClOrdID *string `fix:"11"`
	//OrderID is a non-required field for CollateralAssignment.
	OrderID *string `fix:"37"`
	//SecondaryOrderID is a non-required field for CollateralAssignment.
	SecondaryOrderID *string `fix:"198"`
	//SecondaryClOrdID is a non-required field for CollateralAssignment.
	SecondaryClOrdID *string `fix:"526"`
	//ExecCollGrp is a non-required component for CollateralAssignment.
	ExecCollGrp *execcollgrp.ExecCollGrp
	//TrdCollGrp is a non-required component for CollateralAssignment.
	TrdCollGrp *trdcollgrp.TrdCollGrp
	//Instrument is a non-required component for CollateralAssignment.
	Instrument *instrument.Instrument
	//FinancingDetails is a non-required component for CollateralAssignment.
	FinancingDetails *financingdetails.FinancingDetails
	//SettlDate is a non-required field for CollateralAssignment.
	SettlDate *string `fix:"64"`
	//Quantity is a non-required field for CollateralAssignment.
	Quantity *float64 `fix:"53"`
	//QtyType is a non-required field for CollateralAssignment.
	QtyType *int `fix:"854"`
	//Currency is a non-required field for CollateralAssignment.
	Currency *string `fix:"15"`
	//InstrmtLegGrp is a non-required component for CollateralAssignment.
	InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp
	//UndInstrmtCollGrp is a non-required component for CollateralAssignment.
	UndInstrmtCollGrp *undinstrmtcollgrp.UndInstrmtCollGrp
	//MarginExcess is a non-required field for CollateralAssignment.
	MarginExcess *float64 `fix:"899"`
	//TotalNetValue is a non-required field for CollateralAssignment.
	TotalNetValue *float64 `fix:"900"`
	//CashOutstanding is a non-required field for CollateralAssignment.
	CashOutstanding *float64 `fix:"901"`
	//TrdRegTimestamps is a non-required component for CollateralAssignment.
	TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps
	//Side is a non-required field for CollateralAssignment.
	Side *string `fix:"54"`
	//MiscFeesGrp is a non-required component for CollateralAssignment.
	MiscFeesGrp *miscfeesgrp.MiscFeesGrp
	//Price is a non-required field for CollateralAssignment.
	Price *float64 `fix:"44"`
	//PriceType is a non-required field for CollateralAssignment.
	PriceType *int `fix:"423"`
	//AccruedInterestAmt is a non-required field for CollateralAssignment.
	AccruedInterestAmt *float64 `fix:"159"`
	//EndAccruedInterestAmt is a non-required field for CollateralAssignment.
	EndAccruedInterestAmt *float64 `fix:"920"`
	//StartCash is a non-required field for CollateralAssignment.
	StartCash *float64 `fix:"921"`
	//EndCash is a non-required field for CollateralAssignment.
	EndCash *float64 `fix:"922"`
	//SpreadOrBenchmarkCurveData is a non-required component for CollateralAssignment.
	SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData
	//Stipulations is a non-required component for CollateralAssignment.
	Stipulations *stipulations.Stipulations
	//SettlInstructionsData is a non-required component for CollateralAssignment.
	SettlInstructionsData *settlinstructionsdata.SettlInstructionsData
	//TradingSessionID is a non-required field for CollateralAssignment.
	TradingSessionID *string `fix:"336"`
	//TradingSessionSubID is a non-required field for CollateralAssignment.
	TradingSessionSubID *string `fix:"625"`
	//SettlSessID is a non-required field for CollateralAssignment.
	SettlSessID *string `fix:"716"`
	//SettlSessSubID is a non-required field for CollateralAssignment.
	SettlSessSubID *string `fix:"717"`
	//ClearingBusinessDate is a non-required field for CollateralAssignment.
	ClearingBusinessDate *string `fix:"715"`
	//Text is a non-required field for CollateralAssignment.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for CollateralAssignment.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for CollateralAssignment.
	EncodedText *string `fix:"355"`
	fixt11.Trailer
}

Message is a CollateralAssignment FIX Message

func New added in v0.2.0

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

New returns an initialized CollateralAssignment 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) SetClearingBusinessDate added in v0.2.0

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

func (m *Message) SetCollAsgnRefID(v string)

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

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

func (*Message) SetExpireTime added in v0.2.0

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

func (*Message) SetFinancingDetails added in v0.2.0

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

func (*Message) SetInstrmtLegGrp added in v0.2.0

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

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

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

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

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

func (*Message) SetSettlSessID added in v0.2.0

func (m *Message) SetSettlSessID(v string)

func (*Message) SetSettlSessSubID added in v0.2.0

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

func (m *Message) SetTradingSessionID(v string)

func (*Message) SetTradingSessionSubID added in v0.2.0

func (m *Message) SetTradingSessionSubID(v string)

func (*Message) SetTransactTime added in v0.2.0

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

func (*Message) SetTrdCollGrp added in v0.2.0

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

func (*Message) SetTrdRegTimestamps added in v0.2.0

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

func (*Message) SetUndInstrmtCollGrp added in v0.2.0

func (m *Message) SetUndInstrmtCollGrp(v undinstrmtcollgrp.UndInstrmtCollGrp)

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