Skills2026年5月20日·1 分钟阅读

Freqtrade — Open-Source Crypto Trading Bot

A free and open-source crypto trading bot written in Python that supports backtesting, strategy optimization, and live trading across major exchanges.

Agent 就绪

Agent 可直接安装

这个资产可安装;Agent 先选择当前运行时、检查安装计划,再运行匹配命令。

Native · 98/100策略:允许
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
Freqtrade Trading Bot
直接安装命令
npx -y tokrepo@latest install ab180c52-5425-11f1-9bc6-00163e2b0d79 --target codex

先 dry-run 确认安装计划,再运行此命令。

Introduction

Freqtrade is a Python-based cryptocurrency trading bot that lets you design, backtest, and deploy automated trading strategies. It connects to major exchanges via CCXT and provides a web UI for monitoring trades in real time.

What Freqtrade Does

  • Executes automated trading strategies on spot and futures markets across supported exchanges
  • Backtests strategies against historical data with detailed performance reports
  • Optimizes strategy parameters through hyperparameter tuning with Hyperopt
  • Provides a web-based dashboard (FreqUI) for monitoring open trades and profit/loss
  • Supports Telegram and webhook notifications for trade events

Architecture Overview

Freqtrade runs as a single Python process with an event loop that polls exchanges at configurable intervals. Strategies are defined as Python classes with indicator calculation and entry/exit logic. The bot uses SQLAlchemy with SQLite for trade persistence and exposes a REST API consumed by the FreqUI frontend.

Self-Hosting & Configuration

  • Install via pip or Docker with pre-built images for quick setup
  • Configure exchange credentials and trading pairs in a JSON config file
  • Define custom strategies as Python files in the user data directory
  • Run backtesting and hyperopt locally before deploying live
  • Deploy on a VPS or Raspberry Pi for 24/7 unattended operation

Key Features

  • Strategy development in pure Python with full access to technical indicators via TA-Lib
  • Comprehensive backtesting engine with configurable fees, slippage, and timeframes
  • Built-in edge positioning and risk management with stop-loss and trailing stop support
  • Dry-run mode for paper trading without risking real funds
  • Active community with hundreds of shared strategy examples

Comparison with Similar Tools

  • CCXT — A library for exchange connectivity; Freqtrade is a complete trading bot built on top of CCXT
  • Jesse — Similar Python bot; Freqtrade has a larger community and more exchange support
  • Gekko — Archived Node.js bot; Freqtrade is actively maintained with modern features
  • 3Commas — Commercial SaaS; Freqtrade is self-hosted and fully open source

FAQ

Q: Which exchanges does Freqtrade support? A: Any exchange supported by CCXT, including Binance, Kraken, OKX, Bybit, and many more.

Q: Can I use Freqtrade for futures trading? A: Yes, Freqtrade supports futures and margin trading on supported exchanges.

Q: Is Python knowledge required? A: Basic Python is needed to write strategies, but sample strategies and documentation make it accessible to beginners.

Q: Does Freqtrade cost anything? A: No, it is free and open source under the GPL-3.0 license.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产