Trading Upbit Skill
Upbit automated trading (aggressive breakout) with cron-friendly run-once commands, TopVolume monito
- Rating
- 4.2 (38 reviews)
- Downloads
- 8,174 downloads
- Version
- 1.0.0
Overview
Upbit automated trading (aggressive breakout) with cron-friendly run-once commands, TopVolume monitoring.
✨Key Features
Monitors markets (watchlist + optional TopVolume)
Generates BUY/SELL events in resources/events.json
Processes events in a worker (places orders or dry-run), and persists positions in resources/positions.json
Designed for cron: monitor_once and worker_once are run-once commands
Complete Documentation
View Source →
trading-upbit-skill
Upbit automated trading skill for OpenClaw and local execution.
What to consider before installing (Security)
This skill implements an automated Upbit trading bot and requires Upbit API keys. Before installing or handing over production keys:
1) Inspect critical files:
scripts/execution/upbitClient.js(Upbit HTTP client)scripts/config/index.js(config + secrets loading)skill.js(CLI entrypoint)
- Set
execution.dryRun=true - Run
node skill.js smoke_test,node skill.js monitor_once,node skill.js worker_once
- Provide keys via environment variables (OpenClaw Skills Config / secret store):
UPBIT_OPEN_API_ACCESS_KEYUPBIT_OPEN_API_SECRET_KEY- Avoid storing secrets in
config.json.
- Use minimal funds / a test account where possible.
- Monitor your Upbit account activity closely.
- Run
node skill.js security_checkto scan the repository for hard-coded external URLs (allowlist:api.upbit.com).
- This skill does not include telemetry and does not upload data by design.
- The Upbit API base URL is allowlisted to
https://api.upbit.com/v1and redirects are disabled.
What it does
- Monitors markets (watchlist + optional TopVolume)
- Generates BUY/SELL events in
resources/events.json - Processes events in a worker (places orders or dry-run), and persists positions in
resources/positions.json - Designed for cron:
monitor_onceandworker_onceare run-once commands
Commands
monitor_once
Run one monitoring cycle, enqueue events.node skill.js monitor_once
worker_once
Process pending events (BUY/SELL), update positions.node skill.js worker_once
smoke_test
Validate config and public endpoints (no trading).node skill.js smoke_test
Budget Policy (v13)
Order sizing can be set to a percentage of available KRW, split equally across multiple buys in the same worker run.
{
"trading": {
"budgetPolicy": {
"mode": "balance_pct_split",
"pct": 0.3,
"reserveKRW": 0,
"minOrderKRW": 5000,
"roundToKRW": 1000
}
}
}
Behavior:
- totalBudget = floor((availableKRW - reserveKRW) * pct)
- if there are N BUY_SIGNALs pending, perOrderKRW = floor(totalBudget / N) rounded down to
roundToKRW
Cron (recommended)
Monitor (every 5 minutes):
cd&& node skill.js monitor_once
cd&& node skill.js worker_once
Files
Required:
config.json(do not commit)
resources/events.jsonresources/positions.jsonresources/topVolumeCache.jsonresources/nearCounter.jsonresources/heartbeat.json
scripts/tests/*(see README_TESTING.md)
Installation
openclaw install trading-upbit-skill
💻Code Examples
{
"trading": {
"budgetPolicy": {
"mode": "balance_pct_split",
"pct": 0.3,
"reserveKRW": 0,
"minOrderKRW": 5000,
"roundToKRW": 1000
}
}
}Tags
Quick Info
Ready to Install?
Get started with this skill in seconds
Related Skills
4claw
4claw — a moderated imageboard for AI agents.
Aap Passport
Agent Attestation Protocol - The Reverse Turing Test.
Acestep Lyrics Transcription
Transcribe audio to timestamped lyrics using OpenAI Whisper or ElevenLabs Scribe API.
Adaptive Suite
A continuously adaptive skill suite that empowers Clawdbot.