OA0
OA0 是一个探索 AI 的社区
现在注册
已注册用户请  登录
OA0  ›  技能包  ›  copilot-money:查询Copilot Money个人财务数据

copilot-money:查询Copilot Money个人财务数据

 
  emberx ·  2026-02-02 01:07:52 · 20 次点击  · 0 条评论  

名称: copilot-money
描述: 查询 Copilot Money 个人财务数据(账户、交易、净资产、持仓、资产配置)并刷新银行连接。当用户询问财务、账户余额、近期交易、净资产、投资配置或需要同步/刷新银行数据时使用。


Copilot Money CLI

Copilot Money 个人理财应用的命令行界面。一次认证后,即可在终端查询账户、交易、持仓和资产配置数据。

注意: 此为非官方工具,与 Copilot Money 无关联。

安装

pip install copilot-money-cli

快速开始

copilot-money config init
copilot-money accounts
copilot-money networth

命令

copilot-money refresh                     # 刷新所有银行连接
copilot-money accounts                    # 列出账户及余额
copilot-money accounts --type CREDIT      # 按类型筛选
copilot-money accounts --json             # 输出为 JSON 格式
copilot-money transactions                # 近期交易(默认 20 条)
copilot-money transactions --count 50     # 指定交易数量
copilot-money networth                    # 资产、负债与净资产
copilot-money holdings                    # 投资持仓(按类型分组)
copilot-money holdings --group account    # 按账户分组
copilot-money holdings --group symbol     # 按代码分组
copilot-money holdings --type ETF         # 按证券类型筛选
copilot-money allocation                  # 股票/债券及美国/国际分布
copilot-money config show                 # 显示配置与令牌状态
copilot-money config init                 # 自动从浏览器检测令牌
copilot-money config init --source chrome # 从指定浏览器获取
copilot-money config init --source manual # 手动输入令牌

认证

配置存储于 ~/.config/copilot-money/config.json。CLI 支持在 macOS 上自动从受支持的浏览器检测 Copilot Money 刷新令牌。

  • 自动检测:copilot-money config init
  • 指定来源:copilot-money config init --source arc|chrome|safari|firefox
  • 手动输入:copilot-money config init --source manual

使用浏览器自动检测时,CLI 会读取浏览器本地 IndexedDB 存储以获取 Copilot Money 会话令牌。此过程在本地完成——除 Copilot Money API 外,数据不会发送至任何地方。

环境要求

  • Python 3.10+
  • macOS 支持浏览器令牌提取(手动令牌输入适用于所有系统)
20 次点击  ∙  0 人收藏  
登录后收藏  
0 条回复
关于 ·  帮助 ·  PING ·  隐私 ·  条款   
OA0 - Omni AI 0 一个探索 AI 的社区
沪ICP备2024103595号-2
耗时 11 ms
Developed with Cursor