Support Board
Date/Time: Sat, 15 Nov 2025 11:15:49 +0000
Trade Statistics not Reported accurately
View Count: 35
| [2025-11-14 18:50:08] |
| skalaydzhiyski - Posts: 96 |
|
Hi SC, I think I have found a problem in the Trade Activity Window on the Statistics Tab. The Closed Trades Profit/Loss value is wrong compared to what gets returned by sc.GetTradeStatisticsForSymbolV2(). Scenario I used to replicate this behaviour: 1. Have a simple automated trading system (in my case - crossover of bollinger bands study top -> go short/reverse, bottom -> long/reverse) 2. Strategy is evaluated on bar close only and I have allowed date range set to 14:35, 20:55. 3. IMPORTANT: run replay on 1 day with 100 000 speed (or even 50 000). 4. Observe trade stats from ACSIL and compare with trade stats from the Trade Activity Window. I see consistent discrepancy between the two when running very high replay speeds. I don't really care about the trade activity window because I use ACSIL for everything, but it's good to fix this or at least explain why it's happening. All the best |
| [2025-11-14 18:56:46] |
| Sierra_Chart Engineering - Posts: 21427 |
|
The Trade Activity Log uses a different Trades list as compared to the chart. So a discrepancy, during a high-speed replay, would not surprise us at all. It is outside the scope of our support to be analyzing exactly what is happening in your case. And also during a high-speed replay the Trade Activity Log is not going to be updating as often. So long as the settings are matching between the chart and the Trade Activity Log for the relevant settings, affecting the Trades list, they will be consistent after the replay is done. Sierra Chart Support - Engineering Level Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy: https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation For the most reliable, advanced, and zero cost futures order routing, use the Teton service: Sierra Chart Teton Futures Order Routing |
| [2025-11-14 19:07:50] |
| skalaydzhiyski - Posts: 96 |
|
Yes, this is why I was surprised because even after the replay was done, the Trade Stats window was still not updated to the right value. I have a workaround on my side though so I don't want to waste your time with investigating this, but can you please show me if there is a way to access trade statistics for a different chart using ACSIL ? sc.GetTradeStatsForChart(sc.ChartNumber), something like that ? I know I can do it using a persistent object etc. but there must be a better way than that... Date Time Of Last Edit: 2025-11-14 19:11:20
|
To post a message in this thread, you need to log in with your Sierra Chart account:
