{% if not all_violations %}
No violations in this period.
{% else %} {% for v in all_violations %} {% endfor %}
Loss date Ticker Buy date Account(s) Disallowed Confidence
{{ v.loss_sale_date }} {{ v.ticker }} {{ v.triggering_buy_date or "-" }} {% if v.loss_account and v.buy_account and v.loss_account != v.buy_account %} {{ v.loss_account }} {{ v.buy_account }} {% else %} {{ v.loss_account or v.buy_account or "-" }} {% endif %} ${{ "%.2f"|format(v.disallowed_loss) }} {{ v.confidence }}
{% endif %}