{# Sim result partial: the honest real-cost equity curve + metrics + timeline slider + state panel. The slider scrubs the per-day arrays embedded in #sim-data ENTIRELY client-side (no per-tick refetch); only a capital/period change re-fetches /paper/sim/run. There is NO cost/flat toggle — the cost is the MEASURED real per-coin spread (a fact, not a knob). When the measured artifact has not been precomputed yet we show a short 'precomputing' note (never a flat slider, never a 500). Bybit is the cockpit's only venue since Task 7a removed the legacy venue toggle. #}
honest backtest curve precomputing — check back after the nightly job (the precomputed replay is built
out-of-band by the fxhnt-backtest-refs Job).
measured real-cost curve precomputing — check back after the nightly job (the per-coin measured-cost
artifact is built out-of-band by fxhnt compare-measured-precompute).
real trading cost, per coin — fee + spread · avg drag {{ '%.2f'|format(cost_drag_bps / 100.0) }}%
{% else %}real trading cost, per coin — fee + spread · avg drag {{ '%.2f'|format(cost_drag_bps / 100.0) }}%
{% endif %} {% elif is_ibkr %}real trading cost — modeled nightly, not adjustable
{% endif %} {% endif %} {% if not measured_pending %} {% if n_points == 0 %}no simulated days for this period — pick a date range that overlaps the curve's history.
{% else %}| borrow rate | levered return | levered vol | Sharpe |
|---|---|---|---|
| {{ '%.2f'|format(r.rate_pct) }}%{% if r.is_current %} · current{% endif %} | {{ '%.1f'|format(r.ann_return_pct) }}%/yr | {{ '%.1f'|format(r.ann_vol_pct) }}% | {{ '%.2f'|format(r.sharpe) }} |
IBKR Pro USD ≈ 5.8% (<$100k) to ~5.3% ($100k–1M); Lite +1%; ~1–3% = institutional/portfolio margin. Charged on the borrowed (L−1) leg only. Same Sharpe as the base before financing — leverage adds return only below the break-even, and lowers Sharpe at any positive rate.
no live forward NAV recorded yet — the nightly track starts booking from T0 once the Bybit warehouse has data.
{% endif %}