- position_closer: 去掉 Redis 依赖,平仓条件仅名义+未实现盈亏 - requirements: 移除 redis - settings.toml: 仅保留实际使用的配置项 - 新增 Dockerfile(仅安装依赖)、docker-compose(挂载代码与配置) - 新增 .dockerignore、.gitignore(含 nohup.log) Co-authored-by: Cursor <cursoragent@cursor.com>
26 lines
288 B
Plaintext
26 lines
288 B
Plaintext
# 虚拟环境与缓存
|
|
.venv
|
|
__pycache__
|
|
*.pyc
|
|
.pytest_cache
|
|
.mypy_cache
|
|
|
|
# 版本与本地
|
|
.git
|
|
.gitignore
|
|
*.md
|
|
.env
|
|
.env.*
|
|
.secrets.toml
|
|
nohup.log
|
|
|
|
# 测试与示例(镜像内不运行测试)
|
|
tests
|
|
*.example
|
|
pytest.ini
|
|
|
|
# Docker 自身
|
|
Dockerfile
|
|
docker-compose*.yml
|
|
.dockerignore
|