Click or drag to resize

StrategyHelperToTypeMessage Method

Namespace:  StockSharp.Algo.Strategies
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public static StrategyTypeMessage ToTypeMessage(
	this Type strategyType,
	long transactionId = 0
)

Parameters

strategyType
Type: SystemType
Strategy type.
transactionId (Optional)
Type: SystemInt64
ID of the original message TransactionId for which this message is a response.

Return Value

Type: StrategyTypeMessage
The message contains information about strategy type.

Usage Note

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