quote

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

Documentation

Overview

Package quote msg type = S.

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:"S"`
	fix43.Header
	//QuoteReqID is a non-required field for Quote.
	QuoteReqID *string `fix:"131"`
	//QuoteID is a required field for Quote.
	QuoteID string `fix:"117"`
	//QuoteType is a non-required field for Quote.
	QuoteType *int `fix:"537"`
	//QuoteResponseLevel is a non-required field for Quote.
	QuoteResponseLevel *int `fix:"301"`
	//Parties is a non-required component for Quote.
	Parties *parties.Parties
	//Account is a non-required field for Quote.
	Account *string `fix:"1"`
	//AccountType is a non-required field for Quote.
	AccountType *int `fix:"581"`
	//TradingSessionID is a non-required field for Quote.
	TradingSessionID *string `fix:"336"`
	//TradingSessionSubID is a non-required field for Quote.
	TradingSessionSubID *string `fix:"625"`
	//Instrument is a required component for Quote.
	instrument.Instrument
	//BidPx is a non-required field for Quote.
	BidPx *float64 `fix:"132"`
	//OfferPx is a non-required field for Quote.
	OfferPx *float64 `fix:"133"`
	//MktBidPx is a non-required field for Quote.
	MktBidPx *float64 `fix:"645"`
	//MktOfferPx is a non-required field for Quote.
	MktOfferPx *float64 `fix:"646"`
	//MinBidSize is a non-required field for Quote.
	MinBidSize *float64 `fix:"647"`
	//BidSize is a non-required field for Quote.
	BidSize *float64 `fix:"134"`
	//MinOfferSize is a non-required field for Quote.
	MinOfferSize *float64 `fix:"648"`
	//OfferSize is a non-required field for Quote.
	OfferSize *float64 `fix:"135"`
	//ValidUntilTime is a non-required field for Quote.
	ValidUntilTime *time.Time `fix:"62"`
	//BidSpotRate is a non-required field for Quote.
	BidSpotRate *float64 `fix:"188"`
	//OfferSpotRate is a non-required field for Quote.
	OfferSpotRate *float64 `fix:"190"`
	//BidForwardPoints is a non-required field for Quote.
	BidForwardPoints *float64 `fix:"189"`
	//OfferForwardPoints is a non-required field for Quote.
	OfferForwardPoints *float64 `fix:"191"`
	//MidPx is a non-required field for Quote.
	MidPx *float64 `fix:"631"`
	//BidYield is a non-required field for Quote.
	BidYield *float64 `fix:"632"`
	//MidYield is a non-required field for Quote.
	MidYield *float64 `fix:"633"`
	//OfferYield is a non-required field for Quote.
	OfferYield *float64 `fix:"634"`
	//TransactTime is a non-required field for Quote.
	TransactTime *time.Time `fix:"60"`
	//SettlmntTyp is a non-required field for Quote.
	SettlmntTyp *string `fix:"63"`
	//FutSettDate is a non-required field for Quote.
	FutSettDate *string `fix:"64"`
	//OrdType is a non-required field for Quote.
	OrdType *string `fix:"40"`
	//FutSettDate2 is a non-required field for Quote.
	FutSettDate2 *string `fix:"193"`
	//OrderQty2 is a non-required field for Quote.
	OrderQty2 *float64 `fix:"192"`
	//BidForwardPoints2 is a non-required field for Quote.
	BidForwardPoints2 *float64 `fix:"642"`
	//OfferForwardPoints2 is a non-required field for Quote.
	OfferForwardPoints2 *float64 `fix:"643"`
	//Currency is a non-required field for Quote.
	Currency *string `fix:"15"`
	//SettlCurrBidFxRate is a non-required field for Quote.
	SettlCurrBidFxRate *float64 `fix:"656"`
	//SettlCurrOfferFxRate is a non-required field for Quote.
	SettlCurrOfferFxRate *float64 `fix:"657"`
	//SettlCurrFxRateCalc is a non-required field for Quote.
	SettlCurrFxRateCalc *string `fix:"156"`
	//Commission is a non-required field for Quote.
	Commission *float64 `fix:"12"`
	//CommType is a non-required field for Quote.
	CommType *string `fix:"13"`
	//CustOrderCapacity is a non-required field for Quote.
	CustOrderCapacity *int `fix:"582"`
	//ExDestination is a non-required field for Quote.
	ExDestination *string `fix:"100"`
	//Text is a non-required field for Quote.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for Quote.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for Quote.
	EncodedText *string `fix:"355"`
	fix43.Trailer
}

Message is a Quote FIX Message

func New added in v0.2.0

func New(quoteid string, instrument instrument.Instrument) *Message

New returns an initialized Quote 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) SetBidForwardPoints added in v0.2.0

func (m *Message) SetBidForwardPoints(v float64)

func (*Message) SetBidForwardPoints2 added in v0.2.0

func (m *Message) SetBidForwardPoints2(v float64)

func (*Message) SetBidPx added in v0.2.0

func (m *Message) SetBidPx(v float64)

func (*Message) SetBidSize added in v0.2.0

func (m *Message) SetBidSize(v float64)

func (*Message) SetBidSpotRate added in v0.2.0

func (m *Message) SetBidSpotRate(v float64)

func (*Message) SetBidYield added in v0.2.0

func (m *Message) SetBidYield(v float64)

func (*Message) SetCommType added in v0.2.0

func (m *Message) SetCommType(v string)

func (*Message) SetCommission added in v0.2.0

func (m *Message) SetCommission(v float64)

func (*Message) SetCurrency added in v0.2.0

func (m *Message) SetCurrency(v string)

func (*Message) SetCustOrderCapacity added in v0.2.0

func (m *Message) SetCustOrderCapacity(v int)

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

func (m *Message) SetExDestination(v string)

func (*Message) SetFutSettDate added in v0.2.0

func (m *Message) SetFutSettDate(v string)

func (*Message) SetFutSettDate2 added in v0.2.0

func (m *Message) SetFutSettDate2(v string)

func (*Message) SetInstrument added in v0.2.0

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

func (*Message) SetMidPx added in v0.2.0

func (m *Message) SetMidPx(v float64)

func (*Message) SetMidYield added in v0.2.0

func (m *Message) SetMidYield(v float64)

func (*Message) SetMinBidSize added in v0.2.0

func (m *Message) SetMinBidSize(v float64)

func (*Message) SetMinOfferSize added in v0.2.0

func (m *Message) SetMinOfferSize(v float64)

func (*Message) SetMktBidPx added in v0.2.0

func (m *Message) SetMktBidPx(v float64)

func (*Message) SetMktOfferPx added in v0.2.0

func (m *Message) SetMktOfferPx(v float64)

func (*Message) SetOfferForwardPoints added in v0.2.0

func (m *Message) SetOfferForwardPoints(v float64)

func (*Message) SetOfferForwardPoints2 added in v0.2.0

func (m *Message) SetOfferForwardPoints2(v float64)

func (*Message) SetOfferPx added in v0.2.0

func (m *Message) SetOfferPx(v float64)

func (*Message) SetOfferSize added in v0.2.0

func (m *Message) SetOfferSize(v float64)

func (*Message) SetOfferSpotRate added in v0.2.0

func (m *Message) SetOfferSpotRate(v float64)

func (*Message) SetOfferYield added in v0.2.0

func (m *Message) SetOfferYield(v float64)

func (*Message) SetOrdType added in v0.2.0

func (m *Message) SetOrdType(v string)

func (*Message) SetOrderQty2 added in v0.2.0

func (m *Message) SetOrderQty2(v float64)

func (*Message) SetParties added in v0.2.0

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

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

func (m *Message) SetQuoteType(v int)

func (*Message) SetSettlCurrBidFxRate added in v0.2.0

func (m *Message) SetSettlCurrBidFxRate(v float64)

func (*Message) SetSettlCurrFxRateCalc added in v0.2.0

func (m *Message) SetSettlCurrFxRateCalc(v string)

func (*Message) SetSettlCurrOfferFxRate added in v0.2.0

func (m *Message) SetSettlCurrOfferFxRate(v float64)

func (*Message) SetSettlmntTyp added in v0.2.0

func (m *Message) SetSettlmntTyp(v string)

func (*Message) SetText added in v0.2.0

func (m *Message) SetText(v string)

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)

func (*Message) SetTransactTime added in v0.2.0

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

func (*Message) SetValidUntilTime added in v0.2.0

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

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