confirmation

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

Documentation

Overview

Package confirmation msg type = AK.

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:"AK"`
	fixt11.Header
	//ConfirmID is a required field for Confirmation.
	ConfirmID string `fix:"664"`
	//ConfirmRefID is a non-required field for Confirmation.
	ConfirmRefID *string `fix:"772"`
	//ConfirmReqID is a non-required field for Confirmation.
	ConfirmReqID *string `fix:"859"`
	//ConfirmTransType is a required field for Confirmation.
	ConfirmTransType int `fix:"666"`
	//ConfirmType is a required field for Confirmation.
	ConfirmType int `fix:"773"`
	//CopyMsgIndicator is a non-required field for Confirmation.
	CopyMsgIndicator *bool `fix:"797"`
	//LegalConfirm is a non-required field for Confirmation.
	LegalConfirm *bool `fix:"650"`
	//ConfirmStatus is a required field for Confirmation.
	ConfirmStatus int `fix:"665"`
	//Parties is a non-required component for Confirmation.
	Parties *parties.Parties
	//OrdAllocGrp is a non-required component for Confirmation.
	OrdAllocGrp *ordallocgrp.OrdAllocGrp
	//AllocID is a non-required field for Confirmation.
	AllocID *string `fix:"70"`
	//SecondaryAllocID is a non-required field for Confirmation.
	SecondaryAllocID *string `fix:"793"`
	//IndividualAllocID is a non-required field for Confirmation.
	IndividualAllocID *string `fix:"467"`
	//TransactTime is a required field for Confirmation.
	TransactTime time.Time `fix:"60"`
	//TradeDate is a required field for Confirmation.
	TradeDate string `fix:"75"`
	//TrdRegTimestamps is a non-required component for Confirmation.
	TrdRegTimestamps *trdregtimestamps.TrdRegTimestamps
	//Instrument is a required component for Confirmation.
	instrument.Instrument
	//InstrumentExtension is a non-required component for Confirmation.
	InstrumentExtension *instrumentextension.InstrumentExtension
	//FinancingDetails is a non-required component for Confirmation.
	FinancingDetails *financingdetails.FinancingDetails
	//UndInstrmtGrp is a non-required component for Confirmation.
	UndInstrmtGrp *undinstrmtgrp.UndInstrmtGrp
	//InstrmtLegGrp is a non-required component for Confirmation.
	InstrmtLegGrp *instrmtleggrp.InstrmtLegGrp
	//YieldData is a non-required component for Confirmation.
	YieldData *yielddata.YieldData
	//AllocQty is a required field for Confirmation.
	AllocQty float64 `fix:"80"`
	//QtyType is a non-required field for Confirmation.
	QtyType *int `fix:"854"`
	//Side is a required field for Confirmation.
	Side string `fix:"54"`
	//Currency is a non-required field for Confirmation.
	Currency *string `fix:"15"`
	//LastMkt is a non-required field for Confirmation.
	LastMkt *string `fix:"30"`
	//CpctyConfGrp is a required component for Confirmation.
	cpctyconfgrp.CpctyConfGrp
	//AllocAccount is a required field for Confirmation.
	AllocAccount string `fix:"79"`
	//AllocAcctIDSource is a non-required field for Confirmation.
	AllocAcctIDSource *int `fix:"661"`
	//AllocAccountType is a non-required field for Confirmation.
	AllocAccountType *int `fix:"798"`
	//AvgPx is a required field for Confirmation.
	AvgPx float64 `fix:"6"`
	//AvgPxPrecision is a non-required field for Confirmation.
	AvgPxPrecision *int `fix:"74"`
	//PriceType is a non-required field for Confirmation.
	PriceType *int `fix:"423"`
	//AvgParPx is a non-required field for Confirmation.
	AvgParPx *float64 `fix:"860"`
	//SpreadOrBenchmarkCurveData is a non-required component for Confirmation.
	SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData
	//ReportedPx is a non-required field for Confirmation.
	ReportedPx *float64 `fix:"861"`
	//Text is a non-required field for Confirmation.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for Confirmation.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for Confirmation.
	EncodedText *string `fix:"355"`
	//ProcessCode is a non-required field for Confirmation.
	ProcessCode *string `fix:"81"`
	//GrossTradeAmt is a required field for Confirmation.
	GrossTradeAmt float64 `fix:"381"`
	//NumDaysInterest is a non-required field for Confirmation.
	NumDaysInterest *int `fix:"157"`
	//ExDate is a non-required field for Confirmation.
	ExDate *string `fix:"230"`
	//AccruedInterestRate is a non-required field for Confirmation.
	AccruedInterestRate *float64 `fix:"158"`
	//AccruedInterestAmt is a non-required field for Confirmation.
	AccruedInterestAmt *float64 `fix:"159"`
	//InterestAtMaturity is a non-required field for Confirmation.
	InterestAtMaturity *float64 `fix:"738"`
	//EndAccruedInterestAmt is a non-required field for Confirmation.
	EndAccruedInterestAmt *float64 `fix:"920"`
	//StartCash is a non-required field for Confirmation.
	StartCash *float64 `fix:"921"`
	//EndCash is a non-required field for Confirmation.
	EndCash *float64 `fix:"922"`
	//Concession is a non-required field for Confirmation.
	Concession *float64 `fix:"238"`
	//TotalTakedown is a non-required field for Confirmation.
	TotalTakedown *float64 `fix:"237"`
	//NetMoney is a required field for Confirmation.
	NetMoney float64 `fix:"118"`
	//MaturityNetMoney is a non-required field for Confirmation.
	MaturityNetMoney *float64 `fix:"890"`
	//SettlCurrAmt is a non-required field for Confirmation.
	SettlCurrAmt *float64 `fix:"119"`
	//SettlCurrency is a non-required field for Confirmation.
	SettlCurrency *string `fix:"120"`
	//SettlCurrFxRate is a non-required field for Confirmation.
	SettlCurrFxRate *float64 `fix:"155"`
	//SettlCurrFxRateCalc is a non-required field for Confirmation.
	SettlCurrFxRateCalc *string `fix:"156"`
	//SettlType is a non-required field for Confirmation.
	SettlType *string `fix:"63"`
	//SettlDate is a non-required field for Confirmation.
	SettlDate *string `fix:"64"`
	//SettlInstructionsData is a non-required component for Confirmation.
	SettlInstructionsData *settlinstructionsdata.SettlInstructionsData
	//CommissionData is a non-required component for Confirmation.
	CommissionData *commissiondata.CommissionData
	//SharedCommission is a non-required field for Confirmation.
	SharedCommission *float64 `fix:"858"`
	//Stipulations is a non-required component for Confirmation.
	Stipulations *stipulations.Stipulations
	//MiscFeesGrp is a non-required component for Confirmation.
	MiscFeesGrp *miscfeesgrp.MiscFeesGrp
	fixt11.Trailer
}

Message is a Confirmation FIX Message

func New

func New(confirmid string, confirmtranstype int, confirmtype int, confirmstatus int, transacttime time.Time, tradedate string, instrument instrument.Instrument, allocqty float64, side string, cpctyconfgrp cpctyconfgrp.CpctyConfGrp, allocaccount string, avgpx float64, grosstradeamt float64, netmoney float64) *Message

New returns an initialized Confirmation instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetAccruedInterestAmt

func (m *Message) SetAccruedInterestAmt(v float64)

func (*Message) SetAccruedInterestRate

func (m *Message) SetAccruedInterestRate(v float64)

func (*Message) SetAllocAccount

func (m *Message) SetAllocAccount(v string)

func (*Message) SetAllocAccountType

func (m *Message) SetAllocAccountType(v int)

func (*Message) SetAllocAcctIDSource

func (m *Message) SetAllocAcctIDSource(v int)

func (*Message) SetAllocID

func (m *Message) SetAllocID(v string)

func (*Message) SetAllocQty

func (m *Message) SetAllocQty(v float64)

func (*Message) SetAvgParPx

func (m *Message) SetAvgParPx(v float64)

func (*Message) SetAvgPx

func (m *Message) SetAvgPx(v float64)

func (*Message) SetAvgPxPrecision

func (m *Message) SetAvgPxPrecision(v int)

func (*Message) SetCommissionData

func (m *Message) SetCommissionData(v commissiondata.CommissionData)

func (*Message) SetConcession

func (m *Message) SetConcession(v float64)

func (*Message) SetConfirmID

func (m *Message) SetConfirmID(v string)

func (*Message) SetConfirmRefID

func (m *Message) SetConfirmRefID(v string)

func (*Message) SetConfirmReqID

func (m *Message) SetConfirmReqID(v string)

func (*Message) SetConfirmStatus

func (m *Message) SetConfirmStatus(v int)

func (*Message) SetConfirmTransType

func (m *Message) SetConfirmTransType(v int)

func (*Message) SetConfirmType

func (m *Message) SetConfirmType(v int)

func (*Message) SetCopyMsgIndicator

func (m *Message) SetCopyMsgIndicator(v bool)

func (*Message) SetCpctyConfGrp

func (m *Message) SetCpctyConfGrp(v cpctyconfgrp.CpctyConfGrp)

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

func (m *Message) SetExDate(v string)

func (*Message) SetFinancingDetails

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

func (*Message) SetGrossTradeAmt

func (m *Message) SetGrossTradeAmt(v float64)

func (*Message) SetIndividualAllocID

func (m *Message) SetIndividualAllocID(v string)

func (*Message) SetInstrmtLegGrp

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

func (*Message) SetInstrument

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

func (*Message) SetInstrumentExtension

func (m *Message) SetInstrumentExtension(v instrumentextension.InstrumentExtension)

func (*Message) SetInterestAtMaturity

func (m *Message) SetInterestAtMaturity(v float64)

func (*Message) SetLastMkt

func (m *Message) SetLastMkt(v string)

func (*Message) SetLegalConfirm

func (m *Message) SetLegalConfirm(v bool)

func (*Message) SetMaturityNetMoney

func (m *Message) SetMaturityNetMoney(v float64)

func (*Message) SetMiscFeesGrp

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

func (*Message) SetNetMoney

func (m *Message) SetNetMoney(v float64)

func (*Message) SetNumDaysInterest

func (m *Message) SetNumDaysInterest(v int)

func (*Message) SetOrdAllocGrp

func (m *Message) SetOrdAllocGrp(v ordallocgrp.OrdAllocGrp)

func (*Message) SetParties

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

func (*Message) SetPriceType

func (m *Message) SetPriceType(v int)

func (*Message) SetProcessCode

func (m *Message) SetProcessCode(v string)

func (*Message) SetQtyType

func (m *Message) SetQtyType(v int)

func (*Message) SetReportedPx

func (m *Message) SetReportedPx(v float64)

func (*Message) SetSecondaryAllocID

func (m *Message) SetSecondaryAllocID(v string)

func (*Message) SetSettlCurrAmt

func (m *Message) SetSettlCurrAmt(v float64)

func (*Message) SetSettlCurrFxRate

func (m *Message) SetSettlCurrFxRate(v float64)

func (*Message) SetSettlCurrFxRateCalc

func (m *Message) SetSettlCurrFxRateCalc(v string)

func (*Message) SetSettlCurrency

func (m *Message) SetSettlCurrency(v string)

func (*Message) SetSettlDate

func (m *Message) SetSettlDate(v string)

func (*Message) SetSettlInstructionsData

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

func (*Message) SetSettlType

func (m *Message) SetSettlType(v string)

func (*Message) SetSharedCommission

func (m *Message) SetSharedCommission(v float64)

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

func (m *Message) SetTotalTakedown(v float64)

func (*Message) SetTradeDate

func (m *Message) SetTradeDate(v string)

func (*Message) SetTransactTime

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

func (*Message) SetTrdRegTimestamps

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

func (*Message) SetUndInstrmtGrp

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

func (*Message) SetYieldData

func (m *Message) SetYieldData(v yielddata.YieldData)

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