Cannot place reduce order in Paper trading

Bug info: 15/9/2024, 22:14:03
Bot error
Error: Cannot place reduce order. Position doesn’t exist or already closed

  • Bot URL → Gainium app
  • [Optional] Steps to reproduce →
  • Expected result →

Looks like an Error , the trade is still running,
I post it beacause is a Paper Trade Bot, dont match with the given several reasons(?) and maybe could help to see how to resolve this.

There could be several reasons:

  1. the user manually closed it on the exchange
  2. another bot closed it
  3. the exchange liquidated the position but the bot didn’t receive the notification
  4. Position exist but is less than what the bot is trying to close

(BTW Lucky error for now :slight_smile: )
thanks!


Long and short bots without hedge.

1 Like

Many thanks! I thougt hedge was not posible in Paper, probably this will fix others errors too