{% extends "layout.html" %} {% set active_page = "config" %} {% import 'macros/tentacles.html' as m_tentacles %} {% import 'components/config/evaluator_card.html' as m_config_evaluator_card %} {% block body %}
{% if tentacle_desc %}

{{ name }} {% if tentacle_desc["activation"] %} Activated {% else %} Deactivated {% endif %}

{{ m_tentacles.tentacle_horizontal_description(tentacle_desc, tentacle_type=="strategy") }}

Configuration


{% if (tentacle_type == "trading mode" and tentacle_desc['requirements']|length > 1) or tentacle_desc['requirements'] == ["*"] %}

Compatible {{"strategies" if tentacle_type == "trading mode" else "evaluators"}}

{% if tentacle_type == "trading mode" %} {% for evaluator_name, info in strategy_config["strategies"].items() %} {% if evaluator_name in tentacle_desc['requirements'] %} {{ m_config_evaluator_card.tentacle_evaluator_card(evaluator_startup_config, evaluator_name, info, "evaluator_config") }} {% endif %} {% endfor %} {% else %}

Technical analysis

{% for evaluator_name, info in evaluator_config["ta"].items() %} {% if info["evaluation_format"] == "float" %} {{ m_config_evaluator_card.tentacle_evaluator_card(evaluator_startup_config, evaluator_name, info, "evaluator_config") }} {% endif %} {% endfor %}

Social analysis

{% for evaluator_name, info in evaluator_config["social"].items() %} {% if info["evaluation_format"] == "float" %} {{ m_config_evaluator_card.tentacle_evaluator_card(evaluator_startup_config, evaluator_name, info, "evaluator_config") }} {% endif %} {% endfor %}

Real time analysis

{% for evaluator_name, info in evaluator_config["real-time"].items() %} {% if info["evaluation_format"] == "float" %} {{ m_config_evaluator_card.tentacle_evaluator_card(evaluator_startup_config, evaluator_name, info, "evaluator_config") }} {% endif %} {% endfor %}
{% endif %}

{% endif %}

Test configuration {% if tentacle_desc["activation"] %} Ready to test {% else %} Activation required {% endif %}   Current trading mode: {{ activated_trading_mode.get_name() }}

{% if activated_trading_mode.is_backtestable() %}
{% if tentacle_desc["activation"] %} {% else %} Activate this {{ tentacle_type }} to test it {% endif %}
{% else %} {% endif %}

{% else %}

{{ name }}

Can't find any tentacle named {{ name }}
{% endif %} {% endblock %} {% block additional_scripts %} {% endblock additional_scripts %}