Login Page - Create Account

Support Board


Date/Time: Mon, 03 Nov 2025 06:44:54 +0000



Post From: Inconsistent results with GetNearestMatchForSCDateTime

[2025-11-01 16:20:19]
skalaydzhiyski - Posts: 86
Hi SC,

I just want to report some incosistency I found with sc.GetNearestMatchForSCDateTime when used with high replay speeds (anything above 120) and fast update interval (15 ms). Basically it gives back the wrong index for the xame exact SCDAteTime

Logs below for 120x speed replay, accurate trading system back test mode, 15 ms update interval, bar period 1 min

2025-11-01 16:23:24.982 | Chart: Replay 120X: ESZ25-CME [CBV][M] 1 Min | Study: Indicator_OrderFills | dt, index -> 2025-10-31 15:22:40.945, 202 | Number times message added: 33
2025-11-01 16:23:25.113 | Chart: Replay 120X: ESZ25-CME [CBV][M] 1 Min | Study: Indicator_OrderFills | dt, index -> 2025-10-31 15:22:40.945, 203

I would love to know how to work around this or how to resolve it.


All the best,
Spas
Date Time Of Last Edit: 2025-11-01 16:24:03