quotecancel

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 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"`
	fix44.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"`
	//Parties is a non-required component for QuoteCancel.
	Parties *parties.Parties
	//Account is a non-required field for QuoteCancel.
	Account *string `fix:"1"`
	//AcctIDSource is a non-required field for QuoteCancel.
	AcctIDSource *int `fix:"660"`
	//AccountType is a non-required field for QuoteCancel.
	AccountType *int `fix:"581"`
	//TradingSessionID is a non-required field for QuoteCancel.
	TradingSessionID *string `fix:"336"`
	//TradingSessionSubID is a non-required field for QuoteCancel.
	TradingSessionSubID *string `fix:"625"`
	//NoQuoteEntries is a non-required field for QuoteCancel.
	NoQuoteEntries []NoQuoteEntries `fix:"295,omitempty"`
	fix44.Trailer
}

Message is a QuoteCancel FIX Message

func New added in v0.2.0

func New(quoteid string, quotecanceltype int) *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) 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) SetAcctIDSource added in v0.2.0

func (m *Message) SetAcctIDSource(v int)

func (*Message) SetNoQuoteEntries added in v0.2.0

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

func (*Message) SetParties added in v0.2.0

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

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)

func (*Message) SetTradingSessionSubID added in v0.2.0

func (m *Message) SetTradingSessionSubID(v string)

type NoLegs

type NoLegs struct {
	//InstrumentLeg is a non-required component for NoLegs.
	InstrumentLeg *instrumentleg.InstrumentLeg
}

NoLegs is a repeating group in NoQuoteEntries

func NewNoLegs added in v0.2.0

func NewNoLegs() *NoLegs

NewNoLegs returns an initialized NoLegs instance

func (*NoLegs) SetInstrumentLeg added in v0.2.0

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

type NoQuoteEntries

type NoQuoteEntries struct {
	//Instrument is a non-required component for NoQuoteEntries.
	Instrument *instrument.Instrument
	//FinancingDetails is a non-required component for NoQuoteEntries.
	FinancingDetails *financingdetails.FinancingDetails
	//NoUnderlyings is a non-required field for NoQuoteEntries.
	NoUnderlyings []NoUnderlyings `fix:"711,omitempty"`
	//NoLegs is a non-required field for NoQuoteEntries.
	NoLegs []NoLegs `fix:"555,omitempty"`
}

NoQuoteEntries is a repeating group in QuoteCancel

func NewNoQuoteEntries added in v0.2.0

func NewNoQuoteEntries() *NoQuoteEntries

NewNoQuoteEntries returns an initialized NoQuoteEntries instance

func (*NoQuoteEntries) SetFinancingDetails added in v0.2.0

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

func (*NoQuoteEntries) SetInstrument added in v0.2.0

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

func (*NoQuoteEntries) SetNoLegs added in v0.2.0

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

func (*NoQuoteEntries) SetNoUnderlyings added in v0.2.0

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

type NoUnderlyings

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

NoUnderlyings is a repeating group in NoQuoteEntries

func NewNoUnderlyings added in v0.2.0

func NewNoUnderlyings() *NoUnderlyings

NewNoUnderlyings returns an initialized NoUnderlyings instance

func (*NoUnderlyings) SetUnderlyingInstrument added in v0.2.0

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