{#- A data plugin's Connection (spec/plugin-pages-follow-their-role): notices, then "Key", "Limits and use", "Stream" and, from 0.32.0, "Sessions" (each session's latency; from 0.32.2 only once a session is measured, so a polled plugin's page has none), then, for a plugin holding connectivity too (457), connectivity's sections of `data.trading` beside them where the screen is wide enough, its key said once, then the vendor's sections. `data` is a meridian.roles.data.ConnectionRead, or the plugin's record extending it. -#} {% extends "meridian/base.html" %} {% import "meridian/roles/_rows.html" as om %} {% block content %} {% if data.mode == "No key" %} {{ om.next_step("No key yet", "Enter it in", "settings", "Settings") }} {% elif data.mode == "Sample data" %}
Connection {% if data.trading.badge == "Demo" %}{{ kit.badge("Demo", "good") }}{% elif data.trading.badge == "Live" %}{{ kit.badge("Live", "warn") }}{% else %}{{ kit.badge(data.trading.badge, "bad") }}{% endif %} The session reached {{ venue|default("the venue") }}'s {{ data.trading.reached_environment }} host; agents may place orders only on a Demo connection.
{% endif %} {% block vendor_notices %}{% endblock %} {% if data.trading %}