quotecancel

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

Documentation

Overview

Package quotecancel msg type = Z.

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:"Z"`
	fix42.Header
	//QuoteReqID is a non-required field for QuoteCancel.
	QuoteReqID *string `fix:"131"`
	//QuoteID is a required field for QuoteCancel.
	QuoteID string `fix:"117"`
	//QuoteCancelType is a required field for QuoteCancel.
	QuoteCancelType int `fix:"298"`
	//QuoteResponseLevel is a non-required field for QuoteCancel.
	QuoteResponseLevel *int `fix:"301"`
	//TradingSessionID is a non-required field for QuoteCancel.
	TradingSessionID *string `fix:"336"`
	//NoQuoteEntries is a required field for QuoteCancel.
	NoQuoteEntries []NoQuoteEntries `fix:"295"`
	fix42.Trailer
}

Message is a QuoteCancel FIX Message

func New added in v0.2.0

func New(quoteid string, quotecanceltype int, noquoteentries []NoQuoteEntries) *Message

New returns an initialized QuoteCancel instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetNoQuoteEntries added in v0.2.0

func (m *Message) SetNoQuoteEntries(v []NoQuoteEntries)

func (*Message) SetQuoteCancelType added in v0.2.0

func (m *Message) SetQuoteCancelType(v int)

func (*Message) SetQuoteID added in v0.2.0

func (m *Message) SetQuoteID(v string)

func (*Message) SetQuoteReqID added in v0.2.0

func (m *Message) SetQuoteReqID(v string)

func (*Message) SetQuoteResponseLevel added in v0.2.0

func (m *Message) SetQuoteResponseLevel(v int)

func (*Message) SetTradingSessionID added in v0.2.0

func (m *Message) SetTradingSessionID(v string)

type NoQuoteEntries

type NoQuoteEntries struct {
	//Symbol is a required field for NoQuoteEntries.
	Symbol string `fix:"55"`
	//SymbolSfx is a non-required field for NoQuoteEntries.
	SymbolSfx *string `fix:"65"`
	//SecurityID is a non-required field for NoQuoteEntries.
	SecurityID *string `fix:"48"`
	//IDSource is a non-required field for NoQuoteEntries.
	IDSource *string `fix:"22"`
	//SecurityType is a non-required field for NoQuoteEntries.
	SecurityType *string `fix:"167"`
	//MaturityMonthYear is a non-required field for NoQuoteEntries.
	MaturityMonthYear *string `fix:"200"`
	//MaturityDay is a non-required field for NoQuoteEntries.
	MaturityDay *int `fix:"205"`
	//PutOrCall is a non-required field for NoQuoteEntries.
	PutOrCall *int `fix:"201"`
	//StrikePrice is a non-required field for NoQuoteEntries.
	StrikePrice *float64 `fix:"202"`
	//OptAttribute is a non-required field for NoQuoteEntries.
	OptAttribute *string `fix:"206"`
	//ContractMultiplier is a non-required field for NoQuoteEntries.
	ContractMultiplier *float64 `fix:"231"`
	//CouponRate is a non-required field for NoQuoteEntries.
	CouponRate *float64 `fix:"223"`
	//SecurityExchange is a non-required field for NoQuoteEntries.
	SecurityExchange *string `fix:"207"`
	//Issuer is a non-required field for NoQuoteEntries.
	Issuer *string `fix:"106"`
	//EncodedIssuerLen is a non-required field for NoQuoteEntries.
	EncodedIssuerLen *int `fix:"348"`
	//EncodedIssuer is a non-required field for NoQuoteEntries.
	EncodedIssuer *string `fix:"349"`
	//SecurityDesc is a non-required field for NoQuoteEntries.
	SecurityDesc *string `fix:"107"`
	//EncodedSecurityDescLen is a non-required field for NoQuoteEntries.
	EncodedSecurityDescLen *int `fix:"350"`
	//EncodedSecurityDesc is a non-required field for NoQuoteEntries.
	EncodedSecurityDesc *string `fix:"351"`
	//UnderlyingSymbol is a non-required field for NoQuoteEntries.
	UnderlyingSymbol *string `fix:"311"`
}

NoQuoteEntries is a repeating group in QuoteCancel

func NewNoQuoteEntries added in v0.2.0

func NewNoQuoteEntries(symbol string) *NoQuoteEntries

NewNoQuoteEntries returns an initialized NoQuoteEntries instance

func (*NoQuoteEntries) SetContractMultiplier added in v0.2.0

func (m *NoQuoteEntries) SetContractMultiplier(v float64)

func (*NoQuoteEntries) SetCouponRate added in v0.2.0

func (m *NoQuoteEntries) SetCouponRate(v float64)

func (*NoQuoteEntries) SetEncodedIssuer added in v0.2.0

func (m *NoQuoteEntries) SetEncodedIssuer(v string)

func (*NoQuoteEntries) SetEncodedIssuerLen added in v0.2.0

func (m *NoQuoteEntries) SetEncodedIssuerLen(v int)

func (*NoQuoteEntries) SetEncodedSecurityDesc added in v0.2.0

func (m *NoQuoteEntries) SetEncodedSecurityDesc(v string)

func (*NoQuoteEntries) SetEncodedSecurityDescLen added in v0.2.0

func (m *NoQuoteEntries) SetEncodedSecurityDescLen(v int)

func (*NoQuoteEntries) SetIDSource added in v0.2.0

func (m *NoQuoteEntries) SetIDSource(v string)

func (*NoQuoteEntries) SetIssuer added in v0.2.0

func (m *NoQuoteEntries) SetIssuer(v string)

func (*NoQuoteEntries) SetMaturityDay added in v0.2.0

func (m *NoQuoteEntries) SetMaturityDay(v int)

func (*NoQuoteEntries) SetMaturityMonthYear added in v0.2.0

func (m *NoQuoteEntries) SetMaturityMonthYear(v string)

func (*NoQuoteEntries) SetOptAttribute added in v0.2.0

func (m *NoQuoteEntries) SetOptAttribute(v string)

func (*NoQuoteEntries) SetPutOrCall added in v0.2.0

func (m *NoQuoteEntries) SetPutOrCall(v int)

func (*NoQuoteEntries) SetSecurityDesc added in v0.2.0

func (m *NoQuoteEntries) SetSecurityDesc(v string)

func (*NoQuoteEntries) SetSecurityExchange added in v0.2.0

func (m *NoQuoteEntries) SetSecurityExchange(v string)

func (*NoQuoteEntries) SetSecurityID added in v0.2.0

func (m *NoQuoteEntries) SetSecurityID(v string)

func (*NoQuoteEntries) SetSecurityType added in v0.2.0

func (m *NoQuoteEntries) SetSecurityType(v string)

func (*NoQuoteEntries) SetStrikePrice added in v0.2.0

func (m *NoQuoteEntries) SetStrikePrice(v float64)

func (*NoQuoteEntries) SetSymbol added in v0.2.0

func (m *NoQuoteEntries) SetSymbol(v string)

func (*NoQuoteEntries) SetSymbolSfx added in v0.2.0

func (m *NoQuoteEntries) SetSymbolSfx(v string)

func (*NoQuoteEntries) SetUnderlyingSymbol added in v0.2.0

func (m *NoQuoteEntries) SetUnderlyingSymbol(v string)

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