移除 Redis、精简配置,新增 Docker 支持

- position_closer: 去掉 Redis 依赖,平仓条件仅名义+未实现盈亏
- requirements: 移除 redis
- settings.toml: 仅保留实际使用的配置项
- 新增 Dockerfile(仅安装依赖)、docker-compose(挂载代码与配置)
- 新增 .dockerignore、.gitignore(含 nohup.log)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
yhydev
2026-02-04 10:06:30 +08:00
parent 2b72dc40ae
commit 48d31cd1d0
16 changed files with 1245 additions and 31 deletions

5
.secrets.toml.example Normal file
View File

@@ -0,0 +1,5 @@
# 复制为 .secrets.toml 并填写真实值,勿提交 .secrets.toml 到 git
# 币安 API需要合约权限
binance_api_key = "your_api_key"
binance_api_secret = "your_api_secret"