securitytypes

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2016 License: Apache-1.1 Imports: 3 Imported by: 0

Documentation

Overview

Package securitytypes msg type = w.

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 Mesage type

Types

type Message

type Message struct {
	FIXMsgType string `fix:"w"`
	Header     fix43.Header
	//SecurityReqID is a required field for SecurityTypes.
	SecurityReqID string `fix:"320"`
	//SecurityResponseID is a required field for SecurityTypes.
	SecurityResponseID string `fix:"322"`
	//SecurityResponseType is a required field for SecurityTypes.
	SecurityResponseType int `fix:"323"`
	//TotalNumSecurityTypes is a non-required field for SecurityTypes.
	TotalNumSecurityTypes *int `fix:"557"`
	//NoSecurityTypes is a non-required field for SecurityTypes.
	NoSecurityTypes []NoSecurityTypes `fix:"558,omitempty"`
	//Text is a non-required field for SecurityTypes.
	Text *string `fix:"58"`
	//EncodedTextLen is a non-required field for SecurityTypes.
	EncodedTextLen *int `fix:"354"`
	//EncodedText is a non-required field for SecurityTypes.
	EncodedText *string `fix:"355"`
	//TradingSessionID is a non-required field for SecurityTypes.
	TradingSessionID *string `fix:"336"`
	//TradingSessionSubID is a non-required field for SecurityTypes.
	TradingSessionSubID *string `fix:"625"`
	//SubscriptionRequestType is a non-required field for SecurityTypes.
	SubscriptionRequestType *string `fix:"263"`
	Trailer                 fix43.Trailer
}

Message is a SecurityTypes FIX Message

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

type NoSecurityTypes

type NoSecurityTypes struct {
	//SecurityType is a non-required field for NoSecurityTypes.
	SecurityType *string `fix:"167"`
	//Product is a non-required field for NoSecurityTypes.
	Product *int `fix:"460"`
	//CFICode is a non-required field for NoSecurityTypes.
	CFICode *string `fix:"461"`
}

NoSecurityTypes is a repeating group in SecurityTypes

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