⚠️
免责声明:当前展示的是候选/排名与执行前评估,不构成投资建议
{% if alpha_scope == "general" %}
通用 Alpha 仅供研究排名 当前结果不绑定账户、组合、scope hash 或仓位约束,不会生成可执行建议。
{% endif %}
{% if alpha_scope == "general" %}{{ alpha_pool.label|default:"通用 Alpha 研究池" }}{% else %}{{ alpha_pool.label|default:"账户驱动 Alpha 池" }}{% endif %}
池子规模 {{ alpha_pool.pool_size|default:0 }} 市场 {{ alpha_pool.market|default:"CN" }} {% if alpha_scope == "general" %} 用途 研究排名 {% else %} 组合 {{ alpha_pool.portfolio_name|default:"默认组合" }} 模式 {{ alpha_pool.pool_mode|default:selected_alpha_pool_mode|default:"strict_valuation" }} {% if alpha_pool.scope_hash %}scope {{ alpha_pool.scope_hash }}{% endif %} {% endif %}
{{ alpha_pool.selection_reason|default:"按当前激活组合所属市场生成候选池。" }}
{% if alpha_scope != "general" %}
{% endif %}
{% if alpha_meta.warning_message %}
{{ alpha_meta.warning_title|default:"Alpha 当前为降级结果" }} {{ alpha_meta.warning_message }} {% if alpha_meta.auto_refresh_message %} {{ alpha_meta.auto_refresh_message }} {% endif %} {% if alpha_meta.async_task_id %} 任务 {{ alpha_meta.async_task_id }} {% endif %} {% if alpha_meta.refresh_status == "recently_queued" %} 后台任务已在队列中,页面会稍后自动刷新。 {% endif %} {% if alpha_meta.auto_refresh_error %} 自动触发失败:{{ alpha_meta.auto_refresh_error }} {% endif %}
{% endif %} {% if alpha_meta.uses_cached_data %}
当前展示缓存/回退结果 请求日期 {{ alpha_meta.requested_trade_date|default:"-" }} 评分日期 {% if alpha_meta.effective_asof_date %} {{ alpha_meta.effective_asof_date }} {% elif alpha_meta.cache_date %} {{ alpha_meta.cache_date }} {% else %} - {% endif %} {% if alpha_meta.cache_created_at %}缓存写入 {{ alpha_meta.cache_created_at }}{% endif %} {% if alpha_meta.cache_reason %}调用缓存原因:{{ alpha_meta.cache_reason }}{% endif %} {% if alpha_meta.refresh_triggered %}系统已自动触发实时刷新任务。{% endif %}
{% else %} {% if alpha_meta.no_recommendation_reason %}
正在等待账户池 Alpha 推理 请求日期 {{ alpha_meta.requested_trade_date|default:"-" }} {% if alpha_meta.refresh_status == "queued" %} 后台任务已触发 {% elif alpha_meta.refresh_status == "recently_queued" %} 后台任务已在队列中 {% elif alpha_meta.refresh_status == "failed" %} 自动触发失败,请手动重试 {% else %} 尚无可用 cache {% endif %}
{% else %}
当前优先展示实时结果 请求日期 {{ alpha_meta.requested_trade_date|default:"-" }} 实际评分日 {{ alpha_meta.effective_asof_date|default:"-" }}
{% endif %} {% endif %}

Alpha Top 候选/排名

{% if alpha_scope == "general" %}通用研究层排序,不生成可执行建议。{% else %}账户专属排序,只有 readiness 通过才可进入可行动候选。{% endif %}

{% if alpha_stocks %}
{% for stock in alpha_stocks %}
#{{ stock.rank }} {{ stock.code }}
{{ stock.name|default:"-" }}
{{ stock.stage_label|default:"Alpha Top 候选/排名" }}
评分 {{ stock.alpha_score|floatformat:3 }} 置信度 {{ stock.confidence|floatformat:2 }} 来源 {{ stock.source }}
评分日 {{ stock.asof_date|default:"-" }} 风控 {{ stock.gate_status|default:"blocked" }} 建议仓位 {{ stock.suggested_position_pct|default:0|floatformat:1 }}%
推荐依据
    {% if stock.recommendation_basis.provider_source %}
  • 模型/数据源:{{ stock.recommendation_basis.provider_source }},评分日 {% if stock.recommendation_basis.asof_date %}{{ stock.recommendation_basis.asof_date }}{% elif stock.recommendation_basis.effective_asof_date %}{{ stock.recommendation_basis.effective_asof_date }}{% else %}-{% endif %}
  • {% endif %} {% if stock.recommendation_basis.scope_hash %}
  • 账户池:{{ stock.recommendation_basis.scope_label|default:"账户驱动 Alpha 池" }} / {{ stock.recommendation_basis.scope_hash }}
  • {% endif %} {% for basis in stock.recommendation_basis.factor_basis|slice:":3" %}
  • {{ basis }}
  • {% endfor %} {% for reason in stock.buy_reasons|slice:":3" %}
  • {{ reason.text }}
  • {% empty %} {% if not stock.recommendation_basis.factor_basis %}
  • 暂无可展示的模型依据。
  • {% endif %} {% endfor %}
不买理由
    {% for reason in stock.no_buy_reasons|slice:":3" %}
  • {{ reason.text }}
  • {% empty %}
  • 当前无明显阻断项。
  • {% endfor %}
证伪条件

{{ stock.invalidation_summary|default:"暂无证伪条件。" }}

{% if stock.stage == "pending" and stock.request_id %}
保留取消记录,可回溯。
{% endif %}
{% endfor %}
{% else %}
📊

暂无可信 Alpha 候选数据

{% if alpha_scope == "general" %} 通用 Alpha 暂无可展示研究排名;不会用静态名单冒充结果。 {% else %} {{ alpha_meta.no_recommendation_reason|default:"账户池尚无真实推理或缓存结果;系统不会用硬编码股票池、静态名单或默认 ETF 冒充推荐。" }} {% endif %}

{% endif %}
{% if alpha_scope == "general" %}

通用 Alpha 不生成行动建议

{{ alpha_meta.blocked_reason|default:"通用 Alpha 仅用于研究排名;请切换到账户专属 Alpha 并完成 scoped 推理后再评估可行动候选。" }}

{% else %}

持仓退出监控

已持仓证券统一展示 HOLD / REDUCE / SELL、证伪摘要和退出契约,便于持续跟踪卖出时点。

{{ alpha_exit_watchlist|length }}
{% if alpha_exit_watch_summary.total %}
立即处理 {{ alpha_exit_watch_summary.urgent_count|default:0 }} SELL {{ alpha_exit_watch_summary.sell_count|default:0 }} REDUCE {{ alpha_exit_watch_summary.reduce_count|default:0 }} HOLD {{ alpha_exit_watch_summary.hold_count|default:0 }}
{% endif %} {% if alpha_exit_watchlist %}
{% for item in alpha_exit_watchlist %}
{{ item.asset_code }} {{ item.asset_name }} {{ item.exit_action_label }} {{ item.priority_label }} {% if item.user_action_label %} 处理状态 {{ item.user_action_label }} {% endif %}
账户 {{ item.account_name }} 持仓 {{ item.shares|floatformat:0 }} 市值 {{ item.market_value|floatformat:0 }} 决策侧 {{ item.decision_side_label }}
{% if item.stop_loss_price %}止损 {{ item.stop_loss_price }}{% endif %} {% if item.target_price_low or item.target_price_high %} 目标带 {{ item.target_price_low|default:"-" }} - {{ item.target_price_high|default:"-" }} {% endif %} {{ item.contract_status_label }} {% if item.reduce_quantity %}建议减仓 {{ item.reduce_quantity }}{% endif %}
退出来源:{{ item.exit_source }}{% if item.exit_reason_text %};{{ item.exit_reason_text }}{% endif %}
证伪/跟踪:{{ item.invalidation_summary }}
{% if item.source_signal_ids %}
来源信号:{{ item.source_signal_ids|join:", " }}
{% endif %}
{% if item.account_detail_url %} 查看账户持仓 {% endif %} {% if item.recommendation_detail_url %} 推荐明细 API {% endif %} {% if item.transition_plan_detail_url %} 调仓计划 API {% endif %} 进入决策工作台
{% endfor %}
{% else %}

当前没有可展示的持仓退出监控项。

{% endif %}

可行动候选

通过执行前风控且给出建议仓位的标的。

{{ alpha_actionable_candidates|length }}
{% if alpha_actionable_candidates %}
{% for item in alpha_actionable_candidates %}
{{ item.code }} {{ item.name }}
建议仓位 {{ item.suggested_position_pct|floatformat:1 }}% 建议数量 {{ item.suggested_quantity }}
{{ item.buy_reason_summary }}
{% endfor %}
{% else %}

当前没有通过账户级风控的可行动候选。

{% endif %}

待执行队列

历史审批/执行请求,不代表当前 Alpha 推荐。

{{ alpha_pending_requests|length }}
{% if alpha_pending_requests %}
{% for item in alpha_pending_requests %}
{{ item.code }} {{ item.name }}
数量 {{ item.suggested_quantity|floatformat:0 }} 金额 {{ item.suggested_notional|floatformat:0 }} {% if item.risk_snapshot.execution_status %} 状态 {{ item.risk_snapshot.execution_status }} {% endif %}
{% if item.reason_summary %}
来源原因:{{ item.reason_summary }}
{% endif %}
{{ item.no_buy_reasons.0.text|default:"已进入待执行队列。" }}
{% if item.request_id %}
状态会改为已取消,记录仍保留。
{% endif %}
{% endfor %}
{% else %}

当前待执行队列为空。

{% endif %}
{% endif %}

最近推荐记录

系统已落库,可回溯历史候选与理由。

{% if alpha_history_run_id %} 打开完整时间线 {% endif %}
{% if alpha_recent_runs %}
{% for run in alpha_recent_runs %}
{{ run.trade_date }} {{ run.scope_label }}
来源 {{ run.source }} {% if run.uses_cached_data %}缓存{% else %}实时优先{% endif %} {% if run.effective_asof_date %}评分日 {{ run.effective_asof_date }}{% endif %} {% if run.legacy_hardcoded_fallback %}旧版回退记录{% endif %}
{% if run.reliability_note %}
{{ run.reliability_note }}
{% elif run.cache_reason %}
{{ run.cache_reason }}
{% endif %}
{% endfor %}
{% else %}

暂无历史记录。

{% endif %}