Install
openclaw skills install trading-upbit-skillUpbit automated trading (aggressive breakout) with cron-friendly run-once commands, TopVolume monitoring, and percent-based budget splitting.
openclaw skills install trading-upbit-skillUpbit automated trading skill for OpenClaw and local execution.
This skill implements an automated Upbit trading bot and requires Upbit API keys. Before installing or handing over production keys:
Inspect critical files:
scripts/execution/upbitClient.js (Upbit HTTP client)scripts/config/index.js (config + secrets loading)skill.js (CLI entrypoint)Run in dry-run mode first:
execution.dryRun=truenode skill.js smoke_test, node skill.js monitor_once, node skill.js worker_onceUse the platform secret store:
UPBIT_OPEN_API_ACCESS_KEYUPBIT_OPEN_API_SECRET_KEYconfig.json.Limit key permissions during testing:
Quick self-check:
node skill.js security_check to scan the repository for hard-coded external URLs (allowlist: api.upbit.com).Security notes:
https://api.upbit.com/v1 and redirects are disabled.resources/events.jsonresources/positions.jsonmonitor_once and worker_once are run-once commandsRun one monitoring cycle, enqueue events.
node skill.js monitor_onceProcess pending events (BUY/SELL), update positions.
node skill.js worker_onceValidate config and public endpoints (no trading).
node skill.js smoke_testOrder 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:
roundToKRWMonitor (every 5 minutes):
cd <skillRoot> && node skill.js monitor_onceWorker (every 1 minute):
cd <skillRoot> && node skill.js worker_onceRequired:
config.json (do not commit)Auto-created:
resources/events.jsonresources/positions.jsonresources/topVolumeCache.jsonresources/nearCounter.jsonresources/heartbeat.jsonTesting utilities:
scripts/tests/* (see README_TESTING.md)