{# Profile tab — per-account trading profile (Conservative / Active / Options). Mirrors the Density tab pattern: hosts an existing topbar control inside the drawer with a one-line explainer. Posts to /preferences just like the topbar profile switcher; profile_switcher_data() resolves accounts and current selections. Density is preserved on each write so changing profile here doesn't reset density. #}

Profile

Tunes which surfaces and columns show by default. Conservative hides advanced wash-sale views; Active is the default; Options adds premium-received and §1256 columns.

{% set _psd = profile_switcher_data() %} {% if _psd.show_switcher %}
Per account
{% for a in _psd.accounts %} {% set current = _psd.account_profiles.get(a.id, 'active') %}
{{ a.broker }}/{{ a.label }}
{% endfor %}
{% else %}

Import a CSV file to set up your first account, then profile preferences will appear here.

{% endif %}