 crypto_predictorandClaude Opus 4.6
|
e78836bf42
|
fix: 修复 auto_trade 推理预处理逻辑,新增 create_labels 版对比测试脚本
auto_trade_polymarket.py: 新增 preprocess_for_inference 方法,推理时不调用
create_labels(避免 df[:-1] 砍掉输入K线),与 test 脚本逻辑一致。
test_dlinear_jan_2026_create_labels.py: 使用 create_labels 方式的 DLinear 测试
脚本,用于对比两种预处理方式的准确率差异。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
|
2026-02-10 23:05:17 +08:00 |
|
crypto_predictor
|
233f0c5d10
|
feat: 添加 Windows 兼容性支持,优化设备选择逻辑
- start_system.py: 跨平台进程管理
- Windows 使用 CREATE_NEW_PROCESS_GROUP 和 terminate()
- Unix 使用 setsid 和 killpg
- 自动检测并启用 Windows ANSI 颜色支持
- 设备选择逻辑优化:
- macOS: 优先使用 MPS,回退到 CPU
- Windows/Linux: 强制使用 CPU(无 CUDA 依赖)
- 影响文件:
- api/prediction_service.py
- auto_trade_polymarket.py
- training/config.py
|
2026-02-07 21:48:06 +08:00 |
|
crypto_predictor
|
db937fdcf9
|
feat: Add DB logging, price monitoring, and duplicate trade prevention
|
2026-02-06 15:48:45 +08:00 |
|
crypto_predictor
|
59fcb11ffa
|
接入数据库
|
2026-02-04 18:35:10 +08:00 |
|