360 Secure SkillHub
360 安全技能中心

Strategy Deployer

核心功能:按验证→风险检查→模拟部署→监控→(审批后)实盘推广的生命周期安全部署交易策略,强制执行每笔交易风险、最大回撤等限制,配备止损机制。典型场景:策略回测完成后、从研究转模拟交易、模拟测试通过后转实盘。输入需策略规格、风险限制等,输出为含部署模式、状态、审计事件的YAML报告,保障交易安全合规。

mzfshark
mzfshark
热度 34.21
最近更新 2026-05-11 17:45:41
分类:自动化依赖:第三方 API应用场景:自动化脚本 / 财务 / 数据处理 / 报告撰写

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add axodus-strategy-deployer
Metadata
name
strategy-deployer
description
Deploy trading strategies with risk gating, monitoring, and guarded live promotion.
metadata
{"author":"RedHat Dev","version":"1.0.0","owner":"RedHat Dev Agent","category":"trading"}

SKILL: strategy-deployer

Purpose

Deploy trading strategies safely using an explicit lifecycle: validate → risk-check → paper deploy → monitor → (guarded) live promote → scale/stop.

When to Use

  • A strategy is ready after backtesting.
  • Moving from research to paper trading.
  • Promoting a paper-tested strategy to live trading (guarded).

Inputs

  • strategy_spec (required, object|string): rules, signals, markets, timeframes.
  • mode (optional, enum: paper|live, default: paper)
  • risk_limits (required, object): max risk per trade, max drawdown, exposure caps.
  • validation_artifacts (optional, object): backtest report, paper performance stats.
  • approval (optional, string): explicit user/Morpheus approval reference for live.

Steps

  1. Verify prerequisites:
    • strategy has a written hypothesis and defined invalidation conditions
    • backtest/paper artifacts exist (as applicable)
  2. Run risk checks:
    • enforce risk per trade
    • enforce exposure caps
    • enforce max drawdown thresholds
    • ensure kill-switch is configured
  3. Deploy to paper (default):
    • start with small allocation
    • emit logs for every signal and order
  4. Monitor and record:
    • trades
    • slippage
    • drawdown
    • regime notes
  5. Promote to live only if:
    • explicit mode=live
    • explicit approval is present
    • preflight checks pass
  6. Define rollback/stop rules and execute them on trigger.

Validation

  • Paper mode produces complete logs and trade history entries.
  • Live mode is blocked unless approval + flags are present.
  • Risk constraints are enforced before every order.
  • Stop conditions are tested (kill-switch works).

Output

deployment: "paper|live"
strategy: "<name/id>"
markets: ["..."]
risk_limits: { "...": "..." }
status: "deployed|blocked|stopped"
audit_events: ["signal_detected", "risk_check_passed", "order_submitted", "order_filled", "trade_recorded"]

Safety Rules

  • Never bypass risk checks to “capture opportunity”.
  • Never deploy live without explicit approval and a paper validation phase.
  • Never imply profit certainty; report performance as historical/conditional.

Example

Paper deploy:

  • strategy_spec: “Mean reversion in range regime, 5m timeframe.”
  • mode: paper
  • Output: deployment report + monitoring checklist + stop triggers.