securitydefinitionrequest

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: 3 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"`
	fix42.Header
	//SecurityReqID is a required field for SecurityDefinitionRequest.
	SecurityReqID string `fix:"320"`
	//SecurityRequestType is a required field for SecurityDefinitionRequest.
	SecurityRequestType int `fix:"321"`
	//Symbol is a non-required field for SecurityDefinitionRequest.
	Symbol *string `fix:"55"`
	//SymbolSfx is a non-required field for SecurityDefinitionRequest.
	SymbolSfx *string `fix:"65"`
	//SecurityID is a non-required field for SecurityDefinitionRequest.
	SecurityID *string `fix:"48"`
	//IDSource is a non-required field for SecurityDefinitionRequest.
	IDSource *string `fix:"22"`
	//SecurityType is a non-required field for SecurityDefinitionRequest.
	SecurityType *string `fix:"167"`
	//MaturityMonthYear is a non-required field for SecurityDefinitionRequest.
	MaturityMonthYear *string `fix:"200"`
	//MaturityDay is a non-required field for SecurityDefinitionRequest.
	MaturityDay *int `fix:"205"`
	//PutOrCall is a non-required field for SecurityDefinitionRequest.
	PutOrCall *int `fix:"201"`
	//StrikePrice is a non-required field for SecurityDefinitionRequest.
	StrikePrice *float64 `fix:"202"`
	//OptAttribute is a non-required field for SecurityDefinitionRequest.
	OptAttribute *string `fix:"206"`
	//ContractMultiplier is a non-required field for SecurityDefinitionRequest.
	ContractMultiplier *float64 `fix:"231"`
	//CouponRate is a non-required field for SecurityDefinitionRequest.
	CouponRate *float64 `fix:"223"`
	//SecurityExchange is a non-required field for SecurityDefinitionRequest.
	SecurityExchange *string `fix:"207"`
	//Issuer is a non-required field for SecurityDefinitionRequest.
	Issuer *string `fix:"106"`
	//EncodedIssuerLen is a non-required field for SecurityDefinitionRequest.
	EncodedIssuerLen *int `fix:"348"`
	//EncodedIssuer is a non-required field for SecurityDefinitionRequest.
	EncodedIssuer *string `fix:"349"`
	//SecurityDesc is a non-required field for SecurityDefinitionRequest.
	SecurityDesc *string `fix:"107"`
	//EncodedSecurityDescLen is a non-required field for SecurityDefinitionRequest.
	EncodedSecurityDescLen *int `fix:"350"`
	//EncodedSecurityDesc is a non-required field for SecurityDefinitionRequest.
	EncodedSecurityDesc *string `fix:"351"`
	//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"`
	//NoRelatedSym is a non-required field for SecurityDefinitionRequest.
	NoRelatedSym []NoRelatedSym `fix:"146,omitempty"`
	fix42.Trailer
}

Message is a SecurityDefinitionRequest FIX Message

func New

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) SetContractMultiplier

func (m *Message) SetContractMultiplier(v float64)

func (*Message) SetCouponRate

func (m *Message) SetCouponRate(v float64)

func (*Message) SetCurrency

func (m *Message) SetCurrency(v string)

func (*Message) SetEncodedIssuer

func (m *Message) SetEncodedIssuer(v string)

func (*Message) SetEncodedIssuerLen

func (m *Message) SetEncodedIssuerLen(v int)

func (*Message) SetEncodedSecurityDesc

func (m *Message) SetEncodedSecurityDesc(v string)

func (*Message) SetEncodedSecurityDescLen

func (m *Message) SetEncodedSecurityDescLen(v int)

func (*Message) SetEncodedText

func (m *Message) SetEncodedText(v string)

func (*Message) SetEncodedTextLen

func (m *Message) SetEncodedTextLen(v int)

func (*Message) SetIDSource

func (m *Message) SetIDSource(v string)

func (*Message) SetIssuer

func (m *Message) SetIssuer(v string)

func (*Message) SetMaturityDay

func (m *Message) SetMaturityDay(v int)

func (*Message) SetMaturityMonthYear

func (m *Message) SetMaturityMonthYear(v string)

func (*Message) SetNoRelatedSym

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

func (*Message) SetOptAttribute

func (m *Message) SetOptAttribute(v string)

func (*Message) SetPutOrCall

func (m *Message) SetPutOrCall(v int)

func (*Message) SetSecurityDesc

func (m *Message) SetSecurityDesc(v string)

func (*Message) SetSecurityExchange

func (m *Message) SetSecurityExchange(v string)

func (*Message) SetSecurityID

func (m *Message) SetSecurityID(v string)

func (*Message) SetSecurityReqID

func (m *Message) SetSecurityReqID(v string)

func (*Message) SetSecurityRequestType

func (m *Message) SetSecurityRequestType(v int)

func (*Message) SetSecurityType

func (m *Message) SetSecurityType(v string)

func (*Message) SetStrikePrice

func (m *Message) SetStrikePrice(v float64)

func (*Message) SetSymbol

func (m *Message) SetSymbol(v string)

func (*Message) SetSymbolSfx

func (m *Message) SetSymbolSfx(v string)

func (*Message) SetText

func (m *Message) SetText(v string)

func (*Message) SetTradingSessionID

func (m *Message) SetTradingSessionID(v string)

type NoRelatedSym

type NoRelatedSym struct {
	//UnderlyingSymbol is a non-required field for NoRelatedSym.
	UnderlyingSymbol *string `fix:"311"`
	//UnderlyingSymbolSfx is a non-required field for NoRelatedSym.
	UnderlyingSymbolSfx *string `fix:"312"`
	//UnderlyingSecurityID is a non-required field for NoRelatedSym.
	UnderlyingSecurityID *string `fix:"309"`
	//UnderlyingIDSource is a non-required field for NoRelatedSym.
	UnderlyingIDSource *string `fix:"305"`
	//UnderlyingSecurityType is a non-required field for NoRelatedSym.
	UnderlyingSecurityType *string `fix:"310"`
	//UnderlyingMaturityMonthYear is a non-required field for NoRelatedSym.
	UnderlyingMaturityMonthYear *string `fix:"313"`
	//UnderlyingMaturityDay is a non-required field for NoRelatedSym.
	UnderlyingMaturityDay *int `fix:"314"`
	//UnderlyingPutOrCall is a non-required field for NoRelatedSym.
	UnderlyingPutOrCall *int `fix:"315"`
	//UnderlyingStrikePrice is a non-required field for NoRelatedSym.
	UnderlyingStrikePrice *float64 `fix:"316"`
	//UnderlyingOptAttribute is a non-required field for NoRelatedSym.
	UnderlyingOptAttribute *string `fix:"317"`
	//UnderlyingContractMultiplier is a non-required field for NoRelatedSym.
	UnderlyingContractMultiplier *float64 `fix:"436"`
	//UnderlyingCouponRate is a non-required field for NoRelatedSym.
	UnderlyingCouponRate *float64 `fix:"435"`
	//UnderlyingSecurityExchange is a non-required field for NoRelatedSym.
	UnderlyingSecurityExchange *string `fix:"308"`
	//UnderlyingIssuer is a non-required field for NoRelatedSym.
	UnderlyingIssuer *string `fix:"306"`
	//EncodedUnderlyingIssuerLen is a non-required field for NoRelatedSym.
	EncodedUnderlyingIssuerLen *int `fix:"362"`
	//EncodedUnderlyingIssuer is a non-required field for NoRelatedSym.
	EncodedUnderlyingIssuer *string `fix:"363"`
	//UnderlyingSecurityDesc is a non-required field for NoRelatedSym.
	UnderlyingSecurityDesc *string `fix:"307"`
	//EncodedUnderlyingSecurityDescLen is a non-required field for NoRelatedSym.
	EncodedUnderlyingSecurityDescLen *int `fix:"364"`
	//EncodedUnderlyingSecurityDesc is a non-required field for NoRelatedSym.
	EncodedUnderlyingSecurityDesc *string `fix:"365"`
	//RatioQty is a non-required field for NoRelatedSym.
	RatioQty *float64 `fix:"319"`
	//Side is a non-required field for NoRelatedSym.
	Side *string `fix:"54"`
	//UnderlyingCurrency is a non-required field for NoRelatedSym.
	UnderlyingCurrency *string `fix:"318"`
}

NoRelatedSym is a repeating group in SecurityDefinitionRequest

func NewNoRelatedSym

func NewNoRelatedSym() *NoRelatedSym

NewNoRelatedSym returns an initialized NoRelatedSym instance

func (*NoRelatedSym) SetEncodedUnderlyingIssuer

func (m *NoRelatedSym) SetEncodedUnderlyingIssuer(v string)

func (*NoRelatedSym) SetEncodedUnderlyingIssuerLen

func (m *NoRelatedSym) SetEncodedUnderlyingIssuerLen(v int)

func (*NoRelatedSym) SetEncodedUnderlyingSecurityDesc

func (m *NoRelatedSym) SetEncodedUnderlyingSecurityDesc(v string)

func (*NoRelatedSym) SetEncodedUnderlyingSecurityDescLen

func (m *NoRelatedSym) SetEncodedUnderlyingSecurityDescLen(v int)

func (*NoRelatedSym) SetRatioQty

func (m *NoRelatedSym) SetRatioQty(v float64)

func (*NoRelatedSym) SetSide

func (m *NoRelatedSym) SetSide(v string)

func (*NoRelatedSym) SetUnderlyingContractMultiplier

func (m *NoRelatedSym) SetUnderlyingContractMultiplier(v float64)

func (*NoRelatedSym) SetUnderlyingCouponRate

func (m *NoRelatedSym) SetUnderlyingCouponRate(v float64)

func (*NoRelatedSym) SetUnderlyingCurrency

func (m *NoRelatedSym) SetUnderlyingCurrency(v string)

func (*NoRelatedSym) SetUnderlyingIDSource

func (m *NoRelatedSym) SetUnderlyingIDSource(v string)

func (*NoRelatedSym) SetUnderlyingIssuer

func (m *NoRelatedSym) SetUnderlyingIssuer(v string)

func (*NoRelatedSym) SetUnderlyingMaturityDay

func (m *NoRelatedSym) SetUnderlyingMaturityDay(v int)

func (*NoRelatedSym) SetUnderlyingMaturityMonthYear

func (m *NoRelatedSym) SetUnderlyingMaturityMonthYear(v string)

func (*NoRelatedSym) SetUnderlyingOptAttribute

func (m *NoRelatedSym) SetUnderlyingOptAttribute(v string)

func (*NoRelatedSym) SetUnderlyingPutOrCall

func (m *NoRelatedSym) SetUnderlyingPutOrCall(v int)

func (*NoRelatedSym) SetUnderlyingSecurityDesc

func (m *NoRelatedSym) SetUnderlyingSecurityDesc(v string)

func (*NoRelatedSym) SetUnderlyingSecurityExchange

func (m *NoRelatedSym) SetUnderlyingSecurityExchange(v string)

func (*NoRelatedSym) SetUnderlyingSecurityID

func (m *NoRelatedSym) SetUnderlyingSecurityID(v string)

func (*NoRelatedSym) SetUnderlyingSecurityType

func (m *NoRelatedSym) SetUnderlyingSecurityType(v string)

func (*NoRelatedSym) SetUnderlyingStrikePrice

func (m *NoRelatedSym) SetUnderlyingStrikePrice(v float64)

func (*NoRelatedSym) SetUnderlyingSymbol

func (m *NoRelatedSym) SetUnderlyingSymbol(v string)

func (*NoRelatedSym) SetUnderlyingSymbolSfx

func (m *NoRelatedSym) SetUnderlyingSymbolSfx(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