dev #9

Merged
Arsen Mirzaev Tatyano-Muradovich merged 30 commits from Alex/stcs:dev into stable 2025-10-06 21:33:57 +07:00
75 changed files with 8198 additions and 4381 deletions
Showing only changes of commit 4f2ce0c1a4 - Show all commits

View File

@@ -382,6 +382,12 @@ async def open_positions(
take_profit_price = max(take_profit_price, 0)
stop_loss_price = max(stop_loss_price, 0)
if take_profit_price < price_symbol:
take_profit_price = None
if stop_loss_price > price_symbol:
stop_loss_price = None
# Place order
order_params = {
"category": "linear",
"symbol": symbol,