添加本地数据源,以后就可以直接用本地数据了

This commit is contained in:
jackyu66git
2025-11-12 23:59:11 +08:00
parent 8e21ecb057
commit ac845ccfd0
14 changed files with 1461 additions and 446 deletions
+9
View File
@@ -10,6 +10,15 @@ RUN pip install -r /app/requirements.txt
COPY app /app/app
ENV DATA_DIR=/data \
EXCHANGE=binance \
SYMBOLS=BTC/USDT:USDT,ETH/USDT:USDT \
TIMEFRAMES=1m,1h,1d,1w,1M \
START_FROM=2022-01-01 \
POLL_FACTOR=0.5
VOLUME ["/data"]
EXPOSE 9000
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "9000"]