{% extends "base.html" %} {% load static %} {% block title %}Beta 闸门配置 - AgomTradePro{% endblock %} {% block extra_css %} {% endblock %} {% block content %}

🚪 Beta 闸门配置

基于 Regime 和 Policy 的资产可见性过滤 - 确保不在错误的宏观环境中下注

资产测试 配置管理 {% if active_config %} 编辑当前配置 {% else %} 创建配置 {% endif %}
{% if error %}
{{ error }}
{% endif %} {% if active_config %}
📊 Regime 约束
当前生效
当前 Regime
{{ active_config.regime_constraint.current_regime|default:"未知" }}
置信度
{{ active_config.regime_constraint.confidence|floatformat:2 }}%
可见资产类别
{% for asset_class in active_config.regime_constraint.allowed_asset_classes %} {{ asset_class }} {% empty %} 无限制 {% endfor %}
📋 Policy 约束
档位 {{ active_config.policy_constraint.current_level }}
当前档位
Level {{ active_config.policy_constraint.current_level }}
风险敞口限制
最高 {{ active_config.policy_constraint.max_risk_exposure|floatformat:1 }}%
硬性排除
{% for exclusion in active_config.policy_constraint.hard_exclusions %} {{ exclusion }} {% empty %} {% endfor %}
最大持仓数
{{ active_config.portfolio_constraint.max_positions }}
单资产上限
{{ active_config.portfolio_constraint.max_single_position_weight }}%
集中度限制
{{ active_config.portfolio_constraint.max_concentration_ratio }}%
版本
v{{ active_config.version }}
📜 最近决策记录
{% if recent_decisions %} {% for decision in recent_decisions %} {% endfor %}
资产代码 名称 资产类别 状态 Regime Policy 评估时间
{{ decision.asset_code }} {{ decision.asset_name|default:"-" }} {{ decision.asset_class }} {{ decision.status|title }} {{ decision.current_regime }} Level {{ decision.policy_level }} {{ decision.evaluated_at|date:"m-d H:i" }}
{% else %}
📭
暂无决策记录
{% endif %}
{% else %}
🚪
暂无激活的配置

Beta Gate 配置用于控制资产在不同宏观环境下的可见性

提示:在版本管理页面可对比和回滚配置版本

{% endif %}
{% endblock %}