chore: align rpc message fields to use order_rate

This commit is contained in:
Matthias
2025-07-29 07:16:50 +02:00
parent 18c37b9b8f
commit f18472479a
2 changed files with 5 additions and 2 deletions

View File

@@ -56,7 +56,8 @@ class __RPCEntryExitMsgBase(RPCSendMsgBase):
quote_currency: str
leverage: float | None
direction: str
limit: float
limit: float # Deprecated, use order_rate instead
order_rate: float
open_rate: float
order_type: str
stake_amount: float
@@ -87,7 +88,6 @@ class RPCExitMsg(__RPCEntryExitMsgBase):
exit_reason: str | None
close_date: datetime
# current_rate: float | None
order_rate: float | None
final_profit_ratio: float | None
is_final_exit: bool