Trade.getpercentprofit() not including open long position

trade.getpercentprofit() not including open long position

That call retrieves the current profit on a specific trade, not the total change in equity from all trades.