Click or drag to resize

TraderHelperLookupOrders Method (ISubscriptionProvider, OrderStatusMessage)

Note: This API is now obsolete.

To find orders that match the filter criteria. Found orders will be passed through the event NewOrder.

Namespace:  StockSharp.Algo
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: 5.0.0.0 (5.0.0)
Syntax
C#
[ObsoleteAttribute("Use ISubscriptionProvider.Subscribe method.")]
public static Subscription LookupOrders(
	this ISubscriptionProvider provider,
	OrderStatusMessage criteria
)

Parameters

provider
Type: StockSharp.AlgoISubscriptionProvider
Subscription provider.
criteria
Type: StockSharp.MessagesOrderStatusMessage
The order which fields will be used as a filter.

Return Value

Type: Subscription
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