Install
openclaw skills install crypto-one-way-marketFetch cryptocurrency OHLCV candle data and judge whether the market is in a one-way bullish or bearish trend. Use when the user asks to pull crypto market data, analyze BTC/ETH/altcoin candles, detect 单边行情, classify trend versus chop/range, or produce an evidence-based crypto trend summary from public exchange data.
openclaw skills install crypto-one-way-marketUse this skill to fetch public crypto candle data, compute directional trend metrics, and decide whether price action is a one-way market (单边上涨 / 单边下跌) or a range/choppy market.
Default to the bundled script for repeatable calculations:
python3 scripts/fetch_and_classify.py --symbol BTCUSDT --interval 15m --limit 200
BTCUSDT, 15m, and 200 candles for intraday checks.scripts/fetch_and_classify.py to fetch candles and compute the classification.references/methodology.md when explaining thresholds, edge cases, or if the result is borderline.The script uses Binance public REST klines by default and needs no API key:
python3 scripts/fetch_and_classify.py \
--symbol ETHUSDT \
--interval 1h \
--limit 240
Useful options:
--market spot
--market futures
--base-url https://api.binance.us
--json
--output candles.csv
If Binance is blocked or unstable, ask the user for an accessible exchange/API endpoint or use --base-url when they have a working Binance-compatible mirror.
Treat a one-way market as a move with persistent direction, high trend efficiency, limited counter-trend retracement, and enough volatility-adjusted distance from the start.
Report one of:
bullish_one_way: likely 单边上涨.bearish_one_way: likely 单边下跌.weak_trend: directional but not clean enough to call one-way.range_or_chop: no strong one-way evidence.In the final answer, include:
Crypto data can have exchange outages, API regional restrictions, and sudden regime shifts. Never claim certainty. For live trading contexts, mention that low-liquidity symbols, news events, and funding/contract basis can invalidate candle-only signals.