后台控制台 异常

风控与告警

集中查看止盈止损、最长持仓、冷却规则和邮件告警。

JSON

实盘硬风控配置

这些规则由 Live Engine 在下单前执行,未通过时不会提交 Alpaca 订单。

正常
data/admin/live_risk_config.json

风控规则

Live Risk: emergency pause
正常
data/admin/live_risk_config.json
global_pause=true blocks every automatic entry before the Alpaca adapter can submit an order.
Live Risk: daily loss limit
正常
live_engine entry gate
Block new entries when account equity is down 8.0% or more versus last_equity.
Live Risk: exposure and positions
正常
live_engine entry gate
Max total positions 0; max per account 4; max account exposure 2.0x equity.
Live Risk: fill reconciliation
正常
live_engine entry gate
Open orders block new entries until Alpaca fill/cancel state is reconciled.
止盈 / 止损
异常
Alpaca bracket order
买入同时提交止盈限价单和止损单,由 Alpaca 按实时价格托管。
最长持仓
异常
本地 time-exit 执行器 + Alpaca DAY market
持仓达到策略最长持有天数后,只在 09:30-16:00 ET 提交 Alpaca DAY market 市价平仓单;市场开盘时直接执行。
重复买入控制
正常
本地执行器状态文件
同一信号日同一股票只提交一次订单;策略最多同时持有 4 只。

告警检查

邮件任务会检查后台健康状态;只有出现异常或需要关注的项目才发送邮件。
后台异常邮件提醒
08:29
正常