feat: show max-hold session countdown

This commit is contained in:
2026-08-03 23:55:30 +02:00
parent 3a6900d45a
commit d431ee283d
5 changed files with 142 additions and 4 deletions
+4
View File
@@ -53,3 +53,7 @@ class PaperTradeResponse(BaseModel):
# when the trailing exit policy is active.
trailing_stop: float | None = None
trailing_distance_pct: float | None = None
# Trading sessions represented by post-entry OHLCV bars. These are populated
# only while the active exit policy has a max-hold rule.
sessions_held: int | None = None
sessions_remaining: int | None = None