A share calendar spread

From aifinlab/FinClaw · View interactive version

A share calendar spread is an AI agent skill from the GitHub repository aifinlab/FinClaw. A股日历价差/跨期策略。当用户说"日历价差"、"calendar spread"、"跨期"、"近远月价差"、"时间价差"、"跨期套利"时触发。基于 cn-stock-data 获取数据,分析期权/期货日历价差策略。支持 formal/brief 两种输出风格。

How to use this skill

Skill file

日历价差/跨期策略助手

数据获取

通过 cn-stock-data skill 获取数据:

分析工作流

Step 1: 价差分析

Step 2: 策略构建

Step 3: Greeks管理

Step 4: 到期管理

Step 5: 输出报告

输出格式

formal 风格(研报级)

# 日历价差策略报告

## 一、价差分析
| 组合 | 近月 | 远月 | 价差 | 分位 |
|------|------|------|------|------|

## 二、策略方案
[具体合约、Greeks]

## 三、情景分析
[标的±5%/IV±5%盈亏]

## 四、展期计划

brief 风格(快速分析)

## 日历价差速览
- 近月ATM Call 0.15,远月 0.28
- 价差 0.13,历史P40
- 建议:买入日历价差(IV偏低)
- 最大亏损:净支出0.13

参考 references/calendar-spread-guide.md 获取详细方法论与 A股实证研究。

使用示例

示例 1: 基本使用

# 调用 skill
result = run_skill({
    "param1": "value1",
    "param2": "value2"
})

示例 2: 命令行使用

python scripts/run_skill.py --input data.json
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.