forex-carry

Automate FX carry trading workflows for yield-differential capture and risk management.

Updated Feb 10, 2026
One-click install
npx skills add https://github.com/GhostOf0days/codex-quant-skills --skill forex-carry
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: forex-carry
Source: https://github.com/GhostOf0days/codex-quant-skills/tree/main/forex-carry
Command: npx skills add https://github.com/GhostOf0days/codex-quant-skills --skill forex-carry

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, argparse, json, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the complexities of FX carry trading by providing structured workflows for capturing yield differentials while managing funding, roll, and crash risks.

Core Features & Use Cases

  • Carry Basket Construction: Build portfolios that capitalize on interest rate differentials.
  • Return Attribution: Decompose performance into carry, spot, and basis effects.
  • Risk Management: Implement safeguards against drawdowns and policy shocks.
  • Use Case: When constructing a carry basket, use this skill to ensure positions are allocated considering funding sensitivity and potential crash risks.

Quick Start

Run the forex carry diagnostics script with your input data.

Frequently Asked Questions about forex-carry

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build an FX carry basket with automated risk controls?

Building an FX carry basket involves capturing interest rate differentials while enforcing explicit funding, roll, and drawdown controls to manage crash risks and policy shocks.

What is return attribution in forex carry trading?

Return attribution in forex carry trading decomposes performance into carry, spot, and basis effects to isolate yield capture from currency movements and funding spread sensitivity.

How do I assess crash risk in a currency allocation strategy?

Assessing crash risk in a currency allocation strategy requires running diagnostics on carry yield persistence and downside tail behavior to safeguard against drawdowns and policy shocks.

Can I use pandas for forex carry trade diagnostics?

Pandas supports forex carry trade diagnostics by automating workflows for yield-differential capture, return decomposition, funding spread sensitivity analysis, and turnover impact assessment.

What is the best way to manage funding spread sensitivity in a carry trade?

Managing funding spread sensitivity requires performing diagnostics on funding spread sensitivity and turnover impact, ensuring positions are allocated with explicit funding and roll controls.