securitydefinition

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 securitydefinition msg type = d.

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:"d"`
	fix42.Header
	//SecurityReqID is a required field for SecurityDefinition.
	SecurityReqID string `fix:"320"`
	//SecurityResponseID is a required field for SecurityDefinition.
	SecurityResponseID string `fix:"322"`
	//SecurityResponseType is a non-required field for SecurityDefinition.
	SecurityResponseType *int `fix:"323"`
	//TotalNumSecurities is a required field for SecurityDefinition.
	TotalNumSecurities int `fix:"393"`
	//Symbol is a non-required field for SecurityDefinition.
	Symbol *string `fix:"55"`
	//SymbolSfx is a non-required field for SecurityDefinition.
	SymbolSfx *string `fix:"65"`
	//SecurityID is a non-required field for SecurityDefinition.
	SecurityID *string `fix:"48"`
	//IDSource is a non-required field for SecurityDefinition.
	IDSource *string `fix:"22"`
	//SecurityType is a non-required field for SecurityDefinition.
	SecurityType *string `fix:"167"`
	//MaturityMonthYear is a non-required field for SecurityDefinition.
	MaturityMonthYear *string `fix:"200"`
	//MaturityDay is a non-required field for SecurityDefinition.
	MaturityDay *int `fix:"205"`
	//PutOrCall is a non-required field for SecurityDefinition.
	PutOrCall *int `fix:"201"`
	//StrikePrice is a non-required field for SecurityDefinition.
	StrikePrice *float64 `fix:"202"`
	//OptAttribute is a non-required field for SecurityDefinition.
	OptAttribute *string `fix:"206"`
	//ContractMultiplier is a non-required field for SecurityDefinition.
	ContractMultiplier *float64 `fix:"231"`
	//CouponRate is a non-required field for SecurityDefinition.
	CouponRate *float64 `fix:"223"`
	//SecurityExchange is a non-required field for SecurityDefinition.
	SecurityExchange *string `fix:"207"`
	//Issuer is a non-required field for SecurityDefinition.
	Issuer *string `fix:"106"`
	//EncodedIssuerLen is a non-required field for SecurityDefinition.
	EncodedIssuerLen *int `fix:"348"`
	//EncodedIssuer is a non-required field for SecurityDefinition.
	EncodedIssuer *string `fix:"349"`
	//SecurityDesc is a non-required field for SecurityDefinition.
	SecurityDesc *string `fix:"107"`
	//EncodedSecurityDescLen is a non-required field for SecurityDefinition.
	EncodedSecurityDescLen *int `fix:"350"`
	//EncodedSecurityDesc is a non-required field for SecurityDefinition.
	EncodedSecurityDesc *string `fix:"351"`
	//Currency is a non-required field for SecurityDefinition.
	Currency *string `fix:"15"`
	//TradingSessionID is a non-required field for SecurityDefinition.
	TradingSessionID *string `fix:"336"`
	//Text is a non-required field for SecurityDefinition.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for SecurityDefinition.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for SecurityDefinition.
	EncodedText *string `fix:"355"`
	//NoRelatedSym is a non-required field for SecurityDefinition.
	NoRelatedSym []NoRelatedSym `fix:"146,omitempty"`
	fix42.Trailer
}

Message is a SecurityDefinition FIX Message

func New added in v0.2.0

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

New returns an initialized SecurityDefinition instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetContractMultiplier added in v0.2.0

func (m *Message) SetContractMultiplier(v float64)

func (*Message) SetCouponRate added in v0.2.0

func (m *Message) SetCouponRate(v float64)

func (*Message) SetCurrency added in v0.2.0

func (m *Message) SetCurrency(v string)

func (*Message) SetEncodedIssuer added in v0.2.0

func (m *Message) SetEncodedIssuer(v string)

func (*Message) SetEncodedIssuerLen added in v0.2.0

func (m *Message) SetEncodedIssuerLen(v int)

func (*Message) SetEncodedSecurityDesc added in v0.2.0

func (m *Message) SetEncodedSecurityDesc(v string)

func (*Message) SetEncodedSecurityDescLen added in v0.2.0

func (m *Message) SetEncodedSecurityDescLen(v int)

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) SetIDSource added in v0.2.0

func (m *Message) SetIDSource(v string)

func (*Message) SetIssuer added in v0.2.0

func (m *Message) SetIssuer(v string)

func (*Message) SetMaturityDay added in v0.2.0

func (m *Message) SetMaturityDay(v int)

func (*Message) SetMaturityMonthYear added in v0.2.0

func (m *Message) SetMaturityMonthYear(v string)

func (*Message) SetNoRelatedSym added in v0.2.0

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

func (*Message) SetOptAttribute added in v0.2.0

func (m *Message) SetOptAttribute(v string)

func (*Message) SetPutOrCall added in v0.2.0

func (m *Message) SetPutOrCall(v int)

func (*Message) SetSecurityDesc added in v0.2.0

func (m *Message) SetSecurityDesc(v string)

func (*Message) SetSecurityExchange added in v0.2.0

func (m *Message) SetSecurityExchange(v string)

func (*Message) SetSecurityID added in v0.2.0

func (m *Message) SetSecurityID(v string)

func (*Message) SetSecurityReqID added in v0.2.0

func (m *Message) SetSecurityReqID(v string)

func (*Message) SetSecurityResponseID added in v0.2.0

func (m *Message) SetSecurityResponseID(v string)

func (*Message) SetSecurityResponseType added in v0.2.0

func (m *Message) SetSecurityResponseType(v int)

func (*Message) SetSecurityType added in v0.2.0

func (m *Message) SetSecurityType(v string)

func (*Message) SetStrikePrice added in v0.2.0

func (m *Message) SetStrikePrice(v float64)

func (*Message) SetSymbol added in v0.2.0

func (m *Message) SetSymbol(v string)

func (*Message) SetSymbolSfx added in v0.2.0

func (m *Message) SetSymbolSfx(v string)

func (*Message) SetText added in v0.2.0

func (m *Message) SetText(v string)

func (*Message) SetTotalNumSecurities added in v0.2.0

func (m *Message) SetTotalNumSecurities(v int)

func (*Message) SetTradingSessionID added in v0.2.0

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 SecurityDefinition

func NewNoRelatedSym added in v0.2.0

func NewNoRelatedSym() *NoRelatedSym

NewNoRelatedSym returns an initialized NoRelatedSym instance

func (*NoRelatedSym) SetEncodedUnderlyingIssuer added in v0.2.0

func (m *NoRelatedSym) SetEncodedUnderlyingIssuer(v string)

func (*NoRelatedSym) SetEncodedUnderlyingIssuerLen added in v0.2.0

func (m *NoRelatedSym) SetEncodedUnderlyingIssuerLen(v int)

func (*NoRelatedSym) SetEncodedUnderlyingSecurityDesc added in v0.2.0

func (m *NoRelatedSym) SetEncodedUnderlyingSecurityDesc(v string)

func (*NoRelatedSym) SetEncodedUnderlyingSecurityDescLen added in v0.2.0

func (m *NoRelatedSym) SetEncodedUnderlyingSecurityDescLen(v int)

func (*NoRelatedSym) SetRatioQty added in v0.2.0

func (m *NoRelatedSym) SetRatioQty(v float64)

func (*NoRelatedSym) SetSide added in v0.2.0

func (m *NoRelatedSym) SetSide(v string)

func (*NoRelatedSym) SetUnderlyingContractMultiplier added in v0.2.0

func (m *NoRelatedSym) SetUnderlyingContractMultiplier(v float64)

func (*NoRelatedSym) SetUnderlyingCouponRate added in v0.2.0

func (m *NoRelatedSym) SetUnderlyingCouponRate(v float64)

func (*NoRelatedSym) SetUnderlyingCurrency added in v0.2.0

func (m *NoRelatedSym) SetUnderlyingCurrency(v string)

func (*NoRelatedSym) SetUnderlyingIDSource added in v0.2.0

func (m *NoRelatedSym) SetUnderlyingIDSource(v string)

func (*NoRelatedSym) SetUnderlyingIssuer added in v0.2.0

func (m *NoRelatedSym) SetUnderlyingIssuer(v string)

func (*NoRelatedSym) SetUnderlyingMaturityDay added in v0.2.0

func (m *NoRelatedSym) SetUnderlyingMaturityDay(v int)

func (*NoRelatedSym) SetUnderlyingMaturityMonthYear added in v0.2.0

func (m *NoRelatedSym) SetUnderlyingMaturityMonthYear(v string)

func (*NoRelatedSym) SetUnderlyingOptAttribute added in v0.2.0

func (m *NoRelatedSym) SetUnderlyingOptAttribute(v string)

func (*NoRelatedSym) SetUnderlyingPutOrCall added in v0.2.0

func (m *NoRelatedSym) SetUnderlyingPutOrCall(v int)

func (*NoRelatedSym) SetUnderlyingSecurityDesc added in v0.2.0

func (m *NoRelatedSym) SetUnderlyingSecurityDesc(v string)

func (*NoRelatedSym) SetUnderlyingSecurityExchange added in v0.2.0

func (m *NoRelatedSym) SetUnderlyingSecurityExchange(v string)

func (*NoRelatedSym) SetUnderlyingSecurityID added in v0.2.0

func (m *NoRelatedSym) SetUnderlyingSecurityID(v string)

func (*NoRelatedSym) SetUnderlyingSecurityType added in v0.2.0

func (m *NoRelatedSym) SetUnderlyingSecurityType(v string)

func (*NoRelatedSym) SetUnderlyingStrikePrice added in v0.2.0

func (m *NoRelatedSym) SetUnderlyingStrikePrice(v float64)

func (*NoRelatedSym) SetUnderlyingSymbol added in v0.2.0

func (m *NoRelatedSym) SetUnderlyingSymbol(v string)

func (*NoRelatedSym) SetUnderlyingSymbolSfx added in v0.2.0

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