quoterequest

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 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 QuoteRequest

type QuoteRequest struct {
	fix41.Header
	*quickfix.Body
	fix41.Trailer
	Message *quickfix.Message
}

QuoteRequest is the fix41 QuoteRequest type, MsgType = R.

func FromMessage

func FromMessage(m *quickfix.Message) QuoteRequest

FromMessage creates a QuoteRequest from a quickfix.Message instance.

func New

func New(quotereqid field.QuoteReqIDField, symbol field.SymbolField) (m QuoteRequest)

New returns a QuoteRequest initialized with the required fields for QuoteRequest.

func (QuoteRequest) GetFutSettDate

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

GetFutSettDate gets FutSettDate, Tag 64.

func (QuoteRequest) GetFutSettDate2

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

GetFutSettDate2 gets FutSettDate2, Tag 193.

func (QuoteRequest) GetIDSource

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

GetIDSource gets IDSource, Tag 22.

func (QuoteRequest) GetIssuer

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

GetIssuer gets Issuer, Tag 106.

func (QuoteRequest) GetMaturityDay

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

GetMaturityDay gets MaturityDay, Tag 205.

func (QuoteRequest) GetMaturityMonthYear

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

GetMaturityMonthYear gets MaturityMonthYear, Tag 200.

func (QuoteRequest) GetOptAttribute

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

GetOptAttribute gets OptAttribute, Tag 206.

func (QuoteRequest) GetOrdType

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

GetOrdType gets OrdType, Tag 40.

func (QuoteRequest) GetOrderQty

func (m QuoteRequest) GetOrderQty() (v decimal.Decimal, err quickfix.MessageRejectError)

GetOrderQty gets OrderQty, Tag 38.

func (QuoteRequest) GetOrderQty2

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

GetOrderQty2 gets OrderQty2, Tag 192.

func (QuoteRequest) GetPrevClosePx

func (m QuoteRequest) GetPrevClosePx() (v decimal.Decimal, err quickfix.MessageRejectError)

GetPrevClosePx gets PrevClosePx, Tag 140.

func (QuoteRequest) GetPutOrCall

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

GetPutOrCall gets PutOrCall, Tag 201.

func (QuoteRequest) GetQuoteReqID

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

GetQuoteReqID gets QuoteReqID, Tag 131.

func (QuoteRequest) GetSecurityDesc

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

GetSecurityDesc gets SecurityDesc, Tag 107.

func (QuoteRequest) GetSecurityExchange

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

GetSecurityExchange gets SecurityExchange, Tag 207.

func (QuoteRequest) GetSecurityID

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

GetSecurityID gets SecurityID, Tag 48.

func (QuoteRequest) GetSecurityType

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

GetSecurityType gets SecurityType, Tag 167.

func (QuoteRequest) GetSide

func (m QuoteRequest) GetSide() (v enum.Side, err quickfix.MessageRejectError)

GetSide gets Side, Tag 54.

func (QuoteRequest) GetStrikePrice

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

GetStrikePrice gets StrikePrice, Tag 202.

func (QuoteRequest) GetSymbol

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

GetSymbol gets Symbol, Tag 55.

func (QuoteRequest) GetSymbolSfx

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

GetSymbolSfx gets SymbolSfx, Tag 65.

func (QuoteRequest) HasFutSettDate

func (m QuoteRequest) HasFutSettDate() bool

HasFutSettDate returns true if FutSettDate is present, Tag 64.

func (QuoteRequest) HasFutSettDate2

func (m QuoteRequest) HasFutSettDate2() bool

HasFutSettDate2 returns true if FutSettDate2 is present, Tag 193.

func (QuoteRequest) HasIDSource

func (m QuoteRequest) HasIDSource() bool

HasIDSource returns true if IDSource is present, Tag 22.

func (QuoteRequest) HasIssuer

func (m QuoteRequest) HasIssuer() bool

HasIssuer returns true if Issuer is present, Tag 106.

func (QuoteRequest) HasMaturityDay

func (m QuoteRequest) HasMaturityDay() bool

HasMaturityDay returns true if MaturityDay is present, Tag 205.

func (QuoteRequest) HasMaturityMonthYear

func (m QuoteRequest) HasMaturityMonthYear() bool

HasMaturityMonthYear returns true if MaturityMonthYear is present, Tag 200.

func (QuoteRequest) HasOptAttribute

func (m QuoteRequest) HasOptAttribute() bool

HasOptAttribute returns true if OptAttribute is present, Tag 206.

func (QuoteRequest) HasOrdType

func (m QuoteRequest) HasOrdType() bool

HasOrdType returns true if OrdType is present, Tag 40.

func (QuoteRequest) HasOrderQty

func (m QuoteRequest) HasOrderQty() bool

HasOrderQty returns true if OrderQty is present, Tag 38.

func (QuoteRequest) HasOrderQty2

func (m QuoteRequest) HasOrderQty2() bool

HasOrderQty2 returns true if OrderQty2 is present, Tag 192.

func (QuoteRequest) HasPrevClosePx

func (m QuoteRequest) HasPrevClosePx() bool

HasPrevClosePx returns true if PrevClosePx is present, Tag 140.

func (QuoteRequest) HasPutOrCall

func (m QuoteRequest) HasPutOrCall() bool

HasPutOrCall returns true if PutOrCall is present, Tag 201.

func (QuoteRequest) HasQuoteReqID

func (m QuoteRequest) HasQuoteReqID() bool

HasQuoteReqID returns true if QuoteReqID is present, Tag 131.

func (QuoteRequest) HasSecurityDesc

func (m QuoteRequest) HasSecurityDesc() bool

HasSecurityDesc returns true if SecurityDesc is present, Tag 107.

func (QuoteRequest) HasSecurityExchange

func (m QuoteRequest) HasSecurityExchange() bool

HasSecurityExchange returns true if SecurityExchange is present, Tag 207.

func (QuoteRequest) HasSecurityID

func (m QuoteRequest) HasSecurityID() bool

HasSecurityID returns true if SecurityID is present, Tag 48.

func (QuoteRequest) HasSecurityType

func (m QuoteRequest) HasSecurityType() bool

HasSecurityType returns true if SecurityType is present, Tag 167.

func (QuoteRequest) HasSide

func (m QuoteRequest) HasSide() bool

HasSide returns true if Side is present, Tag 54.

func (QuoteRequest) HasStrikePrice

func (m QuoteRequest) HasStrikePrice() bool

HasStrikePrice returns true if StrikePrice is present, Tag 202.

func (QuoteRequest) HasSymbol

func (m QuoteRequest) HasSymbol() bool

HasSymbol returns true if Symbol is present, Tag 55.

func (QuoteRequest) HasSymbolSfx

func (m QuoteRequest) HasSymbolSfx() bool

HasSymbolSfx returns true if SymbolSfx is present, Tag 65.

func (QuoteRequest) SetFutSettDate

func (m QuoteRequest) SetFutSettDate(v string)

SetFutSettDate sets FutSettDate, Tag 64.

func (QuoteRequest) SetFutSettDate2

func (m QuoteRequest) SetFutSettDate2(v string)

SetFutSettDate2 sets FutSettDate2, Tag 193.

func (QuoteRequest) SetIDSource

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

SetIDSource sets IDSource, Tag 22.

func (QuoteRequest) SetIssuer

func (m QuoteRequest) SetIssuer(v string)

SetIssuer sets Issuer, Tag 106.

func (QuoteRequest) SetMaturityDay

func (m QuoteRequest) SetMaturityDay(v int)

SetMaturityDay sets MaturityDay, Tag 205.

func (QuoteRequest) SetMaturityMonthYear

func (m QuoteRequest) SetMaturityMonthYear(v string)

SetMaturityMonthYear sets MaturityMonthYear, Tag 200.

func (QuoteRequest) SetOptAttribute

func (m QuoteRequest) SetOptAttribute(v string)

SetOptAttribute sets OptAttribute, Tag 206.

func (QuoteRequest) SetOrdType

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

SetOrdType sets OrdType, Tag 40.

func (QuoteRequest) SetOrderQty

func (m QuoteRequest) SetOrderQty(value decimal.Decimal, scale int32)

SetOrderQty sets OrderQty, Tag 38.

func (QuoteRequest) SetOrderQty2

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

SetOrderQty2 sets OrderQty2, Tag 192.

func (QuoteRequest) SetPrevClosePx

func (m QuoteRequest) SetPrevClosePx(value decimal.Decimal, scale int32)

SetPrevClosePx sets PrevClosePx, Tag 140.

func (QuoteRequest) SetPutOrCall

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

SetPutOrCall sets PutOrCall, Tag 201.

func (QuoteRequest) SetQuoteReqID

func (m QuoteRequest) SetQuoteReqID(v string)

SetQuoteReqID sets QuoteReqID, Tag 131.

func (QuoteRequest) SetSecurityDesc

func (m QuoteRequest) SetSecurityDesc(v string)

SetSecurityDesc sets SecurityDesc, Tag 107.

func (QuoteRequest) SetSecurityExchange

func (m QuoteRequest) SetSecurityExchange(v string)

SetSecurityExchange sets SecurityExchange, Tag 207.

func (QuoteRequest) SetSecurityID

func (m QuoteRequest) SetSecurityID(v string)

SetSecurityID sets SecurityID, Tag 48.

func (QuoteRequest) SetSecurityType

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

SetSecurityType sets SecurityType, Tag 167.

func (QuoteRequest) SetSide

func (m QuoteRequest) SetSide(v enum.Side)

SetSide sets Side, Tag 54.

func (QuoteRequest) SetStrikePrice

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

SetStrikePrice sets StrikePrice, Tag 202.

func (QuoteRequest) SetSymbol

func (m QuoteRequest) SetSymbol(v string)

SetSymbol sets Symbol, Tag 55.

func (QuoteRequest) SetSymbolSfx

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

SetSymbolSfx sets SymbolSfx, Tag 65.

func (QuoteRequest) ToMessage

func (m QuoteRequest) ToMessage() *quickfix.Message

ToMessage returns a quickfix.Message instance.

type RouteOut

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