Fx Hedging Strategy logo

Fx Hedging Strategy

Community
vivy-yi
fx-hedging-strategy

外汇对冲策略设计 — 设计外汇风险管理策略,确定自然对冲和金融对冲的比例, 选择合适的对冲工具并制定执行计划。 适用情形:年度外汇风险管理计划制定、重大外币敞口形成时,或用户要求"设计 FX 对冲策略"时执行。 核心:敞口分析 + 工具选择 + 比例设计 + 成本评估。

Overview

Publishervivy-yi
Repositoryfinance-skills
Skill namefx-hedging-strategy
Stars
43
Forks
13
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by vivy-yi on GitHub. Read the source before you install it.

Installation

Install the Fx Hedging Strategy AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/vivy-yi/finance-skills/tree/master/finance-skills/skills/fx-risk/skills/fx-hedging-strategy
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vivy-yi/finance-skills.git /tmp/finance-skills
mkdir -p .claude/skills
cp -r /tmp/finance-skills/finance-skills/skills/fx-risk/skills/fx-hedging-strategy .claude/skills/fx-hedging-strategy
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Fx Hedging Strategy in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Fx Hedging Strategy on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Fx Hedging Strategy is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

加载上下文

首次使用时: 读取 ../../CLAUDE.md 获取场景级配置(风险偏好/对冲工具/历史敞口数据)。


/fx-hedging-strategy — 外汇对冲策略设计

Examples

→ 示例:用户说"我们对冲比例现在是 60%,想提高到 80%,帮我评估一下成本和效果",系统应调用本技能,评估对冲比例调整的影响。

→ 示例:用户说"外汇对冲亏损超了预算,需要向 CFO 解释原因",系统应调用本技能,分析对冲亏损原因并提供解释框架。

→ 示例:用户说"新的外汇对冲政策要覆盖 12 个月,帮我设计一套对冲策略",系统应调用本技能,制定 12 个月外汇对冲策略。

第一步:敞口分析

外汇敞口识别:

□ 交易敞口(Transaction Exposure):
  → 未来 [X] 个月内预期外币收支净额:
  → [USD] 净流入 [X] 万 USD
  → [EUR] 净流出 [X] 万 EUR

□ 会计敞口(Translation Exposure):
  → 海外子公司报表折算风险敞口:
  → [美国子公司] 净资产 [X] 万 USD
  → [欧洲子公司] 净资产 [X] 万 EUR

□ 经济敞口(Economic Exposure):
  → 收入/成本结构中隐含汇率风险:
  → [X]% 的成本以 [X] 计价,汇率波动 [1%] → 成本变动 [X] 万

敞口量化:

□ 净敞口汇总:
| 币种 | 敞口类型 | 金额(万) | 汇率敏感度(1%变动) |
|------|---------|----------|---------------------|
| USD | 交易 | [X] | [X] 万 |
| EUR | 交易 | [X] | [X] 万 |
| USD | 会计 | [X] | [X] 万 |

□ 敞口总评级:[高/中/低]

第二步:自然对冲分析

自然对冲手段:

□ 收入/成本币种匹配:
  → 已有收入 [X] 万 USD,成本 [X] 万 USD
  → 净敞口 [X] 万 USD

□ 融资币种匹配:
  → 以 USD 借入美元债务,对冲 USD 收入敞口
  → 对冲金额 [X] 万 USD

□ 运营调整(如适用):
  → 将部分供应商切换至 USD 计价,对冲 USD 敞口
  → 可调整比例 [X]%

□ 自然对冲后的剩余敞口:
  → [USD]:[X] 万([原敞口] - [对冲])
  → [EUR]:[X] 万

第三步:金融对冲工具选择

对冲工具对比:

工具对比:
| 工具 | 优势 | 劣势 | 适用场景 |
|------|------|------|---------|
| 远期外汇合约 | 确定性高,无成本 | 缺乏灵活性 | 确定性强 |
| 外汇期权 | 灵活性高,上涨/下跌保护 | 期权费成本 | 不确定性高 |
| 货币互换 | 长期对冲效果好 | 需对手方,复杂 | 长期资产/负债 |
| 外汇掉期 | 短期流动性管理 | 成本不确定 | 临时调整 |

□ 推荐工具:[工具组合]
□ 选择理由:[描述]

对冲工具详细设计(如远期合约):

□ 远期合约设计:
  → 币种:[USD/CNY]
  → 金额:[X] 万
  → 期限:[X] 个月
  → 远期汇率:[X](即期 [X])
  → 锁定成本/收益:[描述]

第四步:对冲比例设计

对冲比例决策:

□ 对冲比例确定因素:
  → 风险管理目标:[完全对冲/部分对冲/投机性敞口]
  → 成本约束:[最高对冲成本/预算]
  → 市场观点:[认为汇率将升值/贬值]
  → 现金流可预测性:[高/中/低]

□ 分层对冲策略:
  → 确定敞口(已确认订单/合同):[X]% 对冲
  → 很可能敞口(高概率预期):[X]% 对冲
  → 可能敞口(估算):[X]% 对冲

□ 对冲比例设计:
| 敞口类型 | 敞口金额 | 对冲比例 | 对冲金额 |
|---------|---------|---------|---------|
| 确定敞口 | [X]万 | [X]% | [X]万 |
| 很可能敞口 | [X]万 | [X]% | [X]万 |
| 可能敞口 | [X]万 | [X]% | [X]万 |

第五步:成本与效果评估

对冲成本估算:

□ 远期合约成本:
  → 远期汇率 vs 即期汇率差:[点数]
  → 隐含成本/收益:[X] 万

□ 期权成本:
  → 期权费:[X]%([X] 万)
  → 执行 vs 即期盈亏平衡点:[汇率]

□ 综合对冲成本:
  → 总对冲金额:[X] 万
  → 预计总成本:[X] 万
  → 成本占敞口比例:[X]%

对冲效果预测:

□ 汇率变动情景分析:
  → 情景 1(USD 升值 5%):
    · 对冲前损失:[X] 万
    · 对冲后损失:[X] 万
    · 对冲保护效果:[X] 万
  → 情景 2(USD 贬值 5%):
    · 对冲前收益:[X] 万
    · 对冲后收益:[X] 万
    · 放弃上行:[X] 万(机会成本)

第六步:生成对冲策略报告

═══════════════════════════════════════
外汇对冲策略报告
币种对:[USD/CNY]
报告日期:[YYYY-MM-DD]
对冲周期:[YYYY-QX]
═══════════════════════════════════════

【敞口分析】
□ 交易敞口:USD [X] 万 | EUR [X] 万
□ 会计敞口:USD [X] 万 | EUR [X] 万
□ 自然对冲后净敞口:USD [X] 万 | EUR [X] 万

【对冲工具】
□ 推荐工具:[组合]
□ 对冲金额:USD [X] 万 | EUR [X] 万

【分层对冲比例】
| 敞口类型 | 对冲比例 | 对冲金额 |
|---------|---------|---------|
| 确定 | [X]% | [X]万 |
| 很可能 | [X]% | [X]万 |
| 可能 | [X]% | [X]万 |

【对冲成本】
□ 总成本估算:[X] 万
□ 成本占敞口比例:[X]%

【效果预测】
□ 升值 5% 情景:保护 [X] 万损失
□ 贬值 5% 情景:放弃 [X] 万上行

【执行计划】
□ 执行时间:[日期]
□ 执行责任人:[姓名]
□ 工具:[合约类型]

═══════════════════════════════════════
置信度:[✅ 高 / ⚠️ 中 / 🔴 低]
策略可行性:[✅ 可行 / ⚠️ 成本较高]
═══════════════════════════════════════

升级触发条件

  • 对冲成本超过预算 [X]%
  • 须使用复杂衍生品(互换/结构化产品)须专项审批
  • 对冲策略涉及投机性成分(须管理层批准)
  • 敞口规模显著变化(> [X]%)需重新评估策略
  • 市场出现极端波动(须临时调整对冲比例)
  • 须签订 ISDA 等衍生品主协议(法务介入)

Finance Skills — fx-hedging-strategy atomic skill

Frequently asked questions

What does the Fx Hedging Strategy AI skill do?

外汇对冲策略设计 — 设计外汇风险管理策略,确定自然对冲和金融对冲的比例, 选择合适的对冲工具并制定执行计划。 适用情形:年度外汇风险管理计划制定、重大外币敞口形成时,或用户要求"设计 FX 对冲策略"时执行。 核心:敞口分析 + 工具选择 + 比例设计 + 成本评估。

Why use Fx Hedging Strategy on TypingMind?

Because you install it once and use it with any model. Fx Hedging Strategy is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Fx Hedging Strategy in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/vivy-yi/finance-skills/tree/master/finance-skills/skills/fx-risk/skills/fx-hedging-strategy. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Fx Hedging Strategy?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Fx Hedging Strategy?

As many as you like. As long as a model supports skills, you can use Fx Hedging Strategy with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Fx Hedging Strategy AI skill free?

Yes. It is published on GitHub by vivy-yi under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇