quote

package
v1.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2023 License: Apache-1.1 Imports: 7 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

type Quote struct {
	fix42.Header
	*quickfix.Body
	fix42.Trailer
	Message *quickfix.Message
}

Quote is the fix42 Quote type, MsgType = S

func FromMessage

func FromMessage(m *quickfix.Message) Quote

FromMessage creates a Quote from a quickfix.Message instance

func New

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

New returns a Quote initialized with the required fields for Quote

func (Quote) GetBidForwardPoints

func (m Quote) GetBidForwardPoints() (v decimal.Decimal, err quickfix.MessageRejectError)

GetBidForwardPoints gets BidForwardPoints, Tag 189

func (Quote) GetBidPx

func (m Quote) GetBidPx() (v decimal.Decimal, err quickfix.MessageRejectError)

GetBidPx gets BidPx, Tag 132

func (Quote) GetBidSize

func (m Quote) GetBidSize() (v decimal.Decimal, err quickfix.MessageRejectError)

GetBidSize gets BidSize, Tag 134

func (Quote) GetBidSpotRate

func (m Quote) GetBidSpotRate() (v decimal.Decimal, err quickfix.MessageRejectError)

GetBidSpotRate gets BidSpotRate, Tag 188

func (Quote) GetContractMultiplier

func (m Quote) GetContractMultiplier() (v decimal.Decimal, err quickfix.MessageRejectError)

GetContractMultiplier gets ContractMultiplier, Tag 231

func (Quote) GetCouponRate

func (m Quote) GetCouponRate() (v decimal.Decimal, err quickfix.MessageRejectError)

GetCouponRate gets CouponRate, Tag 223

func (Quote) GetCurrency

func (m Quote) GetCurrency() (v string, err quickfix.MessageRejectError)

GetCurrency gets Currency, Tag 15

func (Quote) GetEncodedIssuer

func (m Quote) GetEncodedIssuer() (v string, err quickfix.MessageRejectError)

GetEncodedIssuer gets EncodedIssuer, Tag 349

func (Quote) GetEncodedIssuerLen

func (m Quote) GetEncodedIssuerLen() (v int, err quickfix.MessageRejectError)

GetEncodedIssuerLen gets EncodedIssuerLen, Tag 348

func (Quote) GetEncodedSecurityDesc

func (m Quote) GetEncodedSecurityDesc() (v string, err quickfix.MessageRejectError)

GetEncodedSecurityDesc gets EncodedSecurityDesc, Tag 351

func (Quote) GetEncodedSecurityDescLen

func (m Quote) GetEncodedSecurityDescLen() (v int, err quickfix.MessageRejectError)

GetEncodedSecurityDescLen gets EncodedSecurityDescLen, Tag 350

func (Quote) GetFutSettDate

func (m Quote) GetFutSettDate() (v string, err quickfix.MessageRejectError)

GetFutSettDate gets FutSettDate, Tag 64

func (Quote) GetFutSettDate2

func (m Quote) GetFutSettDate2() (v string, err quickfix.MessageRejectError)

GetFutSettDate2 gets FutSettDate2, Tag 193

func (Quote) GetIDSource

func (m Quote) GetIDSource() (v enum.IDSource, err quickfix.MessageRejectError)

GetIDSource gets IDSource, Tag 22

func (Quote) GetIssuer

func (m Quote) GetIssuer() (v string, err quickfix.MessageRejectError)

GetIssuer gets Issuer, Tag 106

func (Quote) GetMaturityDay

func (m Quote) GetMaturityDay() (v int, err quickfix.MessageRejectError)

GetMaturityDay gets MaturityDay, Tag 205

func (Quote) GetMaturityMonthYear

func (m Quote) GetMaturityMonthYear() (v string, err quickfix.MessageRejectError)

GetMaturityMonthYear gets MaturityMonthYear, Tag 200

func (Quote) GetOfferForwardPoints

func (m Quote) GetOfferForwardPoints() (v decimal.Decimal, err quickfix.MessageRejectError)

GetOfferForwardPoints gets OfferForwardPoints, Tag 191

func (Quote) GetOfferPx

func (m Quote) GetOfferPx() (v decimal.Decimal, err quickfix.MessageRejectError)

GetOfferPx gets OfferPx, Tag 133

func (Quote) GetOfferSize

func (m Quote) GetOfferSize() (v decimal.Decimal, err quickfix.MessageRejectError)

GetOfferSize gets OfferSize, Tag 135

func (Quote) GetOfferSpotRate

func (m Quote) GetOfferSpotRate() (v decimal.Decimal, err quickfix.MessageRejectError)

GetOfferSpotRate gets OfferSpotRate, Tag 190

func (Quote) GetOptAttribute

func (m Quote) GetOptAttribute() (v string, err quickfix.MessageRejectError)

GetOptAttribute gets OptAttribute, Tag 206

func (Quote) GetOrdType

func (m Quote) GetOrdType() (v enum.OrdType, err quickfix.MessageRejectError)

GetOrdType gets OrdType, Tag 40

func (Quote) GetOrderQty2

func (m Quote) GetOrderQty2() (v decimal.Decimal, err quickfix.MessageRejectError)

GetOrderQty2 gets OrderQty2, Tag 192

func (Quote) GetPutOrCall

func (m Quote) GetPutOrCall() (v enum.PutOrCall, err quickfix.MessageRejectError)

GetPutOrCall gets PutOrCall, Tag 201

func (Quote) GetQuoteID

func (m Quote) GetQuoteID() (v string, err quickfix.MessageRejectError)

GetQuoteID gets QuoteID, Tag 117

func (Quote) GetQuoteReqID

func (m Quote) GetQuoteReqID() (v string, err quickfix.MessageRejectError)

GetQuoteReqID gets QuoteReqID, Tag 131

func (Quote) GetQuoteResponseLevel

func (m Quote) GetQuoteResponseLevel() (v enum.QuoteResponseLevel, err quickfix.MessageRejectError)

GetQuoteResponseLevel gets QuoteResponseLevel, Tag 301

func (Quote) GetSecurityDesc

func (m Quote) GetSecurityDesc() (v string, err quickfix.MessageRejectError)

GetSecurityDesc gets SecurityDesc, Tag 107

func (Quote) GetSecurityExchange

func (m Quote) GetSecurityExchange() (v string, err quickfix.MessageRejectError)

GetSecurityExchange gets SecurityExchange, Tag 207

func (Quote) GetSecurityID

func (m Quote) GetSecurityID() (v string, err quickfix.MessageRejectError)

GetSecurityID gets SecurityID, Tag 48

func (Quote) GetSecurityType

func (m Quote) GetSecurityType() (v enum.SecurityType, err quickfix.MessageRejectError)

GetSecurityType gets SecurityType, Tag 167

func (Quote) GetStrikePrice

func (m Quote) GetStrikePrice() (v decimal.Decimal, err quickfix.MessageRejectError)

GetStrikePrice gets StrikePrice, Tag 202

func (Quote) GetSymbol

func (m Quote) GetSymbol() (v string, err quickfix.MessageRejectError)

GetSymbol gets Symbol, Tag 55

func (Quote) GetSymbolSfx

func (m Quote) GetSymbolSfx() (v enum.SymbolSfx, err quickfix.MessageRejectError)

GetSymbolSfx gets SymbolSfx, Tag 65

func (Quote) GetTradingSessionID

func (m Quote) GetTradingSessionID() (v enum.TradingSessionID, err quickfix.MessageRejectError)

GetTradingSessionID gets TradingSessionID, Tag 336

func (Quote) GetTransactTime

func (m Quote) GetTransactTime() (v time.Time, err quickfix.MessageRejectError)

GetTransactTime gets TransactTime, Tag 60

func (Quote) GetValidUntilTime

func (m Quote) GetValidUntilTime() (v time.Time, err quickfix.MessageRejectError)

GetValidUntilTime gets ValidUntilTime, Tag 62

func (Quote) HasBidForwardPoints

func (m Quote) HasBidForwardPoints() bool

HasBidForwardPoints returns true if BidForwardPoints is present, Tag 189

func (Quote) HasBidPx

func (m Quote) HasBidPx() bool

HasBidPx returns true if BidPx is present, Tag 132

func (Quote) HasBidSize

func (m Quote) HasBidSize() bool

HasBidSize returns true if BidSize is present, Tag 134

func (Quote) HasBidSpotRate

func (m Quote) HasBidSpotRate() bool

HasBidSpotRate returns true if BidSpotRate is present, Tag 188

func (Quote) HasContractMultiplier

func (m Quote) HasContractMultiplier() bool

HasContractMultiplier returns true if ContractMultiplier is present, Tag 231

func (Quote) HasCouponRate

func (m Quote) HasCouponRate() bool

HasCouponRate returns true if CouponRate is present, Tag 223

func (Quote) HasCurrency

func (m Quote) HasCurrency() bool

HasCurrency returns true if Currency is present, Tag 15

func (Quote) HasEncodedIssuer

func (m Quote) HasEncodedIssuer() bool

HasEncodedIssuer returns true if EncodedIssuer is present, Tag 349

func (Quote) HasEncodedIssuerLen

func (m Quote) HasEncodedIssuerLen() bool

HasEncodedIssuerLen returns true if EncodedIssuerLen is present, Tag 348

func (Quote) HasEncodedSecurityDesc

func (m Quote) HasEncodedSecurityDesc() bool

HasEncodedSecurityDesc returns true if EncodedSecurityDesc is present, Tag 351

func (Quote) HasEncodedSecurityDescLen

func (m Quote) HasEncodedSecurityDescLen() bool

HasEncodedSecurityDescLen returns true if EncodedSecurityDescLen is present, Tag 350

func (Quote) HasFutSettDate

func (m Quote) HasFutSettDate() bool

HasFutSettDate returns true if FutSettDate is present, Tag 64

func (Quote) HasFutSettDate2

func (m Quote) HasFutSettDate2() bool

HasFutSettDate2 returns true if FutSettDate2 is present, Tag 193

func (Quote) HasIDSource

func (m Quote) HasIDSource() bool

HasIDSource returns true if IDSource is present, Tag 22

func (Quote) HasIssuer

func (m Quote) HasIssuer() bool

HasIssuer returns true if Issuer is present, Tag 106

func (Quote) HasMaturityDay

func (m Quote) HasMaturityDay() bool

HasMaturityDay returns true if MaturityDay is present, Tag 205

func (Quote) HasMaturityMonthYear

func (m Quote) HasMaturityMonthYear() bool

HasMaturityMonthYear returns true if MaturityMonthYear is present, Tag 200

func (Quote) HasOfferForwardPoints

func (m Quote) HasOfferForwardPoints() bool

HasOfferForwardPoints returns true if OfferForwardPoints is present, Tag 191

func (Quote) HasOfferPx

func (m Quote) HasOfferPx() bool

HasOfferPx returns true if OfferPx is present, Tag 133

func (Quote) HasOfferSize

func (m Quote) HasOfferSize() bool

HasOfferSize returns true if OfferSize is present, Tag 135

func (Quote) HasOfferSpotRate

func (m Quote) HasOfferSpotRate() bool

HasOfferSpotRate returns true if OfferSpotRate is present, Tag 190

func (Quote) HasOptAttribute

func (m Quote) HasOptAttribute() bool

HasOptAttribute returns true if OptAttribute is present, Tag 206

func (Quote) HasOrdType

func (m Quote) HasOrdType() bool

HasOrdType returns true if OrdType is present, Tag 40

func (Quote) HasOrderQty2

func (m Quote) HasOrderQty2() bool

HasOrderQty2 returns true if OrderQty2 is present, Tag 192

func (Quote) HasPutOrCall

func (m Quote) HasPutOrCall() bool

HasPutOrCall returns true if PutOrCall is present, Tag 201

func (Quote) HasQuoteID

func (m Quote) HasQuoteID() bool

HasQuoteID returns true if QuoteID is present, Tag 117

func (Quote) HasQuoteReqID

func (m Quote) HasQuoteReqID() bool

HasQuoteReqID returns true if QuoteReqID is present, Tag 131

func (Quote) HasQuoteResponseLevel

func (m Quote) HasQuoteResponseLevel() bool

HasQuoteResponseLevel returns true if QuoteResponseLevel is present, Tag 301

func (Quote) HasSecurityDesc

func (m Quote) HasSecurityDesc() bool

HasSecurityDesc returns true if SecurityDesc is present, Tag 107

func (Quote) HasSecurityExchange

func (m Quote) HasSecurityExchange() bool

HasSecurityExchange returns true if SecurityExchange is present, Tag 207

func (Quote) HasSecurityID

func (m Quote) HasSecurityID() bool

HasSecurityID returns true if SecurityID is present, Tag 48

func (Quote) HasSecurityType

func (m Quote) HasSecurityType() bool

HasSecurityType returns true if SecurityType is present, Tag 167

func (Quote) HasStrikePrice

func (m Quote) HasStrikePrice() bool

HasStrikePrice returns true if StrikePrice is present, Tag 202

func (Quote) HasSymbol

func (m Quote) HasSymbol() bool

HasSymbol returns true if Symbol is present, Tag 55

func (Quote) HasSymbolSfx

func (m Quote) HasSymbolSfx() bool

HasSymbolSfx returns true if SymbolSfx is present, Tag 65

func (Quote) HasTradingSessionID

func (m Quote) HasTradingSessionID() bool

HasTradingSessionID returns true if TradingSessionID is present, Tag 336

func (Quote) HasTransactTime

func (m Quote) HasTransactTime() bool

HasTransactTime returns true if TransactTime is present, Tag 60

func (Quote) HasValidUntilTime

func (m Quote) HasValidUntilTime() bool

HasValidUntilTime returns true if ValidUntilTime is present, Tag 62

func (Quote) SetBidForwardPoints

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

SetBidForwardPoints sets BidForwardPoints, Tag 189

func (Quote) SetBidPx

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

SetBidPx sets BidPx, Tag 132

func (Quote) SetBidSize

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

SetBidSize sets BidSize, Tag 134

func (Quote) SetBidSpotRate

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

SetBidSpotRate sets BidSpotRate, Tag 188

func (Quote) SetContractMultiplier

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

SetContractMultiplier sets ContractMultiplier, Tag 231

func (Quote) SetCouponRate

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

SetCouponRate sets CouponRate, Tag 223

func (Quote) SetCurrency

func (m Quote) SetCurrency(v string)

SetCurrency sets Currency, Tag 15

func (Quote) SetEncodedIssuer

func (m Quote) SetEncodedIssuer(v string)

SetEncodedIssuer sets EncodedIssuer, Tag 349

func (Quote) SetEncodedIssuerLen

func (m Quote) SetEncodedIssuerLen(v int)

SetEncodedIssuerLen sets EncodedIssuerLen, Tag 348

func (Quote) SetEncodedSecurityDesc

func (m Quote) SetEncodedSecurityDesc(v string)

SetEncodedSecurityDesc sets EncodedSecurityDesc, Tag 351

func (Quote) SetEncodedSecurityDescLen

func (m Quote) SetEncodedSecurityDescLen(v int)

SetEncodedSecurityDescLen sets EncodedSecurityDescLen, Tag 350

func (Quote) SetFutSettDate

func (m Quote) SetFutSettDate(v string)

SetFutSettDate sets FutSettDate, Tag 64

func (Quote) SetFutSettDate2

func (m Quote) SetFutSettDate2(v string)

SetFutSettDate2 sets FutSettDate2, Tag 193

func (Quote) SetIDSource

func (m Quote) SetIDSource(v enum.IDSource)

SetIDSource sets IDSource, Tag 22

func (Quote) SetIssuer

func (m Quote) SetIssuer(v string)

SetIssuer sets Issuer, Tag 106

func (Quote) SetMaturityDay

func (m Quote) SetMaturityDay(v int)

SetMaturityDay sets MaturityDay, Tag 205

func (Quote) SetMaturityMonthYear

func (m Quote) SetMaturityMonthYear(v string)

SetMaturityMonthYear sets MaturityMonthYear, Tag 200

func (Quote) SetOfferForwardPoints

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

SetOfferForwardPoints sets OfferForwardPoints, Tag 191

func (Quote) SetOfferPx

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

SetOfferPx sets OfferPx, Tag 133

func (Quote) SetOfferSize

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

SetOfferSize sets OfferSize, Tag 135

func (Quote) SetOfferSpotRate

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

SetOfferSpotRate sets OfferSpotRate, Tag 190

func (Quote) SetOptAttribute

func (m Quote) SetOptAttribute(v string)

SetOptAttribute sets OptAttribute, Tag 206

func (Quote) SetOrdType

func (m Quote) SetOrdType(v enum.OrdType)

SetOrdType sets OrdType, Tag 40

func (Quote) SetOrderQty2

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

SetOrderQty2 sets OrderQty2, Tag 192

func (Quote) SetPutOrCall

func (m Quote) SetPutOrCall(v enum.PutOrCall)

SetPutOrCall sets PutOrCall, Tag 201

func (Quote) SetQuoteID

func (m Quote) SetQuoteID(v string)

SetQuoteID sets QuoteID, Tag 117

func (Quote) SetQuoteReqID

func (m Quote) SetQuoteReqID(v string)

SetQuoteReqID sets QuoteReqID, Tag 131

func (Quote) SetQuoteResponseLevel

func (m Quote) SetQuoteResponseLevel(v enum.QuoteResponseLevel)

SetQuoteResponseLevel sets QuoteResponseLevel, Tag 301

func (Quote) SetSecurityDesc

func (m Quote) SetSecurityDesc(v string)

SetSecurityDesc sets SecurityDesc, Tag 107

func (Quote) SetSecurityExchange

func (m Quote) SetSecurityExchange(v string)

SetSecurityExchange sets SecurityExchange, Tag 207

func (Quote) SetSecurityID

func (m Quote) SetSecurityID(v string)

SetSecurityID sets SecurityID, Tag 48

func (Quote) SetSecurityType

func (m Quote) SetSecurityType(v enum.SecurityType)

SetSecurityType sets SecurityType, Tag 167

func (Quote) SetStrikePrice

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

SetStrikePrice sets StrikePrice, Tag 202

func (Quote) SetSymbol

func (m Quote) SetSymbol(v string)

SetSymbol sets Symbol, Tag 55

func (Quote) SetSymbolSfx

func (m Quote) SetSymbolSfx(v enum.SymbolSfx)

SetSymbolSfx sets SymbolSfx, Tag 65

func (Quote) SetTradingSessionID

func (m Quote) SetTradingSessionID(v enum.TradingSessionID)

SetTradingSessionID sets TradingSessionID, Tag 336

func (Quote) SetTransactTime

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

SetTransactTime sets TransactTime, Tag 60

func (Quote) SetValidUntilTime

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

SetValidUntilTime sets ValidUntilTime, Tag 62

func (Quote) ToMessage

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