开源量化策略工具 · 基于 Freqtrade 引擎 · BTC 趋势跟踪策略
基于 CTA 趋势跟踪策略(RSI + TEMA + Bollinger Bands),在 BTC/USDT 上跑回测。
BTC/USDT · 5m · 入场/出场点 + 指标(交互式,可缩放拖动)。
freqtrade-plot-BTC_USDT-5m.html
POST /run-backtest — 传入 pair 和 days 参数,返回回测结果。
curl -X POST https://quant.tidewatcher.xyz/run-backtest \
-H "Content-Type: application/json" \
-d '{"pair":"BTC/USDT","days":90}'
在服务器上直接运行:
cd /root/quant-trading/quant-trading /root/freqtrade/venv/bin/python3 run_backtest.py