{% extends "base.html" %}{% from "_macros.html" import table, csrf, page_head %} {% block title %}{{ u.username }}{% endblock %} {% block content %} {% set head_title %}{{ u.username }} {{ u.role }}{% if not u.active %} (inactive){% endif %}{% endset %} {{ page_head(head_title) }} {% include "_admin_nav.html" %}

{{ u.display_name }} · created {{ u.created_at|fmt }} · activity · all users

Strategy profiles

The Lab candidate whose paper signals this user sees on Strategy (recommendations only: nothing is sent to an exchange), one per sport and exchange. Each slot feeds the paper signals for its sport and exchange: Formula 1 through the session signals, other sports through the per-sport signals.

{% for s in slots %}{% endfor %}
Sport · exchangeProfile
{{ s.label }}{% if s.profile %}{{ s.profile.name }} · {% if s.profile.members %}blend of {{ s.profile.members|map(attribute='code')|join(', ') }}{% else %}{{ s.profile.strategy }} · {{ s.profile.settings.variant }}{% endif %}{% else %}none{% endif %}
{{ csrf() }}
{% if maker_summary %}

As maker

{{ maker_summary.markets }} markets · {{ maker_summary.bets }} bets against · staked {{ maker_summary.staked|money }} · EV {{ maker_summary.ev|money }} · worst case {{ maker_summary.worst|money }} · settled P&L {{ maker_summary.settled|money(true) }}

{{ table(book, ["id", "title", "fair_prob", "yes_price", "no_price", "status", "bets", "staked", "pnl_if_yes", "pnl_if_no", "ev"], {"id": ["/book/markets/", "id"]}) }}
{% endif %} {% if taker_summary %}

As taker

{{ taker_summary.bets }} bets ({{ taker_summary.open }} open) · staked {{ taker_summary.staked|money }} · settled P&L {{ taker_summary.pnl|money(true) }}

{{ table(bets, ["id", "created_at", "title", "maker", "side", "price", "stake", "payout", "status", "pnl"], {"title": ["/book/markets/", "market_id"]}) }}
{% endif %}

Activity

{% for e in activity %}{% endfor %}
WhenActionDetailIP
{{ e.ts|fmt }}{{ e.action }}{{ e.detail if e.detail else "" }}{{ e.ip or "" }}
{% endblock %}