← 返回 Skills 市场
tangweigang-jpg

Quantlib Derivatives

作者 Tang Weigang · GitHub ↗ · v0.3.3 · MIT-0
cross-platform ⚠ suspicious
109
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install quantlib-derivatives
功能描述
通过 SWIG 绑定调用 QuantLib 引擎,完成期权、互换、债券等金融衍生品的定价计算,支持美式期权有限差分法和篮子价差期权等多资产策略验证。。
安全使用建议
This skill appears to be a knowledge-rich, instruction-only wrapper for QuantLib/SWIG and ZVT-based backtests, but there are important mismatches you should consider before installing or running it: - Environment: The SKILL.md requires Python 3.12+, SWIG/QuantLib SWIG bindings and ZVT, but the skill declares no install steps. Ensure your environment already has QuantLib, the SWIG Python bindings, and zvt installed (or be prepared to install them manually) before use. - Credentials: The skill references data providers (joinquant, eastmoney, akshare, qmt). Some providers (e.g., joinquant) require API keys/accounts. Expect the agent to request or need credentials at runtime — the skill did not declare these, so plan to provide them only after verifying the author/source. - Filesystem actions: The instructions include running precondition checks that read and write to a ZVT home directory (default ~/.zvt). If you run this skill, do so in a sandbox or ensure it has access only to directories you are comfortable with. - No code install vs host expectations: Because there is no install recipe, the skill will either fail when dependencies are missing or the agent may attempt to run pip/recorder commands during preconditions. Confirm who will run those commands and whether network access is allowed. - Verification steps: Ask the publisher for an explicit dependency/install list and for a manifest of any runtime network endpoints the skill will call. If you cannot verify the author, run initial experiments in an isolated environment (container/VM) and monitor file and network activity. What would change this assessment: presence of an explicit, trusted install spec (with known package sources), declared required env vars/credential names, or included code that transparently shows only local computations and calls to known provider APIs would increase confidence. Conversely, any hidden network endpoints, undeclared credential usage, or instructions to run arbitrary shell/python code would increase concern.
功能分析
Type: OpenClaw Skill Name: quantlib-derivatives Version: 0.3.3 The skill bundle is a highly structured framework for quantitative finance and derivatives pricing using QuantLib and the ZVT library. It contains extensive domain-specific constraints, semantic locks (e.g., SL-01 to SL-12), and validation rules designed to prevent common quantitative errors like look-ahead bias and incorrect financial conventions. The instructions in SKILL.md and seed.yaml are focused on enforcing these financial rules and managing the agent's persona. No evidence of data exfiltration, malicious execution, or harmful prompt injection was found; the installation recipes and preconditions are limited to standard environment checks and the installation of the legitimate 'zvt' package.
能力标签
cryptocan-make-purchases
能力评估
Purpose & Capability
The name/description and the included reference material consistently describe QuantLib+SWIG derivatives pricing and ZVT-based data/backtest flows — this is coherent. However, the SKILL.md expects Python 3.12+, uv package manager, SWIG/QuantLib bindings and ZVT to be present, yet the skill declares no required binaries, no install recipe, and no environment variables. The skill also lists data providers (joinquant, eastmoney) where some providers require accounts/keys but no credential requirements are declared — mismatch between claimed capability and declared requirements.
Instruction Scope
The instructions and seed.yaml impose runtime behaviors beyond simple question-answering: agents are told to re-read seed.yaml, run preconditions (python -c checks that import zvt, call recorders, check/create files under ZVT_HOME), and execute pipeline stages (data fetch, backtest, execution). These steps read/write local filesystem state (e.g., ~/.zvt), may install/invoke recorders, and expect network access to data providers. While consistent with backtest/pricing use, they grant the agent discretion to run arbitrary Python commands on the host and to create files — benign for intended use but higher risk if you don't expect the agent to run code locally or access your data directories.
Install Mechanism
There is no install specification (instruction-only), which minimizes the skill installing arbitrary remote code. That said, the seed.yaml and SKILL.md reference host install triggers and require host-side components (QuantLib SWIG, zvt, uv) but provide no automated install steps. This is coherent for a skill that expects a preconfigured environment, but is a practical gap: the skill will fail or prompt the agent to run installs if dependencies are missing.
Credentials
The registry shows no required environment variables or credentials, yet SKILL.md and human_summary refer to data providers (joinquant: account+paid, eastmoney, akshare, qmt) and preconditions reference ZVT_HOME environment variable and writable directories. The skill may prompt for or attempt to use provider credentials at runtime, but none are declared in requires.env. This lack of declared credential requirements is an incoherence that can surprise users and mask where sensitive keys would be needed.
Persistence & Privilege
The skill does not request persistent 'always' inclusion (always:false) and doesn't declare modifications to other skills or system-wide settings. It does instruct reading/writing to host data directories (ZVT_HOME) and running precondition commands, which is expected for a backtest/pricing tool. Autonomous invocation is allowed (platform default) but not combined with always:true or broad undeclared credential access.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install quantlib-derivatives
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /quantlib-derivatives 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.3.3
v0.3.3: bilingual metadata injected. H1 shows QuantLib 衍生品定价; tagline replaced with skill-specific Chinese hook; tags upgraded to Level 1-4.
v0.3.1
Remove install.sh — knowledge-only bundle. Host AI consumes directly from URL; no user-side installation needed. Fixes ClawHub suspicious flag.
v0.3.0
Doramagic crystal portfolio v0.3.0. Full 5-layer bp-009 standard. github.com/tangweigang-jpg/doramagic-skills
元数据
Slug quantlib-derivatives
版本 0.3.3
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

Quantlib Derivatives 是什么?

通过 SWIG 绑定调用 QuantLib 引擎,完成期权、互换、债券等金融衍生品的定价计算,支持美式期权有限差分法和篮子价差期权等多资产策略验证。。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 109 次。

如何安装 Quantlib Derivatives?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install quantlib-derivatives」即可一键安装,无需额外配置。

Quantlib Derivatives 是免费的吗?

是的,Quantlib Derivatives 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Quantlib Derivatives 支持哪些平台?

Quantlib Derivatives 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Quantlib Derivatives?

由 Tang Weigang(@tangweigang-jpg)开发并维护,当前版本 v0.3.3。

💬 留言讨论