The Telegram bot doesn't display 'Coinbase' as the exchange and it seems it was intentionally left out due to an error in minimum_order_quote(). Reading the base_min_size in the response of the product API call fixes the issue and the bot
starts successfully. The orders are placed for both buy and sell, though there is another uncaught exception that exits the bot. It is related to _trading_data used before initialization which is out-of-scope of this change.
Partially Fixes #832
Type of change
Please make your selection.
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] This change requires a new dependency
[ ] Code Maintainability / comments
[ ] Code Refactoring / future-proofing
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.
Checklist:
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added pytest unit tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[x] I have checked my code and corrected any misspellings
Description
The Telegram bot doesn't display 'Coinbase' as the exchange and it seems it was intentionally left out due to an error in minimum_order_quote(). Reading the
base_min_size
in the response of the product API call fixes the issue and the bot starts successfully. The orders are placed for both buy and sell, though there is another uncaught exception that exits the bot. It is related to_trading_data
used before initialization which is out-of-scope of this change.Partially Fixes #832
Type of change
Please make your selection.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.
Checklist: