Skip to content

MoneyWiz

MoneyWiz 是一款个人财务管理应用,可用于跟踪账户、预算、交易和投资。Protocol Launcher 允许你生成 MoneyWiz 深度链接,用于交易模板和持仓价格更新。

使用方式

提供两种使用方式:

  • 按需加载(通过子路径导入),支持 Tree Shaking,体积更小。
  • 全量导入(从根包导入),使用简单,但会包含所有应用模块。

生产环境建议使用按需加载以减小体积;快速脚本或演示可选择全量导入。

选择安装方式

按需加载
推荐使用。生产环境优化。
全量导入
使用便捷。适合快速脚本。

URL 方法

以下 helper 对应 MoneyWiz 官方 URL Schemas 文档。这里只暴露官方列出的 expenseincometransferupdateholding 操作。账户名称应按官方要求去掉空格。

支出

On-Demand
ts
import { expense } from 'protocol-launcher/moneywiz'

const url = expense({
  account: 'Wallet',
  amount: 5.99,
  currency: 'EUR',
  category: 'Other',
  save: false,
})

收入

On-Demand
ts
import { income } from 'protocol-launcher/moneywiz'

const url = income({
  account: 'Checking',
  amount: '1200.00',
  currency: 'USD',
  payee: 'Acme Payroll',
  category: 'Salary',
  save: false,
})

转账

On-Demand
ts
import { transfer } from 'protocol-launcher/moneywiz'

const url = transfer({
  account: 'Checking',
  toAccount: 'Savings',
  amount: '250.00',
  save: false,
})

更新持仓

On-Demand
ts
import { updateHolding } from 'protocol-launcher/moneywiz'

const url = updateHolding({
  symbol: 'AAPL',
  price: 189.98,
  date: '20260527',
  currency: 'USD',
})