Login Page - Create Account

Support Board


Date/Time: Tue, 26 Aug 2025 07:18:15 +0000



Post From: TAL PnL Error

[2025-08-16 07:25:22]
Gradient - Posts: 176
Hi,

My system tracks the PnL and Max PnL via below:

  n_ACSIL::s_TradeStatistics TradeStatistics;
  if (sc.GetTradeStatisticsForSymbolV2(n_ACSIL::STATS_TYPE_DAILY_ALL_TRADES, TradeStatistics))
  {

     pnlTotal= TradeStatistics.ClosedTradesProfitLoss;
     tradePnL= TradeStatistics.LastTradeProfitLoss;
     maxPnL= TradeStatistics.MaximumRunup;
  }

These values are stored in subgraphs and used for risk management purposes.

I noticed that the TradeStatistics.MaximumRunup isn't retaining the intraday maximum runup of which is circumventing my risk management system.(e.g. intraday drawdown 3x threshold)

The TradeStatistics.ClosedTradesProfitLoss is at times greater than the TradeStatistics.MaximumRunup.

The attached screenshots display the issue. In the second the Equity Peak is listed as $2935 but the MaxPnL listed in the first screenshot is $1437.50 of which is smaller than the PnL (i.e.ClosedTradesProfitLoss);

Can someone advise concerning this? Thanks
imagePnL Error.png / V - Attached On 2025-08-16 07:14:07 UTC - Size: 6.41 KB - 21 views
imagePnL Error 2.png / V - Attached On 2025-08-16 07:14:13 UTC - Size: 19.53 KB - 20 views