marketdefinition

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: 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 Message type

Types

type Message

type Message struct {
	FIXMsgType string `fix:"BU"`
	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 is a non-required component for MarketDefinition.
	BaseTradingRules *basetradingrules.BaseTradingRules
	//OrdTypeRules is a non-required component for MarketDefinition.
	OrdTypeRules *ordtyperules.OrdTypeRules
	//TimeInForceRules is a non-required component for MarketDefinition.
	TimeInForceRules *timeinforcerules.TimeInForceRules
	//ExecInstRules is a non-required component for MarketDefinition.
	ExecInstRules *execinstrules.ExecInstRules
	//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 is a non-required component for MarketDefinition.
	ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl
	fixt11.Trailer
}

Message is a MarketDefinition FIX Message

func New added in v0.2.0

func New(marketreportid string, marketid string) *Message

New returns an initialized MarketDefinition instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetApplicationSequenceControl added in v0.2.0

func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl)

func (*Message) SetBaseTradingRules added in v0.2.0

func (m *Message) SetBaseTradingRules(v basetradingrules.BaseTradingRules)

func (*Message) SetCurrency added in v0.2.0

func (m *Message) SetCurrency(v string)

func (*Message) SetEncodedMktSegmDesc added in v0.2.0

func (m *Message) SetEncodedMktSegmDesc(v string)

func (*Message) SetEncodedMktSegmDescLen added in v0.2.0

func (m *Message) SetEncodedMktSegmDescLen(v int)

func (*Message) SetEncodedText added in v0.2.0

func (m *Message) SetEncodedText(v string)

func (*Message) SetEncodedTextLen added in v0.2.0

func (m *Message) SetEncodedTextLen(v int)

func (*Message) SetExecInstRules added in v0.2.0

func (m *Message) SetExecInstRules(v execinstrules.ExecInstRules)

func (*Message) SetMarketID added in v0.2.0

func (m *Message) SetMarketID(v string)

func (*Message) SetMarketReportID added in v0.2.0

func (m *Message) SetMarketReportID(v string)

func (*Message) SetMarketReqID added in v0.2.0

func (m *Message) SetMarketReqID(v string)

func (*Message) SetMarketSegmentDesc added in v0.2.0

func (m *Message) SetMarketSegmentDesc(v string)

func (*Message) SetMarketSegmentID added in v0.2.0

func (m *Message) SetMarketSegmentID(v string)

func (*Message) SetOrdTypeRules added in v0.2.0

func (m *Message) SetOrdTypeRules(v ordtyperules.OrdTypeRules)

func (*Message) SetParentMktSegmID added in v0.2.0

func (m *Message) SetParentMktSegmID(v string)

func (*Message) SetText added in v0.2.0

func (m *Message) SetText(v string)

func (*Message) SetTimeInForceRules added in v0.2.0

func (m *Message) SetTimeInForceRules(v timeinforcerules.TimeInForceRules)

func (*Message) SetTransactTime added in v0.2.0

func (m *Message) SetTransactTime(v time.Time)

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