Skip to content
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

Binance - Error calculating fee in quote: Could not find the exchange rate for BNB-USDT using the rate source binance rate oracle #6964

Open
rapcmia opened this issue Apr 11, 2024 · 0 comments

Comments

@rapcmia
Copy link
Contributor

rapcmia commented Apr 11, 2024

Describe the bug

When testing the XEMM script on development, we found this error occurred when taker market order is completed

2024-04-11 22:23:34,562 - 49854 - hummingbot.connector.markets_recorder - ERROR - Error calculating fee in quote: Could not find the exchange rate for BNB-USDT using the rate source binance rate oracle (please verify it has been correctly configured), will be stored in the DB as 0.
2024-04-11 22:23:34,568 - 49854 - hummingbot.connector.client_order_tracker - INFO - The SELL order x-XEKWYICXSLMUT615d2e67ab045c584 amounting to 10.00000000/10.00000000 LOOM has been filled.
2024-04-11 22:23:34,568 - 49854 - hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp": 1712845414.0, "order_id": "x-XEKWYICXSLMUT615d2e67ab045c584", "trading_pair": "LOOM-USDT", "trade_type": "TradeType.SELL", "order_type": "OrderType.MARKET", "price": "0.10248000", "amount": "10.00000000", "trade_fee": {"percent": "0", "percent_token": "BNB", "flat_fees": [{"token": "BNB", "amount": "0.00000127"}]}, "exchange_trade_id": "25508774", "exchange_order_id": "386600785", "leverage": 1, "position": "NIL", "event_name": "OrderFilledEvent", "event_source": "binance"}
2024-04-11 22:23:34,569 - 49854 - hummingbot.connector.markets_recorder - ERROR - Error calculating fee in quote: Could not find the exchange rate for BNB-USDT using the rate source binance rate oracle (please verify it has been correctly configured), will be stored in the DB as 0.
2024-04-11 22:23:34,575 - 49854 - hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp": 1712845414.0, "order_id": "x-XEKWYICXBLMUT615d2e67a955dc584", "base_asset": "LOOM", "quote_asset": "USDT", "base_asset_amount": "10.00000000", "quote_asset_amount": "1.0253000000000000", "order_type": "OrderType.MARKET", "exchange_order_id": "386600784", "event_name": "BuyOrderCompletedEvent", "event_source": "binance"}
2024-04-11 22:23:34,578 - 49854 - hummingbot.connector.client_order_tracker - INFO - BUY order x-XEKWYICXBLMUT615d2e67a955dc584 completely filled.
2024-04-11 22:23:34,578 - 49854 - hummingbot.core.event.event_reporter - EVENT_LOG - {"timestamp": 1712845414.0, "order_id": "x-XEKWYICXSLMUT615d2e67ab045c584", "base_asset": "LOOM", "quote_asset": "USDT", "base_asset_amount": "10.00000000", "quote_asset_amount": "1.0248000000000000", "order_type": "OrderType.MARKET", "exchange_order_id": "386600785", "event_name": "SellOrderCompletedEvent", "event_source": "binance"}
2024-04-11 22:23:34,581 - 49854 - hummingbot.connector.client_order_tracker - INFO - SELL order x-XEKWYICXSLMUT615d2e67ab045c584 completely filled.

Steps to reproduce

  1. Setup a v2 strategy and use binance as spot connector
  2. Setup a script where an market order filled

Release version

dev-1.27.0

Type of installation

Source

Attach required files

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant