This PR addresses UX issues with using hummingbot_quickstart.py and a Gateway-reliant strategy
Link to PR: https://github.com/hummingbot/hummingbot/pull/5490
A description of the changes proposed in the pull request:
hummingbot_quickstart.py will now not require a confirmation prompt when starting a gateway-required strategyStartCommand now waits for the gateway service to be ONLINE before initialising a gateway-required strategy.Tests performed by the developer:
HummingbotApplication that will be used to determine if confirmation prompt is necessaryStartCommand class to do additional preliminary checks to ensure that Gateway service is ONLINE.GatewayStatusMonitor to help with the above checks.GatewayStatus Enum. ONLINE is now used to indicate that the Hummingbot client is able to receive a response from the Gateway Service, while OFFLINE is used to indicate otherwise.Tips for QA testing:
hummingbot_quickstart.py with a gateway-supported strategy would no longer be blocked by the confirmation prompt.start the bot, will still require confirmation from the user.