Click or drag to resize

TraderHelperGetMatchedVolume Method

To calculate the implemented part of volume for order.

Namespace:  StockSharp.Algo
Assembly:  StockSharp.Algo (in StockSharp.Algo.dll) Version: (4.4.16)
public static decimal GetMatchedVolume(
	this Order order,
	IConnector connector,
	bool byOrder


Type: StockSharp.BusinessEntitiesOrder
The order, for which the implemented part of volume shall be calculated.
Type: StockSharp.BusinessEntitiesIConnector
The connection of interaction with trade systems.
Type: SystemBoolean
To check implemented volume by order balance (Balance) or by received trades. The default is checked by the order.

Return Value

Type: Decimal
The implemented part of volume.

Usage Note

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