Closed rxlxrxsx closed 1 year ago
This is an existing issue. I have addressed it on the Injective batch orders PR and merged the changes into this PR. This should be fixed now.
Still getting this issue on the latest commit 0f46fb7 using the steps provided above.
2023-03-14 09:41:41,039 - 3973 - hummingbot.connector.gateway.clob_spot.gateway_clob_spot.GatewayCLOBSPOT - WARNING - Failed to fetch trade updates for order BIJUT5f6de0e61a94de6bad9b4bb8f5c241eee85bfb0f87040. Error: cannot convert float NaN to integer
Traceback (most recent call last):
File "/Users/reiniersalazar/hbot-ca-dexalot/hummingbot/connector/exchange_py_base.py", line 976, in _update_orders_fills
trade_updates = await self._all_trade_updates_for_order(order=order)
File "/Users/reiniersalazar/hbot-ca-dexalot/hummingbot/connector/gateway/clob_spot/gateway_clob_spot.py", line 590, in _all_trade_updates_for_order
trade_updates = await self._api_data_source.get_all_order_fills(in_flight_order=order)
File "/Users/reiniersalazar/hbot-ca-dexalot/hummingbot/connector/gateway/clob_spot/data_sources/injective/injective_api_data_source.py", line 449, in get_all_order_fills
updated_at=int(in_flight_order.last_update_timestamp * 1e3)
ValueError: cannot convert float NaN to integer
Logs and config: injective.zip
Summary and Screenshots
Getting this error when restarting a strategy using Injective.
Steps To Reproduce
Test Result Comparison
I tried replicating this on the foundation repository however I encountered an issue which further blocks testing.
Attachments
Logs and config: inective_315.zip