{% extends "base.html" %}{% from "_macros.html" import empty, pnl_cls, bar, pct, venue_chips, chart, csrf, flash, edge_cell, source_note %} {% block title %}{{ info.title }}{% endblock %} {% block content %}

Markets › {{ info.sport }}{% if info.season %} › {{ info.season }}{% endif %}{% if info.event_id %} › event page{% endif %}

{{ info.title }} {% if info.status %}{{ info.status|replace('_', ' ') }}{% endif %}

{{ info.name or "" }}{% if info.start_date %} · {{ info.start_date|fmt }}{% endif %}{% if countdown and not completed %} · {{ countdown }}{% endif %}

{{ flash(msg) }}
Our fair values
{{ pricing.source }}
{% if pricing.run_id %}run #{{ pricing.run_id }}{% endif %}{% if pricing.as_of is not none %} · as of {{ pricing.as_of|fmt }}{% endif %}{% if pricing.cadence %} · {{ pricing.cadence }}{% endif %}{% if pricing.stale %} · stale: not updated since {{ pricing.stale.stage }}{% endif %}{% if calibration == "baseline" %} · baseline prices{% endif %}
{% if fav %}
{{ "Favourite" if not season else "Leader" }}
{{ fav.subject }}
{{ pct(fav.fair, 1) }} {{ fav.kind_label|lower }}{% if fav.pm_mid is not none %} · market {{ pct(fav.pm_mid, 1) }}{% endif %}
{% endif %} {% if winner %}
Result
{{ winner.subject }}
we had {{ pct(winner.fair, 1) }}{% if winner.pm_mid is not none %} · Polymarket {{ pct(winner.pm_mid, 1) }} at the same time{% endif %}{% if kalshi and winner.venues and winner.venues.kalshi and winner.venues.kalshi.mid is not none %} · Kalshi {{ pct(winner.venues.kalshi.mid, 1) }}{% endif %}
{% endif %}
Venues
{{ venue_chips(venue_sum, mine) }}
My book here
{{ mine.open }}
open markets · staked {{ mine.staked|money(false, false) }} · worst {{ mine.worst|money(false, false) }}
{{ source_note(info.competition, venue_sum|selectattr("listed")|list, pricing.run_id, pricing.as_of, model=(pricing.run_id is not none or pricing.as_of is not none)) }} {# --- one view at a time: each market type, the chart, the season strategy, the classification, quoting --- #} {% for kind, label, rows_ in groups %} {% endfor %} {% if charts %}{% endif %} {% if strategy is defined and strategy %}{% set st = strategy %} {% endif %} {% if results %}{% endif %} {% endblock %}