refactor(execution): reuse payload helpers in runtime actions
This commit is contained in:
@@ -260,7 +260,6 @@ class ExecutionRuntimeActionsMixin(
|
||||
"leverage": position.leverage,
|
||||
"unrealized_pnl_usd": state.unrealized_pnl_usd,
|
||||
"position_pnl_percent": state.position_pnl_percent,
|
||||
"position_hold_seconds": state.position_hold_seconds,
|
||||
|
||||
**build_position_health_payload(state),
|
||||
"position_pressure": state.position_pressure,
|
||||
|
||||
Reference in New Issue
Block a user