rfqrequest

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2016 License: Apache-1.1 Imports: 4 Imported by: 0

Documentation

Overview

Package rfqrequest msg type = AH.

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:"AH"`
	fix43.Header
	//RFQReqID is a required field for RFQRequest.
	RFQReqID string `fix:"644"`
	//NoRelatedSym is a required field for RFQRequest.
	NoRelatedSym []NoRelatedSym `fix:"146"`
	//SubscriptionRequestType is a non-required field for RFQRequest.
	SubscriptionRequestType *string `fix:"263"`
	fix43.Trailer
}

Message is a RFQRequest FIX Message

func New added in v0.2.0

func New(rfqreqid string, norelatedsym []NoRelatedSym) *Message

New returns an initialized RFQRequest instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetNoRelatedSym added in v0.2.0

func (m *Message) SetNoRelatedSym(v []NoRelatedSym)

func (*Message) SetRFQReqID added in v0.2.0

func (m *Message) SetRFQReqID(v string)

func (*Message) SetSubscriptionRequestType added in v0.2.0

func (m *Message) SetSubscriptionRequestType(v string)

type NoRelatedSym

type NoRelatedSym struct {
	//Instrument is a required component for NoRelatedSym.
	instrument.Instrument
	//PrevClosePx is a non-required field for NoRelatedSym.
	PrevClosePx *float64 `fix:"140"`
	//QuoteRequestType is a non-required field for NoRelatedSym.
	QuoteRequestType *int `fix:"303"`
	//QuoteType is a non-required field for NoRelatedSym.
	QuoteType *int `fix:"537"`
	//TradingSessionID is a non-required field for NoRelatedSym.
	TradingSessionID *string `fix:"336"`
	//TradingSessionSubID is a non-required field for NoRelatedSym.
	TradingSessionSubID *string `fix:"625"`
}

NoRelatedSym is a repeating group in RFQRequest

func NewNoRelatedSym added in v0.2.0

func NewNoRelatedSym(instrument instrument.Instrument) *NoRelatedSym

NewNoRelatedSym returns an initialized NoRelatedSym instance

func (*NoRelatedSym) SetInstrument added in v0.2.0

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

func (*NoRelatedSym) SetPrevClosePx added in v0.2.0

func (m *NoRelatedSym) SetPrevClosePx(v float64)

func (*NoRelatedSym) SetQuoteRequestType added in v0.2.0

func (m *NoRelatedSym) SetQuoteRequestType(v int)

func (*NoRelatedSym) SetQuoteType added in v0.2.0

func (m *NoRelatedSym) SetQuoteType(v int)

func (*NoRelatedSym) SetTradingSessionID added in v0.2.0

func (m *NoRelatedSym) SetTradingSessionID(v string)

func (*NoRelatedSym) SetTradingSessionSubID added in v0.2.0

func (m *NoRelatedSym) SetTradingSessionSubID(v string)

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