liststrikeprice

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 liststrikeprice msg type = m.

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:"m"`
	fix42.Header
	//ListID is a required field for ListStrikePrice.
	ListID string `fix:"66"`
	//TotNoStrikes is a required field for ListStrikePrice.
	TotNoStrikes int `fix:"422"`
	//NoStrikes is a required field for ListStrikePrice.
	NoStrikes []NoStrikes `fix:"428"`
	fix42.Trailer
}

Message is a ListStrikePrice FIX Message

func New added in v0.2.0

func New(listid string, totnostrikes int, nostrikes []NoStrikes) *Message

New returns an initialized ListStrikePrice instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetListID added in v0.2.0

func (m *Message) SetListID(v string)

func (*Message) SetNoStrikes added in v0.2.0

func (m *Message) SetNoStrikes(v []NoStrikes)

func (*Message) SetTotNoStrikes added in v0.2.0

func (m *Message) SetTotNoStrikes(v int)

type NoStrikes

type NoStrikes struct {
	//Symbol is a required field for NoStrikes.
	Symbol string `fix:"55"`
	//SymbolSfx is a non-required field for NoStrikes.
	SymbolSfx *string `fix:"65"`
	//SecurityID is a non-required field for NoStrikes.
	SecurityID *string `fix:"48"`
	//IDSource is a non-required field for NoStrikes.
	IDSource *string `fix:"22"`
	//SecurityType is a non-required field for NoStrikes.
	SecurityType *string `fix:"167"`
	//MaturityMonthYear is a non-required field for NoStrikes.
	MaturityMonthYear *string `fix:"200"`
	//MaturityDay is a non-required field for NoStrikes.
	MaturityDay *int `fix:"205"`
	//PutOrCall is a non-required field for NoStrikes.
	PutOrCall *int `fix:"201"`
	//StrikePrice is a non-required field for NoStrikes.
	StrikePrice *float64 `fix:"202"`
	//OptAttribute is a non-required field for NoStrikes.
	OptAttribute *string `fix:"206"`
	//ContractMultiplier is a non-required field for NoStrikes.
	ContractMultiplier *float64 `fix:"231"`
	//CouponRate is a non-required field for NoStrikes.
	CouponRate *float64 `fix:"223"`
	//SecurityExchange is a non-required field for NoStrikes.
	SecurityExchange *string `fix:"207"`
	//Issuer is a non-required field for NoStrikes.
	Issuer *string `fix:"106"`
	//EncodedIssuerLen is a non-required field for NoStrikes.
	EncodedIssuerLen *int `fix:"348"`
	//EncodedIssuer is a non-required field for NoStrikes.
	EncodedIssuer *string `fix:"349"`
	//SecurityDesc is a non-required field for NoStrikes.
	SecurityDesc *string `fix:"107"`
	//EncodedSecurityDescLen is a non-required field for NoStrikes.
	EncodedSecurityDescLen *int `fix:"350"`
	//EncodedSecurityDesc is a non-required field for NoStrikes.
	EncodedSecurityDesc *string `fix:"351"`
	//PrevClosePx is a non-required field for NoStrikes.
	PrevClosePx *float64 `fix:"140"`
	//ClOrdID is a non-required field for NoStrikes.
	ClOrdID *string `fix:"11"`
	//Side is a non-required field for NoStrikes.
	Side *string `fix:"54"`
	//Price is a required field for NoStrikes.
	Price float64 `fix:"44"`
	//Currency is a non-required field for NoStrikes.
	Currency *string `fix:"15"`
	//Text is a non-required field for NoStrikes.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for NoStrikes.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for NoStrikes.
	EncodedText *string `fix:"355"`
}

NoStrikes is a repeating group in ListStrikePrice

func NewNoStrikes added in v0.2.0

func NewNoStrikes(symbol string, price float64) *NoStrikes

NewNoStrikes returns an initialized NoStrikes instance

func (*NoStrikes) SetClOrdID added in v0.2.0

func (m *NoStrikes) SetClOrdID(v string)

func (*NoStrikes) SetContractMultiplier added in v0.2.0

func (m *NoStrikes) SetContractMultiplier(v float64)

func (*NoStrikes) SetCouponRate added in v0.2.0

func (m *NoStrikes) SetCouponRate(v float64)

func (*NoStrikes) SetCurrency added in v0.2.0

func (m *NoStrikes) SetCurrency(v string)

func (*NoStrikes) SetEncodedIssuer added in v0.2.0

func (m *NoStrikes) SetEncodedIssuer(v string)

func (*NoStrikes) SetEncodedIssuerLen added in v0.2.0

func (m *NoStrikes) SetEncodedIssuerLen(v int)

func (*NoStrikes) SetEncodedSecurityDesc added in v0.2.0

func (m *NoStrikes) SetEncodedSecurityDesc(v string)

func (*NoStrikes) SetEncodedSecurityDescLen added in v0.2.0

func (m *NoStrikes) SetEncodedSecurityDescLen(v int)

func (*NoStrikes) SetEncodedText added in v0.2.0

func (m *NoStrikes) SetEncodedText(v string)

func (*NoStrikes) SetEncodedTextLen added in v0.2.0

func (m *NoStrikes) SetEncodedTextLen(v int)

func (*NoStrikes) SetIDSource added in v0.2.0

func (m *NoStrikes) SetIDSource(v string)

func (*NoStrikes) SetIssuer added in v0.2.0

func (m *NoStrikes) SetIssuer(v string)

func (*NoStrikes) SetMaturityDay added in v0.2.0

func (m *NoStrikes) SetMaturityDay(v int)

func (*NoStrikes) SetMaturityMonthYear added in v0.2.0

func (m *NoStrikes) SetMaturityMonthYear(v string)

func (*NoStrikes) SetOptAttribute added in v0.2.0

func (m *NoStrikes) SetOptAttribute(v string)

func (*NoStrikes) SetPrevClosePx added in v0.2.0

func (m *NoStrikes) SetPrevClosePx(v float64)

func (*NoStrikes) SetPrice added in v0.2.0

func (m *NoStrikes) SetPrice(v float64)

func (*NoStrikes) SetPutOrCall added in v0.2.0

func (m *NoStrikes) SetPutOrCall(v int)

func (*NoStrikes) SetSecurityDesc added in v0.2.0

func (m *NoStrikes) SetSecurityDesc(v string)

func (*NoStrikes) SetSecurityExchange added in v0.2.0

func (m *NoStrikes) SetSecurityExchange(v string)

func (*NoStrikes) SetSecurityID added in v0.2.0

func (m *NoStrikes) SetSecurityID(v string)

func (*NoStrikes) SetSecurityType added in v0.2.0

func (m *NoStrikes) SetSecurityType(v string)

func (*NoStrikes) SetSide added in v0.2.0

func (m *NoStrikes) SetSide(v string)

func (*NoStrikes) SetStrikePrice added in v0.2.0

func (m *NoStrikes) SetStrikePrice(v float64)

func (*NoStrikes) SetSymbol added in v0.2.0

func (m *NoStrikes) SetSymbol(v string)

func (*NoStrikes) SetSymbolSfx added in v0.2.0

func (m *NoStrikes) SetSymbolSfx(v string)

func (*NoStrikes) SetText added in v0.2.0

func (m *NoStrikes) SetText(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