upbit-market-data-skill
par kuns9
Coding Agents & IDEsRésumé
A CLI-based OpenClaw skill that fetches quotation/market data from the Upbit Open API.
Description
Ce que fait ce skill
Fetches market data from the Upbit cryptocurrency exchange via its Open API. Supports trading pairs, candles across multiple timeframes, recent trades, tickers, and orderbooks. Returns structured JSON output for use in automated workflows.
Wraps the Upbit REST API into a single CLI with strict-mode argument validation, reducing the chance of malformed requests when called by an LLM agent.
Quand l'utiliser
- Checking live BTC/ETH prices on Upbit
- Pulling 5-minute candle data for a trading strategy
- Monitoring a watchlist of KRW-denominated pairs
- Fetching orderbook depth before placing a trade
- Aggregating recent trade history for analysis
Exemple de workflow
User asks: Get the last 50 5-minute candles for KRW-BTC
- 1
Resolve market symbol to KRW-BTC
- 2
Construct CLI call: node skill.js candles minutes --market=KRW-BTC --unit=5 --count=50 --strict=true
- 3
Execute via OpenClaw exec
- 4
Parse JSON from stdout
- 5
Return candle array to user
JSON array of 50 5-minute OHLCV candles for KRW-BTC
Prérequis
- Upbit Access Key (accessKey in config.json)
- Upbit Secret Key (secretKey in config.json)
Installation
clawhub install kuns9/upbit-market-data-skillExécute la commande CLI, ou colle l'instruction dans Claude Code, Cursor, Codex ou l'agent de code que tu utilises.