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: 5 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"`
	fix44.Header
	//ListID is a required field for ListStrikePrice.
	ListID string `fix:"66"`
	//TotNoStrikes is a required field for ListStrikePrice.
	TotNoStrikes int `fix:"422"`
	//LastFragment is a non-required field for ListStrikePrice.
	LastFragment *bool `fix:"893"`
	//NoStrikes is a required field for ListStrikePrice.
	NoStrikes []NoStrikes `fix:"428"`
	//NoUnderlyings is a non-required field for ListStrikePrice.
	NoUnderlyings []NoUnderlyings `fix:"711,omitempty"`
	fix44.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) SetLastFragment added in v0.2.0

func (m *Message) SetLastFragment(v bool)

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

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

func (*Message) SetTotNoStrikes added in v0.2.0

func (m *Message) SetTotNoStrikes(v int)

type NoStrikes

type NoStrikes struct {
	//Instrument is a required component for NoStrikes.
	instrument.Instrument
}

NoStrikes is a repeating group in ListStrikePrice

func NewNoStrikes added in v0.2.0

func NewNoStrikes(instrument instrument.Instrument) *NoStrikes

NewNoStrikes returns an initialized NoStrikes instance

func (*NoStrikes) SetInstrument added in v0.2.0

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

type NoUnderlyings

type NoUnderlyings struct {
	//UnderlyingInstrument is a non-required component for NoUnderlyings.
	UnderlyingInstrument *underlyinginstrument.UnderlyingInstrument
	//PrevClosePx is a non-required field for NoUnderlyings.
	PrevClosePx *float64 `fix:"140"`
	//ClOrdID is a non-required field for NoUnderlyings.
	ClOrdID *string `fix:"11"`
	//SecondaryClOrdID is a non-required field for NoUnderlyings.
	SecondaryClOrdID *string `fix:"526"`
	//Side is a non-required field for NoUnderlyings.
	Side *string `fix:"54"`
	//Price is a required field for NoUnderlyings.
	Price float64 `fix:"44"`
	//Currency is a non-required field for NoUnderlyings.
	Currency *string `fix:"15"`
	//Text is a non-required field for NoUnderlyings.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for NoUnderlyings.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for NoUnderlyings.
	EncodedText *string `fix:"355"`
}

NoUnderlyings is a repeating group in ListStrikePrice

func NewNoUnderlyings added in v0.2.0

func NewNoUnderlyings(price float64) *NoUnderlyings

NewNoUnderlyings returns an initialized NoUnderlyings instance

func (*NoUnderlyings) SetClOrdID added in v0.2.0

func (m *NoUnderlyings) SetClOrdID(v string)

func (*NoUnderlyings) SetCurrency added in v0.2.0

func (m *NoUnderlyings) SetCurrency(v string)

func (*NoUnderlyings) SetEncodedText added in v0.2.0

func (m *NoUnderlyings) SetEncodedText(v string)

func (*NoUnderlyings) SetEncodedTextLen added in v0.2.0

func (m *NoUnderlyings) SetEncodedTextLen(v int)

func (*NoUnderlyings) SetPrevClosePx added in v0.2.0

func (m *NoUnderlyings) SetPrevClosePx(v float64)

func (*NoUnderlyings) SetPrice added in v0.2.0

func (m *NoUnderlyings) SetPrice(v float64)

func (*NoUnderlyings) SetSecondaryClOrdID added in v0.2.0

func (m *NoUnderlyings) SetSecondaryClOrdID(v string)

func (*NoUnderlyings) SetSide added in v0.2.0

func (m *NoUnderlyings) SetSide(v string)

func (*NoUnderlyings) SetText added in v0.2.0

func (m *NoUnderlyings) SetText(v string)

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