Click or drag to resize

DerivativesHelperGetFutureInfo Method

To get the information about the futures from its name (underlying asset, expiration date, etc.).

Namespace:  StockSharp.Algo.Derivatives
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public static SecurityMessage GetFutureInfo(
	this string futureName,
	string optionCode,
	ExchangeBoard board
)

Parameters

futureName
Type: SystemString
The futures name.
optionCode
Type: SystemString
The option code.
board
Type: StockSharp.BusinessEntitiesExchangeBoard
Board info.

Return Value

Type: SecurityMessage
Information about futures.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type 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