Best Practice Timezone Settings – Autotrader
Forums › ProRealTime English forum › ProOrder support › Best Practice Timezone Settings – Autotrader
- This topic has 2 replies, 2 voices, and was last updated 18 hours ago by
Iván.
-
-
04/28/2025 at 12:32 AM #246475
Hello Everyone,
Is there a recognised best practices setup with respect to Platform Time Zone settings and what you code w/in a system.
I’ll assume that if our platform is set to local time across all instruments (where we live), that we should adjust the code to marry.
For example, AUS AEST (non-DST) will have DAX open of 1600 in Melbourne AUS during EU CEST (DST).
Here we could use as an example;
DEFPARAM FlatBefore = 1600 //No ANYTHING before 08:00 CEST – ALL Flat, Zero Open, Pending Limit or Stop Orders – No Trades before 08:00 CEST
or;
TimeForbidden = OpenTime < 160000 OR OpenTime > 060000 //No ANYTHING BEFORE 8.00 Open or AFTER 22:00 Close
Curious as to whether it’s better to roll with platform local time across all instruments, convert time or set them individually within the platform or go with ‘actual’ open and close times for example and whether there’s gotchas in going one way of the other.
I know this seems a little rudimentary but it’s work in progress alongside Daylight savings roll, sorting that will then also allow for a closer look at triple witching times.
Going slow here but still going!
04/29/2025 at 12:31 AM #246503Came across this with a quick google-fu, will have a gander but if there’s any specific gotchas, feedback from the community is always welcome.
https://www.prorealcode.com/topic/pro-order-automatic-trading-time-zone/
04/29/2025 at 8:01 AM #246505It’s really as they say in the thread. For the backtesting and automated trading module, you must work with the hours defined in your platform.
It’s a different case for the proscreener module, where you must work with the time zone of the market you are scanning.1 user thanked author for this post.
-
AuthorPosts