{% if lots %} {% include "_lots_table.html" %} {% with paginated_view='lots', page=lots_page, total_pages=lots_total_pages, total_count=lots_total_count, rows_on_page=lots|length %} {% include "_ticker_pagination.html" %} {% endwith %} {% elif open_shorts %}
| Account | Contract | Opened | Qty short | Premium received | Cash secured | DTE |
|---|---|---|---|---|---|---|
| {{ s.account }} | {% if s.call_put == 'C' %}CALL{% else %}PUT{% endif %} ${{ "%g"|format(s.strike) }} ยท {{ s.expiry.strftime('%m/%d/%y') }} short | {{ s.opened_at if s.opened_at else "โ" }} | -{{ s.qty_short }} | +${{ "%.2f"|format(s.premium_received) }} | {% if s.call_put == 'P' %}${{ "%.0f"|format(s.cash_secured) }}{% else %}โ{% endif %} | {% if dte is not none %}{{ dte }}d{% else %}โ{% endif %} |