跳到正文
TakoAPI
返回技能列表

upbit-market-data-skill

由 kuns9 提供

Coding Agents & IDEs
493下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

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. 1

    Resolve market symbol to KRW-BTC

  2. 2

    Construct CLI call: node skill.js candles minutes --market=KRW-BTC --unit=5 --count=50 --strict=true

  3. 3

    Execute via OpenClaw exec

  4. 4

    Parse JSON from stdout

  5. 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 或你在用的任意编程智能体里。

链接