chore: tighten gitignore and add .env.example for GitHub
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
# 复制为 .env 并填入真实值(.env 已在 .gitignore 中,不会上传 GitHub)
|
||||
#
|
||||
# MT5 实盘 / 数据拉取(run.py、live_trade.py、download_full_history.py 等)
|
||||
MT5_LOGIN=12345678
|
||||
MT5_PASSWORD=your_password_here
|
||||
MT5_SERVER=YourBroker-Demo
|
||||
|
||||
# 可选:加密数据管线遗留配置(仅 data_pipeline 使用 Birdeye 时需要)
|
||||
# BIRDEYE_API_KEY=
|
||||
+7
-2
@@ -46,6 +46,7 @@ ENV/
|
||||
|
||||
# Testing
|
||||
.pytest_cache/
|
||||
.hypothesis/
|
||||
.coverage
|
||||
htmlcov/
|
||||
.tox/
|
||||
@@ -74,9 +75,10 @@ strategies/*_progress.txt
|
||||
strategies/best_forex_smoke.json
|
||||
strategies/best_group_forex_smoke.json
|
||||
|
||||
# ── 回测输出(图表与报告)──────────────────────────────────────────
|
||||
# ── 回测/验证输出(图表、报告、可再生产物)────────────────────────
|
||||
backtest_output/
|
||||
backtest_output_*/
|
||||
verification_results.json
|
||||
|
||||
# ── 实盘/运行态文件 ────────────────────────────────────────────────
|
||||
portfolio_state.json
|
||||
@@ -87,9 +89,12 @@ train_stderr.log
|
||||
*.log
|
||||
logs/
|
||||
|
||||
# ── 本地数据缓存 ───────────────────────────────────────────────────
|
||||
# ── 本地数据缓存(体积大,机器相关)──────────────────────────────
|
||||
data/
|
||||
!data_pipeline/
|
||||
data/cache/
|
||||
**/kline_cache/
|
||||
*.parquet
|
||||
*.hcc
|
||||
*.hc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user