/* ============================================================================ MyTraderOS — Wave 3 pages (L0 completion) Auth forms · Onboarding · Connect wizard · Import & Sync · Settings · Insights · Unlock โหลดหลัง app.jsx (shared global scope · babel-standalone classic scripts) → อ้าง helper/state components/App จาก app.jsx ได้ตรง · render อยู่ท้ายไฟล์นี้ ทุกเลข/ลิสต์มาจาก mock API · client format/วาดเท่านั้น ============================================================================ */ /* ------------------------------------------------------ shared bits ------ */ function StepDots({ current, total }) { return
| {t("importsync.col_time")} | {t("importsync.col_symbol")} | {t("importsync.col_dir")} | {t("importsync.col_lots")} | {t("importsync.col_pnl")} | |
|---|---|---|---|---|---|
| {r.time ? fmtTime(r.time) : "—"} | {r.symbol} | {r.direction ? |
{r.lots == null ? "—" : r.lots.toFixed(2)} | {r.net_cents == null ? "—" : |
{t("importsync.row_status_" + r.status)} |
| {t("insights.col_bucket")} | {t("insights.col_trades")} | {t("insights.col_net")} | {t("insights.col_winrate")} |
|---|---|---|---|
|
{labelOf(b)}
= 0 ? "var(--profit)" : "var(--loss)" }} />
|
{b.trades} | {fmtPct(b.win_rate)} |