Click or drag to resize

TraderHelperUnSubscribeNews Method

Note: This API is now obsolete.

Unsubscribe from news.

Namespace:  StockSharp.Algo
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 5.0.0.0 (5.0.0)
Syntax
C#
[ObsoleteAttribute("Use ISubscriptionProvider.UnSubscribe method.")]
public static void UnSubscribeNews(
	this ISubscriptionProvider provider,
	Security security = null
)

Parameters

provider
Type: StockSharp.AlgoISubscriptionProvider
Subscription provider.
security (Optional)
Type: StockSharp.BusinessEntitiesSecurity
Security for subscription.

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