Commit Graph

  • c021003861 feat: 接入 Google Analytics (G-LVVXH3TL04) main jackyu66git 2026-07-02 15:57:26 +08:00
  • 23f3c61c9f misc: binance momentum, telegram, frontend updates jackyu66git 2026-06-03 09:39:54 +08:00
  • b2ff322ef3 misc updates jackyu66git 2026-05-21 14:37:49 +08:00
  • d38782490c feat: 重构为三所价差异动监控系统 jackyu66gitandClaude Opus 4.6 2026-05-08 02:01:18 +08:00
  • 559d7bb870 feat: 趋势过滤信号记录系统 + 实时涨跌方向判断 jackyu66gitandClaude Opus 4.6 2026-05-06 22:24:59 +08:00
  • 73dac50a36 chore: 清理git跟踪的node_modules + 添加node_modules/.DS_Store到gitignore jackyu66gitandClaude Opus 4.6 2026-05-06 13:29:36 +08:00
  • b7767c95ae feat: 添加OKX行情接入+趋势检测+累积变动系统+界面重构 jackyu66gitandClaude Opus 4.6 2026-05-06 13:26:05 +08:00
  • 047571921e fix: 重启时查交易所验证持仓是否存在,幽灵仓位自动标记 closed jackyu66gitandClaude Opus 4.7 2026-05-05 03:23:44 +08:00
  • 2f4d7869a9 fix: 重启后加仓数据恢复 + scale_count/amount_usd 实时持久化 jackyu66gitandClaude Opus 4.7 2026-05-05 03:19:26 +08:00
  • f97ac16b1c feat: 实际成交价追踪 + reduceOnly保护 + 数据库增强 jackyu66gitandClaude Opus 4.7 2026-05-05 02:59:18 +08:00
  • c0cafb0400 fix: BG 22002视为已平仓不重试 + 删除STBL jackyu66git 2026-05-05 01:09:52 +08:00
  • d7405a5f33 fix: 删除STBL, 撤回22002错误修正(22002是Passphrase认证问题) jackyu66git 2026-05-05 01:03:17 +08:00
  • fd777e6fe0 fix: Bitget 平仓必须传 holdSide 参数 jackyu66git 2026-05-05 00:46:49 +08:00
  • d01a261828 fix: 删除零成交误判逻辑 + 各种稳定性修复 jackyu66git 2026-05-05 00:41:39 +08:00
  • 866f9906b7 fix: HL market order double slippage causing 'Order has invalid size' jackyu66git 2026-05-04 23:35:44 +08:00
  • ce204abc81 fix: remove HL-delisted coins from scanner (BNT/CATI/CYBER/ILV/LISTA/OGN/STG) + PIXEL jackyu66git 2026-05-04 23:12:41 +08:00
  • c04d8ca0da fix: 修正注释位置 && 清理废弃的 GetHLSize jackyu66git 2026-05-04 22:52:45 +08:00
  • 9d942e9dee fix: HL size 动态格式化(从 Meta 取 szDecimals) jackyu66git 2026-05-04 22:50:24 +08:00
  • 292669fb0d fix: 手动平仓持久化PnL到DB jackyu66git 2026-05-04 22:32:42 +08:00
  • 9163d7fd30 切换到实盘环境 jackyu66git 2026-05-04 22:24:30 +08:00
  • 4b009124d1 fix: revert dashboard bind to :8888 (external access), keep CLI IPC for control jackyu66git 2026-05-04 20:36:44 +08:00
  • 8ccb439f7a refactor: replace REST API with Unix socket IPC + CLI subcommands jackyu66git 2026-05-04 20:34:00 +08:00
  • 88462f9829 feat: add API endpoints for positions, close, close-all, pnl, plus DB persistence before goroutine jackyu66git 2026-05-04 20:28:52 +08:00
  • 06a7e37836 fix: persist positions to DB before goroutine so restarts don't lose open trades jackyu66git 2026-05-04 20:16:44 +08:00
  • 411365b66e fix: correct HL fee parsing (OrderStatus not statuses[]) and add productType to BG fills query jackyu66git 2026-05-04 20:06:27 +08:00
  • 6e9b982c66 config: lower threshold 0.10->0.05, arb 0.03->0.02, amount 0->0 jackyu66git 2026-05-04 19:31:08 +08:00
  • 19443c132a cleanup: remove 6 coins unsupported on Bitget testnet (OP, WIF, PYTH, SAND, IOTA, MOVE) jackyu66git 2026-05-04 19:18:58 +08:00
  • 6baae85eaa feat: actual exchange fees for entry orders jackyu66git 2026-05-04 18:35:33 +08:00
  • 0b2bfd0b02 chore: remove re-tracked gitignored files jackyu66git 2026-05-04 18:27:44 +08:00
  • 0aa9923067 fix: full arb table + net profit columns in price view jackyu66git 2026-05-04 18:26:49 +08:00
  • 9628100681 chore: remove tracked files that should be gitignored jackyu66git 2026-05-04 18:06:03 +08:00
  • 5f6578c179 feat: add 17 new cross-exchange pairs (BG↔HL) jackyu66git 2026-05-04 18:05:53 +08:00
  • dd26152c2b chore: clean tracked ignores (logs, binary, .env, data) jackyu66git 2026-05-04 17:50:46 +08:00
  • 49da6fd35b fix: HL balance now reads spot USDC via SpotUserState jackyu66git 2026-05-04 17:48:14 +08:00
  • 156ce22474 feat: HL EVM signing via sonirico/go-hyperliquid SDK - testnet orders work jackyu66git 2026-05-04 16:21:57 +08:00
  • 24727e4ec4 refactor: HL EVM signing via sonirico/go-hyperliquid SDK jackyu66git 2026-05-04 16:16:21 +08:00
  • 8b8d4140f9 refactor: HL EVM signing via sonirico/go-hyperliquid SDK jackyu66git 2026-05-04 16:15:51 +08:00
  • c5c4c7394f fix: HL testnet - add API wallet address to signed orders, 3-param constructor jackyu66git 2026-05-04 15:39:31 +08:00
  • 30436bbe75 fix: BG paper trading API - tradeSide param, correct host, marginMode jackyu66git 2026-05-04 15:28:08 +08:00
  • e5ea78ffd2 feat: real trading mode, auto-stop after 5 trades, HL testnet support jackyu66git 2026-05-04 14:31:52 +08:00
  • 5fa3e1bac8 docs: update README for v1.3 — fund management, position click detail, slippage jackyu66git 2026-05-04 13:59:21 +08:00
  • f29e78a435 fix: db migration tab char corrupted, restore historical trades jackyu66git 2026-05-04 13:50:49 +08:00
  • e74fd084ce config: raise trade_threshold to 0.20%, mock_slippage to 0.05% jackyu66git 2026-05-04 13:10:22 +08:00
  • 9eaa4597db chore: 删除未使用的 SpreadReverseExitPct 配置字段 jackyu66git 2026-05-04 06:41:49 +08:00
  • ccfa27b1a6 fix: scanner netProfit 漏算exit fees + 孤儿仓位标记failed jackyu66git 2026-05-04 06:39:24 +08:00
  • ddaa5badd2 fix: 重启后总PnL回到0的问题 + 前端PnL图表公式统一 jackyu66git 2026-05-04 06:23:35 +08:00
  • 2f4d03f9b1 优化: 共用一次 store.GetAll() 快照,消除每 tick 两次 map 分配 jackyu66git 2026-05-04 06:10:37 +08:00
  • 5aedcb6566 修复 scale-in 后 leg.EntryPrice 不更新 + 重启恢复时加载 scale prices jackyu66git 2026-05-04 06:06:37 +08:00
  • 7b8ad6abc8 feat: 交易详情净收益总计加美元金额 jackyu66git 2026-05-04 05:43:11 +08:00
  • af44e14f39 feat: 交易详情订单按交易所+时间排序, 加仓位列, 多空Pnl显示USD金额 jackyu66git 2026-05-04 05:38:08 +08:00
  • a9a21de5a2 refactor: 逐批次实时写入DB,删除persistTrade jackyu66git 2026-05-04 05:29:04 +08:00
  • ec725ed11a fix: PnL计算改为美元归一化,加仓不再虚增手续费 (calcArbPnL) jackyu66git 2026-05-04 05:03:16 +08:00
  • c44d763ab0 fix: 持仓面板 pnl_est 显示改为美元符号(后台已改为USD) jackyu66git 2026-05-04 04:38:52 +08:00
  • 0288dc8284 feat: 手续费改为逐笔USD累算 + Vite React前端 + system_orders表 + README jackyu66git 2026-05-04 04:34:27 +08:00
  • 15a4684208 chore: 增强start.sh, 支持--clean清库/--rebuild强制编译 jackyu66git 2026-05-04 02:03:17 +08:00
  • d1e6c965cb fix: blacklistCoin 计算退出PnL字段, 避免DB写入零值 jackyu66git 2026-05-04 02:00:04 +08:00
  • dd15c6fe43 fix: 移除多余的netPnl和反转检查, 收敛即退出(0.02%) jackyu66git 2026-05-04 01:57:56 +08:00
  • 1c0618583c fix: 收敛退出放宽到0.02%+净利为正, 恢复到0.02%即退不亏钱 jackyu66git 2026-05-04 01:55:22 +08:00
  • 51b8ee0c8a chore: 添加.gitignore, 移除日志文件跟踪 jackyu66git 2026-05-04 01:51:17 +08:00
  • 21a3f9a962 feat: 所有参数移至config.json, 重构退出逻辑, 清理遗留接口 jackyu66git 2026-05-04 01:46:17 +08:00
  • 2ed6ffc747 fix: Bitget WS keepalive — send text ping, not WebSocket PingMessage jackyu66git 2026-05-04 00:33:03 +08:00
  • e04a165d69 fix: start.sh detects embedded web file changes; rebuild on JS/CSS change jackyu66git 2026-05-04 00:09:49 +08:00
  • 004ff50325 web: spread highlight threshold 0.1% → 0.2% jackyu66git 2026-05-04 00:07:32 +08:00
  • b8c73852be fix: BG taker fee 0.06% → 0.03% jackyu66git 2026-05-04 00:04:14 +08:00
  • 02ca8e248c fix: trade_threshold 0.25 → 0.05 (net profit %) jackyu66git 2026-05-03 23:55:40 +08:00
  • 5d6d9352f3 fix: use taker fees (BG 0.06%, HL 0.045%) + threshold 0.25% jackyu66git 2026-05-03 23:34:01 +08:00
  • 68c0a342a6 fix: retryClose saves trade record and persists to DB on success jackyu66git 2026-05-03 23:19:15 +08:00
  • cf6548c37f fix: 4 bugfixes for production readiness jackyu66git 2026-05-03 23:13:44 +08:00
  • cdcf0acea6 docs: update README for async entry, entering status, 50ms scan jackyu66git 2026-05-03 23:00:18 +08:00
  • b55ff111a4 perf: scan interval 50ms fixed jackyu66git 2026-05-03 22:47:44 +08:00
  • 721abc02a9 fix: async entry race condition — 'entering' status prevents premature exit jackyu66git 2026-05-03 22:40:48 +08:00
  • 29f2072e90 feat: async TryEntry with goroutine, non-blocking main loop jackyu66git 2026-05-03 22:32:09 +08:00
  • 915b316ca7 fix: HL size floor, random scan jitter 50-250ms jackyu66git 2026-05-03 22:25:01 +08:00
  • 6a4b046742 config.json: add trade_enabled=true jackyu66git 2026-05-03 21:19:07 +08:00
  • e301c5aa4c fix config.json boolean fields (test_mode, trade_enabled) not applying jackyu66git 2026-05-03 21:16:45 +08:00
  • 327f2505dd sync README: update arch diagram and structure for stats separation jackyu66git 2026-05-03 21:14:49 +08:00
  • 32f06b57d6 move DetailedStats calc out of trader.go into dashboard.go jackyu66git 2026-05-03 21:13:11 +08:00
  • 1e4a3f3b37 Add detailed PnL and duration stats to dashboard jackyu66git 2026-05-03 21:03:40 +08:00
  • a89a1f6cd8 Configurable scan interval via SCAN_INTERVAL_MS env var jackyu66git 2026-05-03 20:55:09 +08:00
  • de6463530d Update README: add start.sh, fix Quick Start jackyu66git 2026-05-03 20:31:19 +08:00
  • 35d9f7661b Update README: spread window monitoring, synchronous entry jackyu66git 2026-05-03 20:30:47 +08:00
  • 5cfb6afa55 Fix SpreadWindow: use netProfit() for fee accuracy, track real peak jackyu66git 2026-05-03 20:28:27 +08:00
  • 8ae85750b5 Add SpreadWindowTracker to measure opportunity duration jackyu66git 2026-05-03 20:24:36 +08:00
  • 89d92b6672 Fix entry latency: synchronous execution with scan-time prices jackyu66git 2026-05-03 20:17:35 +08:00
  • 02fac78c59 Update README to reflect current architecture and features jackyu66git 2026-05-03 19:56:35 +08:00
  • c89a3b7333 fix: loadTrades before chart init + try-catch for CDN failure jackyu66git 2026-05-03 19:42:06 +08:00
  • 8284458b9c chore: startup script with port detection and auto-cleanup jackyu66git 2026-05-03 19:38:18 +08:00
  • e319b73331 fix: reversal = take profit, not stop loss jackyu66git 2026-05-03 19:24:51 +08:00
  • db52152ef9 fix: stop-loss on spread reversal + current spread sign (#3) jackyu66git 2026-05-03 19:22:35 +08:00
  • 57344d33f7 fix(dashboard): current spread sign for HL→BG positions jackyu66git 2026-05-03 19:11:34 +08:00
  • 505137bcb0 feat(web): trade detail modal with prices, fees, timestamps jackyu66git 2026-05-03 18:59:28 +08:00
  • 02b74f1ec0 decouple display from trading: snapMu + RefreshSnapshot/ReadSnapshot jackyu66git 2026-05-03 18:35:47 +08:00
  • b08d8490fc fix: data race, scale-in PnL, nonce mutex, dead code, hourly check jackyu66git 2026-05-03 18:31:14 +08:00
  • ab48e207a5 Fix 3 arbitrage logic issues from code review jackyu66git 2026-05-03 18:19:25 +08:00
  • 931855e1f5 Cleanup: remove dead code after P3 refactor jackyu66git 2026-05-03 18:13:11 +08:00
  • beb3611778 Phase 3: Real-time enhancements jackyu66git 2026-05-03 18:05:19 +08:00
  • da561325d7 Revert B#6: netProfit must NOT delegate to CalcNetProfit jackyu66git 2026-05-03 17:55:39 +08:00
  • 277c34c3bd Remove Aevo exchange (retired) jackyu66git 2026-05-03 17:50:42 +08:00
  • eb74495470 Fix 8 bugs from code review jackyu66git 2026-05-03 17:48:06 +08:00
  • c2489614a7 Phase 2: Web dashboard with SSE real-time push jackyu66git 2026-05-03 17:38:26 +08:00