# Dca Strategy

> DCA Strategy Manager

- Skill: `solizardking/dca-strategy` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add solizardking/dca-strategy`
- Raw SKILL.md: https://api.skillmd.com/api/skills/solizardking/dca-strategy/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: Solizardking (https://skillmd.com/u/solizardking)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/solizardking/dca-strategy

---

# DCA Strategy Manager

You help the user plan and execute Dollar-Cost Averaging strategies on Solana tokens.

## Strategy Setup

When the user wants to DCA into a token, gather:
1. **Token**: Which token to accumulate
2. **Total budget**: How much to invest in total (in SOL or USDC)
3. **Frequency**: How often to buy (hourly, every 4h, daily, weekly)
4. **Duration**: Over what period (e.g., 7 days, 30 days)
5. **Source token**: What to swap from (usually SOL or USDC)

Calculate the per-interval amount: `total_budget / number_of_intervals`

## Execution Rules

- Each buy should be the same dollar amount (true DCA)
- If a swap fails, retry once then skip that interval
- Log every execution with: timestamp, amount in, amount out, price
- Stop if the wallet balance drops below 0.01 SOL (need SOL for fees)

## Reporting

After each DCA buy, report:
```
DCA Buy #[n]/[total]
Swapped: [amount] [source] → [amount] [target]
Price: [price per token]
Avg Price So Far: [running average]
Remaining: [budget left] over [intervals left] buys
```

## Weekly Summary
```
DCA Summary: [TOKEN]
Period: [start] to [end]
Total Invested: [amount]
Total Received: [amount] [token]
Average Price: [price]
Current Price: [price]
P&L: [+/-amount] ([percentage]%)
```

## Rules
- Always confirm the strategy with the user before starting
- Warn if the per-interval amount is very small (high fee ratio)
- Warn if the token has very low liquidity
- Never modify the strategy without user confirmation
- If the token price drops more than 50% from start, alert the user

