Fund Peek · 基金一瞥在 VS Code 状态栏和原生侧栏里查看基金持仓收益,不用解锁手机,也不需要登录基金账户。 Fund Peek shows locally entered mutual-fund holdings and returns in the VS Code status bar and a native sidebar—without a fund-account login. 功能 / Features
使用方法 / Usage
Use the Activity Bar icon or run 同一基金再次添加时,份额会合并,平均成本按成本金额加权计算。v1 记录的是当前持仓快照,不维护交易流水。 Adding the same code again combines shares using a cost-basis-weighted average. Version 1 stores a current position snapshot, not a transaction ledger. 支持范围 / Scope首版面向以人民币单位净值计价的中国场外公募基金,包括普通人民币 QDII。它不提供交易所 ETF/LOF 行情、货币基金万份收益或美元份额的专用计算模型。 Version 1 targets RMB-denominated Chinese OTC mutual funds using unit NAV, including ordinary RMB QDII funds. It does not implement exchange-price models for ETF/LOF products, money-market per-10,000-unit yields, or USD share classes. Desktop VS Code on macOS, Windows, and Linux is supported. The extension declares 行情、刷新与计算 / Data, refresh, and calculationsFund Peek currently requests:
These are third-party, undocumented endpoints and may change or become unavailable. Fund Peek does not silently switch to an unrelated provider. Fund Peek is an independent open-source project and is not affiliated with, endorsed by, or sponsored by Eastmoney or Tiantian Fund. 发送到行情服务的内容只有基金代码;持有份额、成本、别名、市值与收益不会发送。开启隐私模式时不会发出行情请求。详见 PRIVACY.md。 Only requested fund codes are sent to the quote provider. Shares, costs, aliases, market values, and profits stay local. Privacy mode sends no quote requests. See PRIVACY.md. Calculations use full-precision numbers and round only for display:
The refresh interval is configurable from 5 to 60 minutes. Failed requests use silent exponential backoff up to 60 minutes. Manual refresh is always available unless privacy mode is active. 导入与导出 / Import and exportJSON uses this versioned shape:
Import validates the entire file and previews codes before offering Merge or Replace. Export is explicit and plaintext; store exported files securely. Privacy and security
免责声明 / Disclaimer行情和估算仅供参考,可能延迟、不完整或不准确,不构成投资建议。请以基金管理人、销售机构和正式净值公告为准。投资有风险,决策及损失由用户自行承担。 Quotes and estimates are for reference only and may be delayed, incomplete, or inaccurate. Nothing in this extension is investment advice. Verify against the fund manager, distributor, and official NAV disclosures. You are solely responsible for investment decisions and losses. Development
License: MIT |