Drakkar-Software / OctoBot

Open source crypto trading bot
https://www.octobot.cloud
GNU General Public License v3.0
3.24k stars 750 forks source link

Octobot trying to cancel unseen orders #1709

Closed mertdogan closed 1 year ago

mertdogan commented 3 years ago

Step 1: Have you search for this issue before posting it?

If you have discovered a bug in the bot, please search our issue tracker. If it hasn't been reported, please create a new issue.

Step 2: Describe your environment

Step 3: Describe the problem:

Describe the bug Octobot trying to cancel unseen orders at its orders list and binance. And after it can't find them, report log error.

Expected behavior image

Steps to reproduce:

  1. Configure and start octobot with real trading mode and dipanalysermode
  2. Wait for a while for octobot to start trade something.
  3. No everytime but sometimes octobot will report this error message as below

image

Observed Results:

Relevant code exceptions or logs:

image


<!--StartFragment-->
2021-05-20 03:42:20 | ERROR | CCXTExchange[binance] | Trying to cancel order with id 325517494 but order was not found
-- | -- | -- | --
2021-05-20 03:42:20 | WARNING | Trader[binance] | Failed to cancel order DASH/BTC \| BUY_LIMIT \| Price : 0.004968 \| Quantity : 0.025 \| State : filling \| id : 325517494
2021-05-20 03:42:17 | ERROR | CCXTExchange[binance] | Trying to cancel order with id 325517494 but order was not found
2021-05-20 03:02:24 | ERROR | TradeFactory | Trade with invalid trade time (0.0) from order: GRT/BTC \| BUY_LIMIT \| Price : 2.033e-05 \| Quantity : 7.0 \| State : closed \| id : 114392648
2021-05-20 03:01:29 | ERROR | CCXTExchange[binance] | Trying to cancel order with id 201913710 but order was not found
2021-05-20 03:01:29 | WARNING | Trader[binance] | Failed to cancel order OMG/BTC \| BUY_LIMIT \| Price : 0.000148 \| Quantity : 0.69 \| State : open \| id : 201913710

<br class="Apple-interchange-newline"><!--EndFragment-->
valouvaliavlo commented 2 years ago

Hi @mertdogan, This issue should be fixed in the last version. Can you confirm ?