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
Methods
GenerateId(string, string)
Generate SecurityId security.
public virtual string GenerateId(string secCode, string boardCode)
Parameters
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
stringThe instrument identifier SecurityId.
nullIfInvalid
boolReturn null in case of
securityId
is invalid value.
Returns
- SecurityId
The instrument code SecurityCode and the board code BoardCode.