rfqrequest

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2016 License: Apache-1.1 Imports: 6 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"`
	fix44.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"`
	fix44.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 NoLegs

type NoLegs struct {
	//InstrumentLeg is a non-required component for NoLegs.
	InstrumentLeg *instrumentleg.InstrumentLeg
}

NoLegs is a repeating group in NoRelatedSym

func NewNoLegs added in v0.2.0

func NewNoLegs() *NoLegs

NewNoLegs returns an initialized NoLegs instance

func (*NoLegs) SetInstrumentLeg added in v0.2.0

func (m *NoLegs) SetInstrumentLeg(v instrumentleg.InstrumentLeg)

type NoRelatedSym

type NoRelatedSym struct {
	//Instrument is a required component for NoRelatedSym.
	instrument.Instrument
	//NoUnderlyings is a non-required field for NoRelatedSym.
	NoUnderlyings []NoUnderlyings `fix:"711,omitempty"`
	//NoLegs is a non-required field for NoRelatedSym.
	NoLegs []NoLegs `fix:"555,omitempty"`
	//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) SetNoLegs added in v0.2.0

func (m *NoRelatedSym) SetNoLegs(v []NoLegs)

func (*NoRelatedSym) SetNoUnderlyings added in v0.2.0

func (m *NoRelatedSym) SetNoUnderlyings(v []NoUnderlyings)

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 NoUnderlyings

type NoUnderlyings struct {
	//UnderlyingInstrument is a non-required component for NoUnderlyings.
	UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument
}

NoUnderlyings is a repeating group in NoRelatedSym

func NewNoUnderlyings added in v0.2.0

func NewNoUnderlyings() *NoUnderlyings

NewNoUnderlyings returns an initialized NoUnderlyings instance

func (*NoUnderlyings) SetUnderlyingInstrument added in v0.2.0

func (m *NoUnderlyings) SetUnderlyingInstrument(v underlyinginstrument.UnderlyingInstrument)

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