Oracle3
Open-source trading engine and MCP server for prediction markets. Fee-aware no-arbitrage trading across related contracts, live on Kalshi, Polymarket and Solana or on paper.
用统计和机器学习分析美股信号,区分真规律与幻觉并公开记分
Translation pending
AI summary · README
FinancePython · HTMLGitHub @VambrocopOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
No updates detected yet. GitHub releases will appear here.
Owners of public repositories under a personal GitHub account can sign in to verify ownership and manage the introduction themselves. No administrator approval is needed.
Sign in, generate a verification file, and commit it to this repository’s default branch within 30 minutes. Files on other branches or forks do not count. Then check the file below to manage the project without administrator approval. Keep the file to retain your access.
If needed, you will go to sign-in. After signing in, return here and press your chosen verification button again.
Run /nomorevibe verify in your project folder to verify ownership and manage the introduction yourself.
Verify in one minuteAsk about other verification options
Vambrocop/valpha-lab
Translation pending
Taken from the repository README
Loading the full README. The saved excerpt is shown below.
用统计 + 机器学习分析美股(纳斯达克 + 标普500),但和大多数信号站相反: 它诚实地分清哪些规律是真的、哪些是幻觉,并用 append-only 实盘日志 + 每模型 vs 硬基线的 benchmark 记分卡公开追踪——说了什么、对了没有,无法事后美化。 我把能想到的维度都试了一遍,然后用严格的样本外方法(walk-forward 块自助 + 2024-2026 干净保留集) 分成两类: ✅ 真规律(站得住、能用) 波动率可预测(聚集效应,AUC≈0.67)· 股权溢价(20日约 62-66% 上涨,买入持有稳赢现金)· 隔夜异象(QQQ 隔夜段年化 +11.2% vs 日内 -2.3%)· 相关性体制(纳指-黄金现转正)· BTC 20日动量领先纳指 · VIX 倒挂/大跌后的均值回归。 用途:管理风险、择波动窗口、理解市场结构。 ❌ 幻觉(再多数据也打不赢市场) 用综合贝叶斯信号预测短期方向——样本外打不赢"无脑买入持有"(Tier≥4 平均 -0.3pp)。 这不是数据不够或统计不行,是市场效率:短期方向是最先被套利定价掉的维度。 我们如实展示这个失败,不假装能做到。 一句话:这是一个"分清真伪"的工具,不是又一个"我的信号很准"。Read the full README ↗
Live site → https://vambrocop.github.io/valpha-lab/
用统计 + 机器学习分析美股(纳斯达克 + 标普500),但和大多数信号站相反: 它诚实地分清哪些规律是真的、哪些是幻觉,并用 append-only 实盘日志 + 每模型 vs 硬基线的 benchmark 记分卡公开追踪——说了什么、对了没有,无法事后美化。
我把能想到的维度都试了一遍,然后用严格的样本外方法(walk-forward 块自助 + 2024-2026 干净保留集) 分成两类:
✅ 真规律(站得住、能用)
波动率可预测(聚集效应,AUC≈0.67)· 股权溢价(20日约 62-66% 上涨,买入持有稳赢现金)· 隔夜异象(QQQ 隔夜段年化 +11.2% vs 日内 -2.3%)· 相关性体制(纳指-黄金现转正)· BTC 20日动量领先纳指 · VIX 倒挂/大跌后的均值回归。 用途:管理风险、择波动窗口、理解市场结构。
❌ 幻觉(再多数据也打不赢市场)
用综合贝叶斯信号预测短期方向——样本外打不赢"无脑买入持有"(Tier≥4 平均 -0.3pp)。 这不是数据不够或统计不行,是市场效率:短期方向是最先被套利定价掉的维度。 我们如实展示这个失败,不假装能做到。
一句话:这是一个"分清真伪"的工具,不是又一个"我的信号很准"。
--full 模式)GitHub Actions(交易日自动跑两次:美东收盘后 + 开盘前)
│
▼
market-analysis/scripts/run_all.py ← 一键流水线
fetch_data → long_history → overnight_analysis → analyze
→ timing_analysis → event_study → build_signals(1)
→ backtest → walk_forward → track_predictions → build_signals(2)
→ export_chart_data → export_stocks → 镜像 web/ → docs/
│
▼
docs/ ← GitHub Pages 部署目录(纯静态:HTML + JSON)
index.html + app-1.js…app-5.js + style.css),Plotly 图表,无框架无构建(5 个脚本是同一份逻辑按 section 拆开的有序经典脚本,顺序不可重排)pip install -r market-analysis/requirements.txt # 核心只需 yfinance pandas numpy scipy requests
python market-analysis/scripts/run_all.py # 完整流水线(约2-3分钟)
python market-analysis/scripts/run_all.py --full # 含重型ML分析(需 statsmodels/arch/xgboost 等)
本地预览:双击 market-analysis/启动网站.bat(直接打开 index.html 会因 file:// 协议导致数据加载失败)。
仅供个人学习研究,不构成任何投资建议。所有"信号"本质是历史频率统计, 样本外优势尚未被证实(walk-forward 按部署配置评估,Tier≥4 平均 -0.3pp)——这正是实盘追踪存在的原因。