crypto-regime-reportGenerate market regime reports for crypto perpetuals using Supertrend and ADX indicators. Use when the user asks for a regime check, market report, trend ana...
Install via ClawdBot CLI:
clawdbot install heyztb/crypto-regime-reportGenerate regime reports for crypto perpetual futures using technical indicators.
# Run a daily regime report
python3 {baseDir}/scripts/regime_report.py
# Run a weekly regime report
python3 {baseDir}/scripts/regime_report.py --weekly
Or ask directly: "What's the regime on BTC?" or "Run a market report."
Price & Trend:
Volume & Liquidity:
Perpetuals Data:
Market Context:
Option A: Edit the default config
Edit {baseDir}/references/config.json to customize your asset list:
{
"watchlist": [
{"symbol": "BTC", "name": "Bitcoin", "okx": "BTC-USDT-SWAP"},
{"symbol": "ETH", "name": "Ethereum", "okx": "ETH-USDT-SWAP"}
],
"indicators": {
"supertrend": { "period": 10, "multiplier": 3 },
"adx": { "period": 14, "strong_threshold": 25, "weak_threshold": 20 }
}
}
Option B: Use a custom config file
# Via command line
python3 {baseDir}/scripts/regime_report.py --config /path/to/my-config.json
# Via environment variable
REGIME_CONFIG=/path/to/my-config.json python3 {baseDir}/scripts/regime_report.py
An example config is provided at {baseDir}/references/config.example.json — copy and modify it for your needs.
Config fields:
symbol — Short ticker (used for display)name — Full name (used for display)okx — OKX perpetual symbol (must match OKX's format: ASSET-USDT-SWAP)To find OKX symbols: Visit OKX Markets or use:
curl -s "https://www.okx.com/api/v5/public/instruments?instType=SWAP" | jq '.data[].instId'
Adjust in config.json:
| Setting | Default | Description |
|---------|---------|-------------|
| supertrend.period | 10 | Lookback period for ATR calculation |
| supertrend.multiplier | 3.0 | ATR multiplier for band width |
| adx.period | 14 | Lookback period for ADX |
| adx.strong_threshold | 25 | ADX level for "strong" trend |
| adx.weak_threshold | 20 | ADX level for "weak" trend |
Use OpenClaw's cron system to receive reports automatically.
Via CLI:
# Morning report (6am PST)
openclaw cron add \
--name "Morning Regime Report" \
--schedule "0 6 * * *" \
--timezone "America/Los_Angeles" \
--message "Run the crypto regime morning report"
# Evening report (3pm PST)
openclaw cron add \
--name "Evening Regime Report" \
--schedule "0 15 * * *" \
--timezone "America/Los_Angeles" \
--message "Run the crypto regime evening report"
# Friday weekly summary (4pm PST)
openclaw cron add \
--name "Friday Weekly Summary" \
--schedule "0 16 * * 5" \
--timezone "America/Los_Angeles" \
--message "Run the crypto regime weekly report with --weekly flag"
Via config (~/.openclaw/openclaw.json):
{
// ... other config ...
"cron": {
"jobs": [
{
"name": "Morning Regime Report",
"schedule": { "kind": "cron", "expr": "0 6 * * *", "tz": "America/Los_Angeles" },
"sessionTarget": "isolated",
"payload": { "kind": "agentTurn", "message": "Run the crypto regime morning report and send it to Telegram" },
"delivery": { "mode": "announce" }
},
{
"name": "Evening Regime Report",
"schedule": { "kind": "cron", "expr": "0 15 * * *", "tz": "America/Los_Angeles" },
"sessionTarget": "isolated",
"payload": { "kind": "agentTurn", "message": "Run the crypto regime evening report and send it to Telegram" },
"delivery": { "mode": "announce" }
},
{
"name": "Friday Weekly Summary",
"schedule": { "kind": "cron", "expr": "0 16 * * 5", "tz": "America/Los_Angeles" },
"sessionTarget": "isolated",
"payload": { "kind": "agentTurn", "message": "Run the crypto regime weekly report with --weekly flag and send it to Telegram" },
"delivery": { "mode": "announce" }
}
]
}
}
# Test daily report
python3 {baseDir}/scripts/regime_report.py
# Test weekly report
python3 {baseDir}/scripts/regime_report.py --weekly
| Supertrend | ADX | Regime |
|------------|-----|--------|
| Bullish | > 25 | Strong Bull |
| Bullish | 20-25 | Weak Bull |
| Bearish | > 25 | Strong Bear |
| Bearish | 20-25 | Weak Bear |
| Either | < 20 | Ranging |
| Data | Source | Notes |
|------|--------|-------|
| Daily OHLCV | OKX API | Free, no key required |
| Weekly OHLCV | Yahoo Finance | 11+ years history, OKX fallback |
| Funding Rates | OKX API | Free, no key required |
| Open Interest | OKX API | Free, no key required |
OKX API endpoints:
/api/v5/market/candles/api/v5/public/funding-rate/api/v5/public/open-interestregime_report.py — Main script that fetches data and generates the reportconfig.json — Default watchlist configuration (edit this to customize)config.example.json — Example config you can copy and modifyGenerated Mar 1, 2026
A trading desk uses the skill to generate automated morning reports for analysts, providing a quick overview of market regimes, trend strength, and funding rates across key assets like BTC and ETH. This helps traders adjust strategies based on technical signals and liquidity conditions before market open.
An investment fund integrates the skill into their risk management workflow to monitor regime shifts and correlation with BTC for crypto holdings in perpetual futures. Reports alert managers to potential trend reversals or elevated funding rates, aiding in hedging decisions.
A content creator or influencer schedules daily and weekly reports via cron jobs to share formatted market analyses on social media or newsletters. The skill provides structured data on price action and indicators, saving time on manual research for audience engagement.
Retail traders set up the skill with custom watchlists to receive regime reports via Telegram, using ADX and Supertrend signals to identify entry or exit points. This supports DIY trading strategies without constant market monitoring.
An exchange deploys the skill internally to generate regime reports for support teams, helping them answer customer queries about market conditions, funding rates, and trend analysis for perpetual swaps listed on their platform.
Offer premium access to enhanced regime reports with additional indicators or real-time alerts via a monthly subscription. Revenue comes from tiered plans for individual traders, funds, or enterprises seeking advanced crypto market insights.
License the skill as an embedded analytics module for trading platforms, brokers, or crypto apps, charging a licensing fee per user or transaction. This provides clients with ready-to-use market reports to enhance their product offerings.
Provide basic regime reports for free to attract users, then monetize through API access for automated data integration, custom configs, or high-frequency updates. Revenue is generated from API usage tiers and enterprise support contracts.
💬 Integration Tip
Start by configuring a small watchlist in config.json and test with daily reports before setting up cron jobs for automated delivery to avoid data overload.
Analyze stocks and cryptocurrencies using Yahoo Finance data. Supports portfolio management, watchlists with alerts, dividend analysis, 8-dimension stock scoring, viral trend detection (Hot Scanner), and rumor/early signal detection. Use for stock analysis, portfolio tracking, earnings reactions, crypto monitoring, trending stocks, or finding rumors before they hit mainstream.
Get stock prices, quotes, fundamentals, earnings, options, dividends, and analyst ratings using Yahoo Finance. Uses yfinance library - no API key required.
Yahoo Finance (yfinance) powered stock analysis skill: quotes, fundamentals, ASCII trends, high-resolution charts (RSI/MACD/BB/VWAP/ATR), plus optional web a...
Become an autonomous prediction market trader on Polymarket with AI-powered analysis and a performance-backed token on Base. Trade real markets, build a track record, and let the buyback flywheel run.
Get cryptocurrency token price and generate candlestick charts via CoinGecko API or Hyperliquid API. Use when user asks for token price, crypto price, price chart, or cryptocurrency market data.
Query Polymarket prediction markets - check odds, trending markets, search events, track prices and momentum. Includes watchlist alerts, resolution calendar,...