mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-14 12:13:57 +00:00
allow position ajustment if position open
This commit is contained in:
parent
584bbd93e0
commit
3d6e186b30
|
@ -717,7 +717,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 not trade.has_open_orders:
|
||||
if trade.has_open_position:
|
||||
# Do a wallets update (will be ratelimited to once per hour)
|
||||
self.wallets.update(False)
|
||||
try:
|
||||
|
|
Loading…
Reference in New Issue
Block a user