upbit-market-data-skill
bởi kuns9
Coding Agents & IDEsTóm tắt
A CLI-based OpenClaw skill that fetches quotation/market data from the Upbit Open API.
Mô tả
Kỹ năng này làm gì
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.
Khi nào nên dùng
- 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
Quy trình ví dụ
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
Yêu cầu
- Upbit Access Key (accessKey in config.json)
- Upbit Secret Key (secretKey in config.json)
Cài đặt
clawhub install kuns9/upbit-market-data-skillChạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.