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.
依產業瀏覽研究報告,支援代號/公司名搜尋與 wikilink 跳轉
Translation pending
FinancePython · AstroGitHub @meishihnaOnlineOwner 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
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗將上市櫃公司研究整理成可搜尋、可連結、可瀏覽的資料庫:產業分類下的 Markdown 報告、[[wikilink]] 交錯成網、主題與供應鏈分層,以及 Astro 網站(產業/報告/選股器/自選比較/財經新聞 NLP/延遲行情與財務儀表板)。
| 面向 | 說明 |
|---|---|
| 報告 | Pilot_Reports/ 依產業存放 代號_公司名.md:業務、供應鏈、客供;財務表與估值由 JSON 提供。 |
| Wikilink | 報告內 [[台積電]]、[[CoWoS]] 等連結;建索引與探索工具,形成主題、公司關聯與共現圖。 |
| 財經新聞 + NLP | /news 聚合 8 大來源即時標題;本地 NLP:情緒(利多/利空)、題材/Wikilink 標籤、跨來源事件聚類;外加 Claude Code 每日簡報(keyless)。 |
| 選股器/比較 | /screener 依估值與三率等門檻篩選 1,700+ 檔;/watchlist 自選、/compare 並排比較。 |
| 行情 | 報告頁延遲日線(Yahoo Chart v8)、K 線+成交量+均線、互動式 OHLCV;SSR 記憶體快取(需 Node)。 |
| 財務 | MOPS 市場級批次為骨幹,寫入 data/financials_store/{代號}.json(8 年/32 季);報告頁 FinancialDashboard 讀取。 |
├── README.md / CLAUDE.md # 本檔 / 撰寫與品質規範
├── requirements.txt # Python 依賴
├── Pilot_Reports/ # 報告 Markdown(依產業分子資料夾)
├── data/financials_store/ # 結構化財務 JSON(8 年/32 季,MOPS 為主)
├── themes/ # 主題投資 Markdown(build_themes.py 產頁)
├── scripts/ # Python 維護/產報 + PowerShell 工具
├── web/ # Astro 4 + @astrojs/node(hybrid)
│ ├── src/ # 頁面、元件、lib(新聞 NLP、行情快取、圖表幾何…)
│ ├── scripts/ # build-data 索引產生器、測試
│ └── public/data/ # build 產生的索引 JSON、新聞情緒詞典/每日簡報
├── .claude/skills/ # 斜線技能(add-ticker、update-enrichment、news-digest…)
└── WIKILINKS.md # wikilink 索引(由腳本重建)
web/pip install -r requirements.txt
# 新增一檔
python scripts/add_ticker.py 2330 台積電 --sector Semiconductors
# 更新財務(單檔/批次/產業/全市場;MOPS 為主,Yahoo/FinMind 補漏)
python scripts/update_financials.py 2330
python scripts/update_financials.py --batch 101
# 僅刷新估值表(較快)
python scripts/update_valuation.py 2330
# 套用預先準備的 enrichment JSON
python scripts/update_enrichment.py --data enrichment.json 2330
# 品質稽核
python scripts/audit_batch.py --all -v
# 關鍵字探索(全文)
python scripts/discover.py "液冷散熱" --smart
# 重建 wikilink 索引與主題頁
python scripts/build_wikilink_index.py
python scripts/build_themes.py
財務資料:以 MOPS(公開資訊觀測站)市場級批次為骨幹,缺漏時以 FinMind/Yahoo 補;寫入 data/financials_store/{代號}.json。權杖、節流與開關變數見 scripts/update_financials.py 檔頭註解。
⚠️ 無
FINMIND_TOKEN時請勿全市場跑update_financials.py(會以稀疏資料覆蓋 8 年/32 季歷史)。
cd web
npm install
npm run dev # http://localhost:4321
/sectors 產業、/screener 選股、/watchlist 自選、/compare 比較、/themes 主題投資、/discover 探索、/news 財經新聞、/wiki Wikilink 索引、/report/[代號] 報告。output: "hybrid" + Node adapter(standalone)— 靜態頁預渲染,/api/*(news、quote-batch、bars…)在 Node 執行;純靜態託管無法還原完整行為。prebuild/predev 掃描報告、wikilink、主題、產業統計、選股索引寫入 public/data/。PUBLIC_SITE_URL(含 https://、無結尾斜線),供 canonical/OG/sitemap。web/src/lib/news-nlp.ts;測試 npm run test:news-nlp、npm run test:news-resolve。/news-digest 技能由 Claude Code 生成(不需 ANTHROPIC_API_KEY),寫入 web/public/data/news-digest.json;runtime 只讀,缺檔自動隱藏不壞頁。scripts/refresh-news-digest.ps1 + Windows 工作排程器(每日;無頭代理工具僅限 Read/Write)。scripts/open-site.ps1 —— 點擊自動啟動 dev server 並開站。更細的指令、快取標頭與資料流見 web/README.md。
CLAUDE.md。python scripts/audit_batch.py 相關範圍。MIT License(見 LICENSE)。公開數據之著作權屬原提供者;專案內文字為研究整理,轉載請自行留意來源與法遵。