Show the next trade's stop next to the daily target

Stop-enabled accounts show an amber "stop $X" beside the day target:
the day-1 net floor (live against realized P&L) or 2x a min-day's
target, mirroring exactly what the trade path will place — and nothing
when the next trade rides stopless.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Brandon Li
2026-09-11 20:24:44 -05:00
co-authored by Claude Fable 5
parent 6685a75864
commit 1bca441247
3 changed files with 37 additions and 2 deletions
+4
View File
@@ -56,6 +56,10 @@ export interface AccountState {
stage: number;
/** Next trading day's target, computed server-side. null when account is dead or config is missing. */
dailyTarget: { amount: number; path: 'first_day' | 'normal_day' | 'reduced_day' } | null;
/** Dollars the next trade may lose before its obfuscation stop fires.
* null = the next trade rides stopless (options off, big non-first day,
* or a make-back day after a loss). */
nextStop: number | null;
/** Actual profit target to hit — max(stage profit target, consistency realTarget = maxDay/consistency). */
effectiveProfitTarget: number | null;
/** Current cycle daily P&L — used for target calculations. */