securitytypes

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

Types

type Message

type Message struct {
	FIXMsgType string `fix:"w"`
	fixt11.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"`
	//TotNoSecurityTypes is a non-required field for SecurityTypes.
	TotNoSecurityTypes *int `fix:"557"`
	//LastFragment is a non-required field for SecurityTypes.
	LastFragment *bool `fix:"893"`
	//SecTypesGrp is a non-required component for SecurityTypes.
	SecTypesGrp *sectypesgrp.SecTypesGrp
	//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"`
	//MarketID is a non-required field for SecurityTypes.
	MarketID *string `fix:"1301"`
	//MarketSegmentID is a non-required field for SecurityTypes.
	MarketSegmentID *string `fix:"1300"`
	//ApplicationSequenceControl is a non-required component for SecurityTypes.
	ApplicationSequenceControl *applicationsequencecontrol.ApplicationSequenceControl
	fixt11.Trailer
}

Message is a SecurityTypes FIX Message

func New

func New(securityreqid string, securityresponseid string, securityresponsetype int) *Message

New returns an initialized SecurityTypes instance

func (Message) Marshal

func (m Message) Marshal() quickfix.Message

Marshal converts Message to a quickfix.Message instance

func (*Message) SetApplicationSequenceControl

func (m *Message) SetApplicationSequenceControl(v applicationsequencecontrol.ApplicationSequenceControl)

func (*Message) SetEncodedText

func (m *Message) SetEncodedText(v string)

func (*Message) SetEncodedTextLen

func (m *Message) SetEncodedTextLen(v int)

func (*Message) SetLastFragment

func (m *Message) SetLastFragment(v bool)

func (*Message) SetMarketID

func (m *Message) SetMarketID(v string)

func (*Message) SetMarketSegmentID

func (m *Message) SetMarketSegmentID(v string)

func (*Message) SetSecTypesGrp

func (m *Message) SetSecTypesGrp(v sectypesgrp.SecTypesGrp)

func (*Message) SetSecurityReqID

func (m *Message) SetSecurityReqID(v string)

func (*Message) SetSecurityResponseID

func (m *Message) SetSecurityResponseID(v string)

func (*Message) SetSecurityResponseType

func (m *Message) SetSecurityResponseType(v int)

func (*Message) SetSubscriptionRequestType

func (m *Message) SetSubscriptionRequestType(v string)

func (*Message) SetText

func (m *Message) SetText(v string)

func (*Message) SetTotNoSecurityTypes

func (m *Message) SetTotNoSecurityTypes(v int)

func (*Message) SetTradingSessionID

func (m *Message) SetTradingSessionID(v string)

func (*Message) SetTradingSessionSubID

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