Install
openclaw skills install @stevenho1394/crypto-price-predictionFetches next-hour predicted price for BTC/ETH from external prediction API. Supports BTCUSDT and ETHUSDT symbols only.
openclaw skills install @stevenho1394/crypto-price-predictionFetches next-hour predicted price for BTC or ETH from an external prediction API. Not a local technical analysis model — just an API wrapper.
https://myfastapi.zeabur.app/v1/demo/predictions/next_hour/{BTC|ETH}BTCUSDT, ETHUSDT onlySelf-contained. Python 3.8+ stdlib only. Node.js 18+ for OpenClaw wrapper.
# BTC next-hour prediction
hermes skill run crypto-price-prediction --symbol BTCUSDT --hours 1
# ETH next-hour prediction
hermes skill run crypto-price-prediction --symbol ETHUSDT --hours 1
const { predictPrice } = require('./skill.js').tools;
const result = await predictPrice({ symbol: 'BTCUSDT', hours: 1 });
// Returns unified JSON prediction object
cd /opt/data/.hermes/skills/crypto-price-prediction
TZ=Asia/Hong_Kong python3 scripts/predict.py --coin BTC
TZ=Asia/Hong_Kong python3 scripts/predict.py --coin ETH
| Parameter | Type | Default | Description |
|---|---|---|---|
--symbol | string | BTCUSDT | Trading pair: BTCUSDT or ETHUSDT |
--hours | number | 1.0 | Horizon (API only supports 1h) |
--timezone | string | (prompt) | User timezone (e.g., HKT, UTC, America/New_York) |
Both Hermes CLI and OpenClaw return identical JSON structure:
{
"timestamp": "2026-07-22 21:00 HKT",
"symbol": "BTCUSDT",
"horizonHours": 1,
"currentPrice": 66405.74,
"predictedPrice": 65662.84,
"predictedDirection": "DOWN"
}
| Field | Description |
|---|---|
timestamp | Prediction target time in user's timezone (format: YYYY-MM-DD HH:MM TZ) |
symbol | Trading pair (BTCUSDT or ETHUSDT) |
horizonHours | Always 1 (API limitation) |
currentPrice | Price at start of current hour (e.g., if prediction at 08:02, price at 08:00). 2 decimal places. |
predictedPrice | Predicted price at next hour mark. 2 decimal places. |
predictedDirection | UP if currentPrice < predictedPrice, else DOWN |
Current price of BTC at 2026-07-22 20:00 HKT: 66,405.74
Predicted price of BTC at 2026-07-22 21:00 HKT: 65,662.84
Predicted direction of BTC in the next hour: DOWN
HKT, UTC, America/New_York)GET https://myfastapi.zeabur.app/v1/demo/predictions/next_hour/{BTC|ETH}{"BTC predicted price (next_hour)": 64063.6992} (float)myfastapi.zeabur.appBTCUSDT/ETHUSDT accepted--hours other than 1 logs warningcurrentPrice and predictedDirection will be nullcurrentPrice (hour-start price) and predictedDirection (UP/DOWN)changePercent, direction, confidence, dataSource, signalsNot financial advice. External API predictions are opaque — no visibility into methodology. Use at your own risk.
MIT