OctoBot icon indicating copy to clipboard operation
OctoBot copied to clipboard

Octobot trying to cancel unseen orders

Open mertdogan opened this issue 3 years ago • 1 comments

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

  • OS : Windows
  • Python Version: 3.8.4 (python -V)
  • In case you are not using a binary version:
    • Branch: Master
    • Last Commit ID: ?

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:

  • What happened?
  • What did you expect to happen?

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-->


mertdogan avatar May 20 '21 06:05 mertdogan

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

valouvaliavlo avatar Nov 01 '21 19:11 valouvaliavlo