upbit-market-data-skill
由 kuns9 提供
Coding Agents & IDEs简介
A CLI-based OpenClaw skill that fetches quotation/market data from the Upbit Open API.
描述
该技能的功能
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.
何时使用
- 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
示例工作流
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
前置要求
- Upbit Access Key (accessKey in config.json)
- Upbit Secret Key (secretKey in config.json)
安装
clawhub install kuns9/upbit-market-data-skill运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。