marketdefinitionrequest

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: 3 Imported by: 0

Documentation

Overview

Package marketdefinitionrequest msg type = BT.

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:"BT"`
	fixt11.Header
	//MarketReqID is a required field for MarketDefinitionRequest.
	MarketReqID string `fix:"1393"`
	//SubscriptionRequestType is a required field for MarketDefinitionRequest.
	SubscriptionRequestType string `fix:"263"`
	//MarketID is a non-required field for MarketDefinitionRequest.
	MarketID *string `fix:"1301"`
	//MarketSegmentID is a non-required field for MarketDefinitionRequest.
	MarketSegmentID *string `fix:"1300"`
	//ParentMktSegmID is a non-required field for MarketDefinitionRequest.
	ParentMktSegmID *string `fix:"1325"`
	fixt11.Trailer
}

Message is a MarketDefinitionRequest FIX Message

func New added in v0.2.0

func New(marketreqid string, subscriptionrequesttype string) *Message

New returns an initialized MarketDefinitionRequest instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetMarketID added in v0.2.0

func (m *Message) SetMarketID(v string)

func (*Message) SetMarketReqID added in v0.2.0

func (m *Message) SetMarketReqID(v string)

func (*Message) SetMarketSegmentID added in v0.2.0

func (m *Message) SetMarketSegmentID(v string)

func (*Message) SetParentMktSegmID added in v0.2.0

func (m *Message) SetParentMktSegmID(v string)

func (*Message) SetSubscriptionRequestType added in v0.2.0

func (m *Message) SetSubscriptionRequestType(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