Crypto trading bot framework with FreqAI ML extension supporting multiple machine learning and deep learning models.
下列模型路径已对照 Freqtrade develop 修订版 c0a991f (2026-09-24). 这些是示例实现;未测量速度、准确率或交易收益评分。
官方 FreqAI 指南从 FreqaiExampleStrategy、LightGBMRegressor 和 config_freqai.example.json 入手。示例策略仅供学习与测试,不用于生产交易。参见 FreqAI.
freqtrade trade --config config_examples/config_freqai.example.json --strategy FreqaiExampleStrategy --freqaimodel LightGBMRegressor --strategy-path freqtrade/templates先安装 FreqAI 依赖并检查示例配置。将预测用于策略前,须用时间顺序数据和交易成本验证。
FreqAI 预测模型用于基于机器学习的价格预测。每个模型都需要通过 Freqtrade 的特征流水线进行特征工程。
Gradient boosting regression model for price movement prediction using LightGBM.
freqtrade/freqai/prediction_models/LightGBMRegressor.pyLightGBM classification model for user-defined discrete labels.
freqtrade/freqai/prediction_models/LightGBMClassifier.pyXGBoost-based regression model for continuous value prediction.
freqtrade/freqai/prediction_models/XGBoostRegressor.pyXGBoost classification model for user-defined discrete labels.
freqtrade/freqai/prediction_models/XGBoostClassifier.pyMulti-layer perceptron neural network for regression-based price prediction.
freqtrade/freqai/prediction_models/PyTorchMLPRegressor.py