Login Page - Create Account

Support Board


Date/Time: Fri, 18 Oct 2024 05:19:20 +0000



Post From: DateTime of last Tick (Replaying)

[2014-12-21 19:37:05]
sbsierra - Posts: 71
I currently use sc.BaseDateTimeIn[sc.Index] to get the start time of the current bar.
Q:
Is there a way to get the DateTime of the last tick instead of the start time of the current bar. I need this to avoid trading during news times and it needs to be compatible / accessibel during replaying.

thanks.
bs.trader