Click or drag to resize

TraderHelperUnSubscribeMarketData Method (ISubscriptionProvider, MarketDataMessage)

To unsubscribe from getting market data.

Namespace:  StockSharp.Algo
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 5.0.0.0 (5.0.0)
Syntax
C#
public static void UnSubscribeMarketData(
	this ISubscriptionProvider provider,
	MarketDataMessage message
)

Parameters

provider
Type: StockSharp.AlgoISubscriptionProvider
Subscription provider.
message
Type: StockSharp.MessagesMarketDataMessage
The message that contain unsubscribe info.

Usage Note

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