New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/make dexalot api key optional #6271
Feat/make dexalot api key optional #6271
Conversation
This reverts commit 5946642.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make the change requested to the warning
@@ -259,6 +260,7 @@ def quantize_order_amount(self, trading_pair: str, amount: Decimal, price: Decim | |||
|
|||
# Add 1% as a safety factor in case the prices changed while making the order. | |||
if notional_size < trading_rule.min_notional_size * Decimal("1.01"): | |||
self.logger().warning("Quantizing order amount to 0 because order notional value is not up to expected minimum notional value.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please replace with:
self.logger().warning(f"Quantizing order amount to 0 because order notional value is below {trading_rule.min_notional_size} market minimum notional value.")
Latest commit: a9d45c4 Got in issue at the start of the HB instance Steps to reproduce:
|
@vic-en I'm not sure this is working as expected Steps: Test performed:
|
@nikspz sorry about that. I updated it again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vic-en fixed
Test performed:
- Cloned and installed feature branch
- Connected dexalot without dexalot_API_key successfully
- Created/started strategies using AVAX-USDC, WETH.E-USDC, BTC.B-USDC successfully
- Order cancellation: ok
- Status --live and order_book --live sync with the exchange
- Filled order events: ok
- CSV, Sqlite, history matched with the exchange
- connected dexalot using dexalot_API_key successfully
- Created docker image manually successfully
Before submitting this PR, please make sure:
A description of the changes proposed in the pull request:
This pr deprecates Dexalot's api key.
[ch39631]
Tests performed by the developer:
Tips for QA testing: