{# §1256 Year-End Mark-to-Market table for /tax?view=performance #} {% if mtm_rows %}

§1256 Year-End Mark-to-Market

IRC §1256(a)(1) — open contracts at Dec 31
{% for m in mtm_rows %} {% endfor %}
Year Ticker Contract Basis FMV Unrealized LT (60%) ST (40%) Source
{{ m.tax_year }} {{ m.ticker }} {%- set parts = m.position_key.split("|") -%} {{ parts[1] }} {{ parts[3] }} {{ parts[2] }} ${{ "%.2f"|format(m.basis_before) }} ${{ "%.2f"|format(m.fmv) }} ${{ "%.2f"|format(m.unrealized_pnl) }} ${{ "%.2f"|format(m.long_term_portion) }} ${{ "%.2f"|format(m.short_term_portion) }} {%- if m.fmv_source == "yahoo_close" -%} Yahoo close {%- elif m.fmv_source == "black_scholes" -%} Black-Scholes {%- elif m.fmv_source == "intrinsic" -%} Intrinsic {%- else -%} missing {%- endif -%}

"Black-Scholes" or "missing" indicates an estimate that may differ from your 1099-B / Form 6781.

{% endif %}