오픈소스 라이브러리

Freqtrade

freqtrade/freqtrade

Crypto trading bot framework with FreqAI ML extension supporting multiple machine learning and deep learning models.

언어 Python자산 crypto시장 spot, derivatives유형 framework

출처와 실습 시작점

아래 모델 경로는 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 의존성을 설치하고 예시 설정을 검토하세요. 예측을 전략에 쓰기 전에 시계열 순서의 데이터와 거래 비용으로 검증하세요.

지표 기반 템플릿

SampleStrategy
Freqtrade
지표 기반beginner

Template strategy demonstrating basic technical indicator usage for entry/exit signals.

소스:freqtrade/templates/sample_strategy.py

머신러닝 모델(FreqAI)

머신러닝 기반 가격 예측을 위한 FreqAI 예측 모델. 각 모델은 Freqtrade의 피처 파이프라인을 통한 피처 엔지니어링이 필요합니다.

LightGBMRegressor
Freqtrade
머신러닝intermediate

Gradient boosting regression model for price movement prediction using LightGBM.

소스:freqtrade/freqai/prediction_models/LightGBMRegressor.py
LightGBMClassifier
Freqtrade
머신러닝intermediate

LightGBM classification model for user-defined discrete labels.

소스:freqtrade/freqai/prediction_models/LightGBMClassifier.py
XGBoostRegressor
Freqtrade
머신러닝intermediate

XGBoost-based regression model for continuous value prediction.

소스:freqtrade/freqai/prediction_models/XGBoostRegressor.py
XGBoostClassifier
Freqtrade
머신러닝intermediate

XGBoost classification model for user-defined discrete labels.

소스:freqtrade/freqai/prediction_models/XGBoostClassifier.py
PyTorchMLPRegressor
Freqtrade
머신러닝advanced

Multi-layer perceptron neural network for regression-based price prediction.

소스:freqtrade/freqai/prediction_models/PyTorchMLPRegressor.py
PyTorchTransformerRegressor
Freqtrade
머신러닝advanced

Transformer architecture for time-series regression using self-attention mechanism.

소스:freqtrade/freqai/prediction_models/PyTorchTransformerRegressor.py

강화학습(FreqAI)

Stable Baselines3 위에 구축된 강화학습 에이전트. 에이전트는 레이블된 데이터가 아닌 환경 상호작용을 통해 거래 결정을 학습합니다.

ReinforcementLearner
Freqtrade
강화학습advanced

Reinforcement learning agent using Stable Baselines3 (PPO/A2C/etc.) for trading decisions.

소스:freqtrade/freqai/prediction_models/ReinforcementLearner.py

Freqtrade 전략과 FreqAI 모델, 알고리즘 참조

SampleStrategy (Freqtrade)
Template strategy demonstrating basic technical indicator usage for entry/exit signals. 소스: https://github.com/freqtrade/freqtrade/blob/c0a991f5632cb900075ff2864b6671ed71a319d7/freqtrade/templates/sample_strategy.py.
LightGBMRegressor (Freqtrade)
Gradient boosting regression model for price movement prediction using LightGBM. 소스: https://github.com/freqtrade/freqtrade/blob/c0a991f5632cb900075ff2864b6671ed71a319d7/freqtrade/freqai/prediction_models/LightGBMRegressor.py.
LightGBMClassifier (Freqtrade)
LightGBM classification model for user-defined discrete labels. 소스: https://github.com/freqtrade/freqtrade/blob/c0a991f5632cb900075ff2864b6671ed71a319d7/freqtrade/freqai/prediction_models/LightGBMClassifier.py.
XGBoostRegressor (Freqtrade)
XGBoost-based regression model for continuous value prediction. 소스: https://github.com/freqtrade/freqtrade/blob/c0a991f5632cb900075ff2864b6671ed71a319d7/freqtrade/freqai/prediction_models/XGBoostRegressor.py.
XGBoostClassifier (Freqtrade)
XGBoost classification model for user-defined discrete labels. 소스: https://github.com/freqtrade/freqtrade/blob/c0a991f5632cb900075ff2864b6671ed71a319d7/freqtrade/freqai/prediction_models/XGBoostClassifier.py.
PyTorchMLPRegressor (Freqtrade)
Multi-layer perceptron neural network for regression-based price prediction. 소스: https://github.com/freqtrade/freqtrade/blob/c0a991f5632cb900075ff2864b6671ed71a319d7/freqtrade/freqai/prediction_models/PyTorchMLPRegressor.py.
PyTorchTransformerRegressor (Freqtrade)
Transformer architecture for time-series regression using self-attention mechanism. 소스: https://github.com/freqtrade/freqtrade/blob/c0a991f5632cb900075ff2864b6671ed71a319d7/freqtrade/freqai/prediction_models/PyTorchTransformerRegressor.py.
ReinforcementLearner (Freqtrade)
Reinforcement learning agent using Stable Baselines3 (PPO/A2C/etc.) for trading decisions. 소스: https://github.com/freqtrade/freqtrade/blob/c0a991f5632cb900075ff2864b6671ed71a319d7/freqtrade/freqai/prediction_models/ReinforcementLearner.py.