quote

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2016 License: Apache-1.1 Imports: 6 Imported by: 0

Documentation

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 Quote added in v0.4.0

type Quote struct {
	fix42.Header
	quickfix.Body
	fix42.Trailer
	//ReceiveTime is the time that this message was read from the socket connection
	ReceiveTime time.Time
}

Quote is the fix42 Quote type, MsgType = S

func FromMessage added in v0.4.0

func FromMessage(m quickfix.Message) Quote

FromMessage creates a Quote from a quickfix.Message instance

func New added in v0.2.0

func New(quoteid field.QuoteIDField, symbol field.SymbolField) (m Quote)

New returns a Quote initialized with the required fields for Quote

func (Quote) GetBidForwardPoints added in v0.4.0

func (m Quote) GetBidForwardPoints() (f field.BidForwardPointsField, err quickfix.MessageRejectError)

GetBidForwardPoints gets BidForwardPoints, Tag 189

func (Quote) GetBidPx added in v0.4.0

func (m Quote) GetBidPx() (f field.BidPxField, err quickfix.MessageRejectError)

GetBidPx gets BidPx, Tag 132

func (Quote) GetBidSize added in v0.4.0

func (m Quote) GetBidSize() (f field.BidSizeField, err quickfix.MessageRejectError)

GetBidSize gets BidSize, Tag 134

func (Quote) GetBidSpotRate added in v0.4.0

func (m Quote) GetBidSpotRate() (f field.BidSpotRateField, err quickfix.MessageRejectError)

GetBidSpotRate gets BidSpotRate, Tag 188

func (Quote) GetContractMultiplier added in v0.4.0

func (m Quote) GetContractMultiplier() (f field.ContractMultiplierField, err quickfix.MessageRejectError)

GetContractMultiplier gets ContractMultiplier, Tag 231

func (Quote) GetCouponRate added in v0.4.0

func (m Quote) GetCouponRate() (f field.CouponRateField, err quickfix.MessageRejectError)

GetCouponRate gets CouponRate, Tag 223

func (Quote) GetCurrency added in v0.4.0

func (m Quote) GetCurrency() (f field.CurrencyField, err quickfix.MessageRejectError)

GetCurrency gets Currency, Tag 15

func (Quote) GetEncodedIssuer added in v0.4.0

func (m Quote) GetEncodedIssuer() (f field.EncodedIssuerField, err quickfix.MessageRejectError)

GetEncodedIssuer gets EncodedIssuer, Tag 349

func (Quote) GetEncodedIssuerLen added in v0.4.0

func (m Quote) GetEncodedIssuerLen() (f field.EncodedIssuerLenField, err quickfix.MessageRejectError)

GetEncodedIssuerLen gets EncodedIssuerLen, Tag 348

func (Quote) GetEncodedSecurityDesc added in v0.4.0

func (m Quote) GetEncodedSecurityDesc() (f field.EncodedSecurityDescField, err quickfix.MessageRejectError)

GetEncodedSecurityDesc gets EncodedSecurityDesc, Tag 351

func (Quote) GetEncodedSecurityDescLen added in v0.4.0

func (m Quote) GetEncodedSecurityDescLen() (f field.EncodedSecurityDescLenField, err quickfix.MessageRejectError)

GetEncodedSecurityDescLen gets EncodedSecurityDescLen, Tag 350

func (Quote) GetFutSettDate added in v0.4.0

func (m Quote) GetFutSettDate() (f field.FutSettDateField, err quickfix.MessageRejectError)

GetFutSettDate gets FutSettDate, Tag 64

func (Quote) GetFutSettDate2 added in v0.4.0

func (m Quote) GetFutSettDate2() (f field.FutSettDate2Field, err quickfix.MessageRejectError)

GetFutSettDate2 gets FutSettDate2, Tag 193

func (Quote) GetIDSource added in v0.4.0

func (m Quote) GetIDSource() (f field.IDSourceField, err quickfix.MessageRejectError)

GetIDSource gets IDSource, Tag 22

func (Quote) GetIssuer added in v0.4.0

func (m Quote) GetIssuer() (f field.IssuerField, err quickfix.MessageRejectError)

GetIssuer gets Issuer, Tag 106

func (Quote) GetMaturityDay added in v0.4.0

func (m Quote) GetMaturityDay() (f field.MaturityDayField, err quickfix.MessageRejectError)

GetMaturityDay gets MaturityDay, Tag 205

func (Quote) GetMaturityMonthYear added in v0.4.0

func (m Quote) GetMaturityMonthYear() (f field.MaturityMonthYearField, err quickfix.MessageRejectError)

GetMaturityMonthYear gets MaturityMonthYear, Tag 200

func (Quote) GetOfferForwardPoints added in v0.4.0

func (m Quote) GetOfferForwardPoints() (f field.OfferForwardPointsField, err quickfix.MessageRejectError)

GetOfferForwardPoints gets OfferForwardPoints, Tag 191

func (Quote) GetOfferPx added in v0.4.0

func (m Quote) GetOfferPx() (f field.OfferPxField, err quickfix.MessageRejectError)

GetOfferPx gets OfferPx, Tag 133

func (Quote) GetOfferSize added in v0.4.0

func (m Quote) GetOfferSize() (f field.OfferSizeField, err quickfix.MessageRejectError)

GetOfferSize gets OfferSize, Tag 135

func (Quote) GetOfferSpotRate added in v0.4.0

func (m Quote) GetOfferSpotRate() (f field.OfferSpotRateField, err quickfix.MessageRejectError)

GetOfferSpotRate gets OfferSpotRate, Tag 190

func (Quote) GetOptAttribute added in v0.4.0

func (m Quote) GetOptAttribute() (f field.OptAttributeField, err quickfix.MessageRejectError)

GetOptAttribute gets OptAttribute, Tag 206

func (Quote) GetOrdType added in v0.4.0

func (m Quote) GetOrdType() (f field.OrdTypeField, err quickfix.MessageRejectError)

GetOrdType gets OrdType, Tag 40

func (Quote) GetOrderQty2 added in v0.4.0

func (m Quote) GetOrderQty2() (f field.OrderQty2Field, err quickfix.MessageRejectError)

GetOrderQty2 gets OrderQty2, Tag 192

func (Quote) GetPutOrCall added in v0.4.0

func (m Quote) GetPutOrCall() (f field.PutOrCallField, err quickfix.MessageRejectError)

GetPutOrCall gets PutOrCall, Tag 201

func (Quote) GetQuoteID added in v0.4.0

func (m Quote) GetQuoteID() (f field.QuoteIDField, err quickfix.MessageRejectError)

GetQuoteID gets QuoteID, Tag 117

func (Quote) GetQuoteReqID added in v0.4.0

func (m Quote) GetQuoteReqID() (f field.QuoteReqIDField, err quickfix.MessageRejectError)

GetQuoteReqID gets QuoteReqID, Tag 131

func (Quote) GetQuoteResponseLevel added in v0.4.0

func (m Quote) GetQuoteResponseLevel() (f field.QuoteResponseLevelField, err quickfix.MessageRejectError)

GetQuoteResponseLevel gets QuoteResponseLevel, Tag 301

func (Quote) GetSecurityDesc added in v0.4.0

func (m Quote) GetSecurityDesc() (f field.SecurityDescField, err quickfix.MessageRejectError)

GetSecurityDesc gets SecurityDesc, Tag 107

func (Quote) GetSecurityExchange added in v0.4.0

func (m Quote) GetSecurityExchange() (f field.SecurityExchangeField, err quickfix.MessageRejectError)

GetSecurityExchange gets SecurityExchange, Tag 207

func (Quote) GetSecurityID added in v0.4.0

func (m Quote) GetSecurityID() (f field.SecurityIDField, err quickfix.MessageRejectError)

GetSecurityID gets SecurityID, Tag 48

func (Quote) GetSecurityType added in v0.4.0

func (m Quote) GetSecurityType() (f field.SecurityTypeField, err quickfix.MessageRejectError)

GetSecurityType gets SecurityType, Tag 167

func (Quote) GetStrikePrice added in v0.4.0

func (m Quote) GetStrikePrice() (f field.StrikePriceField, err quickfix.MessageRejectError)

GetStrikePrice gets StrikePrice, Tag 202

func (Quote) GetSymbol added in v0.4.0

func (m Quote) GetSymbol() (f field.SymbolField, err quickfix.MessageRejectError)

GetSymbol gets Symbol, Tag 55

func (Quote) GetSymbolSfx added in v0.4.0

func (m Quote) GetSymbolSfx() (f field.SymbolSfxField, err quickfix.MessageRejectError)

GetSymbolSfx gets SymbolSfx, Tag 65

func (Quote) GetTradingSessionID added in v0.4.0

func (m Quote) GetTradingSessionID() (f field.TradingSessionIDField, err quickfix.MessageRejectError)

GetTradingSessionID gets TradingSessionID, Tag 336

func (Quote) GetTransactTime added in v0.4.0

func (m Quote) GetTransactTime() (f field.TransactTimeField, err quickfix.MessageRejectError)

GetTransactTime gets TransactTime, Tag 60

func (Quote) GetValidUntilTime added in v0.4.0

func (m Quote) GetValidUntilTime() (f field.ValidUntilTimeField, err quickfix.MessageRejectError)

GetValidUntilTime gets ValidUntilTime, Tag 62

func (Quote) HasBidForwardPoints added in v0.4.0

func (m Quote) HasBidForwardPoints() bool

HasBidForwardPoints returns true if BidForwardPoints is present, Tag 189

func (Quote) HasBidPx added in v0.4.0

func (m Quote) HasBidPx() bool

HasBidPx returns true if BidPx is present, Tag 132

func (Quote) HasBidSize added in v0.4.0

func (m Quote) HasBidSize() bool

HasBidSize returns true if BidSize is present, Tag 134

func (Quote) HasBidSpotRate added in v0.4.0

func (m Quote) HasBidSpotRate() bool

HasBidSpotRate returns true if BidSpotRate is present, Tag 188

func (Quote) HasContractMultiplier added in v0.4.0

func (m Quote) HasContractMultiplier() bool

HasContractMultiplier returns true if ContractMultiplier is present, Tag 231

func (Quote) HasCouponRate added in v0.4.0

func (m Quote) HasCouponRate() bool

HasCouponRate returns true if CouponRate is present, Tag 223

func (Quote) HasCurrency added in v0.4.0

func (m Quote) HasCurrency() bool

HasCurrency returns true if Currency is present, Tag 15

func (Quote) HasEncodedIssuer added in v0.4.0

func (m Quote) HasEncodedIssuer() bool

HasEncodedIssuer returns true if EncodedIssuer is present, Tag 349

func (Quote) HasEncodedIssuerLen added in v0.4.0

func (m Quote) HasEncodedIssuerLen() bool

HasEncodedIssuerLen returns true if EncodedIssuerLen is present, Tag 348

func (Quote) HasEncodedSecurityDesc added in v0.4.0

func (m Quote) HasEncodedSecurityDesc() bool

HasEncodedSecurityDesc returns true if EncodedSecurityDesc is present, Tag 351

func (Quote) HasEncodedSecurityDescLen added in v0.4.0

func (m Quote) HasEncodedSecurityDescLen() bool

HasEncodedSecurityDescLen returns true if EncodedSecurityDescLen is present, Tag 350

func (Quote) HasFutSettDate added in v0.4.0

func (m Quote) HasFutSettDate() bool

HasFutSettDate returns true if FutSettDate is present, Tag 64

func (Quote) HasFutSettDate2 added in v0.4.0

func (m Quote) HasFutSettDate2() bool

HasFutSettDate2 returns true if FutSettDate2 is present, Tag 193

func (Quote) HasIDSource added in v0.4.0

func (m Quote) HasIDSource() bool

HasIDSource returns true if IDSource is present, Tag 22

func (Quote) HasIssuer added in v0.4.0

func (m Quote) HasIssuer() bool

HasIssuer returns true if Issuer is present, Tag 106

func (Quote) HasMaturityDay added in v0.4.0

func (m Quote) HasMaturityDay() bool

HasMaturityDay returns true if MaturityDay is present, Tag 205

func (Quote) HasMaturityMonthYear added in v0.4.0

func (m Quote) HasMaturityMonthYear() bool

HasMaturityMonthYear returns true if MaturityMonthYear is present, Tag 200

func (Quote) HasOfferForwardPoints added in v0.4.0

func (m Quote) HasOfferForwardPoints() bool

HasOfferForwardPoints returns true if OfferForwardPoints is present, Tag 191

func (Quote) HasOfferPx added in v0.4.0

func (m Quote) HasOfferPx() bool

HasOfferPx returns true if OfferPx is present, Tag 133

func (Quote) HasOfferSize added in v0.4.0

func (m Quote) HasOfferSize() bool

HasOfferSize returns true if OfferSize is present, Tag 135

func (Quote) HasOfferSpotRate added in v0.4.0

func (m Quote) HasOfferSpotRate() bool

HasOfferSpotRate returns true if OfferSpotRate is present, Tag 190

func (Quote) HasOptAttribute added in v0.4.0

func (m Quote) HasOptAttribute() bool

HasOptAttribute returns true if OptAttribute is present, Tag 206

func (Quote) HasOrdType added in v0.4.0

func (m Quote) HasOrdType() bool

HasOrdType returns true if OrdType is present, Tag 40

func (Quote) HasOrderQty2 added in v0.4.0

func (m Quote) HasOrderQty2() bool

HasOrderQty2 returns true if OrderQty2 is present, Tag 192

func (Quote) HasPutOrCall added in v0.4.0

func (m Quote) HasPutOrCall() bool

HasPutOrCall returns true if PutOrCall is present, Tag 201

func (Quote) HasQuoteID added in v0.4.0

func (m Quote) HasQuoteID() bool

HasQuoteID returns true if QuoteID is present, Tag 117

func (Quote) HasQuoteReqID added in v0.4.0

func (m Quote) HasQuoteReqID() bool

HasQuoteReqID returns true if QuoteReqID is present, Tag 131

func (Quote) HasQuoteResponseLevel added in v0.4.0

func (m Quote) HasQuoteResponseLevel() bool

HasQuoteResponseLevel returns true if QuoteResponseLevel is present, Tag 301

func (Quote) HasSecurityDesc added in v0.4.0

func (m Quote) HasSecurityDesc() bool

HasSecurityDesc returns true if SecurityDesc is present, Tag 107

func (Quote) HasSecurityExchange added in v0.4.0

func (m Quote) HasSecurityExchange() bool

HasSecurityExchange returns true if SecurityExchange is present, Tag 207

func (Quote) HasSecurityID added in v0.4.0

func (m Quote) HasSecurityID() bool

HasSecurityID returns true if SecurityID is present, Tag 48

func (Quote) HasSecurityType added in v0.4.0

func (m Quote) HasSecurityType() bool

HasSecurityType returns true if SecurityType is present, Tag 167

func (Quote) HasStrikePrice added in v0.4.0

func (m Quote) HasStrikePrice() bool

HasStrikePrice returns true if StrikePrice is present, Tag 202

func (Quote) HasSymbol added in v0.4.0

func (m Quote) HasSymbol() bool

HasSymbol returns true if Symbol is present, Tag 55

func (Quote) HasSymbolSfx added in v0.4.0

func (m Quote) HasSymbolSfx() bool

HasSymbolSfx returns true if SymbolSfx is present, Tag 65

func (Quote) HasTradingSessionID added in v0.4.0

func (m Quote) HasTradingSessionID() bool

HasTradingSessionID returns true if TradingSessionID is present, Tag 336

func (Quote) HasTransactTime added in v0.4.0

func (m Quote) HasTransactTime() bool

HasTransactTime returns true if TransactTime is present, Tag 60

func (Quote) HasValidUntilTime added in v0.4.0

func (m Quote) HasValidUntilTime() bool

HasValidUntilTime returns true if ValidUntilTime is present, Tag 62

func (Quote) SetBidForwardPoints added in v0.4.0

func (m Quote) SetBidForwardPoints(value decimal.Decimal, scale int32)

SetBidForwardPoints sets BidForwardPoints, Tag 189

func (Quote) SetBidPx added in v0.4.0

func (m Quote) SetBidPx(value decimal.Decimal, scale int32)

SetBidPx sets BidPx, Tag 132

func (Quote) SetBidSize added in v0.4.0

func (m Quote) SetBidSize(value decimal.Decimal, scale int32)

SetBidSize sets BidSize, Tag 134

func (Quote) SetBidSpotRate added in v0.4.0

func (m Quote) SetBidSpotRate(value decimal.Decimal, scale int32)

SetBidSpotRate sets BidSpotRate, Tag 188

func (Quote) SetContractMultiplier added in v0.4.0

func (m Quote) SetContractMultiplier(value decimal.Decimal, scale int32)

SetContractMultiplier sets ContractMultiplier, Tag 231

func (Quote) SetCouponRate added in v0.4.0

func (m Quote) SetCouponRate(value decimal.Decimal, scale int32)

SetCouponRate sets CouponRate, Tag 223

func (Quote) SetCurrency added in v0.4.0

func (m Quote) SetCurrency(v string)

SetCurrency sets Currency, Tag 15

func (Quote) SetEncodedIssuer added in v0.4.0

func (m Quote) SetEncodedIssuer(v string)

SetEncodedIssuer sets EncodedIssuer, Tag 349

func (Quote) SetEncodedIssuerLen added in v0.4.0

func (m Quote) SetEncodedIssuerLen(v int)

SetEncodedIssuerLen sets EncodedIssuerLen, Tag 348

func (Quote) SetEncodedSecurityDesc added in v0.4.0

func (m Quote) SetEncodedSecurityDesc(v string)

SetEncodedSecurityDesc sets EncodedSecurityDesc, Tag 351

func (Quote) SetEncodedSecurityDescLen added in v0.4.0

func (m Quote) SetEncodedSecurityDescLen(v int)

SetEncodedSecurityDescLen sets EncodedSecurityDescLen, Tag 350

func (Quote) SetFutSettDate added in v0.4.0

func (m Quote) SetFutSettDate(v string)

SetFutSettDate sets FutSettDate, Tag 64

func (Quote) SetFutSettDate2 added in v0.4.0

func (m Quote) SetFutSettDate2(v string)

SetFutSettDate2 sets FutSettDate2, Tag 193

func (Quote) SetIDSource added in v0.4.0

func (m Quote) SetIDSource(v string)

SetIDSource sets IDSource, Tag 22

func (Quote) SetIssuer added in v0.4.0

func (m Quote) SetIssuer(v string)

SetIssuer sets Issuer, Tag 106

func (Quote) SetMaturityDay added in v0.4.0

func (m Quote) SetMaturityDay(v int)

SetMaturityDay sets MaturityDay, Tag 205

func (Quote) SetMaturityMonthYear added in v0.4.0

func (m Quote) SetMaturityMonthYear(v string)

SetMaturityMonthYear sets MaturityMonthYear, Tag 200

func (Quote) SetOfferForwardPoints added in v0.4.0

func (m Quote) SetOfferForwardPoints(value decimal.Decimal, scale int32)

SetOfferForwardPoints sets OfferForwardPoints, Tag 191

func (Quote) SetOfferPx added in v0.4.0

func (m Quote) SetOfferPx(value decimal.Decimal, scale int32)

SetOfferPx sets OfferPx, Tag 133

func (Quote) SetOfferSize added in v0.4.0

func (m Quote) SetOfferSize(value decimal.Decimal, scale int32)

SetOfferSize sets OfferSize, Tag 135

func (Quote) SetOfferSpotRate added in v0.4.0

func (m Quote) SetOfferSpotRate(value decimal.Decimal, scale int32)

SetOfferSpotRate sets OfferSpotRate, Tag 190

func (Quote) SetOptAttribute added in v0.4.0

func (m Quote) SetOptAttribute(v string)

SetOptAttribute sets OptAttribute, Tag 206

func (Quote) SetOrdType added in v0.4.0

func (m Quote) SetOrdType(v string)

SetOrdType sets OrdType, Tag 40

func (Quote) SetOrderQty2 added in v0.4.0

func (m Quote) SetOrderQty2(value decimal.Decimal, scale int32)

SetOrderQty2 sets OrderQty2, Tag 192

func (Quote) SetPutOrCall added in v0.4.0

func (m Quote) SetPutOrCall(v int)

SetPutOrCall sets PutOrCall, Tag 201

func (Quote) SetQuoteID added in v0.4.0

func (m Quote) SetQuoteID(v string)

SetQuoteID sets QuoteID, Tag 117

func (Quote) SetQuoteReqID added in v0.4.0

func (m Quote) SetQuoteReqID(v string)

SetQuoteReqID sets QuoteReqID, Tag 131

func (Quote) SetQuoteResponseLevel added in v0.4.0

func (m Quote) SetQuoteResponseLevel(v int)

SetQuoteResponseLevel sets QuoteResponseLevel, Tag 301

func (Quote) SetSecurityDesc added in v0.4.0

func (m Quote) SetSecurityDesc(v string)

SetSecurityDesc sets SecurityDesc, Tag 107

func (Quote) SetSecurityExchange added in v0.4.0

func (m Quote) SetSecurityExchange(v string)

SetSecurityExchange sets SecurityExchange, Tag 207

func (Quote) SetSecurityID added in v0.4.0

func (m Quote) SetSecurityID(v string)

SetSecurityID sets SecurityID, Tag 48

func (Quote) SetSecurityType added in v0.4.0

func (m Quote) SetSecurityType(v string)

SetSecurityType sets SecurityType, Tag 167

func (Quote) SetStrikePrice added in v0.4.0

func (m Quote) SetStrikePrice(value decimal.Decimal, scale int32)

SetStrikePrice sets StrikePrice, Tag 202

func (Quote) SetSymbol added in v0.4.0

func (m Quote) SetSymbol(v string)

SetSymbol sets Symbol, Tag 55

func (Quote) SetSymbolSfx added in v0.4.0

func (m Quote) SetSymbolSfx(v string)

SetSymbolSfx sets SymbolSfx, Tag 65

func (Quote) SetTradingSessionID added in v0.4.0

func (m Quote) SetTradingSessionID(v string)

SetTradingSessionID sets TradingSessionID, Tag 336

func (Quote) SetTransactTime added in v0.4.0

func (m Quote) SetTransactTime(v time.Time)

SetTransactTime sets TransactTime, Tag 60

func (Quote) SetValidUntilTime added in v0.4.0

func (m Quote) SetValidUntilTime(v time.Time)

SetValidUntilTime sets ValidUntilTime, Tag 62

func (Quote) ToMessage added in v0.4.0

func (m Quote) ToMessage() quickfix.Message

ToMessage returns a quickfix.Message instance

type RouteOut

type RouteOut func(msg Quote, 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