[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-80920":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":13,"contributorsCount":13,"subscribersCount":13,"size":13,"stars1d":13,"stars7d":13,"stars30d":13,"stars90d":13,"forks30d":13,"starsTrendScore":13,"compositeScore":13,"rankGlobal":10,"rankLanguage":10,"license":15,"archived":16,"fork":16,"defaultBranch":17,"hasWiki":18,"hasPages":16,"topics":19,"createdAt":10,"pushedAt":10,"updatedAt":20,"readmeContent":21,"aiSummary":22,"trendingCount":13,"starSnapshotCount":13,"syncStatus":23,"lastSyncTime":24,"discoverSource":25},80920,"finlab","wjy3452801181-a11y\u002Ffinlab","wjy3452801181-a11y","Open-source personal investment banking research toolkit — Macro data scoring, A-share sector scanning, crypto market analysis, financial event analysis. One person, one research desk.","https:\u002F\u002Fgithub.com\u002Fwjy3452801181-a11y\u002Ffinlab",null,"Python",32,0,33,"MIT License",false,"main",true,[],"2026-06-12 02:04:08","# FinLab\n\n> **Your Open-Source Personal Investment Research Lab** — Macro, A-Shares, Crypto, News & Reports — all in one CLI toolchain.\n>\n> One person, one research department. Three roles, one framework.\n>\n> **你的开源个人投行研究室** — 宏观、A股、加密、新闻、研报一站式分析工具链。\n> 一个人就是一个研究部门。三个角色，一套框架。\n\n---\n\n## 背景 \u002F Background\n\n**中文：** FinLab 源于一个真实需求：个人交易者需要像投行研究部一样系统化地分析市场，但 Bloomberg Terminal 太贵、Excel 太散、普通工具又不够深。于是我们把一套跑通了半年多的个人研究框架开源出来。\n\n**English:** FinLab was born from a real need: individual traders need systematic market analysis like an investment bank's research department — but Bloomberg Terminal is too expensive, Excel is too fragmented, and off-the-shelf tools aren't deep enough. So we open-sourced a personal research framework that has been running in production for over six months.\n\n### 三角色研究框架 \u002F Three-role Research Framework\n\n| Role | Focus |\n|------|-------|\n| **宏观总监 \u002F Macro Director** (GS+UBS+Citi) | Global macro, rates, USD, asset allocation |\n| **行业首席 \u002F Sector Chief** (MS+CICC+NRI) | Sector rotation, China assets, Asian FX |\n| **交易执行官 \u002F Trade Executor** (JPM+Bernstein+BofA) | Entry timing, stop-loss, contrarian alpha |\n\n---\n\n## 快速开始 \u002F Quick Start\n\n```bash\npip install finlab\n\n# 查看可用命令 \u002F See available commands\nfinlab --help\n\n# 模块预览 \u002F Preview modules\nfinlab macro\nfinlab ashare\n| finlab news\nfinlab news\nfinlab report\n```\n\n---\n\n## 模块 \u002F Modules\n\n| Module | Functionality | Status |\n|--------|--------------|--------|\n| `finlab macro` | Macro data fetching + scoring system (PPI\u002FCPI\u002FNFP\u002FUnemployment) | ✅ 完成 \u002F Done |\n| `finlab ashare` | A-share sector scan + stock screening + trend analysis | ✅ 完成 \u002F Done |\n| `finlab news` | Real-time flash news + financial event analysis + briefs | ✅ 完成 \u002F Done |\n| `finlab report` | One-click 4-layer weekly report generation → Obsidian | ✅ 完成 \u002F Done |\n\n### 评分体系 \u002F Scoring System\n\n| Score | Label |\n|-------|-------|\n| 8-10 | 🚀 Strongly Bullish \u002F 强烈利多 |\n| 6-7 | ✅ Bullish \u002F 利好 |\n| 4-5 | ⚖️ Neutral \u002F 中性 |\n| 2-3 | 🔴 Bearish \u002F 利空 |\n| 1 | ⚠️ Strongly Bearish \u002F 强烈利空 |\n\n### 报告四层结构 \u002F Four-Layer Report Structure\n\n1. **Data Update \u002F 数据更新** — Core indicators, charts, anomalies\n2. **Policy & News \u002F 政策与新闻** — Layered: macro → industry → company\n3. **Thematic Analysis \u002F 专题分析** — Event → cause → transmission → forecast\n4. **Investment View \u002F 投资观点** — Specific picks + risk warnings\n\n---\n\n## 架构 \u002F Architecture\n\n```\nfinlab\u002F\n├── finlab\u002F\n│   ├── cli.py          # Typer CLI 入口 \u002F Entry point\n│   ├── core\u002F           # 数据模型 + 数据源抽象层\n│   │   ├── models.py   # Dataclasses (MacroEvent, AShareSignal, etc.)\n│   │   └── sources.py  # DataSource ABC + 插件化\n│   ├── macro\u002F          # 宏观模块 \u002F Macro module\n│   ├── ashare\u002F         # A股模块 \u002F A-share module\n│   ├── news\u002F           # 新闻模块 \u002F News module\n│   └── report\u002F         # 研报模块 \u002F Report module\n├── tests\u002F\n├── data\u002F\n└── docs\u002F\n```\n\n### 数据源 \u002F Data Sources\n\n| Source | Type | Coverage |\n|--------|------|----------|\n| Baostock | A-share historical | Daily\u002Fminute kline |\n| yfinance | Global market | US stocks, crypto, FX, commodities |\n| Jin10 (MCP) | Real-time flash + calendar | Macro data, breaking events |\n| 金十数据 \u002F Jin10 Markets | Market snapshot | Indices, commodities, FX |\n\n---\n\n## 开发 \u002F Development\n\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002Fwjy3452801181-a11y\u002Ffinlab.git\ncd finlab\npip install -e \".[all]\"\n\n# 运行测试 \u002F Run tests\npytest tests\u002F\n\n# 代码检查 \u002F Lint\nruff check finlab\u002F\n```\n\n---\n\n## 贡献 \u002F Contributing\n\nFeedback is welcome — bugs, feature requests, documentation improvements, or naming complaints.\n\n- **提 Issue \u002F Open an Issue** — [github.com\u002Fwjy3452801181-a11y\u002Ffinlab\u002Fissues](https:\u002F\u002Fgithub.com\u002Fwjy3452801181-a11y\u002Ffinlab\u002Fissues)\n- **PR** — Fork, code, and submit a PR\n\nDiscussions about data source integrations, new modules, or technical architecture are also welcome in Issues.\n\n---\n\n## 许可 \u002F License\n\nMIT © 2026 [ray wang](https:\u002F\u002Fgithub.com\u002Fwjy3452801181-a11y)\n","FinLab 是一个开源的个人投资研究工具包，旨在为个人交易者提供系统化的市场分析功能。它使用 Python 开发，集成了宏观数据分析、A股行业扫描、加密货币市场分析以及金融事件分析等功能于一体，通过命令行界面操作。项目支持从宏观经济指标评分到个股筛选和趋势分析，再到实时财经新闻推送与研报生成等多维度研究需求。适用于希望以较低成本获得专业级投资研究能力的个人投资者或小型团队，在没有昂贵的专业软件情况下也能进行深入细致的金融市场分析。",2,"2026-06-11 04:02:50","CREATED_QUERY"]