Account calendar: reach probabilities, 2-payout horizon, outline cells, same-day payouts, real drawdown floors
- projectPerfectPath books each cycle's payout ON its final trading day and anchors ruin probabilities to the platform's real liquidation floor (Tradovate auto-liq) when reported, else the configured trailing drawdown with the maxLoss/$2,000 fallback - Account calendar shows the cumulative reach % on every projected day, caps the projection at two payouts ahead, and renders potential days as dashed outlines instead of shaded cells Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
52d51afebb
commit
9b2d823210
@@ -152,6 +152,11 @@ function collectFirmStats() {
|
||||
? cfg.trailingDrawdown!
|
||||
: Math.abs(cfg.maxLoss) > 0 ? Math.abs(cfg.maxLoss) : 2000,
|
||||
startHigh: highWater,
|
||||
// Tradovate reports the account's REAL liquidation
|
||||
// floor — anchor the trail there for exact room.
|
||||
startThreshold: autoLiqThreshold > 0
|
||||
? r2(autoLiqThreshold - cfg.accountSize)
|
||||
: undefined,
|
||||
},
|
||||
})
|
||||
.filter((p) => p.withdrawal !== undefined || p.payoutReady)
|
||||
|
||||
Reference in New Issue
Block a user