• © Goverland Inc. 2026
  • v1.0.8
  • Privacy Policy
  • Terms of Use
Pull Request ProposalsPull Request Proposalsby0xfbaefbAF0700F06bbE064acb4a0fe75Dd6F48fa20xfbae…8fa2

Fixes bug of async call in status command from Cython

Voting ended over 3 years agoFailed

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.

PR: https://github.com/hummingbot/hummingbot/pull/5421

Off-Chain Vote

For
24.68K HBOT100%
Against
0 HBOT0%
Abstain
0 HBOT0%
Quorum:50%
Download mobile app to vote

Timeline

Jun 19, 2022Proposal created
Jun 19, 2022Proposal vote started
Jun 26, 2022Proposal vote ended
Oct 26, 2023Proposal updated