quoterequest

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 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 {
	fix40.Header
	*quickfix.Body
	fix40.Trailer
	Message *quickfix.Message
}

QuoteRequest is the fix40 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) 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) GetOrderQty

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

GetOrderQty gets OrderQty, Tag 38.

func (QuoteRequest) GetPrevClosePx

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

GetPrevClosePx gets PrevClosePx, Tag 140.

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) GetSecurityID

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

GetSecurityID gets SecurityID, Tag 48.

func (QuoteRequest) GetSide

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

GetSide gets Side, Tag 54.

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) 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) HasOrderQty

func (m QuoteRequest) HasOrderQty() bool

HasOrderQty returns true if OrderQty is present, Tag 38.

func (QuoteRequest) HasPrevClosePx

func (m QuoteRequest) HasPrevClosePx() bool

HasPrevClosePx returns true if PrevClosePx is present, Tag 140.

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) HasSecurityID

func (m QuoteRequest) HasSecurityID() bool

HasSecurityID returns true if SecurityID is present, Tag 48.

func (QuoteRequest) HasSide

func (m QuoteRequest) HasSide() bool

HasSide returns true if Side is present, Tag 54.

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) 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) SetOrderQty

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

SetOrderQty sets OrderQty, Tag 38.

func (QuoteRequest) SetPrevClosePx

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

SetPrevClosePx sets PrevClosePx, Tag 140.

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) SetSecurityID

func (m QuoteRequest) SetSecurityID(v string)

SetSecurityID sets SecurityID, Tag 48.

func (QuoteRequest) SetSide

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

SetSide sets Side, Tag 54.

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