{% extends "base.html" %} {% from "_macros.html" import exec_badge %} {% block title %}Replay{% endblock %} {% block body %} {# ===== REPLAY: the RECORDED paper book of the selected venue, scrubbed day-by-day — same header/section/ badge skin as Overview + Paper. Forward-only and fixed (unlike the configurable Backtest); the scrubber + as-of book are the unique detail this page provides. PAPER-badged (it's the paper record). ===== #} {# Track switch — Naive (the recorded paper book, scrubbable positions) vs Levered shadow (the observe-only levered forward_nav curve, return-defined, no positions). Relative URLs only. #}
{% if track != 'levered' %} {# Venue switch — Bybit is the DEPLOY 4-edge fund (default), Binance is research/secondary. Relative URLs only. #} {% endif %}{% if track == 'levered' %}read-only · observe-only levered shadow · return-defined (no positions to scrub){% else %}read-only · scrub within the recorded period{% endif %} · configurable what-if → Backtest
{% if track == 'levered' %} {% if levered_days and levered_days >= 2 %}Levered shadow ({{ levered_days }} recorded day{{ '' if levered_days == 1 else 's' }}) — return-defined, so it has NO scrubbable positions. For the measured backtest curve see the levered Backtest.
{% else %}The levered shadow track just started (T0 frozen) — its recorded curve appears here as it accrues days. Meanwhile see the levered Backtest.
{% endif %} {% else %} {% if not hist %}no replay history yet — run fxhnt paper-backfill to build the equity series.
xsfunding (carry) is return-defined (live-only) — it has no scrubbable positions, so it's excluded from the position replay.