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شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.