quoterequestreject

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: 8 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"`
	fix43.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"`
	fix43.Trailer
}

Message is a QuoteRequestReject FIX Message

func New added in v0.2.0

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

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

func (*Message) SetQuoteReqID added in v0.2.0

func (m *Message) SetQuoteReqID(v string)

func (*Message) SetQuoteRequestRejectReason added in v0.2.0

func (m *Message) SetQuoteRequestRejectReason(v int)

func (*Message) SetRFQReqID added in v0.2.0

func (m *Message) SetRFQReqID(v string)

func (*Message) SetText added in v0.2.0

func (m *Message) SetText(v string)

type NoRelatedSym

type NoRelatedSym struct {
	//Instrument is a required component for NoRelatedSym.
	instrument.Instrument
	//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"`
	//Stipulations is a non-required component for NoRelatedSym.
	Stipulations *stipulations.Stipulations
	//Side is a non-required field for NoRelatedSym.
	Side *string `fix:"54"`
	//QuantityType is a non-required field for NoRelatedSym.
	QuantityType *int `fix:"465"`
	//OrderQty is a non-required field for NoRelatedSym.
	OrderQty *float64 `fix:"38"`
	//CashOrderQty is a non-required field for NoRelatedSym.
	CashOrderQty *float64 `fix:"152"`
	//SettlmntTyp is a non-required field for NoRelatedSym.
	SettlmntTyp *string `fix:"63"`
	//FutSettDate is a non-required field for NoRelatedSym.
	FutSettDate *string `fix:"64"`
	//OrdType is a non-required field for NoRelatedSym.
	OrdType *string `fix:"40"`
	//FutSettDate2 is a non-required field for NoRelatedSym.
	FutSettDate2 *string `fix:"193"`
	//OrderQty2 is a non-required field for NoRelatedSym.
	OrderQty2 *float64 `fix:"192"`
	//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"`
	//Currency is a non-required field for NoRelatedSym.
	Currency *string `fix:"15"`
	//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
}

NoRelatedSym is a repeating group in QuoteRequestReject

func NewNoRelatedSym added in v0.2.0

func NewNoRelatedSym(instrument instrument.Instrument) *NoRelatedSym

NewNoRelatedSym returns an initialized NoRelatedSym instance

func (*NoRelatedSym) SetCashOrderQty added in v0.2.0

func (m *NoRelatedSym) SetCashOrderQty(v float64)

func (*NoRelatedSym) SetCurrency added in v0.2.0

func (m *NoRelatedSym) SetCurrency(v string)

func (*NoRelatedSym) SetExpireTime added in v0.2.0

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

func (*NoRelatedSym) SetFutSettDate added in v0.2.0

func (m *NoRelatedSym) SetFutSettDate(v string)

func (*NoRelatedSym) SetFutSettDate2 added in v0.2.0

func (m *NoRelatedSym) SetFutSettDate2(v string)

func (*NoRelatedSym) SetInstrument added in v0.2.0

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

func (*NoRelatedSym) SetOrdType added in v0.2.0

func (m *NoRelatedSym) SetOrdType(v string)

func (*NoRelatedSym) SetOrderQty added in v0.2.0

func (m *NoRelatedSym) SetOrderQty(v float64)

func (*NoRelatedSym) SetOrderQty2 added in v0.2.0

func (m *NoRelatedSym) SetOrderQty2(v float64)

func (*NoRelatedSym) SetPrevClosePx added in v0.2.0

func (m *NoRelatedSym) SetPrevClosePx(v float64)

func (*NoRelatedSym) SetPrice added in v0.2.0

func (m *NoRelatedSym) SetPrice(v float64)

func (*NoRelatedSym) SetPrice2 added in v0.2.0

func (m *NoRelatedSym) SetPrice2(v float64)

func (*NoRelatedSym) SetPriceType added in v0.2.0

func (m *NoRelatedSym) SetPriceType(v int)

func (*NoRelatedSym) SetQuantityType added in v0.2.0

func (m *NoRelatedSym) SetQuantityType(v int)

func (*NoRelatedSym) SetQuoteRequestType added in v0.2.0

func (m *NoRelatedSym) SetQuoteRequestType(v int)

func (*NoRelatedSym) SetQuoteType added in v0.2.0

func (m *NoRelatedSym) SetQuoteType(v int)

func (*NoRelatedSym) SetSettlmntTyp added in v0.2.0

func (m *NoRelatedSym) SetSettlmntTyp(v string)

func (*NoRelatedSym) SetSide added in v0.2.0

func (m *NoRelatedSym) SetSide(v string)

func (*NoRelatedSym) SetSpreadOrBenchmarkCurveData added in v0.2.0

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

func (*NoRelatedSym) SetStipulations added in v0.2.0

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

func (*NoRelatedSym) SetTradeOriginationDate added in v0.2.0

func (m *NoRelatedSym) SetTradeOriginationDate(v string)

func (*NoRelatedSym) SetTradingSessionID added in v0.2.0

func (m *NoRelatedSym) SetTradingSessionID(v string)

func (*NoRelatedSym) SetTradingSessionSubID added in v0.2.0

func (m *NoRelatedSym) SetTradingSessionSubID(v string)

func (*NoRelatedSym) SetTransactTime added in v0.2.0

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

func (*NoRelatedSym) SetYieldData added in v0.2.0

func (m *NoRelatedSym) 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