{% extends "base.html" %} {% block title %}Gestion des Ordres - Bolsa{% endblock %} {% block header_title %}Gestion des ordres{% endblock %} {% block content %}
Suivi et historique des ordres de bourse par société.
| {{ groupe.isin }} --- {{ groupe.company_name }} ( {{ groupe.ticker }} ) | |||||||||||||||
| Date | Qté | Prix Brut | Frais | Prix Net | Eng. Brut | Eng. Net | Ordre | Type | État | ||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ p.date_op }} | {{ "{:,.0f}".format(p.quantite).replace(",", " ") }} | {{ "{:,.3f}".format(p.prix_brut) }} | {{ "{:,.3f}".format(p.frais) }} | {{ "{:,.3f}".format(p.prix_net) }} | {{ "{:,.3f}".format(p.eng_brut) }} | {{ "{:,.3f}".format(p.eng_net) }} | {{ p.ordre | upper }} | {{ p.type_ordre }} | {{ p.etat }} | ||||||
| TOTAL : | {{ "{:,.0f}".format(groupe.total_quantite).replace(",", " ") }} | {% if groupe.total_quantite != 0 %} {% set total_prix_net_moyen = (groupe.total_eng_net / groupe.total_quantite) | abs %} {% set total_prix_brut_moyen = (groupe.total_eng_brut / groupe.total_quantite) | abs %} {% set total_frais_moyen = (total_prix_net_moyen - total_prix_brut_moyen) | abs %}{{ "{:,.3f}".format(total_prix_brut_moyen) }} | {{ "{:,.3f}".format(total_frais_moyen) }} | {{ "{:,.3f}".format(total_prix_net_moyen) }} | {{ "{:,.3f}".format(groupe.total_eng_brut | abs) }} | {{ "{:,.3f}".format(groupe.total_eng_net | abs) }} | {% else %}- | - | - | {{ "{:,.3f}".format(groupe.total_eng_brut | abs) }} | {{ "{:,.3f}".format(groupe.total_eng_net | abs) }} | {% endif %}||||
| Aucun ordre trouvé pour cette société. | |||||||||||||||