{% extends "base.html" %} {% block title %}合约持仓{% endblock %} {% block content %}

合约持仓

{% for group in data.position_groups %}
{% for pos in group.positions %} {% endfor %}
交易对 数量 开仓均价 标记价格 未实现盈亏 杠杆
{{ pos.symbol or pos.pair }} {{ pos.symbol or pos.pair }}
{{ pos.positionAmt|float }} {{ pos.entryPrice|float|round(4) }} {{ pos.markPrice|float|round(4) }} {{ "%.2f"|format(pos.unRealizedProfit|float) }} {{ pos.leverage }}x
{% endfor %} {% if not data.position_groups %}
您当前没有任何合约持仓。
{% endif %}
{% endblock %}