CoinAlpha / hummingbot

Hummingbot is open source software that helps you build trading bots that run on any exchange or blockchain
https://www.hummingbot.org
Apache License 2.0
168 stars 81 forks source link

Polkadex Connector - Order showing as failed when successfully placed #371

Open mt-gareth opened 11 months ago

mt-gareth commented 11 months ago

Describe the bug

When using the polkadex connection I will often get orders that show in Hummingbot as failed to place, but when i look on Polkadex they are placed. The happens more often when I am placing many orders at once such as with fixed_grid strategies. For example I have a grid that should place 9 orders, and usually only 5-6 show as successful in Hummingbot but can see all 9 in Polkadex. I notice this on other strategies but it is much less often. I think this is an issue with the Polkadex server not responding fast enough, but I wonder if there is a way to do a check on a failed response if that order does exist on the orderbook.

Steps to reproduce

  1. Connect to Polkadex
  2. Start a strategy that requires multiple orders placed at once like fixed_grid
  3. Watch logs, and check status to confirm that Orders match up with those on Polkadex.

Release version

1.20

Type of installation

Source

Attach required files

No response