跳至主要内容
小龙虾小龙虾AI
🤖

Synth Data

从 Synthdata.co 查询加密货币、商品和股票的波动率预测。比较资产并运行蒙特卡洛模拟。

下载2.8k
星标2
版本1.1.5
金融财务
安全通过
⚙️脚本

技能说明


name: synth-data description: Query volatility forecasts from Synthdata.co for crypto, commodities, and stocks. Compare assets and run Monte Carlo simulations. metadata: { "openclaw": { "emoji": "📊", "requires": { "bins": ["python3"], "env": ["SYNTHDATA_API_KEY"] } } }

Synthdata Volatility Skill

Query and analyze volatility forecasts from Synthdata.co for crypto, commodities, and stock indices.

Setup

Set your API key:

export SYNTHDATA_API_KEY=your_key_here

Quick Start

# Single asset
python3 scripts/synth.py BTC

# Multiple assets comparison
python3 scripts/synth.py BTC ETH SOL --compare

# All assets overview
python3 scripts/synth.py --all

# Monte Carlo simulation (24h max)
python3 scripts/synth.py BTC --simulate --hours 12

Available Assets

TickerNameCategory
BTCBitcoinCrypto
ETHEthereumCrypto
SOLSolanaCrypto
XAUGoldCommodity
SPYXS&P 500Index
NVDAXNVIDIAStock
GOOGLXGoogleStock
TSLAXTeslaStock
AAPLXAppleStock

Output Example

==================================================
  BTC — Bitcoin
==================================================
  Price:           $77,966
  24h Change:      🔴 -0.95%
  Current Vol:     58.4% 🟠 [Elevated]
  Avg Realized:    53.3%
  Forecast Vol:    52.2%

Volatility Levels

LevelRangeEmoji
Low< 20%🟢
Moderate20-40%🟡
Elevated40-60%🟠
High60-80%🔴
Extreme> 80%🔴

Use Cases

1. Market Overview

python3 scripts/synth.py --all

Get a ranked table of all assets by volatility.

2. Trading Signals

  • High forecast → Current low: Expect volatility spike
  • Low forecast → Current high: Volatility may decrease
  • Use for position sizing and options trading

3. Monte Carlo Projections

python3 scripts/synth.py BTC --simulate --hours 24 --paths 1000

Generate probabilistic price ranges using forecast volatility (24h max - Synthdata forecast window).

4. Scheduled Reports

Create a cron job for daily Slack/Telegram forecasts (see examples/use-cases.md).

5. Risk Alerts

Monitor for assets crossing volatility thresholds and trigger notifications.

API Reference

See references/api.md for full API documentation.

Direct API Usage

import requests

resp = requests.get(
    "https://api.synthdata.co/insights/volatility",
    params={"asset": "BTC"},
    headers={"Authorization": f"Apikey {API_KEY}"}
)
data = resp.json()

# Key fields:
price = data["current_price"]
realized_vol = data["realized"]["average_volatility"]
forecast_vol = data["forecast_future"]["average_volatility"]

Integration Ideas

  • Polymarket: Use volatility forecasts to inform up/down market bets
  • Options: High forecast vol = consider buying options
  • Portfolio: Rebalance when aggregate volatility spikes
  • Alerts: Notify when forecast differs significantly from realized

如何使用「Synth Data」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「Synth Data」技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能