feat: 重构为三所价差异动监控系统

删除 HyperLiquid + 全部交易功能,构建自适应 surge 检测器。
- 新增 surge_detector.go: 每币独立滚动窗口基线,检测三所价差异常飙升
- 新增 SpreadCard/SurgeCard 前端组件
- 保留 momentum/trend/cumulative/trend_filter 扫描功能
- 更新文档和配置以反映新系统

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
jackyu66git
2026-05-08 02:01:18 +08:00
co-authored by Claude Opus 4.6
parent 559d7bb870
commit d38782490c
36 changed files with 1201 additions and 6374 deletions
+2 -3
View File
@@ -50,10 +50,9 @@ if [ "$CLEAN_DB" = true ]; then
fi
# 设置代理(Clash Verge 本地代理,用于 Binance/OKX/Bitget WS 连接)
# HyperLiquid 直连,无需代理
export HTTPS_PROXY=http://127.0.0.1:7897
export HTTP_PROXY=http://127.0.0.1:7897
export NO_PROXY="api.hyperliquid.xyz,hyperliquid.xyz,localhost,127.0.0.1"
export NO_PROXY="localhost,127.0.0.1"
# 编译
NEED_BUILD=false
@@ -63,7 +62,7 @@ elif [ "$FORCE_REBUILD" = true ]; then
NEED_BUILD=true
elif [ -n "$(find . -name '*.go' -newer "$BIN" 2>/dev/null | head -1)" ]; then
NEED_BUILD=true
elif [ -n "$(find web/static -newer "$BIN" 2>/dev/null | head -1)" ]; then
elif [ -n "$(find frontend/dist -newer "$BIN" 2>/dev/null | head -1)" ]; then
NEED_BUILD=true
fi