Closed Drtikol22 closed 1 year ago
Hi, this is related to the connector. From what your screenshot shows, the hedge strategy cannot detect opened position. From my side, it also cannot detect open positions in gate_io_perpetual. I also tried using another strategy "perpetual market making" and it also cannot detect position in gate_io_perpetual connector. @cardosofede are you able to help to check if the gate_io_perp account positions is working?
The fix on gateio perpetual hedge has been added to development and will be available on release version 1.20.0
Describe the bug
There is a bug in the hedge strategy v 1.17 gate.io connector. When in value mode and HEDGE position mode the bot is not seeing the position on gate perp. The trade to do the hedge is calculated and performed correctly, but "status" shows position 0 and hedge value 0 after the trade is made. So the bot is thinking that the position is not hedged and performing the same trade again and again..
I also tested it with binance futures testnet and worked with no problems, so it looks its only gate.io specific problem.
Steps to reproduce
Release version
1.17.0
Type of installation
Docker
Attach required files
For some reason I cant find a log and config file containing this instance :/