Login Page - Create Account

Support Board


Date/Time: Tue, 13 May 2025 15:07:32 +0000



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

[2024-09-12 11:37:37]
skalaydzhiyski - Posts: 71
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