{"id":13577893,"url":"https://github.com/LeekHub/leek-fund","last_synced_at":"2025-04-05T15:31:48.803Z","repository":{"id":37127896,"uuid":"284397976","full_name":"LeekHub/leek-fund","owner":"LeekHub","description":":chart_with_upwards_trend:  Leek box - Monitor the real-time data of stock \u0026 fund \u0026 future in VSCode, Be the most excellent investment extension. 韭菜盒子VSCode插件，可以看股票、基金、期货等实时数据。","archived":false,"fork":false,"pushed_at":"2025-01-29T09:41:16.000Z","size":21943,"stargazers_count":3155,"open_issues_count":63,"forks_count":457,"subscribers_count":33,"default_branch":"master","last_synced_at":"2025-04-03T09:28:04.205Z","etag":null,"topics":["fund","leek-fund","stock","typescript","vscode"],"latest_commit_sha":null,"homepage":"http://leek.fund","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LeekHub.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-02T05:32:22.000Z","updated_at":"2025-04-03T05:40:00.000Z","dependencies_parsed_at":"2023-01-28T05:31:36.710Z","dependency_job_id":"a83ee3f6-a4d1-4ce2-a9fa-fc8aec8bcbd2","html_url":"https://github.com/LeekHub/leek-fund","commit_stats":null,"previous_names":[],"tags_count":142,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeekHub%2Fleek-fund","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeekHub%2Fleek-fund/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeekHub%2Fleek-fund/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LeekHub%2Fleek-fund/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LeekHub","download_url":"https://codeload.github.com/LeekHub/leek-fund/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247358839,"owners_count":20926303,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fund","leek-fund","stock","typescript","vscode"],"created_at":"2024-08-01T15:01:25.233Z","updated_at":"2025-04-05T15:31:43.784Z","avatar_url":"https://github.com/LeekHub.png","language":"TypeScript","funding_links":[],"categories":["TypeScript (64)","TypeScript"],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"https://raw.githubusercontents.com/LeekHub/leek-fund/master/screenshot/leek-logo.png\" alt=\"韭菜盒子\" width=\"256\"/\u003e\n\n# leek-fund（韭菜盒子）\n\n**韭菜盒子**——VSCode 里也可以看股票 \u0026 基金 \u0026 期货实时数据，做最好用的投资插件。\n\nLeek box - Monitor the real-time data of stock \u0026 fund \u0026 future in VSCode, Be the most excellent investment extension.\n\n[![Marketplace](https://img.shields.io/visual-studio-marketplace/v/giscafer.leek-fund.svg?label=Marketplace\u0026style=for-the-badge\u0026logo=visual-studio-code)](https://marketplace.visualstudio.com/items?itemName=giscafer.leek-fund)\n[![Installs](https://img.shields.io/visual-studio-marketplace/i/giscafer.leek-fund.svg?style=for-the-badge)](https://marketplace.visualstudio.com/items?itemName=giscafer.leek-fund)\n[![Rating](https://img.shields.io/visual-studio-marketplace/stars/giscafer.leek-fund.svg?style=for-the-badge)](https://marketplace.visualstudio.com/items?itemName=giscafer.leek-fund)\n\n投资有风险，入市需谨慎！\n\n\u003c/div\u003e\n\n## Table of contents\n\n- [leek-fund（韭菜盒子）](#leek-fund韭菜盒子)\n  - [Table of contents](#table-of-contents)\n  - [功能特性](#功能特性)\n  - [安装使用](#安装使用)\n  - [插件介绍](#插件介绍)\n  - [插件设置](#插件设置)\n  - [社区交流](#社区交流)\n  - [感谢 PR](#感谢-pr)\n  - [Changelog](#changelog)\n  - [代码目录说明](#代码目录说明)\n  - [License](#license)\n\n\u003e 投资其实就是一次心态修炼，稳住心态长期投资都会有收益的！！\n\n## 功能特性\n\n本插件具有以下特点：\n\n- 基金实时涨跌，实时数据，支持海外基展示\n- 股票实时涨跌，支持 A 股、港股、美股\n- 期货实时涨跌，支持国内期货\n- 底部状态栏信息\n- 开市自动刷新，节假日关闭轮询\n- 支持升序/降序排序、基金持仓金额升序/降序\n- 基金实时走势图和历史走势图\n- 基金排行榜\n- 基金持仓信息\n- 股市资金流向（沪深港通资金流向、北向资金、南向资金）\n- 支持 GUI 操作新增\u0026删除 基金 和 股票\n- 通过 GUI 添加基金和股票时，支持模糊搜索匹配\n- 支持 GUI 设置涨跌颜色、状态栏股票自定义等\n- 雪球用户动态关注（雪球新闻）\n- 自定义涨跌图标（吃面、吃肉、烤韭菜、烤肉、喝酒）\n- 基金持仓金额设置（用于动态计算盈亏）\n- 基金盈亏展示（根据实时基金涨跌情况动态实时计算盈亏）\n- 支持维护持仓成本价，自动计算收益率\n- 基金趋势统计图\n- 基金支持分组展示\n- 股票支持分组展示（A 股、港股、美股）\n- 股票涨跌提醒设置\n- 状态栏、侧栏支持自定义模板格式\n- OUTPUT 面板支持选股宝异动快讯，金十资讯\n- 数据中心\u003e牛熊风向标数据统计\n- 新增支持期货\n- 外汇牌价\n- 欢迎 PR [Github 源码](https://github.com/LeekHub/leek-fund)\n\n## 安装使用\n\n安装插件：[VisualStudio - Marketplace](https://marketplace.visualstudio.com/items?itemName=giscafer.leek-fund)，VSCode 最低版本要求：`^1.44.0`\n\n## 插件介绍\n\n- [韭菜盒子使用文档](https://github.com/LeekHub/leek-fund/issues/371)\n- [VSCode 插件开发——韭菜盒子（图片如果展示不了可以看知乎的文章界面功能截图）](https://zhuanlan.zhihu.com/p/166683895)\n\n\u003c!-- https://raw.staticdn.net/ 为GitHub raw 加速地址 --\u003e\n\n![概览](https://raw.githubusercontents.com/LeekHub/leek-fund/master/screenshot/overview.png)\n\n![韭菜中心](https://raw.githubusercontents.com/LeekHub/leek-fund/master/screenshot/600036.png)\n\n## 插件设置\n\n**添加/删除股票或基金时，建议使用新增按钮模糊搜索添加（支持名称和编码搜索）**，详细可查看 [韭菜盒子使用文档](https://github.com/LeekHub/leek-fund/issues/371)\n\n自定义配置在 **Settings** 视图下：\n\n![](./screenshot/settings.png)\n\n## 社区交流\n\n\u003e 因恶意举报，不再提供微信官方群聊，可加电报群：https://t.me/+P1p3nJoqKR45MzQ1\n\n公众号：\n\n\u003cimg width=\"200\" alt=\"微信公众号\" src=\"https://raw.githubusercontents.com/LeekHub/leek-fund/master/screenshot/wechat-qr1.jpg\"\u003e\n\n知识星球（赞助插件）：\n\n\u003e PR 贡献开发者可以联系我邀请直接加入\n\n\u003cimg width=\"400\" alt=\"知识星球（赞助插件）\" src=\"https://raw.githubusercontents.com/LeekHub/leek-fund/master/screenshot/zhishixingqiu.jpeg\"\u003e\n\n## Core Contributors\n\n- [giscafer](https://github.com/giscafer)\n- [zqjimlove](https://github.com/zqjimlove)\n\n### 感谢 PR\n\n- [iporer](https://github.com/iporer)\n- [zomixi](https://github.com/zomixi)\n- [httpcheck](https://github.com/httpcheck)\n- [JayHuangTnT](https://github.com/JayHuangTnT)\n- [yiliang114](https://github.com/yiliang114)\n- [SubinY](https://github.com/SubinY)\n- [gordongxm](https://github.com/gordongxm)\n- [chen86860](https://github.com/chen86860)\n- [wujunchuan](https://github.com/wujunchuan)\n- [laampui](https://github.com/laampui)\n- [xiaohai](https://github.com/xiaohaiGitHub)\n- [zxj5470](https://github.com/zxj5470)\n- [sungongwei](https://github.com/sungongwei)\n- [gittig11](https://github.com/gittig11)\n- [James-chok](https://github.com/James-chok)\n- [ChouBaoDxs](https://github.com/ChouBaoDxs)\n\n\u003c!-- \u003ca href=\"https://github.com/giscafer/leek-fund/graphs/contributors\"\u003e\n  \u003cimg src=\"https://opencollective.com/leek-fund/contributors.svg?width=960\u0026button=false\" alt=\"contributors\" /\u003e\n\u003c/a\u003e --\u003e\n\n更多贡献者 [contributors](https://github.com/LeekHub/leek-fund/graphs/contributors)，欢迎来贡献 PR~\n\n## Changelog\n\n[CHANGELOG](./CHANGELOG.md)\n\n## 代码目录说明\n\n\u003e 历史原因，仓库中类文件并没有以`PascalCase`规范，导致有些文件不好区分是函数方式书写还是面向对象类的写法。\n\n```shell\n\nsrc\n├── data                        # 静态数据\n│   └── fundSuggestData.ts      # 基金数据，执行 `node ./demo/fundSuggestList.js` 更新生成\n├── explorer                    # 侧边栏核心代码\n│   ├── binanceProvider.ts      # 数字货币\n│   ├── binanceService.ts\n│   ├── forexProvider.ts        # 外汇\n│   ├── forexService.ts\n│   ├── fundProvider.ts         # 基金\n│   ├── fundService.ts\n│   ├── leekService.ts\n│   ├── newsProvider.ts         # 雪球新闻\n│   ├── newsService.ts\n│   ├── stockProvider.ts        # 股票\n│   └── stockService.ts\n├── extension.ts                # 插件初始化入口\n├── globalState.ts              # 全局缓存，插件激活到销毁周期内的变量缓存\n├── output                      # Terminal 视图下的OUTPUT栏输出新闻\n│   └── flash-news\n├── registerCommand.ts          # 注册命令\n├── shared                      # 工具函数或者类\n│   ├── WVMessageUtils.ts\n│   ├── constant.ts\n│   ├── holidayHelper.ts\n│   ├── leekConfig.ts\n│   ├── leekTreeItem.ts\n│   ├── remindNotification.ts\n│   ├── telemetry.ts\n│   ├── typed.ts\n│   └── utils.ts\n├── statusbar                   # 状态栏\n│   ├── Profit.ts\n│   └── statusBar.ts\n└── webview   # webview 页面\n\n```\n\n## 赞助支持一下 ↓↓\n\n[Buy me a coffee](https://github.com/giscafer/buy-me-a-coffee/blob/master/README.md)\n\n## License\n\n[LICENSE](./LICENSE)\n\n---\n\n- X [@nicky_lao](https://twitter.com/nicky_lao)\n- Youtube [@LeekHuber](https://www.youtube.com/@LeekHuber)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLeekHub%2Fleek-fund","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLeekHub%2Fleek-fund","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLeekHub%2Fleek-fund/lists"}