Support Board
Date/Time: Fri, 12 Dec 2025 00:18:53 +0000
Post From: order timestamp doesn't match the bar timestamp
| [2017-01-25 22:37:23] |
| onnb - Posts: 664 |
|
hi - in sim mode, I have a situation like this Order is submitted at the close of the bar - say sc.Index for this bar is 100 The timestamp of the new bar (index 101) is 9:48:06. The EntryDateTime of the order is 9:48:04 Usually we see that EntryDateTime is after bar 101's timestamp. So when calling GetContainingIndexForSCDateTime(EntryDateTime), it returns index 100 - I was expecting to get 101. Hope I am making sense - if not let me know. |
