marketdefinition

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2016 License: Apache-1.1 Imports: 9 Imported by: 0

Documentation

Overview

Package marketdefinition msg type = BU.

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 Mesage type

Types

type Message

type Message struct {
	FIXMsgType string `fix:"BU"`
	Header     fixt11.Header
	//MarketReportID is a required field for MarketDefinition.
	MarketReportID string `fix:"1394"`
	//MarketReqID is a non-required field for MarketDefinition.
	MarketReqID *string `fix:"1393"`
	//MarketID is a required field for MarketDefinition.
	MarketID string `fix:"1301"`
	//MarketSegmentID is a non-required field for MarketDefinition.
	MarketSegmentID *string `fix:"1300"`
	//MarketSegmentDesc is a non-required field for MarketDefinition.
	MarketSegmentDesc *string `fix:"1396"`
	//EncodedMktSegmDescLen is a non-required field for MarketDefinition.
	EncodedMktSegmDescLen *int `fix:"1397"`
	//EncodedMktSegmDesc is a non-required field for MarketDefinition.
	EncodedMktSegmDesc *string `fix:"1398"`
	//ParentMktSegmID is a non-required field for MarketDefinition.
	ParentMktSegmID *string `fix:"1325"`
	//Currency is a non-required field for MarketDefinition.
	Currency *string `fix:"15"`
	//BaseTradingRules Component
	BaseTradingRules basetradingrules.Component
	//OrdTypeRules Component
	OrdTypeRules ordtyperules.Component
	//TimeInForceRules Component
	TimeInForceRules timeinforcerules.Component
	//ExecInstRules Component
	ExecInstRules execinstrules.Component
	//TransactTime is a non-required field for MarketDefinition.
	TransactTime *time.Time `fix:"60"`
	//Text is a non-required field for MarketDefinition.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for MarketDefinition.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for MarketDefinition.
	EncodedText *string `fix:"355"`
	//ApplicationSequenceControl Component
	ApplicationSequenceControl applicationsequencecontrol.Component
	Trailer                    fixt11.Trailer
}

Message is a MarketDefinition FIX Message

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

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