yhydev
|
48d31cd1d0
|
移除 Redis、精简配置,新增 Docker 支持
- position_closer: 去掉 Redis 依赖,平仓条件仅名义+未实现盈亏
- requirements: 移除 redis
- settings.toml: 仅保留实际使用的配置项
- 新增 Dockerfile(仅安装依赖)、docker-compose(挂载代码与配置)
- 新增 .dockerignore、.gitignore(含 nohup.log)
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-02-04 10:06:30 +08:00 |
|
yhydev
|
3ad9ff6231
|
position_closer: 平仓条件与日志优化
- 平仓条件改为:多空名义≤20 USDT 且未实现盈亏>0.05
- 去掉总盈亏前置条件及 Redis 盈亏历史相关逻辑
- 每个合约打印未实现盈亏、多头/空头名义(按未实现盈亏排序)
Co-authored-by: Cursor <cursoragent@cursor.com>
|
2026-02-04 00:52:19 +08:00 |
|
yhydev
|
b1d4245db7
|
添加平仓条件
|
2026-02-02 11:35:02 +08:00 |
|
yhydev
|
77887be4fb
|
大仓位平仓
|
2026-02-02 02:31:21 +08:00 |
|
yhydev
|
9541a1af86
|
init
|
2026-02-02 02:02:31 +08:00 |
|