quoterequestreject

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 quoterequestreject msg type = AG.

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:"AG"`
	fix44.Header
	//QuoteReqID is a required field for QuoteRequestReject.
	QuoteReqID string `fix:"131"`
	//RFQReqID is a non-required field for QuoteRequestReject.
	RFQReqID *string `fix:"644"`
	//QuoteRequestRejectReason is a required field for QuoteRequestReject.
	QuoteRequestRejectReason int `fix:"658"`
	//NoRelatedSym is a required field for QuoteRequestReject.
	NoRelatedSym []NoRelatedSym `fix:"146"`
	//Text is a non-required field for QuoteRequestReject.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for QuoteRequestReject.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for QuoteRequestReject.
	EncodedText *string `fix:"355"`
	fix44.Trailer
}

Message is a QuoteRequestReject FIX Message

func New

func New(quotereqid string, quoterequestrejectreason int, norelatedsym []NoRelatedSym) *Message

New returns an initialized QuoteRequestReject instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetEncodedText

func (m *Message) SetEncodedText(v string)

func (*Message) SetEncodedTextLen

func (m *Message) SetEncodedTextLen(v int)

func (*Message) SetNoRelatedSym

func (m *Message) SetNoRelatedSym(v []NoRelatedSym)

func (*Message) SetQuoteReqID

func (m *Message) SetQuoteReqID(v string)

func (*Message) SetQuoteRequestRejectReason

func (m *Message) SetQuoteRequestRejectReason(v int)

func (*Message) SetRFQReqID

func (m *Message) SetRFQReqID(v string)

func (*Message) SetText

func (m *Message) SetText(v string)

type NoLegs

type NoLegs struct {
	//InstrumentLeg is a non-required component for NoLegs.
	InstrumentLeg *instrumentleg.InstrumentLeg
	//LegQty is a non-required field for NoLegs.
	LegQty *float64 `fix:"687"`
	//LegSwapType is a non-required field for NoLegs.
	LegSwapType *int `fix:"690"`
	//LegSettlType is a non-required field for NoLegs.
	LegSettlType *string `fix:"587"`
	//LegSettlDate is a non-required field for NoLegs.
	LegSettlDate *string `fix:"588"`
	//LegStipulations is a non-required component for NoLegs.
	LegStipulations *legstipulations.LegStipulations
	//NestedParties is a non-required component for NoLegs.
	NestedParties *nestedparties.NestedParties
	//LegBenchmarkCurveData is a non-required component for NoLegs.
	LegBenchmarkCurveData *legbenchmarkcurvedata.LegBenchmarkCurveData
}

NoLegs is a repeating group in NoRelatedSym

func NewNoLegs

func NewNoLegs() *NoLegs

NewNoLegs returns an initialized NoLegs instance

func (*NoLegs) SetInstrumentLeg

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

func (*NoLegs) SetLegBenchmarkCurveData

func (m *NoLegs) SetLegBenchmarkCurveData(v legbenchmarkcurvedata.LegBenchmarkCurveData)

func (*NoLegs) SetLegQty

func (m *NoLegs) SetLegQty(v float64)

func (*NoLegs) SetLegSettlDate

func (m *NoLegs) SetLegSettlDate(v string)

func (*NoLegs) SetLegSettlType

func (m *NoLegs) SetLegSettlType(v string)

func (*NoLegs) SetLegStipulations

func (m *NoLegs) SetLegStipulations(v legstipulations.LegStipulations)

func (*NoLegs) SetLegSwapType

func (m *NoLegs) SetLegSwapType(v int)

func (*NoLegs) SetNestedParties

func (m *NoLegs) SetNestedParties(v nestedparties.NestedParties)

type NoQuoteQualifiers

type NoQuoteQualifiers struct {
	//QuoteQualifier is a non-required field for NoQuoteQualifiers.
	QuoteQualifier *string `fix:"695"`
}

NoQuoteQualifiers is a repeating group in NoRelatedSym

func NewNoQuoteQualifiers

func NewNoQuoteQualifiers() *NoQuoteQualifiers

NewNoQuoteQualifiers returns an initialized NoQuoteQualifiers instance

func (*NoQuoteQualifiers) SetQuoteQualifier

func (m *NoQuoteQualifiers) SetQuoteQualifier(v string)

type NoRelatedSym

type NoRelatedSym struct {
	//Instrument is a required component for NoRelatedSym.
	instrument.Instrument
	//FinancingDetails is a non-required component for NoRelatedSym.
	FinancingDetails *financingdetails.FinancingDetails
	//NoUnderlyings is a non-required field for NoRelatedSym.
	NoUnderlyings []NoUnderlyings `fix:"711,omitempty"`
	//PrevClosePx is a non-required field for NoRelatedSym.
	PrevClosePx *float64 `fix:"140"`
	//QuoteRequestType is a non-required field for NoRelatedSym.
	QuoteRequestType *int `fix:"303"`
	//QuoteType is a non-required field for NoRelatedSym.
	QuoteType *int `fix:"537"`
	//TradingSessionID is a non-required field for NoRelatedSym.
	TradingSessionID *string `fix:"336"`
	//TradingSessionSubID is a non-required field for NoRelatedSym.
	TradingSessionSubID *string `fix:"625"`
	//TradeOriginationDate is a non-required field for NoRelatedSym.
	TradeOriginationDate *string `fix:"229"`
	//Side is a non-required field for NoRelatedSym.
	Side *string `fix:"54"`
	//QtyType is a non-required field for NoRelatedSym.
	QtyType *int `fix:"854"`
	//OrderQtyData is a non-required component for NoRelatedSym.
	OrderQtyData *orderqtydata.OrderQtyData
	//SettlType is a non-required field for NoRelatedSym.
	SettlType *string `fix:"63"`
	//SettlDate is a non-required field for NoRelatedSym.
	SettlDate *string `fix:"64"`
	//SettlDate2 is a non-required field for NoRelatedSym.
	SettlDate2 *string `fix:"193"`
	//OrderQty2 is a non-required field for NoRelatedSym.
	OrderQty2 *float64 `fix:"192"`
	//Currency is a non-required field for NoRelatedSym.
	Currency *string `fix:"15"`
	//Stipulations is a non-required component for NoRelatedSym.
	Stipulations *stipulations.Stipulations
	//Account is a non-required field for NoRelatedSym.
	Account *string `fix:"1"`
	//AcctIDSource is a non-required field for NoRelatedSym.
	AcctIDSource *int `fix:"660"`
	//AccountType is a non-required field for NoRelatedSym.
	AccountType *int `fix:"581"`
	//NoLegs is a non-required field for NoRelatedSym.
	NoLegs []NoLegs `fix:"555,omitempty"`
	//NoQuoteQualifiers is a non-required field for NoRelatedSym.
	NoQuoteQualifiers []NoQuoteQualifiers `fix:"735,omitempty"`
	//QuotePriceType is a non-required field for NoRelatedSym.
	QuotePriceType *int `fix:"692"`
	//OrdType is a non-required field for NoRelatedSym.
	OrdType *string `fix:"40"`
	//ExpireTime is a non-required field for NoRelatedSym.
	ExpireTime *time.Time `fix:"126"`
	//TransactTime is a non-required field for NoRelatedSym.
	TransactTime *time.Time `fix:"60"`
	//SpreadOrBenchmarkCurveData is a non-required component for NoRelatedSym.
	SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData
	//PriceType is a non-required field for NoRelatedSym.
	PriceType *int `fix:"423"`
	//Price is a non-required field for NoRelatedSym.
	Price *float64 `fix:"44"`
	//Price2 is a non-required field for NoRelatedSym.
	Price2 *float64 `fix:"640"`
	//YieldData is a non-required component for NoRelatedSym.
	YieldData *yielddata.YieldData
	//Parties is a non-required component for NoRelatedSym.
	Parties *parties.Parties
}

NoRelatedSym is a repeating group in QuoteRequestReject

func NewNoRelatedSym

func NewNoRelatedSym(instrument instrument.Instrument) *NoRelatedSym

NewNoRelatedSym returns an initialized NoRelatedSym instance

func (*NoRelatedSym) SetAccount

func (m *NoRelatedSym) SetAccount(v string)

func (*NoRelatedSym) SetAccountType

func (m *NoRelatedSym) SetAccountType(v int)

func (*NoRelatedSym) SetAcctIDSource

func (m *NoRelatedSym) SetAcctIDSource(v int)

func (*NoRelatedSym) SetCurrency

func (m *NoRelatedSym) SetCurrency(v string)

func (*NoRelatedSym) SetExpireTime

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

func (*NoRelatedSym) SetFinancingDetails

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

func (*NoRelatedSym) SetInstrument

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

func (*NoRelatedSym) SetNoLegs

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

func (*NoRelatedSym) SetNoQuoteQualifiers

func (m *NoRelatedSym) SetNoQuoteQualifiers(v []NoQuoteQualifiers)

func (*NoRelatedSym) SetNoUnderlyings

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

func (*NoRelatedSym) SetOrdType

func (m *NoRelatedSym) SetOrdType(v string)

func (*NoRelatedSym) SetOrderQty2

func (m *NoRelatedSym) SetOrderQty2(v float64)

func (*NoRelatedSym) SetOrderQtyData

func (m *NoRelatedSym) SetOrderQtyData(v orderqtydata.OrderQtyData)

func (*NoRelatedSym) SetParties

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

func (*NoRelatedSym) SetPrevClosePx

func (m *NoRelatedSym) SetPrevClosePx(v float64)

func (*NoRelatedSym) SetPrice

func (m *NoRelatedSym) SetPrice(v float64)

func (*NoRelatedSym) SetPrice2

func (m *NoRelatedSym) SetPrice2(v float64)

func (*NoRelatedSym) SetPriceType

func (m *NoRelatedSym) SetPriceType(v int)

func (*NoRelatedSym) SetQtyType

func (m *NoRelatedSym) SetQtyType(v int)

func (*NoRelatedSym) SetQuotePriceType

func (m *NoRelatedSym) SetQuotePriceType(v int)

func (*NoRelatedSym) SetQuoteRequestType

func (m *NoRelatedSym) SetQuoteRequestType(v int)

func (*NoRelatedSym) SetQuoteType

func (m *NoRelatedSym) SetQuoteType(v int)

func (*NoRelatedSym) SetSettlDate

func (m *NoRelatedSym) SetSettlDate(v string)

func (*NoRelatedSym) SetSettlDate2

func (m *NoRelatedSym) SetSettlDate2(v string)

func (*NoRelatedSym) SetSettlType

func (m *NoRelatedSym) SetSettlType(v string)

func (*NoRelatedSym) SetSide

func (m *NoRelatedSym) SetSide(v string)

func (*NoRelatedSym) SetSpreadOrBenchmarkCurveData

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

func (*NoRelatedSym) SetStipulations

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

func (*NoRelatedSym) SetTradeOriginationDate

func (m *NoRelatedSym) SetTradeOriginationDate(v string)

func (*NoRelatedSym) SetTradingSessionID

func (m *NoRelatedSym) SetTradingSessionID(v string)

func (*NoRelatedSym) SetTradingSessionSubID

func (m *NoRelatedSym) SetTradingSessionSubID(v string)

func (*NoRelatedSym) SetTransactTime

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

func (*NoRelatedSym) SetYieldData

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

type NoUnderlyings

type NoUnderlyings struct {
	//UnderlyingInstrument is a non-required component for NoUnderlyings.
	UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument
}

NoUnderlyings is a repeating group in NoRelatedSym

func NewNoUnderlyings

func NewNoUnderlyings() *NoUnderlyings

NewNoUnderlyings returns an initialized NoUnderlyings instance

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