You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since a while it seems TR changed the body texts.. the words "limit" plus "buy" or "sell" might have change positions.
# Sell
elif (
(body.startswith("Verkauf") and not body.__contains__("Verkauf-Order abgelehnt"))
or body.startswith("Limit Verkauf zu")
or (body.startswith("Sell order") and not body.__contains__("Sell order declined"))
or body.startswith("Limit Sell order")
):
does not (any longer?) match to:
"body": "Sell Limit order executed for a price of 52.20 \u20ac per share\nProfit: \ufffc 2.15 %",
and the same for the other:
does not (any longer?) match to:
"body": "Buy Limit order executed for a price of 50.00 \u20ac per share",
Quick Fix:
sell part:
or body.startswith("Limit Sell order") or body.startswith("Sell Limit order")
buy part:
# Savings plan execution or normal buy
elif (
body.startswith("Sparplan ausgeführt")
or body.startswith("Kauf")
or body.startswith("Limit Kauf zu")
or body.startswith("Savings Plan executed")
or body.startswith("Buy order")
or body.startswith("Limit Buy order")
or body.startswith("Buy Limit order")
):
fee = 0
if (
body.startswith("Kauf") or body.startswith("Limit Kauf zu")
or body.startswith("Buy order") or body.startswith("Limit Buy order") or body.startswith("Buy Limit order")
):
Unfortunately there seems also now an additional "per share" in the body, which breaks again this:
Since a while it seems TR changed the body texts.. the words "limit" plus "buy" or "sell" might have change positions.
does not (any longer?) match to:
and the same for the other:
does not (any longer?) match to:
Quick Fix:
sell part:
or body.startswith("Limit Sell order") or body.startswith("Sell Limit order")
buy part:
Unfortunately there seems also now an additional "per share" in the body, which breaks again this:
To make it short: the instable "chaos TR API" seems to provide much more and endless fun ,-)
The text was updated successfully, but these errors were encountered: