{% set active_page = 'sim' %} {% extends "base.html" %} {% block title %}Sim · net-alpha{% endblock %} {% block content %}

Simulate a trade

{% if harvest_mode and ticker and qty %}
Harvest mode
Pre-filled to sell {{ qty }} {{ ticker }} {% if price_hint %}at the current quote ${{ price_hint }}{% endif %}. Hit Run sim to preview realized P&L, FIFO lot consumption, and any wash-sale traps before placing the harvest.
{% endif %}
{# Each column is a flex-col with a fixed-height label, a fixed-height input row, and helper text below. items-start + matched heights keep the inputs on the same horizontal baseline regardless of helper-text presence. #}
{# Hidden select carries the form value; Alpine keeps it in sync via x-model. #}
{% for t in tickers %}

Symbol exactly as it appears on your statement.

Shares for stock; contracts for options.

{% if not price_hint and ticker %}

No quote available — enter manually.

{% endif %}
{# Phase 3 review C3: sim form errors target this div via HTMX OOB swap. #}

When the trade would settle.

{% include "_sim_recents.html" %} {% endblock %}