tradingsessionstatus

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2016 License: Apache-1.1 Imports: 4 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"`
	fix44.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"`
	fix44.Trailer
}

Message is a TradingSessionStatus FIX Message

func New

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) SetEncodedText

func (m *Message) SetEncodedText(v string)

func (*Message) SetEncodedTextLen

func (m *Message) SetEncodedTextLen(v int)

func (*Message) SetText

func (m *Message) SetText(v string)

func (*Message) SetTotalVolumeTraded

func (m *Message) SetTotalVolumeTraded(v float64)

func (*Message) SetTradSesCloseTime

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

func (*Message) SetTradSesEndTime

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

func (*Message) SetTradSesMethod

func (m *Message) SetTradSesMethod(v int)

func (*Message) SetTradSesMode

func (m *Message) SetTradSesMode(v int)

func (*Message) SetTradSesOpenTime

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

func (*Message) SetTradSesPreCloseTime

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

func (*Message) SetTradSesReqID

func (m *Message) SetTradSesReqID(v string)

func (*Message) SetTradSesStartTime

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

func (*Message) SetTradSesStatus

func (m *Message) SetTradSesStatus(v int)

func (*Message) SetTradSesStatusRejReason

func (m *Message) SetTradSesStatusRejReason(v int)

func (*Message) SetTradingSessionID

func (m *Message) SetTradingSessionID(v string)

func (*Message) SetTradingSessionSubID

func (m *Message) SetTradingSessionSubID(v string)

func (*Message) SetUnsolicitedIndicator

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