We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ff7e0f commit 7b21effCopy full SHA for 7b21eff
investing_algorithm_framework/services/trade_service/trade_service.py
@@ -902,7 +902,6 @@ def get_triggered_take_profit_orders(self):
902
take_profit = take_profit_que.dequeue()
903
take_profit_sell_amount = take_profit.get_sell_amount()
904
905
-
906
if take_profit_sell_amount <= available_amount:
907
available_amount = available_amount - \
908
take_profit_sell_amount
0 commit comments