trading-signals by scientiacapital/skills
npx skills add https://github.com/scientiacapital/skills --skill trading-signals基于 ThetaRoom(5万+行代码,7层 MasterQuantAgent)、SwaggyStacks(马尔可夫交易系统)和 SignalSiphon(社交情绪管道)的模式构建。
<quick_start> 多资产分析 — 始于识别市场状态,然后按资产类别路由:
reference/markov-regime.md)汇合评分:
快速期权分析:
Ticker + Strike + Expiry → Greeks 分析 → 策略匹配 → 风险/回报评估 → 执行/放弃
</quick_start>
<success_criteria> 分析成功的标准:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
<asset_routing> 将用户的问题路由到正确的分析框架。大多数问题涉及多种资产 — 使用所有相关参考资料。
| 用户提及 | 主要参考资料 | 同时加载 |
|---|---|---|
| 期权、Greeks、铁鹰策略、价差策略、看涨期权、看跌期权、行权价、隐含波动率、到期日 | options-trading.md + options-strategies.md | vix-volatility.md 用于隐含波动率背景 |
| 股票、权益类资产、AAPL、SPY、板块、财报 | equities.md | 根据需要加载技术分析方法论 |
| 比特币、加密货币、BTC、ETH、链上数据、减半 | elliott-wave.md + markov-regime.md | 如果是比特币期权,加载 options-trading.md |
| 黄金、白银、石油、大宗商品、原油、WTI | commodities.md | fibonacci.md 用于价位分析 |
| VIX、波动率、隐含波动率排名、波动率曲面 | vix-volatility.md | options-trading.md 用于波动率交易 |
| 外汇、FX、EUR/USD、套息交易、中央银行 | forex.md | markov-regime.md 用于市场状态 |
| 情绪、Twitter、Reddit、社交信号 | sentiment-signals.md | 特定资产参考资料 |
| 头寸规模、风险、回撤、投资组合 | risk-management.md | 特定资产参考资料 |
| 每日准备、盘前、市场开盘、盘后复盘 | daily-trading-workflow.md | 特定资产参考资料 |
| 回测、向前滚动测试、蒙特卡洛模拟、策略测试 | backtesting-patterns.md | 特定策略参考资料 |
| 通用技术分析、图表、形态、支撑/阻力 | pattern-recognition.md | fibonacci.md, wyckoff.md |
| 突破、趋势跟踪、唐奇安通道、平均真实波幅、金字塔加仓 | turtle-trading.md | markov-regime.md 用于市场状态 |
| 吸筹、派发、威科夫、量价分析、复合操作者 | wyckoff.md | pattern-recognition.md |
| 多 LLM 共识、群体投票、模型一致性 | swarm-consensus.md | 特定资产参考资料 |
| 中文 LLM、DeepSeek、Qwen、成本路由、预算 | chinese-llm-stack.md | swarm-consensus.md |
许多实际交易跨越资产类别。例如:
vix-volatility.md + options-strategies.md + risk-management.mdcommodities.md + 相关性分析 + markov-regime.mdoptions-trading.md + equities.md + risk-management.md </asset_routing><educational_mode> 每次分析都应具有教育意义,而不仅仅是告知。遵循以下模式:
信号 → 原因 → 背景 → 行动
示例:"铁鹰策略在此处适用,因为隐含波动率排名为 78% — 这处于顶部四分位数,意味着期权权利金在历史上是昂贵的。你正在卖出这些昂贵的权利金。Theta 衰减在 45 天到期日内会加速,这就是我们瞄准这个窗口的原因。16-delta 的短腿行权价在每侧为你提供了大约 1 个标准差的保护。"
原则:
<core_analysis>
基础 — 5 种技术分析方法论,采用基于市场状态加权的汇合评分。
| 方法论 | 目的 | 最佳市场状态 | 权重(趋势市) |
|---|---|---|---|
| 艾略特波浪 | 波浪位置 + 目标 | 趋势市 | 0.30 |
| 海龟交易 | 突破 + 趋势跟踪 | 趋势市 | 0.30 |
| 斐波那契 | 支撑/阻力区域 | 震荡市/波动市 | 0.20-0.35 |
| 威科夫 | 机构吸筹/派发 | 震荡市 | 0.15-0.30 |
| 马尔可夫状态 | 状态分类 | 始终优先 | 决定权重 |
class ConfluenceAnalyzer:
"""基于市场状态加权的方法论融合 — 源自 ThetaRoom MasterQuantAgent"""
REGIME_WEIGHTS = {
'trending_up': {'elliott': 0.30, 'turtle': 0.30, 'fib': 0.20, 'wyckoff': 0.15},
'trending_down': {'elliott': 0.30, 'turtle': 0.30, 'fib': 0.20, 'wyckoff': 0.15},
'ranging': {'fib': 0.35, 'wyckoff': 0.30, 'elliott': 0.20, 'turtle': 0.05},
'volatile': {'fib': 0.30, 'wyckoff': 0.30, 'elliott': 0.20, 'turtle': 0.10},
}
评分 → 行动:
7 层加权投票,用于最高确信度的决策:
| 层级 | 权重 | 检查内容 |
|---|---|---|
| 黄金口袋(斐波那契 0.618-0.65) | 0.20 | 机构吸筹区域 |
| 群体共识 | 0.20 | 多 LLM 一致性 |
| 艾略特波浪 | 0.15 | 波浪结构和目标 |
| 方法论特定信号 | 0.15 | 策略特定信号 |
| 威科夫 LSTM | 0.10 | 吸筹阶段机器学习 |
| 微观结构 | 0.10 | 订单流 + 暗池 |
| 情绪 | 0.10 | 新闻 + 社交评分 |
扫描器 → 波动率 → Greeks → 风险 → 入场 → 头寸 → 执行 → 出场
每个节点映射到一个 LangGraph 智能体。管道是顺序的,但节点可以在其范围内并行运行分析。
| 任务 | 模型 | 成本/百万 tokens |
|---|---|---|
| 模式检测、扫描 | DeepSeek-V3 | $0.27 |
| 汇合评分 | Qwen-72B | $0.40 |
| 关键交易决策 | Claude Sonnet | $3.00 |
| 群体共识 | 混合层级 | ~$1.50 平均 |
| 架构/策略设计 | Claude Opus | $5.00 |
| </core_analysis> |
<project_integration>
| 项目 | 路径 | 用途 |
|---|---|---|
| ThetaRoom v1 | ~/Desktop/tk_projects/theta-room/ | 生产参考:方法论、期权服务、风险管理、经纪商 |
| ThetaRoom v2 | ~/Desktop/tk_projects/thetaroom/ | 架构蓝图:NautilusTrader、配置阈值、智能体设计 |
| SwaggyStacks | ~/Desktop/tk_projects/swaggy-stacks/ | 期权策略、马尔可夫模型、Greeks-斐波那契融合、回测 |
| SignalSiphon | ~/Desktop/tk_projects/signal-siphon/ | 情绪管道、社交信号过滤 |
| research-hub | scientiacapital/research-hub | 多智能体研究,使用 /trading、/market 命令 |
| model-finops | scientiacapital/model-finops | 智能 LLM 路由器(降低 60% 成本) |
| silkroute | scientiacapital/silkroute | 中文 LLM 编排器,3 层预算治理 |
关键代码参考:
theta-room/backend/nautilus/greeks_actor.pyswaggy-stacks/backend/app/strategies/options/swaggy-stacks/backend/app/methodologies/bitcoin/thetaroom/thetaroom/config.py (ThetaRoomConfig)signal-siphon/backend/analyzer/sentiment_analyzer.pytheta-room/backend/brokers/ (Alpaca、Binance、IBKR、Deribit、Polymarket)您技术栈中的数据源:
<reference_files>
技术分析方法论:
reference/elliott-wave.md — 波浪规则、减半超级周期、加密货币应用、目标reference/turtle-trading.md — 唐奇安通道、平均真实波幅头寸规模、金字塔加仓reference/fibonacci.md — 价位、黄金口袋、Greeks-斐波那契融合、链上增强reference/wyckoff.md — 阶段状态机、量价分析、复合操作者reference/markov-regime.md — 7 状态模型、转移概率、基于状态的信号期权与波动率:
reference/options-trading.md — Greeks(一阶 + 二阶)、布莱克-斯科尔斯模型、隐含波动率曲面、波动率微笑、GEX、行权价风险reference/options-strategies.md — 25+ 种策略:收入型、方向性、波动率、高级多腿策略reference/vix-volatility.md — 隐含波动率排名、VIX 期限结构、危机阈值、状态集成资产类别:
reference/equities.md — 板块轮动、扫描器模式、凯利公式分配、财报交易reference/commodities.md — 黄金/白银(COT、季节性、美元相关性)、石油(库存、OPEC、期货升水)reference/forex.md — 套息交易、利率差异、购买力平价、中央银行政策、COT 持仓跨领域:
reference/sentiment-signals.md — 社交过滤、多模型共识、噪声检测reference/risk-management.md — 头寸规模、投资组合 Greeks 门限、回撤限制、智能执行reference/pattern-recognition.md — K线 + 图表形态reference/swarm-consensus.md — 多 LLM 投票系统reference/chinese-llm-stack.md — 用于交易的成本优化中文 LLM工作流与回测:
reference/daily-trading-workflow.md — /loop + 桌面定时任务,用于盘前、开盘、盘中、盘后reference/backtesting-patterns.md — 向前滚动测试、蒙特卡洛模拟、集成、组合阿尔法发现作为最后一步,写入 ~/.claude/skill-analytics/last-outcome-trading-signals.json:
{"ts":"[UTC ISO8601]","skill":"trading-signals","version":"2.1.0","variant":"default",
"status":"[success|partial|error]","runtime_ms":[estimated ms from start],
"metrics":{"signals_generated":[n],"tickers_analyzed":[n],"frameworks_applied":[n]},
"error":null,"session_id":"[YYYY-MM-DD]"}
如果某些阶段失败但仍有结果产生,则使用状态 "partial"。仅在完全没有输出时使用 "error"。 </reference_files>
每周安装量
225
代码仓库
GitHub 星标数
6
首次出现
Jan 23, 2026
安全审计
安装于
opencode182
gemini-cli179
codex172
github-copilot163
cursor159
kimi-cli138
Built on patterns from ThetaRoom (50K+ lines, 7-layer MasterQuantAgent), SwaggyStacks (Markov trading system), and SignalSiphon (social sentiment pipeline).
<quick_start> Multi-asset analysis — start with regime, then route by asset class:
reference/markov-regime.md)Confluence score:
Quick options analysis:
Ticker + Strike + Expiry → Greeks profile → Strategy fit → Risk/reward → Go/No-go
</quick_start>
<success_criteria> Analysis is successful when:
<asset_routing> Route the user's question to the right analysis framework. Most questions involve multiple assets — use all relevant references.
| User Mentions | Primary Reference | Also Load |
|---|---|---|
| Options, Greeks, iron condor, spreads, calls, puts, strikes, IV, DTE | options-trading.md + options-strategies.md | vix-volatility.md for IV context |
| Stocks, equities, AAPL, SPY, sectors, earnings | equities.md | TA methodologies as needed |
| Bitcoin, crypto, BTC, ETH, on-chain, halving | elliott-wave.md + markov-regime.md | options-trading.md if BTC options |
Many real trades span asset classes. Examples:
vix-volatility.md + options-strategies.md + risk-management.mdcommodities.md + correlation analysis + markov-regime.mdoptions-trading.md + equities.md + risk-management.md </asset_routing><educational_mode> Every analysis should teach, not just tell. Follow this pattern:
Signal → Why → Context → Action
Example: "The iron condor makes sense here because IV rank is at 78% — that's top quartile, meaning options premiums are historically expensive. You're selling that rich premium. Theta decay accelerates inside 45 DTE, which is why we target that window. The short strikes at the 16-delta give you roughly 1 standard deviation of protection on each side."
Principles:
<core_analysis>
The foundation — 5 TA methodologies with regime-weighted confluence scoring.
| Methodology | Purpose | Best Regime | Weight (Trending) |
|---|---|---|---|
| Elliott Wave | Wave position + targets | Trending | 0.30 |
| Turtle Trading | Breakout + trend follow | Trending | 0.30 |
| Fibonacci | Support/resistance zones | Ranging/Volatile | 0.20-0.35 |
| Wyckoff | Institutional accumulation/distribution | Ranging | 0.15-0.30 |
| Markov Regime | State classification | Always first | Determines weights |
class ConfluenceAnalyzer:
"""Regime-weighted methodology fusion — from ThetaRoom MasterQuantAgent"""
REGIME_WEIGHTS = {
'trending_up': {'elliott': 0.30, 'turtle': 0.30, 'fib': 0.20, 'wyckoff': 0.15},
'trending_down': {'elliott': 0.30, 'turtle': 0.30, 'fib': 0.20, 'wyckoff': 0.15},
'ranging': {'fib': 0.35, 'wyckoff': 0.30, 'elliott': 0.20, 'turtle': 0.05},
'volatile': {'fib': 0.30, 'wyckoff': 0.30, 'elliott': 0.20, 'turtle': 0.10},
}
Score → Action:
7-layer weighted voting for highest-conviction decisions:
| Layer | Weight | What It Checks |
|---|---|---|
| Golden Pocket (Fib 0.618-0.65) | 0.20 | Institutional accumulation zone |
| Swarm Consensus | 0.20 | Multi-LLM agreement |
| Elliott Wave | 0.15 | Wave structure and targets |
| Methodology Specific | 0.15 | Strategy-specific signal |
| Wyckoff LSTM | 0.10 | Accumulation phase ML |
| Microstructure | 0.10 | Order flow + dark pool |
| Sentiment | 0.10 | News + social scoring |
Scanner → Volatility → Greeks → Risk → Entry → Position → Execution → Exit
Each node maps to a LangGraph agent. The pipeline is sequential but nodes can run analysis in parallel within their scope.
| Task | Model | Cost/1M |
|---|---|---|
| Pattern detection, scanning | DeepSeek-V3 | $0.27 |
| Confluence scoring | Qwen-72B | $0.40 |
| Critical trading decisions | Claude Sonnet | $3.00 |
| Swarm consensus | Mixed tier | ~$1.50 avg |
| Architecture/strategy design | Claude Opus | $5.00 |
| </core_analysis> |
<project_integration>
| Project | Path | Use For |
|---|---|---|
| ThetaRoom v1 | ~/Desktop/tk_projects/theta-room/ | Production reference: methodologies, options services, risk management, brokers |
| ThetaRoom v2 | ~/Desktop/tk_projects/thetaroom/ | Architecture blueprint: NautilusTrader, config thresholds, agent design |
| SwaggyStacks | ~/Desktop/tk_projects/swaggy-stacks/ | Options strategies, Markov model, Greeks-Fib fusion, backtesting |
| SignalSiphon | ~/Desktop/tk_projects/signal-siphon/ | Sentiment pipeline, social signal filtering |
| research-hub |
Key code references:
theta-room/backend/nautilus/greeks_actor.pyswaggy-stacks/backend/app/strategies/options/swaggy-stacks/backend/app/methodologies/bitcoin/thetaroom/thetaroom/config.py (ThetaRoomConfig)signal-siphon/backend/analyzer/sentiment_analyzer.pytheta-room/backend/brokers/ (Alpaca, Binance, IBKR, Deribit, Polymarket)Data sources in your stack:
<reference_files>
Technical Analysis Methodologies:
reference/elliott-wave.md — Wave rules, halving supercycle, crypto adaptation, targetsreference/turtle-trading.md — Donchian channels, ATR sizing, pyramidingreference/fibonacci.md — Levels, golden pocket, Greeks-Fib fusion, on-chain enhancedreference/wyckoff.md — Phase state machines, VSA, composite operatorreference/markov-regime.md — 7-state model, transition probabilities, regime-based signalsOptions & Volatility:
reference/options-trading.md — Greeks (1st + 2nd order), Black-Scholes, IV surface, vol smile, GEX, pin riskreference/options-strategies.md — 25+ strategies: income, directional, volatility, advanced multi-legreference/vix-volatility.md — IV rank, VIX term structure, crisis thresholds, regime integrationAsset Classes:
reference/equities.md — Sector rotation, scanner patterns, Kelly allocation, earnings playsreference/commodities.md — Gold/Silver (COT, seasonal, dollar correlation), Oil (inventory, OPEC, contango)reference/forex.md — Carry trade, rate differentials, PPP, central bank policy, COT positioningCross-Cutting:
reference/sentiment-signals.md — Social filtering, multi-model consensus, noise detectionreference/risk-management.md — Position sizing, portfolio Greeks gates, drawdown limits, smart executionreference/pattern-recognition.md — Candlestick + chart patternsreference/swarm-consensus.md — Multi-LLM voting systemreference/chinese-llm-stack.md — Cost-optimized Chinese LLMs for tradingWorkflow & Backtesting:
reference/daily-trading-workflow.md — /loop + Desktop scheduled tasks for pre-market, open, intraday, EODreference/backtesting-patterns.md — Walk-forward, Monte Carlo, ensemble, combinatorial alpha discoveryAs the final step, write to ~/.claude/skill-analytics/last-outcome-trading-signals.json:
{"ts":"[UTC ISO8601]","skill":"trading-signals","version":"2.1.0","variant":"default",
"status":"[success|partial|error]","runtime_ms":[estimated ms from start],
"metrics":{"signals_generated":[n],"tickers_analyzed":[n],"frameworks_applied":[n]},
"error":null,"session_id":"[YYYY-MM-DD]"}
Use status "partial" if some stages failed but results were produced. Use "error" only if no output was generated. </reference_files>
Weekly Installs
225
Repository
GitHub Stars
6
First Seen
Jan 23, 2026
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
opencode182
gemini-cli179
codex172
github-copilot163
cursor159
kimi-cli138
AI Elements:基于shadcn/ui的AI原生应用组件库,快速构建对话界面
60,400 周安装
| Gold, silver, oil, commodities, crude, WTI | commodities.md | fibonacci.md for levels |
| VIX, volatility, IV rank, vol surface | vix-volatility.md | options-trading.md for vol trades |
| Forex, FX, EUR/USD, carry trade, central bank | forex.md | markov-regime.md for regime |
| Sentiment, Twitter, Reddit, social signals | sentiment-signals.md | Asset-specific ref |
| Position sizing, risk, drawdown, portfolio | risk-management.md | Asset-specific ref |
| Daily prep, pre-market, market open, EOD review | daily-trading-workflow.md | Asset-specific refs |
| Backtest, walk forward, monte carlo, strategy test | backtesting-patterns.md | Strategy-specific refs |
| General TA, chart, pattern, support/resistance | pattern-recognition.md | fibonacci.md, wyckoff.md |
| Breakout, trend following, Donchian, ATR, pyramiding | turtle-trading.md | markov-regime.md for regime |
| Accumulation, distribution, Wyckoff, VSA, composite operator | wyckoff.md | pattern-recognition.md |
| Multi-LLM consensus, swarm voting, model agreement | swarm-consensus.md | Asset-specific ref |
| Chinese LLMs, DeepSeek, Qwen, cost routing, budget | chinese-llm-stack.md | swarm-consensus.md |
scientiacapital/research-hub |
Multi-agent research with /trading, /market commands |
| model-finops | scientiacapital/model-finops | Intelligent LLM router (60% cost reduction) |
| silkroute | scientiacapital/silkroute | Chinese LLM orchestrator, 3-tier budget governance |