securitystatus

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

Documentation

Overview

Package securitystatus msg type = f.

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:"f"`
	fix43.Header
	//SecurityStatusReqID is a non-required field for SecurityStatus.
	SecurityStatusReqID *string `fix:"324"`
	//Instrument is a required component for SecurityStatus.
	instrument.Instrument
	//Currency is a non-required field for SecurityStatus.
	Currency *string `fix:"15"`
	//TradingSessionID is a non-required field for SecurityStatus.
	TradingSessionID *string `fix:"336"`
	//TradingSessionSubID is a non-required field for SecurityStatus.
	TradingSessionSubID *string `fix:"625"`
	//UnsolicitedIndicator is a non-required field for SecurityStatus.
	UnsolicitedIndicator *bool `fix:"325"`
	//SecurityTradingStatus is a non-required field for SecurityStatus.
	SecurityTradingStatus *int `fix:"326"`
	//FinancialStatus is a non-required field for SecurityStatus.
	FinancialStatus *string `fix:"291"`
	//CorporateAction is a non-required field for SecurityStatus.
	CorporateAction *string `fix:"292"`
	//HaltReasonChar is a non-required field for SecurityStatus.
	HaltReasonChar *string `fix:"327"`
	//InViewOfCommon is a non-required field for SecurityStatus.
	InViewOfCommon *bool `fix:"328"`
	//DueToRelated is a non-required field for SecurityStatus.
	DueToRelated *bool `fix:"329"`
	//BuyVolume is a non-required field for SecurityStatus.
	BuyVolume *float64 `fix:"330"`
	//SellVolume is a non-required field for SecurityStatus.
	SellVolume *float64 `fix:"331"`
	//HighPx is a non-required field for SecurityStatus.
	HighPx *float64 `fix:"332"`
	//LowPx is a non-required field for SecurityStatus.
	LowPx *float64 `fix:"333"`
	//LastPx is a non-required field for SecurityStatus.
	LastPx *float64 `fix:"31"`
	//TransactTime is a non-required field for SecurityStatus.
	TransactTime *time.Time `fix:"60"`
	//Adjustment is a non-required field for SecurityStatus.
	Adjustment *int `fix:"334"`
	//Text is a non-required field for SecurityStatus.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for SecurityStatus.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for SecurityStatus.
	EncodedText *string `fix:"355"`
	fix43.Trailer
}

Message is a SecurityStatus FIX Message

func New

func New(instrument instrument.Instrument) *Message

New returns an initialized SecurityStatus instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetAdjustment

func (m *Message) SetAdjustment(v int)

func (*Message) SetBuyVolume

func (m *Message) SetBuyVolume(v float64)

func (*Message) SetCorporateAction

func (m *Message) SetCorporateAction(v string)

func (*Message) SetCurrency

func (m *Message) SetCurrency(v string)

func (*Message) SetDueToRelated

func (m *Message) SetDueToRelated(v bool)

func (*Message) SetEncodedText

func (m *Message) SetEncodedText(v string)

func (*Message) SetEncodedTextLen

func (m *Message) SetEncodedTextLen(v int)

func (*Message) SetFinancialStatus

func (m *Message) SetFinancialStatus(v string)

func (*Message) SetHaltReasonChar

func (m *Message) SetHaltReasonChar(v string)

func (*Message) SetHighPx

func (m *Message) SetHighPx(v float64)

func (*Message) SetInViewOfCommon

func (m *Message) SetInViewOfCommon(v bool)

func (*Message) SetInstrument

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

func (*Message) SetLastPx

func (m *Message) SetLastPx(v float64)

func (*Message) SetLowPx

func (m *Message) SetLowPx(v float64)

func (*Message) SetSecurityStatusReqID

func (m *Message) SetSecurityStatusReqID(v string)

func (*Message) SetSecurityTradingStatus

func (m *Message) SetSecurityTradingStatus(v int)

func (*Message) SetSellVolume

func (m *Message) SetSellVolume(v float64)

func (*Message) SetText

func (m *Message) SetText(v string)

func (*Message) SetTradingSessionID

func (m *Message) SetTradingSessionID(v string)

func (*Message) SetTradingSessionSubID

func (m *Message) SetTradingSessionSubID(v string)

func (*Message) SetTransactTime

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

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