NT version 8 Beta
I am new to NT and I am migrated an existing strategy across from another platform, I have a few questions regarding the Trading Hours feature.
Managing Trading Hours from Platform
I noticed I can set up a template for custom sessions, if I assign the Trading hours template to a Data Series for an instrument and then assign this to a chart am I correct that the data feed stops outside trading hours and any strategy assigned to the chart will also stop trading?
Am I correct that this will close open positions if set to true in the Order Handling group in the strategy properties?
Will the strategy re-commence trading during trading hours?
Managing Trading Hours With Code
I found that I can get a list of Trading sessions from the TradingHours object by getting a template by name, I can then iterate the sessions and do a date-time compare to decide if the strategy should trade.
If managing the trading hours through the platform is possible then what are the benefits of managing the logic through code? more control?
Hope you can help.
Regards,
Paul.
Comment