fix: trade.id must be checked as int

fixes problem with psycopg3

closes #12451
This commit is contained in:
Matthias
2025-10-31 06:50:44 +01:00
parent 95f2cc0f88
commit 6b4318a801

View File

@@ -1011,7 +1011,7 @@ class RPC:
# Query for trade
trade = Trade.get_trades(
trade_filter=[
Trade.id == trade_id,
Trade.id == int(trade_id),
Trade.is_open.is_(True),
]
).first()