mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-02-02 20:30:25 +00:00
update process_open_trade_positions to handle position adjustment for initial entry order (before filling)
This commit is contained in:
@@ -729,7 +729,7 @@ class FreqtradeBot(LoggingMixin):
|
||||
for trade in Trade.get_open_trades():
|
||||
# If there is any open orders, wait for them to finish.
|
||||
# TODO Remove to allow mul open orders
|
||||
if trade.has_open_position:
|
||||
if trade.has_open_position or trade.has_open_orders:
|
||||
# Do a wallets update (will be ratelimited to once per hour)
|
||||
self.wallets.update(False)
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user