securitydefinitionrequest

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 securitydefinitionrequest msg type = c.

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:"c"`
	fix44.Header
	//SecurityReqID is a required field for SecurityDefinitionRequest.
	SecurityReqID string `fix:"320"`
	//SecurityRequestType is a required field for SecurityDefinitionRequest.
	SecurityRequestType int `fix:"321"`
	//Instrument is a non-required component for SecurityDefinitionRequest.
	Instrument *instrument.Instrument
	//InstrumentExtension is a non-required component for SecurityDefinitionRequest.
	InstrumentExtension *instrumentextension.InstrumentExtension
	//NoUnderlyings is a non-required field for SecurityDefinitionRequest.
	NoUnderlyings []NoUnderlyings `fix:"711,omitempty"`
	//Currency is a non-required field for SecurityDefinitionRequest.
	Currency *string `fix:"15"`
	//Text is a non-required field for SecurityDefinitionRequest.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for SecurityDefinitionRequest.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for SecurityDefinitionRequest.
	EncodedText *string `fix:"355"`
	//TradingSessionID is a non-required field for SecurityDefinitionRequest.
	TradingSessionID *string `fix:"336"`
	//TradingSessionSubID is a non-required field for SecurityDefinitionRequest.
	TradingSessionSubID *string `fix:"625"`
	//NoLegs is a non-required field for SecurityDefinitionRequest.
	NoLegs []NoLegs `fix:"555,omitempty"`
	//ExpirationCycle is a non-required field for SecurityDefinitionRequest.
	ExpirationCycle *int `fix:"827"`
	//SubscriptionRequestType is a non-required field for SecurityDefinitionRequest.
	SubscriptionRequestType *string `fix:"263"`
	fix44.Trailer
}

Message is a SecurityDefinitionRequest FIX Message

func New added in v0.2.0

func New(securityreqid string, securityrequesttype int) *Message

New returns an initialized SecurityDefinitionRequest instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetCurrency added in v0.2.0

func (m *Message) SetCurrency(v string)

func (*Message) SetEncodedText added in v0.2.0

func (m *Message) SetEncodedText(v string)

func (*Message) SetEncodedTextLen added in v0.2.0

func (m *Message) SetEncodedTextLen(v int)

func (*Message) SetExpirationCycle added in v0.2.0

func (m *Message) SetExpirationCycle(v int)

func (*Message) SetInstrument added in v0.2.0

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

func (*Message) SetInstrumentExtension added in v0.2.0

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

func (*Message) SetNoLegs added in v0.2.0

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

func (*Message) SetNoUnderlyings added in v0.2.0

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

func (*Message) SetSecurityReqID added in v0.2.0

func (m *Message) SetSecurityReqID(v string)

func (*Message) SetSecurityRequestType added in v0.2.0

func (m *Message) SetSecurityRequestType(v int)

func (*Message) SetSubscriptionRequestType added in v0.2.0

func (m *Message) SetSubscriptionRequestType(v string)

func (*Message) SetText added in v0.2.0

func (m *Message) SetText(v string)

func (*Message) SetTradingSessionID added in v0.2.0

func (m *Message) SetTradingSessionID(v string)

func (*Message) SetTradingSessionSubID added in v0.2.0

func (m *Message) SetTradingSessionSubID(v string)

type NoLegs

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

NoLegs is a repeating group in SecurityDefinitionRequest

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 NoUnderlyings

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

NoUnderlyings is a repeating group in SecurityDefinitionRequest

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