# Recipe Start Dca Bot

> Set up and run a dollar cost averaging bot from paper test to live.

- Skill: `jiayaoqijia/recipe-start-dca-bot-2` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx get-skill add jiayaoqijia/recipe-start-dca-bot-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/jiayaoqijia/recipe-start-dca-bot-2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: jiayaoqijia (https://skillmd.com/u/jiayaoqijia)
- Updated: 2026-11-18
- Page: https://skillmd.com/skills/jiayaoqijia/recipe-start-dca-bot-2

---


# Start a DCA Bot

> **PREREQUISITE:** Load the following skills to execute this recipe: `kraken-dca-strategy`, `kraken-paper-to-live`

Set up a dollar cost averaging bot that buys a fixed dollar amount of BTC at regular intervals.

> **CAUTION:** Live orders spend real money. Paper-test first, then promote with explicit approval.

## Steps

1. Initialize paper account: `kraken workspace create sandbox --capital 10000 --mode paper -o json 2>/dev/null`
2. Calculate volume from dollar amount: `PRICE=$(kraken ticker BTCUSD -o json 2>/dev/null | jq -r '.[].last_price') && VOLUME=$(echo "scale=8; 100 / $PRICE" | bc)`
3. Run 5 paper DCA buys to validate the loop: `kraken --workspace sandbox paper buy BTCUSD $VOLUME -o json 2>/dev/null`
4. Check paper results: `kraken workspace status sandbox -o json 2>/dev/null`
5. Review paper trade history: `kraken --workspace sandbox paper history -o json 2>/dev/null`
6. Run the live steps with no workspace active: `unset KRAKEN_WORKSPACE` in the shell that runs them, or prefix each live command with `KRAKEN_WORKSPACE=`. Inside a paper workspace, `balance` and `trades-history` read the paper ledger and `order buy` fills on paper.
7. Verify live credentials: `kraken auth test -o json 2>/dev/null`
8. Check live balance: `kraken balance -o json 2>/dev/null`
9. Validate the live order: `kraken order buy BTCUSD $VOLUME --type market --validate -o json 2>/dev/null`
10. Execute first live buy (requires human approval): `kraken order buy BTCUSD $VOLUME --type market -o json 2>/dev/null`
11. Verify fill: `kraken trades-history -o json 2>/dev/null`

If you hit a mismatch between what you are trying to do and the CLI's interface or responses — including a mismatch between this skill and the installed CLI version's contract — feel free to submit feedback with `kraken feedback`.

