Click or drag to resize

ExtensionsGetLiquidation Method

To get the liquidation position.

Namespace:  StockSharp.InteractiveBrokers
Assembly:  StockSharp.InteractiveBrokers (in StockSharp.InteractiveBrokers.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
public static Nullable<int> GetLiquidation(
	this MyTrade trade
)

Parameters

trade
Type: StockSharp.BusinessEntitiesMyTrade
Own trade.

Return Value

Type: NullableInt32
The liquidation position. If the position does not exist then will be returned.

Usage Note

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