跳到正文
TakoAPI
返回技能列表

trading-upbit-skill

由 kuns9 提供

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

简介

Upbit automated trading (aggressive breakout) with cron-friendly run-once commands, TopVolume monitoring.

描述

该技能的功能

Automated trading bot for the Upbit cryptocurrency exchange. Runs breakout-based BUY/SELL logic on a cron schedule using two run-once commands: one for monitoring markets and one for processing orders. Positions and events are persisted locally as JSON files.

The run-once command design makes it trivially composable with any cron scheduler without needing a persistent daemon process.

何时使用

  • Scheduling automated Upbit trades every few minutes via cron
  • Splitting a KRW budget proportionally across multiple concurrent buy signals
  • Running a dry-run smoke test before committing real funds
  • Monitoring top-volume markets alongside a custom watchlist
  • Auditing a trading bot for hardcoded secrets before deploying

示例工作流

输入

User asks: buy on breakout signals and split 30% of my KRW balance across all signals

智能体
  1. 1

    Sets budgetPolicy mode to balance_pct_split with pct 0.3 in config.json

  2. 2

    Runs node skill.js smoke_test to validate config and confirm API connectivity

  3. 3

    Schedules node skill.js monitor_once every 5 minutes via cron to detect breakout signals and write to events.json

  4. 4

    Schedules node skill.js worker_once every 1 minute via cron to process pending BUY/SELL events

  5. 5

    Worker splits available KRW budget equally across pending signals and places orders, then updates positions.json

输出

Orders placed on Upbit proportional to available balance; positions recorded in resources/positions.json

前置要求

  • UPBIT_ACCESS_KEY environment variable (Upbit Open API access key)
  • UPBIT_SECRET_KEY environment variable (Upbit Open API secret key)
  • Upbit account with API key generation enabled

安装

clawhub install kuns9/trading-upbit-skill

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接