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: 4 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"`
	fix43.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"`
	fix43.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 {
	//Instrument is a required component for NoStrikes.
	instrument.Instrument
	//PrevClosePx is a non-required field for NoStrikes.
	PrevClosePx *float64 `fix:"140"`
	//ClOrdID is a non-required field for NoStrikes.
	ClOrdID *string `fix:"11"`
	//SecondaryClOrdID is a non-required field for NoStrikes.
	SecondaryClOrdID *string `fix:"526"`
	//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(instrument instrument.Instrument, 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) SetCurrency added in v0.2.0

func (m *NoStrikes) SetCurrency(v string)

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

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

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

func (m *NoStrikes) SetSecondaryClOrdID(v string)

func (*NoStrikes) SetSide added in v0.2.0

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