{% extends "hedge/base.html" %} {% load static %} {% block hedge_page_title %}对冲对配置{% endblock %} {% block hedge_content %}
{{ stats.total }}
总对冲对
{{ stats.active }}
启用中
{{ stats.inactive }}
未启用
{% for pair in pairs %}
{{ pair.name }} {{ pair.hedge_method_display }} {% if pair.is_active %}启用中{% else %}未启用{% endif %}
{% if pair.is_active %} {% else %} {% endif %}

资产配置

多头资产 {{ pair.long_asset }}
对冲资产 {{ pair.hedge_asset }}
目标权重 {{ pair.target_long_weight }}% / {{ pair.target_hedge_weight }}%

相关性监控

当前相关性 {% if pair.current_correlation %}{{ pair.current_correlation }}{% else %}--{% endif %}
Beta {% if pair.current_beta %}{{ pair.current_beta }}{% else %}--{% endif %}
趋势 {% if pair.correlation_trend %} {% if pair.correlation_trend == 'up' %} {% elif pair.correlation_trend == 'down' %} {% else %}{% endif %} {% else %}--{% endif %}
{% if pair.hedge_ratio is not None %}

快照状态

对冲比例 {{ pair.hedge_ratio }}
对冲有效性 {{ pair.hedge_effectiveness }}%
调仓状态 {% if pair.rebalance_needed %}需要调仓{% else %}正常{% endif %}
{% if pair.rebalance_needed and pair.rebalance_reason %}
{{ pair.rebalance_reason }}
{% endif %}
{% endif %}
{% endfor %}
{% if not pairs %}
暂无对冲对配置
{% endif %} {% endblock %} {% block hedge_extra_js %} {% endblock %}