public method ClosedPosition.getBuySell

Overview

Gets the trade operation the position was opened by

Declaration

function getBuySell()
public String getBuySell();
public string getBuySell();

Returns

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

Details

Declared in ClosedPosition