Skip to content

Commit

Permalink
fix Sl ="
Browse files Browse the repository at this point in the history
  • Loading branch information
AdoNunes committed Aug 20, 2024
1 parent c548660 commit 632a475
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions DiscordAlertsTrader/message_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@ def make_order_exits(order, msg, str_prt, asset):
order["PT2"] = pt2_v
order["PT3"] = pt3_v
order["SL"] = sl_v

if order["SL"] == "":
order["SL"] = None

exits = ["PT1","PT2","PT3","SL"]
for ext in exits:
Expand Down

0 comments on commit 632a475

Please sign in to comment.