Click or drag to resize

IStrategyServiceSubscribe Method

To subscribe for the strategy.

Namespace:  StockSharp.Community
Assembly:  StockSharp.Community (in StockSharp.Community.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
StrategySubscription Subscribe(
	Guid sessionId,
	long strategyId,
	bool isAutoRenew
)

Parameters

sessionId
Type: SystemGuid
Session ID.
strategyId
Type: SystemInt64
The strategy identifier.
isAutoRenew
Type: SystemBoolean
Is auto renewable subscription.

Return Value

Type: StrategySubscription
The strategy subscription.
See Also