Click or drag to resize

TraderHelperGetSecurityClassInfo Method

To get the instrument description by the class.

Namespace:  StockSharp.Algo
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: (4.4.16)
public static Tuple<Nullable<SecurityTypes>, string> GetSecurityClassInfo(
	this IDictionary<string, RefPair<SecurityTypes, string>> securityClassInfo,
	string secClass


Type: System.Collections.GenericIDictionaryString, RefPairSecurityTypes, String
Description of the class of securities, depending on which will be marked in the SecurityType and BoardCode.
Type: SystemString
Security class.

Return Value

Type: TupleNullableSecurityTypes, String
The instrument description. If the class is not found, then empty value is returned as instrument type.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDictionaryString, RefPairSecurityTypes, String. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also