MarketHours.IsOpened() seem to be broken
Created at 23 Dec 2019, 10:32
MarketHours.IsOpened() seem to be broken
23 Dec 2019, 10:32
On Sunday morning I run this code:
var symbol = Symbols.GetSymbol("CHFJPY");
if (symbol.MarketHours.IsOpened()){
PlaceOrder(...)...
}
And IsOpened() method returns True, which lead the bot to try to place order with obvious error message "Market is closed".
I think before 3.7 update this code was working just fine.
Can it be fixed please?
PanagiotisCharalampous
27 Dec 2019, 11:29
Hi chernish2,
Can you tell us the broker you are using?
Best Regards,
Panagiotis
Join us on Telegram
@PanagiotisCharalampous