tradingsessionstatus

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

Documentation

Overview

Package tradingsessionstatus msg type = h.

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:"h"`
	fixt11.Header
	//TradSesReqID is a non-required field for TradingSessionStatus.
	TradSesReqID *string `fix:"335"`
	//TradingSessionID is a required field for TradingSessionStatus.
	TradingSessionID string `fix:"336"`
	//TradingSessionSubID is a non-required field for TradingSessionStatus.
	TradingSessionSubID *string `fix:"625"`
	//TradSesMethod is a non-required field for TradingSessionStatus.
	TradSesMethod *int `fix:"338"`
	//TradSesMode is a non-required field for TradingSessionStatus.
	TradSesMode *int `fix:"339"`
	//UnsolicitedIndicator is a non-required field for TradingSessionStatus.
	UnsolicitedIndicator *bool `fix:"325"`
	//TradSesStatus is a required field for TradingSessionStatus.
	TradSesStatus int `fix:"340"`
	//TradSesStatusRejReason is a non-required field for TradingSessionStatus.
	TradSesStatusRejReason *int `fix:"567"`
	//TradSesStartTime is a non-required field for TradingSessionStatus.
	TradSesStartTime *time.Time `fix:"341"`
	//TradSesOpenTime is a non-required field for TradingSessionStatus.
	TradSesOpenTime *time.Time `fix:"342"`
	//TradSesPreCloseTime is a non-required field for TradingSessionStatus.
	TradSesPreCloseTime *time.Time `fix:"343"`
	//TradSesCloseTime is a non-required field for TradingSessionStatus.
	TradSesCloseTime *time.Time `fix:"344"`
	//TradSesEndTime is a non-required field for TradingSessionStatus.
	TradSesEndTime *time.Time `fix:"345"`
	//TotalVolumeTraded is a non-required field for TradingSessionStatus.
	TotalVolumeTraded *float64 `fix:"387"`
	//Text is a non-required field for TradingSessionStatus.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for TradingSessionStatus.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for TradingSessionStatus.
	EncodedText *string `fix:"355"`
	//Instrument is a non-required component for TradingSessionStatus.
	Instrument *instrument.Instrument
	//MarketID is a non-required field for TradingSessionStatus.
	MarketID *string `fix:"1301"`
	//MarketSegmentID is a non-required field for TradingSessionStatus.
	MarketSegmentID *string `fix:"1300"`
	//TradSesEvent is a non-required field for TradingSessionStatus.
	TradSesEvent *int `fix:"1368"`
	//ApplicationSequenceControl is a non-required component for TradingSessionStatus.
	ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl
	fixt11.Trailer
}

Message is a TradingSessionStatus FIX Message

func New added in v0.2.0

func New(tradingsessionid string, tradsesstatus int) *Message

New returns an initialized TradingSessionStatus 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) 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) SetInstrument added in v0.2.0

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

func (*Message) SetMarketID added in v0.2.0

func (m *Message) SetMarketID(v string)

func (*Message) SetMarketSegmentID added in v0.2.0

func (m *Message) SetMarketSegmentID(v string)

func (*Message) SetText added in v0.2.0

func (m *Message) SetText(v string)

func (*Message) SetTotalVolumeTraded added in v0.2.0

func (m *Message) SetTotalVolumeTraded(v float64)

func (*Message) SetTradSesCloseTime added in v0.2.0

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

func (*Message) SetTradSesEndTime added in v0.2.0

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

func (*Message) SetTradSesEvent added in v0.2.0

func (m *Message) SetTradSesEvent(v int)

func (*Message) SetTradSesMethod added in v0.2.0

func (m *Message) SetTradSesMethod(v int)

func (*Message) SetTradSesMode added in v0.2.0

func (m *Message) SetTradSesMode(v int)

func (*Message) SetTradSesOpenTime added in v0.2.0

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

func (*Message) SetTradSesPreCloseTime added in v0.2.0

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

func (*Message) SetTradSesReqID added in v0.2.0

func (m *Message) SetTradSesReqID(v string)

func (*Message) SetTradSesStartTime added in v0.2.0

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

func (*Message) SetTradSesStatus added in v0.2.0

func (m *Message) SetTradSesStatus(v int)

func (*Message) SetTradSesStatusRejReason added in v0.2.0

func (m *Message) SetTradSesStatusRejReason(v int)

func (*Message) SetTradingSessionID added in v0.2.0

func (m *Message) SetTradingSessionID(v string)

func (*Message) SetTradingSessionSubID added in v0.2.0

func (m *Message) SetTradingSessionSubID(v string)

func (*Message) SetUnsolicitedIndicator added in v0.2.0

func (m *Message) SetUnsolicitedIndicator(v bool)

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