# Practical Dashboard Upgrade Report - 2026-06-07

## What Changed

Created a new practical dashboard focused on immediate trading decisions:

`/Users/jangbogeun/Documents/Codex/2026-06-06/2/outputs/trading_order_dashboard.html`

The old command center remains available as a long reference dashboard:

`/Users/jangbogeun/Documents/Codex/2026-06-06/2/outputs/account_growth_command_center.html`

## New Practical Flow

1. `live_account_state.json` is the single local state source.
2. `trading_order_dashboard.html` reads that state every 30 seconds over HTTP.
3. Automations have been updated to also refresh the dashboard summary state after producing Kakao summaries.
4. Kakao sender now prefers `KAKAO_DASHBOARD_URL` / `DASHBOARD_PUBLIC_URL` / `KAKAO_LINK_URL` before falling back to Yahoo Finance.

## Current Dashboard Focus

The practical dashboard now shows:

- current action verdict,
- account totals vs starting capital,
- cash/SOXL readiness,
- what to do now,
- what is forbidden,
- position-level order plan,
- T1/T2 prices,
- estimated KRW profit at T1/T2,
- invalidation price,
- estimated KRW loss at invalidation,
- Kakao 6-line summary.

## Current Position Order Plan

| Ticker | Action | T1 | T1 Est. KRW | T2 | Invalid |
|---|---|---:|---:|---:|---:|
| NASA | 반등 시 20-30% 축소 | 35.75 | +2,746,753 | 39.00 | 31.00 |
| RDW | 반등 시 20-30% 축소 | 19.75 | +2,010,977 | 22.00 | 17.50 |
| MU | 반등 품질 약하면 일부 축소 | 915.00 | +1,237,017 | 985.00 | 830.00 |
| AAOI | 정리 우선 | 190.00 | +325,036 | 205.00 | 165.00 |
| AMD | 유지 또는 소폭 축소 | 482.50 | +728,682 | 510.00 | 440.00 |
| MRVL | 강하면 홀드 | 290.00 | +628,132 | 305.00 | 260.00 |
| GNTA | 정리 가능 | 2.05 | +88,067 | 2.30 | 1.75 |

## Server Status

Verified in approved local environment:

- `http://127.0.0.1:8767/trading_order_dashboard.html` returned HTTP 200.
- `live_account_state.json` returned `RECOVERY`, 7 orders, and valid order data.

Same-Wi-Fi phone URL currently written to:

`/Users/jangbogeun/Documents/Codex/2026-06-06/2/outputs/dashboard_link.local.txt`

## Remaining Requirement For Anywhere Access

Kakao 상세보기 cannot use localhost or file URLs.

For phone access outside the same Wi-Fi, set up one public path:

1. Cloudflare Tunnel to this local server, or
2. a hosted dashboard plus cloud state store, or
3. another private tunnel/VPN style URL.

After getting a public URL, save it with:

```bash
python3 /Users/jangbogeun/Documents/Codex/2026-06-06/2/outputs/set_kakao_dashboard_url.py "https://YOUR_PUBLIC_URL/trading_order_dashboard.html"
```
