{% extends "layout.html" %} {% set active_page = "community" %} {% import 'macros/tables.html' as m_tables %} {% macro top_table_card(items, item_name, table_name) -%}

{{ table_name }}

{% for item in items %} {{ m_tables.top_tr(item) }} {% endfor %}
# {{ item_name }} OctoBots
{%- endmacro %} {% macro col_elem_with_badge(title, badge, badge_color="unique-color-dark") -%}
{{ title }}
{{ badge }}
{%- endmacro %} {% block body %}
{% if can_get_metrics %}

OctoBot Community Community chat


Active OctoBots

{{ col_elem_with_badge("Total:", community_metrics['total_count']) }} {{ col_elem_with_badge("This month:", community_metrics['this_month'], badge_color="unique-color") }} {{ col_elem_with_badge("Last 6 months:", community_metrics['last_six_month']) }}


{{ top_table_card(community_metrics['top_pairs'], "Pair", "Top community traded pairs") }} {{ top_table_card(community_metrics['top_strategies'], "Tentacle", "Top community tentacles") }} {{ top_table_card(community_metrics['top_exchanges'], "Exchange", "Top community exchanges") }}
{% else %}

To be part of the OctoBot community, please enable OctoBot community data.

{% endif %}
{% endblock %} {% block additional_scripts %} {% endblock additional_scripts %}