Binance Dca
Professional Binance Dollar-Cost Averaging (DCA) tool for automated and manual recurring crypto purchases. Plan DCA strategies with scenario analysis, execute…
от fpsjago3 120 установок в других каталогах
Установить Binance Dca в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Binance DCA — Professional Dollar-Cost Averaging Tool
Systematic crypto accumulation made simple.
Plan, execute, and track DCA strategies on Binance with confidence.
What is DCA?
Dollar-Cost Averaging (DCA) is an investment strategy where you buy a fixed dollar amount of an asset at regular intervals, regardless of price. This approach:
- ✅ Reduces timing risk — no need to predict market tops/bottoms
- ✅ Smooths volatility — averages out price fluctuations over time
- ✅ Removes emotion — systematic buying, no panic or FOMO
- ✅ Builds discipline — consistent accumulation, perfect for long-term holders
This tool helps you plan, automate, and track your DCA strategy on Binance spot markets.
Features
- 📊 DCA Plan Projections — scenario analysis showing potential outcomes at different price levels
- 💰 Market & Limit Orders — flexible execution options
- 📈 Trade History — track your accumulation progress
- 🔒 Secure — credentials via environment variables only, zero hardcoded secrets
- 🧪 Testnet Support — practice on Binance testnet before going live
- 🤖 OpenClaw Integration — automate DCA buys via cron jobs with alerts
- 🛡️ Risk Management — conservative defaults, validation before execution
Setup
1. Get Binance API Keys
- Log in to binance.com
- Go to Account → API Management
- Create a new API key:
- Label:
OpenClaw-DCA(or similar) - Restrictions: Enable Spot & Margin Trading only
- IP Whitelist: Add your server IP for security (optional but recommended)
- Label:
- Save your API Key and Secret Key securely
⚠️ Security tips:
- Never share your secret key
- Enable IP whitelist if your server has a static IP
- Use a separate API key for DCA (easier to revoke if needed)
- Start with small amounts to test
2. Set Environment Variables
Never hardcode credentials. Always use environment variables:
export BINANCE_API_KEY="your-api-key-here"
export BINANCE_SECRET_KEY="your-secret-key-here"
Make them permanent (optional, add to ~/.bashrc or ~/.zshrc):
echo 'export BINANCE_API_KEY="your-api-key-here"' >> ~/.bashrc
echo 'export BINANCE_SECRET_KEY="your-secret-key-here"' >> ~/.bashrc
source ~/.bashrc
For testnet (recommended for first-time users):
export BINANCE_BASE_URL="https://testnet.binance.vision"
Get testnet API keys at: testnet.binance.vision
3. Verify Setup
# Check balance (should not error)
bash scripts/dca.sh balance USDT
# Check BTC price
bash scripts/dca.sh price BTCUSDT
If you see prices/balances, you're ready!
Quick Start Examples
Example 1: Check Current Price
bash scripts/dca.sh price BTCUSDT
# Output: BTCUSDT = 95234.50
Works for any pair:
bash scripts/dca.sh price ETHUSDT
bash scripts/dca.sh price SOLUSDT
Example 2: Check Your Balance
bash scripts/dca.sh balance USDT
# Output: USDT: free=1000.00000000, locked=0.00000000
Check any asset:
bash scripts/dca.sh balance BTC
bash scripts/dca.sh balance ETH
Example 3: Plan a DCA Strategy
Scenario: You want to invest $600 over 3 months in BTC.
# $50 every week for 12 weeks
bash scripts/dca.sh plan 50 7 12 BTCUSDT
Output:
DCA Plan: BTCUSDT
==========================
Buy amount: $50 per buy
Frequency: every 7 days
Duration: 12 buys
Current: 95234.50
==========================
Total invest: $600.00
At cur. price: 0.00630245 BTC
Time span: 84 days (~2.8 months)
Scenario Analysis (if avg price over period is):
-30% -> avg $ 66,664.15 -> 0.00900000 BTC -> PnL: -$186.00 (-31.0%)
-20% -> avg $ 76,187.60 -> 0.00787500 BTC -> PnL: -$126.00 (-21.0%)
-10% -> avg $ 85,711.05 -> 0.00700000 BTC -> PnL: -$63.00 (-10.5%)
+0% -> avg $ 95,234.50 -> 0.00630245 BTC -> PnL: +$0.00 (+0.0%)
+10% -> avg $104,757.95 -> 0.00572727 BTC -> PnL: +$63.00 (+10.5%)
+20% -> avg $114,281.40 -> 0.00525000 BTC -> PnL: +$126.00 (+21.0%)
+50% -> avg $142,851.75 -> 0.00420000 BTC -> PnL: +$378.00 (+63.0%)
+100% -> avg $190,469.00 -> 0.00315122 BTC -> PnL: +$630.00 (+105.0%)
What this tells you:
- If BTC stays flat → break even
- If BTC averages -20% during your buys → you're down ~21% (but you own more BTC)
- If BTC averages +50% → you're up ~63%
Use this to set realistic expectations before committing.
Example 4: Execute Your First DCA Buy
Market order (instant execution):
# Buy $50 worth of BTC at current market price
bash scripts/dca.sh buy BTCUSDT 50
Output:
Placing MARKET buy: BTCUSDT for 50 USDT...
Order #123456789: FILLED
Filled: 0.00052500 BTC
Limit order (wait for your price):
# Only buy if BTC drops to $94,000
bash scripts/dca.sh buy BTCUSDT 50 LIMIT 94000
Output:
Placing LIMIT buy: BTCUSDT for 50
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Binance Dca?
Professional Binance Dollar-Cost Averaging (DCA) tool for automated and manual recurring crypto purchases. Plan DCA strategies with scenario analysis, execute market/limit buys, track history, and manage systematic accumulation schedules for any trading pair. Includes risk management, testnet support, and OpenClaw automation integration. Triggers on requests about DCA, recurring buys, cost averaging, accumulation strategies, or Binance spot purchases.
Как установить скилл Binance Dca?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Binance Dca запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
AnthropicCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
discernment-nudge
AnthropicAfter you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
data-consolidate
AnthropicJoins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
inspection-to-capa
AnthropicRuns the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…