securitylist

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: 13 Imported by: 0

Documentation

Overview

Package securitylist msg type = y.

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:"y"`
	fix44.Header
	//SecurityReqID is a required field for SecurityList.
	SecurityReqID string `fix:"320"`
	//SecurityResponseID is a required field for SecurityList.
	SecurityResponseID string `fix:"322"`
	//SecurityRequestResult is a required field for SecurityList.
	SecurityRequestResult int `fix:"560"`
	//TotNoRelatedSym is a non-required field for SecurityList.
	TotNoRelatedSym *int `fix:"393"`
	//LastFragment is a non-required field for SecurityList.
	LastFragment *bool `fix:"893"`
	//NoRelatedSym is a non-required field for SecurityList.
	NoRelatedSym []NoRelatedSym `fix:"146,omitempty"`
	fix44.Trailer
}

Message is a SecurityList FIX Message

func New

func New(securityreqid string, securityresponseid string, securityrequestresult int) *Message

New returns an initialized SecurityList instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetLastFragment

func (m *Message) SetLastFragment(v bool)

func (*Message) SetNoRelatedSym

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

func (*Message) SetSecurityReqID

func (m *Message) SetSecurityReqID(v string)

func (*Message) SetSecurityRequestResult

func (m *Message) SetSecurityRequestResult(v int)

func (*Message) SetSecurityResponseID

func (m *Message) SetSecurityResponseID(v string)

func (*Message) SetTotNoRelatedSym

func (m *Message) SetTotNoRelatedSym(v int)

type NoLegs

type NoLegs struct {
	//InstrumentLeg is a non-required component for NoLegs.
	InstrumentLeg *instrumentleg.InstrumentLeg
	//LegSwapType is a non-required field for NoLegs.
	LegSwapType *int `fix:"690"`
	//LegSettlType is a non-required field for NoLegs.
	LegSettlType *string `fix:"587"`
	//LegStipulations is a non-required component for NoLegs.
	LegStipulations *legstipulations.LegStipulations
	//LegBenchmarkCurveData is a non-required component for NoLegs.
	LegBenchmarkCurveData *legbenchmarkcurvedata.LegBenchmarkCurveData
}

NoLegs is a repeating group in NoRelatedSym

func NewNoLegs

func NewNoLegs() *NoLegs

NewNoLegs returns an initialized NoLegs instance

func (*NoLegs) SetInstrumentLeg

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

func (*NoLegs) SetLegBenchmarkCurveData

func (m *NoLegs) SetLegBenchmarkCurveData(v legbenchmarkcurvedata.LegBenchmarkCurveData)

func (*NoLegs) SetLegSettlType

func (m *NoLegs) SetLegSettlType(v string)

func (*NoLegs) SetLegStipulations

func (m *NoLegs) SetLegStipulations(v legstipulations.LegStipulations)

func (*NoLegs) SetLegSwapType

func (m *NoLegs) SetLegSwapType(v int)

type NoRelatedSym

type NoRelatedSym struct {
	//Instrument is a non-required component for NoRelatedSym.
	Instrument *instrument.Instrument
	//InstrumentExtension is a non-required component for NoRelatedSym.
	InstrumentExtension *instrumentextension.InstrumentExtension
	//FinancingDetails is a non-required component for NoRelatedSym.
	FinancingDetails *financingdetails.FinancingDetails
	//NoUnderlyings is a non-required field for NoRelatedSym.
	NoUnderlyings []NoUnderlyings `fix:"711,omitempty"`
	//Currency is a non-required field for NoRelatedSym.
	Currency *string `fix:"15"`
	//Stipulations is a non-required component for NoRelatedSym.
	Stipulations *stipulations.Stipulations
	//NoLegs is a non-required field for NoRelatedSym.
	NoLegs []NoLegs `fix:"555,omitempty"`
	//SpreadOrBenchmarkCurveData is a non-required component for NoRelatedSym.
	SpreadOrBenchmarkCurveData *spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData
	//YieldData is a non-required component for NoRelatedSym.
	YieldData *yielddata.YieldData
	//RoundLot is a non-required field for NoRelatedSym.
	RoundLot *float64 `fix:"561"`
	//MinTradeVol is a non-required field for NoRelatedSym.
	MinTradeVol *float64 `fix:"562"`
	//TradingSessionID is a non-required field for NoRelatedSym.
	TradingSessionID *string `fix:"336"`
	//TradingSessionSubID is a non-required field for NoRelatedSym.
	TradingSessionSubID *string `fix:"625"`
	//ExpirationCycle is a non-required field for NoRelatedSym.
	ExpirationCycle *int `fix:"827"`
	//Text is a non-required field for NoRelatedSym.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for NoRelatedSym.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for NoRelatedSym.
	EncodedText *string `fix:"355"`
}

NoRelatedSym is a repeating group in SecurityList

func NewNoRelatedSym

func NewNoRelatedSym() *NoRelatedSym

NewNoRelatedSym returns an initialized NoRelatedSym instance

func (*NoRelatedSym) SetCurrency

func (m *NoRelatedSym) SetCurrency(v string)

func (*NoRelatedSym) SetEncodedText

func (m *NoRelatedSym) SetEncodedText(v string)

func (*NoRelatedSym) SetEncodedTextLen

func (m *NoRelatedSym) SetEncodedTextLen(v int)

func (*NoRelatedSym) SetExpirationCycle

func (m *NoRelatedSym) SetExpirationCycle(v int)

func (*NoRelatedSym) SetFinancingDetails

func (m *NoRelatedSym) SetFinancingDetails(v financingdetails.FinancingDetails)

func (*NoRelatedSym) SetInstrument

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

func (*NoRelatedSym) SetInstrumentExtension

func (m *NoRelatedSym) SetInstrumentExtension(v instrumentextension.InstrumentExtension)

func (*NoRelatedSym) SetMinTradeVol

func (m *NoRelatedSym) SetMinTradeVol(v float64)

func (*NoRelatedSym) SetNoLegs

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

func (*NoRelatedSym) SetNoUnderlyings

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

func (*NoRelatedSym) SetRoundLot

func (m *NoRelatedSym) SetRoundLot(v float64)

func (*NoRelatedSym) SetSpreadOrBenchmarkCurveData

func (m *NoRelatedSym) SetSpreadOrBenchmarkCurveData(v spreadorbenchmarkcurvedata.SpreadOrBenchmarkCurveData)

func (*NoRelatedSym) SetStipulations

func (m *NoRelatedSym) SetStipulations(v stipulations.Stipulations)

func (*NoRelatedSym) SetText

func (m *NoRelatedSym) SetText(v string)

func (*NoRelatedSym) SetTradingSessionID

func (m *NoRelatedSym) SetTradingSessionID(v string)

func (*NoRelatedSym) SetTradingSessionSubID

func (m *NoRelatedSym) SetTradingSessionSubID(v string)

func (*NoRelatedSym) SetYieldData

func (m *NoRelatedSym) SetYieldData(v yielddata.YieldData)

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

func NewNoUnderlyings() *NoUnderlyings

NewNoUnderlyings returns an initialized NoUnderlyings instance

func (*NoUnderlyings) SetUnderlyingInstrument

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