public method ClosedPosition.getBuySellGets the trade operation the position was opened by
Declaration
protojavascriptjavacsharppublic 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'
The possible return values are: B - Buy S - Sell
Declared in ClosedPosition