liststrikeprice

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 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"`
	fixt11.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"`
	//InstrmtStrkPxGrp is a required component for ListStrikePrice.
	instrmtstrkpxgrp.InstrmtStrkPxGrp
	fixt11.Trailer
}

Message is a ListStrikePrice FIX Message

func New added in v0.2.0

func New(listid string, totnostrikes int, instrmtstrkpxgrp instrmtstrkpxgrp.InstrmtStrkPxGrp) *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) SetInstrmtStrkPxGrp added in v0.2.0

func (m *Message) SetInstrmtStrkPxGrp(v instrmtstrkpxgrp.InstrmtStrkPxGrp)

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

func (m *Message) SetTotNoStrikes(v int)

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