freqtrade-tools
БесплатноБез исполняемых скриптовНе проверенShell aliases and helper commands for Freqtrade (cryptocurrency trading bot) that speed up common tasks. Use when setting up Freqtrade shortcuts, downloading…
от djc00p1 547 установок в других каталогахОб этом скилле
Freqtrade Tools
⚠️ Live Trading Warning: Before using
ftstart,ftstop, orftrestart, confirm whether Freqtrade is in dry-run or live-trading mode. These commands control real trading services. Verify your config before starting the bot.
Shell aliases and helper commands for faster Freqtrade workflows across Linux, macOS, and Windows.
Installation
Before You Run: Live Bot Safety
Several shortcuts in this skill control a live trading bot. Starting, stopping, or restarting a bot that holds real exchange credentials can change your positions.
Every command goes through a ft_guard helper that enforces three things
in code, not just in documentation:
- One explicit target. Every
docker-composecall passes-p "$FT_PROJECT". Without it,docker-composeacts on whatever project happens to be in the current directory, so a command could start or stop an unrelated container set. SetFT_PROJECTif your project is not namedfreqtrade. - Trading-mode detection. The guard reads
dry_runfrom the Freqtrade config and refuses to run bot-control commands whendry_runisfalse. If the config cannot be read, it refuses rather than assuming. - Confirmation for destructive actions.
ftstart,ftstop,ftrestart, andftdata --eraserequireFT_CONFIRM=yesbefore running.
Confirm before acting on a live bot. ftstart, ftstop, and ftrestart
take effect immediately. Before running them:
- Confirm the bot and its exchange account explicitly.
- Prefer a separate dry-run container for verification runs.
ftdata --erasedeletes cached market data. Confirm before using it.
Use the PowerShell functions over cmd.exe macros. The previous .bat
templates embedded the DAYS value directly into a powershell -Command
string, which allows command injection if that value is ever attacker-
controlled. Those templates have been removed; the cmd.exe section now
delegates to the PowerShell functions, which validate their arguments and
apply the guard.
Bash/Zsh: Copy functions from references/bash-zsh-aliases.md into ~/.bashrc (Linux) or ~/.zshrc (macOS), then source ~/.bashrc.
PowerShell: Copy functions from references/windows-equivalents.md into your $PROFILE file.
Core Commands
| Command | Purpose |
|---|---|
ftdata |
Download market data from Kraken |
ftback |
Run backtesting on a strategy |
ftstart |
Start docker-compose services |
ftstop |
Stop docker-compose services |
ftrestart |
Restart docker-compose services |
ftlogs |
Stream live logs from bot |
ftstatus |
Check service status + tail logs |
ftlist |
List downloaded data files |
ftui |
Open bot UI in browser |
ftdata — Download Data
Download market data with automatic date range calculation.
Usage:
ftdata "BTC/USDT" 90 5m # Download 90 days of 5-min BTC/USDT data
ftdata "ETH/USDT" 30 1h # 30 days of 1-hour ETH/USDT
ftdata "SOL/USDT" # Use defaults: 30 days, 5-min
ftdata "XRP/USDT" 365 5m --erase # Download 1 year, erase old data first
Parameters:
- Pair (required): Trading pair like
BTC/USDT - Days (optional): Historical days to download (default: 30)
- Timeframe (optional): Candle size —
5m,1h,4h,1d(default: 5m) - --erase (optional): Clear cached data before downloading (use when extending range)
Why --erase? Kraken enforces data continuity. When extending a download window (e.g., 30→90 days), you must erase existing data first to prevent overlaps.
ftback — Run Backtest
Run backtesting with automatic date calculations and optional pair filter.
Usage:
ftback "MyStrategy" 60 5m # Test MyStrategy for 60 days
ftback "MyStrategy" 90 1h "BTC/USDT" # Test on specific pair
ftback # Use defaults: SampleStrategy, 30 days, 5m
Bot Control
Start, stop, restart, and monitor services:
ftstart # Start services
ftstop # Stop services
ftrestart # Restart services
ftlogs # Stream logs (-f flag for follow)
ftstatus # Service status + recent logs
ftlist # View downloaded data inventory
ftui # Open UI (auto-detect browser)
Safety
Before Using Bot Control Commands
- Check trading mode: The guard reads
dry_runfrom your config and refuses to run bot-control commands against a live bot unless you setFT_CONFIRM=yes - ftstart confirmation: When
dry_run: false, ask for explicit human confirmation before starting - ftstop/ftrestart: Always notify the human before stopping or restarting services
- Target the right project: Set
FT_PROJECTif your compose project is not namedfreqtrade.docker-compose -pis what keeps a command from acting on an unrelated container set. - Override the config path: Set
FT_CONFIGif your Freqtrade config is not atuser_data/config.json
Установить freqtrade-tools в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл freqtrade-tools?
Shell aliases and helper commands for Freqtrade (cryptocurrency trading bot) that speed up common tasks. Use when setting up Freqtrade shortcuts, downloading market data quickly, running backtests from the command line, or controlling the bot. ⚠️ Bot control commands (ftstart/ftstop/ftrestart) target a single named compose project and refuse to run against a live (dry_run: false) bot or delete cached data without explicit confirmation. Covers bash/zsh (Linux/macOS) and PowerShell/Command Prompt (Windows). Trigger phrases: freqtrade aliases, freqtrade shortcuts, ftdata, ftback, freqtrade commands, freqtrade windows.
Как установить скилл freqtrade-tools?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл freqtrade-tools запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create 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…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic