public method ClosedPosition.getBuySell

Brief

Gets the trade operation the position was opened by

Declaration

protojavascriptjavacsharp
public getBuySell() : string

Returns

The method returns a string that represents the trade operation the position was opened by. 'B' for 'Buy' or 'S' for 'Sell'

Details

The possible return values are: B - Buy S - Sell

Declared in ClosedPosition

back