derivativesecuritylist

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

Documentation

Overview

Package derivativesecuritylist msg type = AA.

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

Message is a DerivativeSecurityList FIX Message

func New added in v0.2.0

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

New returns an initialized DerivativeSecurityList instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetLastFragment added in v0.2.0

func (m *Message) SetLastFragment(v bool)

func (*Message) SetNoRelatedSym added in v0.2.0

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

func (*Message) SetSecurityReqID added in v0.2.0

func (m *Message) SetSecurityReqID(v string)

func (*Message) SetSecurityRequestResult added in v0.2.0

func (m *Message) SetSecurityRequestResult(v int)

func (*Message) SetSecurityResponseID added in v0.2.0

func (m *Message) SetSecurityResponseID(v string)

func (*Message) SetTotNoRelatedSym added in v0.2.0

func (m *Message) SetTotNoRelatedSym(v int)

func (*Message) SetUnderlyingInstrument added in v0.2.0

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

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 non-required component for NoRelatedSym.
	Instrument *instrument.Instrument
	//Currency is a non-required field for NoRelatedSym.
	Currency *string `fix:"15"`
	//ExpirationCycle is a non-required field for NoRelatedSym.
	ExpirationCycle *int `fix:"827"`
	//InstrumentExtension is a non-required component for NoRelatedSym.
	InstrumentExtension *instrumentextension.InstrumentExtension
	//NoLegs is a non-required field for NoRelatedSym.
	NoLegs []NoLegs `fix:"555,omitempty"`
	//TradingSessionID is a non-required field for NoRelatedSym.
	TradingSessionID *string `fix:"336"`
	//TradingSessionSubID is a non-required field for NoRelatedSym.
	TradingSessionSubID *string `fix:"625"`
	//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 DerivativeSecurityList

func NewNoRelatedSym added in v0.2.0

func NewNoRelatedSym() *NoRelatedSym

NewNoRelatedSym returns an initialized NoRelatedSym instance

func (*NoRelatedSym) SetCurrency added in v0.2.0

func (m *NoRelatedSym) SetCurrency(v string)

func (*NoRelatedSym) SetEncodedText added in v0.2.0

func (m *NoRelatedSym) SetEncodedText(v string)

func (*NoRelatedSym) SetEncodedTextLen added in v0.2.0

func (m *NoRelatedSym) SetEncodedTextLen(v int)

func (*NoRelatedSym) SetExpirationCycle added in v0.2.0

func (m *NoRelatedSym) SetExpirationCycle(v int)

func (*NoRelatedSym) SetInstrument added in v0.2.0

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

func (*NoRelatedSym) SetInstrumentExtension added in v0.2.0

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

func (*NoRelatedSym) SetNoLegs added in v0.2.0

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

func (*NoRelatedSym) SetText added in v0.2.0

func (m *NoRelatedSym) SetText(v string)

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