dr-trading-system
Treat this as a framework skill, not a ready-to-trade bot.
Use it to help the user set up or refine a local trading-system deployment with:
- - provider configuration
- watchlists
- strategy configs
- job configs
- paper-mode execution flows
- approval-gated buy/sell handling
- daily assessment reports
Default workflow
- 1. Confirm whether the user wants a new setup, an edit, or an audit.
- If setup is needed, run the conversational wizard one question at a time.
- Summarize the planned deployment before generating files.
- Generate local deployment files from the examples and references.
- Keep secrets, credentials, runtime state, generated reports, schedules, and deployment-specific configs outside the reusable skill package.
- Default to paper-first and approval-gated operation unless the user explicitly asks otherwise.
Conversational wizard
If the user asks to set up the system, guide them through the setup conversationally.
Use this exact activation phrase when helpful:
INLINECODE0
The wizard is conversation-driven. There is no separate UI or /wizard command.
Ask questions one at a time. At minimum, cover:
- - market and broker/provider
- deployment goal
- strategy count and first strategy type
- watchlists
- daily assessment vs trusted paper mode
- approval rules for buys and sells
- local file/output locations
Before generating files, provide a short deployment summary and get confirmation if the setup has material risk or ambiguity.
Recommended first rollout
For a first deployment, prefer:
- - 1 strategy
- 1 market
- 2 watchlists
- paper mode only
- buy and sell approval required
- daily assessment mode first
Reference map
Read only what is needed:
- -
references/install-and-setup.md — install/use flow and local deployment boundaries - INLINECODE3 — high-level scope and operating model
- INLINECODE4 — reusable engine structure and responsibilities
- INLINECODE5 — provider adapter interface and expectations
- INLINECODE6 — how to run the setup conversation
- INLINECODE7 — wizard structure and setup scope
- INLINECODE8 — question order and branching
- INLINECODE9 — expected local files/artifacts
- INLINECODE10 — safe operating patterns
- INLINECODE11 — example provider, strategy, watchlist, job, and report configs
Boundaries
Keep these local to the deployment, not in the reusable skill:
- - secrets
- provider credentials
- provider session info
- runtime state
- generated reports
- local schedules
- machine-specific paths
- deployment-specific watchlists/jobs
Do not present paper or live outputs as trustworthy until provider freshness, permissions, completeness, and report sanity have been validated.
dr-trading-system
请将此视为一个框架技能,而非可直接使用的交易机器人。
利用它帮助用户搭建或优化本地交易系统部署,涵盖以下方面:
- - 提供商配置
- 观察列表
- 策略配置
- 任务配置
- 模拟模式执行流程
- 需审批的买入/卖出处理
- 每日评估报告
默认工作流程
- 1. 确认用户需要新建、编辑还是审计系统。
- 如需搭建系统,通过对话向导逐一提问。
- 在生成文件前,总结计划部署方案。
- 根据示例和参考资料生成本地部署文件。
- 将密钥、凭证、运行时状态、生成的报告、计划任务及部署专属配置保留在可复用技能包之外。
- 除非用户明确要求,否则默认采用模拟优先和需审批操作模式。
对话向导
若用户要求搭建系统,通过对话方式引导其完成设置。
在适当时使用以下精确激活短语:
使用 dr-trading-system 并通过设置向导引导我完成操作。
该向导基于对话驱动,无独立界面或 /wizard 命令。
每次只提一个问题。至少需涵盖以下内容:
- - 市场和经纪商/提供商
- 部署目标
- 策略数量及首个策略类型
- 观察列表
- 每日评估与可信模拟模式
- 买入和卖出的审批规则
- 本地文件/输出位置
在生成文件前,提供简短的部署摘要,并在存在重大风险或歧义时获取用户确认。
推荐首次部署
首次部署建议采用:
- - 1个策略
- 1个市场
- 2个观察列表
- 仅模拟模式
- 买入和卖出均需审批
- 优先使用每日评估模式
参考资料索引
仅按需读取以下内容:
- - references/install-and-setup.md — 安装/使用流程及本地部署边界
- references/overview.md — 高级范围与运营模式
- references/architecture.md — 可复用引擎结构与职责
- references/provider-adapter-contract.md — 提供商适配器接口与预期
- references/conversational-wizard.md — 如何运行设置对话
- references/wizard-v1.md — 向导结构与设置范围
- references/wizard-question-flow.md — 问题顺序与分支逻辑
- references/wizard-outputs.md — 预期本地文件/产物
- references/usage-patterns.md — 安全操作模式
- references/examples/ — 提供商、策略、观察列表、任务及报告配置示例
边界说明
以下内容应保留在部署本地,而非可复用技能中:
- - 密钥
- 提供商凭证
- 提供商会话信息
- 运行时状态
- 生成的报告
- 本地计划任务
- 机器特定路径
- 部署专属的观察列表/任务
在验证提供商数据新鲜度、权限、完整性和报告合理性之前,不得将模拟或实盘输出视为可信结果。