In status_command.py the inspect module is used (inspect.iscoroutinefunction - line 73) for checking whether the format_status function of the running strategy is a coroutine (async), which returns False if the strategy is implemented in Cython and causes an Exception to be thrown.
As discussed here the asyncio.iscoroutinefunction should be used for Cython support.
This PR replaces use of the inspect.iscoroutinefunction with asyncio.iscoroutinefunction to support strategies implemented in Cython.