Scripts: Function for checking whether the market is open for trading at the moment by the current symbol

 

Function for checking whether the market is open for trading at the moment by the current symbol:

The function can be useful to not overload the server with trade requests at times when the market is closed for trading

Author: Anton Iaroshenko