Table of Contents

Class SecurityIdGenerator

Namespace
StockSharp.Messages
Assembly
StockSharp.Messages.dll

The instrument identifiers generator SecurityId.

public class SecurityIdGenerator
Inheritance
SecurityIdGenerator
Inherited Members
Extension Methods

Constructors

SecurityIdGenerator()

public SecurityIdGenerator()

Properties

Delimiter

The delimiter between the instrument code and the class.

public string Delimiter { get; set; }

Property Value

string

Methods

GenerateId(string, string)

Generate SecurityId security.

public virtual string GenerateId(string secCode, string boardCode)

Parameters

secCode string

Security code.

boardCode string

Board code.

Returns

string

SecurityId security.

Split(string, bool)

To get instrument codes and boards by the instrument identifier.

public virtual SecurityId Split(string securityId, bool nullIfInvalid = false)

Parameters

securityId string

The instrument identifier SecurityId.

nullIfInvalid bool

Return null in case of securityId is invalid value.

Returns

SecurityId

The instrument code SecurityCode and the board code BoardCode.