{% include "_traffic_light.html" with context %} {% if not options %}
No accounts available.
{% else %}

Per-account options for buying {{ ticker }}

{% for opt in options %}
{{ opt.account.display() }}
{% if opt.clean %} No wash sale {% else %} Wash trigger {% endif %}
Proposed basis
${{ "%.2f"|format(opt.proposed_basis|float) }}
{% if opt.total_disallowed > 0 %}
Disallowed loss rolled in
+${{ "%.2f"|format(opt.total_disallowed|float) }}
Adjusted basis on new lot
${{ "%.2f"|format(opt.adjusted_basis|float) }}
Matched losses
{% for m in opt.matches %} {% endfor %}
{{ m.loss_sale_date }} {{ m.loss_account }} {{ m.loss_ticker }} {{ m.matched_quantity }} ${{ "%.2f"|format(m.disallowed_loss|float) }} {{ m.confidence }}
{% else %}
Adjusted basis: ${{ "%.2f"|format(opt.adjusted_basis|float) }}
{% endif %}
{% endfor %}
{% endif %}