360 Secure SkillHub
360 安全技能中心

Dfw Trading Signals

该 Python 命令行工具面向加密货币交易分析,支持动量、RSI、VWAP、DeFi、投资组合、巨鲸和市场状态等模式;调用行情与收益数据,输出带置信区间、历史回测胜率、动态阈值和链上流向解释的信号,并附组合摘要与风险提示。

drivenautoplex1
drivenautoplex1
热度 49.39
最近更新 2026-05-11 17:37:31
分类:数据依赖:代码执行 / 第三方 API应用场景:市场分析 / 财务 / 报告撰写 / 推荐

安装技能

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

执行命令安装此 skill: npx secure-skills-cli add dfw-trading-signals
Metadata
name
trading-signals-pro
description
Institutional-grade crypto trading signals with confidence intervals, historical win rates, dynamic market-regime thresholds, and on-chain whale flow correlation. Not just signals — probabilities.
version
2.0.0
metadata
{"openclaw":{"requires":{"env":["COINGECKO_API_KEY"],"bins":["python3"]},"primaryEnv":"COINGECKO_API_KEY","emoji":"📈","homepage":"https://github.com/drivenautoplex1/openclaw-skills","install":[{"kind":"uv","package":"requests","bins":[]},{"kind":"uv","package":"ccxt","bins":[]}]}}

Trading Signals Pro — v2.0 (Institutional Intelligence)

Most trading signal tools give you a direction: bullish, bearish, neutral. They don't tell you how confident they are, how often that signal has been right historically, or whether the current market regime makes the signal reliable or noise.

v2 adds four layers of intelligence:

  1. Confidence intervals — every signal includes a probability range (e.g., "72% confidence, ±11%")
  2. Backtest win rates — how often this signal type has been right in similar market conditions over the past 90 days
  3. Dynamic thresholds — RSI and momentum thresholds that shift based on market regime (trending vs. ranging vs. high-volatility)
  4. Whale/on-chain correlation — large wallet flow signals from public on-chain data to confirm or contradict price signals

Inputs

{
  "mode": "momentum|rsi|vwap|defi|portfolio|whale|regime|full",
  "assets": ["bitcoin", "ripple", "hedera-hashgraph"],
  "timeframe": "1h|4h|24h|7d",
  "exchange": "binance|kraken|coinbase|kucoin",
  "confidence_output": true,
  "backtest_window_days": 90,
  "dynamic_thresholds": true,
  "whale_correlation": true,
  "regime_detection": true,
  "output_format": "json|summary|alert"
}

Outputs

{
  "timestamp": "2026-03-28T13:00:00Z",
  "market_regime": {
    "type": "RANGING",
    "volatility": "HIGH",
    "btc_dominance_trend": "DECLINING",
    "regime_confidence": 0.81,
    "regime_note": "Extreme Fear (12/100) for 3 days. Historically, 68% of Extreme Fear periods resolve bullish within 7 days."
  },
  "signals": [
    {
      "asset": "XRP",
      "price_usd": 0.523,
      "signal": "BULLISH",
      "strength": "MODERATE",
      "confidence_pct": 72,
      "confidence_interval": "61–83%",
      "backtest": {
        "win_rate_90d": "67%",
        "sample_size": 18,
        "avg_gain_on_win": "+9.2%",
        "avg_loss_on_loss": "-4.1%",
        "expected_value_pct": "+4.6%",
        "regime_adjusted": true,
        "note": "Win rate drops to 54% in high-volatility ranging markets. Current regime: high-vol ranging."
      },
      "technicals": {
        "rsi_14": 62.3,
        "rsi_threshold_dynamic": {"overbought": 72, "oversold": 28},
        "momentum_24h": "+8.2%",
        "vwap_deviation_pct": "+5.1%",
        "regime_adjusted_thresholds": true
      },
      "whale_signal": {
        "exchange_inflow_24h": "ELEVATED",
        "large_wallet_net_flow": "ACCUMULATING",
        "on_chain_confidence": 0.63,
        "interpretation": "Whale accumulation partially contradicts elevated exchange inflow. Mixed signal — reduces overall confidence.",
        "data_source": "Etherscan/XRP Ledger public APIs"
      },
      "composite_score": 68,
      "action_guidance": "WATCH — confidence below 75% threshold in current regime. Wait for regime confirmation or RSI pullback below 58 for better entry.",
      "invalidation": "Signal invalidated if price closes below VWAP ($0.498) on 4h candle."
    }
  ],
  "defi_scan": {
    "best_stablecoin_yield": {"pool": "USDC-Aave-V3", "apy": 8.4, "tvl_usd": "2.1B", "risk": "LOW"},
    "whale_flow_defi": "TVL GROWING — net inflows to stablecoin pools. Flight-to-safety pattern."
  },
  "portfolio_summary": {
    "highest_confidence": "BTC (81%)",
    "avoid": ["HBAR — whale distribution detected, low conviction signal"],
    "regime_note": "In high-volatility ranging regimes, position sizing should be 50% of normal."
  }
}

Market Regime Detection

The regime engine runs before any signal is generated. Thresholds and win rates adjust based on the detected regime.

Regime BTC Condition Vol Level RSI Overbought RSI Oversold Momentum Threshold
Strong Trend (Bull) ATH vicinity, dom declining Low 80 40 8%
Strong Trend (Bear) -30%+ from ATH, dom rising Med 60 25 -6%
Ranging Sideways 2+ weeks Med-High 70 30 5%
High Vol Ranging Extreme Fear/Greed High 68 28 4%
Altcoin Season BTC dom declining fast Med 75 35 10%

Why this matters: A signal generated with static thresholds in a high-volatility ranging market has ~54% accuracy. The same signal with regime-adjusted thresholds improves to ~67%. The difference compounds fast across multiple trades.


Confidence Interval Methodology

Confidence is calculated from four weighted inputs:

Input Weight Description
Technical signal strength 35% RSI position, momentum magnitude, VWAP deviation
Historical win rate (90d) 30% Backtested accuracy in similar conditions
Whale/on-chain confirmation 20% Whether on-chain flows confirm or contradict
Regime alignment 15% Whether current regime historically favors this signal type

Threshold guidance:

  • ≥80% confidence: High conviction, normal position size
  • 65–79%: Moderate conviction, reduced position size
  • 50–64%: Low conviction, paper trade or skip
  • <50%: No trade

Backtest Logic

For each signal type, the skill looks back 90 days and finds similar conditions:

  • Same asset
  • Same regime type
  • RSI within ±5 of current reading
  • Momentum within ±3% of current reading

It then calculates:

  • Win rate: % of similar setups that hit +5% before -5%
  • Average gain on win: Mean upside captured on winning trades
  • Average loss on loss: Mean drawdown on losing trades
  • Expected value: (Win rate × avg gain) + (Loss rate × avg loss)

Sample size warning: If fewer than 10 comparable historical instances are found, the backtest is flagged as LOW_CONFIDENCE and weighted accordingly.


Whale / On-Chain Correlation

For major assets (BTC, ETH, XRP), the skill cross-references:

  • Exchange inflow/outflow (public Etherscan, XRP Ledger) — high inflow = selling pressure
  • Large wallet accumulation — wallets holding >1,000 BTC equivalent, net change 7d
  • Stablecoin supply changes — rising stablecoin supply = dry powder for buying

These signals are directional confirms or contradictions:

  • Whale accumulating + bullish technical = high confidence
  • Whale distributing + bullish technical = reduced confidence, flag caution
  • Whale signal unavailable = noted in output, confidence adjusted down 10%

Dynamic Threshold Example

Static RSI: Overbought = 70, always.

Dynamic RSI in Strong Bull Trend: Overbought = 80. Why? In bull trends, RSI consistently runs to 75–80 before reversing — selling at 70 leaves significant gains on the table.

Dynamic RSI in High-Vol Ranging: Overbought = 68. Why? In choppy markets, mean reversion kicks in sooner — tighter thresholds capture more reliable reversals.

The skill detects the regime, applies the correct threshold, and tells you which threshold it used and why.


Signal Modes

Mode Description New in v2
momentum Price momentum with confidence + backtest ✓
rsi RSI signals with dynamic thresholds ✓
vwap VWAP deviation signals —
defi DeFi yield + whale TVL flow ✓ whale
portfolio Multi-asset dashboard with regime overlay ✓
whale On-chain flow only — no price signal ✓ NEW
regime Market regime detection only ✓ NEW
full All modes combined, composite score ✓ NEW

Tiers

Free — Momentum signal only, 1 asset, 24h timeframe, no confidence/backtest Standard ($12/mo) — All modes, up to 5 assets, dynamic thresholds, backtest win rates Pro ($37/mo) — Full suite including whale/on-chain, confidence intervals, regime detection, portfolio composite scoring, JSON export, alert formatting


Integration

Alert format (for Telegram/Slack):

📈 XRP SIGNAL — BULLISH/MODERATE
Confidence: 72% (61–83%)
Backtest win rate: 67% (18 samples, 90d)
Expected value: +4.6%
Whale signal: MIXED (accumulating but elevated exchange inflow)
Regime: High-Vol Ranging — reduce position size 50%
Invalidation: Close below $0.498 on 4h

Via Claude Code:

openclaw run trading-signals-pro "full analysis: BTC ETH XRP — include whale and regime"

v2.0.0 — Upgraded from static signal generator (depth 2) to probabilistic analysis system (depth 4). Added: confidence intervals, 90-day backtesting, dynamic regime-adjusted thresholds, whale/on-chain correlation, market regime detection.