{% extends 'base.html' %} {% block content %} {% if lstSimulations != [] %}
{% if err|length > 1 %}
{% endif %} {% for error in err %} {% endfor %} {% if doublons != 0 %} {% endif %}
{% for simulation in lstSimulations %}
Marché : {{ simulation['res']['market']}}
{% if not 'filename' in simulation %}

Simulation enregistré

{% else %}

{{ simulation['filename'] }}

{% endif %}
{% for symbol in simulation['res']['losses']|reverse %} {% if symbol == "USDT" %}
{{ symbol }} {{ simulation['res']['moneyLosses'][symbol]|round(2)|string }}₮ ({{ simulation['res']['losses'][symbol]|round(2)|string+"%" }})
{% elif symbol == "BTC" %}
{{ symbol }} {{ "{:.5f}".format(simulation['res']['moneyLosses'][symbol])|string }}₿ ({{ simulation['res']['losses'][symbol]|round(2)|string+"%" }})
{% endif %} {% endfor %} {% for symbol in simulation['res']['profits']|reverse %} {% if symbol == "USDT" %}
{{ symbol }} +{{ simulation['res']['moneyProfits'][symbol]|round(2)|string }}₮ ({{ simulation['res']['profits'][symbol]|round(2)|string+"%" }})
{% elif symbol == "BTC" %}
{{ symbol }} +{{ "{:.5f}".format(simulation['res']['moneyProfits'][symbol])|string }}₿ ({{ simulation['res']['profits'][symbol]|round(2)|string+"%" }})
{% endif %} {% endfor %} {% if simulation['res']['profits'] == {} and simulation['res']['losses'] == {} %} Aucun profit ou perte {% endif %}
Take Profit {{ simulation['params']['takeProfit'] }}
Stop Loss {{ simulation['params']['stopLoss'] }}
Indicateur {% if simulation['params']['indicatorSelect'] == "random"%} Aléatoire {% else %} {{ simulation['params']['indicatorSelect'] }} {% endif %}
Winrate {{ simulation['res']['winrate'] }}%

{% endfor %} {% if lstSimulations|length > 0 %}
{% endif %}
{% endif %} {% endblock %}