PNL Toolkit

com.pnltoolkit由 pnltoolkit.com 发布官方发布者v1.1.0更新于 Oct 24, 2026

Eight free investment and trading calculators with PNG charts and editable result links.

已验证Streamable HTTP可网页运行金融数据与分析

概览

AI 生成的概览

提供八种投资与交易计算器,涵盖历史回报、定投回测、复利、仓位规模和回撤恢复,并生成 PNG 图表。

可以做什么
提供八种计算器:历史回报、定投(DCA)回测、复利、仓位规模、交易期望值与分数凯利、回撤恢复、点差与费用经济性,以及库存报价。每项都会返回结果、条件与假设、可编辑链接、分享页面和 PNG 图表。历史回报与定投计算使用已安装的月度收盘价,而非实时报价。这些工具只进行计算,不访问账户,也不执行订单。
适用场景
适合助手需要快速完成投资或交易计算时使用,例如预测复利增长、确定仓位规模、回测定投计划或估算回撤恢复时间,并生成可分享的图表或结果链接。
运行要求
通过 streamable HTTP 访问的远程端点;未声明任何软件包、环境变量或请求头,也未声明身份验证。
安装前请注意
结果基于已安装的月度收盘价而非实时报价,可能不反映当前价格。工具声明不访问账户、不执行订单,但输出是计算与假设,而非投资建议;依赖结果前请核对所列假设。

安装

在 SourceWeft 中

  1. 打开 控制台中的 PNL Toolkit,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Web executable,通过 Streamable HTTP。 远程服务在工作区中配置后即可从网页运行时运行。

交给智能体安装

把这段提示词粘贴到 Claude Code、Codex、Cursor 等智能体,或 SourceWeft 对话中。智能体会读取该服务器的安装指南,先向你展示发布者、端点和登录方式,经你同意后再把它添加到你的客户端。密钥不会写进任何命令。

阅读 https://sourceweft.com/mcp/com.pnltoolkit%2Fcalculators/install.md,并按其中说明把这个 MCP 服务器接入我的客户端。修改任何配置之前,先告诉我它的发布者、端点和登录方式,等我确认。不要把 API 密钥写进命令或我会提交的文件;问我密钥应从哪里获取。

查看智能体所依据的安装指南

其他 MCP 客户端

把它添加到你客户端的 mcpServers 配置中。

{
  "mcpServers": {
    "pnl-toolkit": {
      "type": "http",
      "url": "https://pnltoolkit.com/mcp"
    }
  }
}

工具

8

historical_return

Historical investment return using installed monthly closes, not live quotes. Asset ticker, start/end months YYYY-MM, amount in USD (unit=cash) or historical shares/coins (unit=coins), buying fee in percent, optional benchmark and total/price return basis. Omitted dates use calculator defaults clamped to asset/benchmark coverage. Returns data coverage/source metadata and the free calc-return PNG. Returns results, conditions, assumptions, an editable link, share page and PNG. No account access or order execution.

输入参数endunitassetstartamountbuyFeebenchmarkreturnBasisinclude_image

dca_backtest

Dollar-cost-averaging backtest using installed monthly closes, not live quotes. Asset ticker, start/end months YYYY-MM, initial deposit in USD, monthly in USD per purchase, frequency in months (1, 3 or 12), buying fee in percent, optional benchmark and total/price return basis. Initial deposit and first recurring purchase occur at the selected start month-end. Omitted dates use calculator defaults clamped to coverage. Returns data metadata and the free calc-dca PNG. Returns results, conditions, assumptions, an editable link, share page and PNG. No account access or order execution.

输入参数endassetstartbuyFeeinitialmonthlybenchmarkfrequencyreturnBasisinclude_image

compound_interest

Compound interest in USD: initial dollars, monthly dollars, annual return/fees/inflation in percent, and whole years. Creates a free calc-compound PNG. Returns results, conditions, assumptions, an editable link, share page and PNG. No account access or order execution.

输入参数rateyearstimingmonthlyannualFeeinflationprincipalinclude_imagecontributionGrowth

position_size

Position sizing for linear USD shares/coins: prices in USD, account risk in percent, fees/slippage in basis points, quantity increment in units. Returns results, conditions, assumptions, an editable link, share page and PNG. No account access or order execution.

输入参数feeriskstopentrytargetbalanceslippageunitStepdirectionmaxLeverageinclude_image

trade_expectancy

Trade expectancy and fractional Kelly: balance in USD, win rate/buffer/cap in percent, wins/losses/cost in R, fraction 0–1. Returns results, conditions, assumptions, an editable link, share page and PNG. No account access or order execution.

输入参数costavgWinavgLossbalanceriskCapwinRatefractionwinBufferinclude_image

drawdown_recovery

Drawdown recovery: balances/deposits in USD, drawdown and monthly return in percent, target horizon in whole months. Returns results, conditions, assumptions, an editable link, share page and PNG. No account access or order execution.

输入参数losslossescurrentscenarioprincipalriskPerTradetargetMonthsinclude_imagemonthlyReturnmonthlyDeposit

spread_and_fees

Round-trip spread economics: one-side notional in USD; full spread, fee per fill and adverse cost in basis points (1 bp = 0.01%). Negative fees are rebates. Returns results, conditions, assumptions, an editable link, share page and PNG. No account access or order execution.

输入参数feespreadadversenotionalinclude_image

inventory_quotes

Inventory quotes: mid and tick in USD, inventory weights in percent, spread/skew/cap in basis points. Skew is bps per 10 percentage points of inventory deviation. Returns results, conditions, assumptions, an editable link, share page and PNG. No account access or order execution.

输入参数midskewspreadtargetcurrentskewCaptickSizeinclude_image

版本历史

1
  1. v1.1.0最新Oct 16, 2026

评分

已满足适用检查项的 72%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通必需25 分
  • 已声明认证方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 图标10 分

    请在注册中心条目中发布图标。

  • 文档15 分

    请声明包含 README 的 GitHub 仓库,或在 OAuth 受保护资源元数据中提供 resource_documentation。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。