okx-smart-dca

Automates volatility-adjusted dollar cost averaging of crypto tokens using RSI signals and scheduled swaps.

Updated Apr 5, 2026
One-click install
npx skills add https://github.com/Nith567/xlayer-skills-arena --skill okx-smart-dca-nith567
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: okx-smart-dca
Source: https://github.com/Nith567/xlayer-skills-arena/tree/main/okx-smart-dca
Command: npx skills add https://github.com/Nith567/xlayer-skills-arena --skill okx-smart-dca-nith567

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually timing recurring crypto purchases is error-prone and emotionally driven; this Skill automates dollar cost averaging with market-aware sizing so buys increase when assets are oversold and decrease when overbought. ## Core Features & Use Cases - Smart Sizing Engine: Calculates 14-day RSI and price position vs the 30-day average from OKX kline data, then applies a multiplier (0.5x to 2.0x) to the base budget per cycle. - Automated Scheduling: Uses CronCreate to run daily, weekly, bi-weekly, or monthly buy cycles, with pause, resume, stop, and modify commands. - Risk Controls: Skips cycles on extreme overbought RSI or insufficient balance, blocks honeypot tokens, and warns on high price impact. - Use Case: A user says "DCA $50 into ETH every Monday" — the Skill fetches 30-day klines, computes RSI, sizes the buy, executes the swap via onchainos, tracks cost basis, and schedules future runs. ## Quick Start Ask the agent to set up a smart DCA of $50 into ETH every week on Base.

Frequently Asked Questions about okx-smart-dca

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up recurring crypto buys with dollar cost averaging?▼

Tell the agent your target token, budget, and frequency, such as "DCA $50 into ETH every week". The Skill parses the intent, executes the first buy, and creates a cron job for future cycles.

How does smart DCA adjust buy amounts based on market conditions?▼

It calculates 14-day RSI from OKX 30-day kline data and compares price to the 30-day average. Oversold conditions multiply the base budget up to 2x, while overbought conditions reduce it to 0.5x, capped between 0.25x and 3x.

Can I DCA into multiple tokens at the same time?▼

Yes, you can specify multiple tokens with separate budgets, such as "$30 into ETH and $20 into SOL weekly". The Skill creates separate cron jobs per token and shows a combined cost basis and P&L table.

What happens if my wallet balance is too low for a scheduled DCA buy?▼

The cycle is skipped and you are notified, while the schedule continues for the next run. After three consecutive skips due to low balance, the Skill alerts you that the DCA is effectively paused.

How do I pause, stop, or change an existing DCA schedule?▼

Say "pause my DCA" to delete the cron job while saving settings, "stop my DCA" to remove it entirely, or "change to $100" to recreate the job with a new amount. Resuming recreates the cron with saved settings.

When does smart DCA skip a buy cycle entirely?▼

Cycles are skipped when RSI exceeds 80 (extreme overbought), when stablecoin balance is insufficient, or when the token is flagged as a honeypot. Price impact above 2% triggers a warning to reduce the amount.