dca
Installation
SKILL.md
Dollar-Cost Averaging (DCA)
Create recurring buy orders that automatically swap a fixed amount of one token into another at regular intervals. Supports AVNU and Ekubo DCA providers.
Prerequisites
- Active session required.
- Sufficient balance of the sell token for the total DCA amount.
- Account must be deployed on-chain.
Rules
- BEFORE any DCA operation, you MUST run
npx starkfi@latest statusandnpx starkfi@latest balanceto verify connectivity and funds. - ALWAYS run
dca-previewbeforedca-createto verify the expected output per cycle. - The
--per-cycleflag is required fordca-create. It sets the amount sold each execution cycle. - Frequency uses ISO 8601 duration format:
P1D(daily),PT12H(12 hours),P1W(weekly). - Suggest using
--simulatefirst to verify the DCA order would succeed. - AFTER a successful creation, verify with
npx starkfi@latest tx-status <hash>.