Click or drag to resize

TraderHelperUnSubscribeOrders Method

Note: This API is now obsolete.

Unsubscribe from orders changes.

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 UnSubscribeOrders(
	this ISubscriptionProvider provider,
	long originalTransactionId = 0
)

Parameters

provider
Type: StockSharp.AlgoISubscriptionProvider
Subscription provider.
originalTransactionId (Optional)
Type: SystemInt64
ID of the original message SubscribeOrders(ISubscriptionProvider, OrderStatusMessage) for which this message is a response.

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