mirror of
https://github.com/NoFxAiOS/nofx.git
synced 2026-07-01 18:11:20 +08:00
merge: Resolve conflicts with nofxaios/dev (keep our features)
## Conflicts Resolved | 已解决冲突 ### api/server.go - ✅ Kept our feature: Query actual exchange balance when creating trader - ✅ Kept our feature: SystemPromptTemplate support - ✅ Kept our feature: scan_interval_minutes configuration - Applied go fmt for consistent code style ### manager/trader_manager.go - ✅ Kept our feature: newsCfg parameter (Telegram news integration) - Applied go fmt for consistent code style ### trader/binance_futures.go - ✅ Kept our feature: CancelStopOrders method (critical for partial close & dynamic TP/SL) - ✅ Kept our feature: callWithTimeSync wrapper (Binance time sync for -1021 errors) - Applied go fmt for consistent code style ## Verification | 验证 All critical features preserved: - ✅ CancelStopOrders method: 1 occurrence - ✅ SystemPromptTemplate: 9 occurrences - ✅ scan_interval_minutes: 3 occurrences - ✅ callWithTimeSync: 13 occurrences - ✅ newsCfg: 9 occurrences - ✅ Code compiles successfully - ✅ go vet passes without warnings - ✅ File line counts preserved (776 lines in binance_futures.go) Backup created at: z-dev-backup-20251104-015939
This commit is contained in: