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():
|
for trade in Trade.get_open_trades():
|
||||||
# If there is any open orders, wait for them to finish.
|
# If there is any open orders, wait for them to finish.
|
||||||
# TODO Remove to allow mul open orders
|
# 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)
|
# Do a wallets update (will be ratelimited to once per hour)
|
||||||
self.wallets.update(False)
|
self.wallets.update(False)
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user