퀀트 투자/Freqtrade

[Freqtrade] Overview

SKY-STONE 2024. 9. 18. 21:14

https://www.freqtrade.io/en/stable/

  • 가상화폐 전략을 구상한 뒤 자동 매매 시스템 적용방법을 구사하기 위한 방법
  • Freqtrade라는 무료 코드가 있었으며 이를 이용할 수 있음
  • Telegram이나 WebUI로 제어할 수 있으며 머신러닝까지 지원

  • Freqtrade is a free and open source crypto trading bot written in Python.
  • It is designed to support all major exchanges and be controlled via Telegram or webUI.
  • It contains backtesting, plotting and money management tools as well as strategy optimization by machine learning.

1. Installation with Conda

# download freqtrade
git clone https://github.com/freqtrade/freqtrade.git

# enter downloaded directory 'freqtrade'
cd freqtrade

#Freqtrade install: Conda Environment
conda create --name freqtrade python=3.12

# enter conda environment
conda activate freqtrade

#Install last python dependencies with pip
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements.txt
python3 -m pip install -e .

#Patch conda libta-lib (Linux only)
cd build_helpers
bash install_ta-lib.sh ${CONDA_PREFIX} nosudo

 

2. Initialize the configuration

# Step 1 - Initialize user folder
freqtrade create-userdir --userdir user_data

# Step 2 - Create a new configuration file
freqtrade new-config --config user_data/config.json

 

3. Start the Bot

freqtrade trade --config user_data/config.json --strategy SampleStrategy

Trade
Dashboard
Chart
Logs