Unable to use D-man v4 (v2_market-making_dman_v4_multiple_pairs.py script) using kucoin perpetual.
Bot placed one side (for example buy) orders to OPEN position, get filled
then another (sell) order to OPEN filled, and instead of OPEN another position on exchange, bot closes 1. position with that.
history --verbose reported 2 orders to OPEN was filled,
status reported ACTIVE POSITION
exchange showing no position opened
after bot triggered to CLOSE position it stuck with OSError: Error submitting order HummingbotBCEUT60ebf137168fd839420bf096a: ret_code <300009> - No open positions to close.
Steps to reproduce
Clone and install latest dev branch
connect kucoin perpetual
(change exchange to kucoin_perpetual, pair, order levels and amount), candles exchange is default (candles_exchange = "binance_perpetual")
and start v2_market-making_dman_v4_multiple_pairs.py script
wait for 2 position OPEN
Actual:
history --verbose reported 2 orders to OPEN was filled,
status reported ACTIVE POSITION
exchange showing no position opened
after bot triggered to CLOSE position it stuck with OSError: Error submitting order HummingbotBCEUT60ebf137168fd839420bf096a: ret_code <300009> - No open positions to close.
Describe the bug
Unable to use D-man v4 (v2_market-making_dman_v4_multiple_pairs.py script) using kucoin perpetual.
stuck with
OSError: Error submitting order HummingbotBCEUT60ebf137168fd839420bf096a: ret_code <300009> -No open positions to close
.Steps to reproduce
Actual: history --verbose reported 2 orders to OPEN was filled,
stuck with
OSError: Error submitting order HummingbotBCEUT60ebf137168fd839420bf096a: ret_code <300009> -No open positions to close
.Release version
dev-1.24.0
Type of installation
Source
Attach required files
logs_dman4kucoinperp3.log kucoin-dmanv4.zip