Hi, is there any way to specify, in the asset list, complex market hours i.e gaps within the day or different trading hours during different day of the week. Few example from my broker Oanda follows: Australia 200 : Mon - Fri 09:50 - 16:30; 17:10 - 07:00 Brent Crude Oil : Sun-Thu: 20:00 - 17:59, Thu-Fri: 20:00 - 16:59 (New York)
Something I can instantly think of is to simply add 5 more fields (one for each day of week) to your AL and get these values in the script through AssetStr ( https://zorro-project.com/manual/en/algovar.htm ). AssetStr for Monday,  for Tuesday, etc. You'll also have to write specific parsers for each asset and DOW using string functions ( https://zorro-project.com/manual/en/str_.htm ) and to be careful with switching to a correct asset within your script.
Re: Asset list - Market Column
#487330 9 hours ago9 hours ago