Login Page - Create Account

Support Board


Date/Time: Tue, 01 Jul 2025 23:50:20 +0000



Post From: SIM (replay) sc.GetTradeListEntry() not returning trade info

[2024-09-12 11:37:37]
skalaydzhiyski - Posts: 75
Hi guys,

As part of my backtesting using market replay I need to track my closed trades, but for some reason sc.GetTradeListEntry() does not seem to return trade info while replaying charts in SIM.
I can see the trades in the Trade Activity, but when trying to retrieve them with sc.GetTradeListEntry() from ACSIL during replay (by retrieve I mean I get the tradelistsize() and iterate over it to get all trade entries) -> I get the right number of trades for which TradeType is correct (Long/Short), but not the quantity nor PNL, they both come out as 0...

Any ideas what I might be doing wrong ?
Date Time Of Last Edit: 2024-09-12 11:38:46