multi-pair-basket-trader

Combine multiple FX pairs into currency baskets with equal risk per pair.

10|2|Updated Mar 8, 2026
One-click install
npx skills add https://github.com/mahmoud20138/Tradecraft --skill multi-pair-basket-trader
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: multi-pair-basket-trader
Source: https://github.com/mahmoud20138/Tradecraft/tree/main/plugins/tradecraft/skills/multi-pair-basket-trader
Command: npx skills add https://github.com/mahmoud20138/Tradecraft --skill multi-pair-basket-trader

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Trading currency pairs individually exposes traders to idiosyncratic risk and increases management effort; this Skill enables executing currency baskets as a single view to improve diversification and efficiency.

Core Features & Use Cases

  • Basket construction: USD_LONG, USD_SHORT, RISK_ON, RISK_OFF definitions enabling multi-pair exposure.
  • Equal risk per pair: automatically distributes risk across basket components.
  • Diversification checks: analyzes pair correlations to guide diversification; supports macro hedging and cross-asset strategies.
  • Use cases: portfolio hedging, macro themes, basket-based execution with single-entry rules.

Quick Start

Call generate_basket_orders with a basket name and risk settings to produce per-pair orders, then execute all orders simultaneously.

Frequently Asked Questions about multi-pair-basket-trader

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

FAQPage Schema
How do I trade currency baskets to diversify FX risk?

Trading currency baskets combines multiple FX pairs into a single diversified exposure, enforcing equal risk per pair to reduce idiosyncratic risk. You define a basket like USD_LONG or RISK_ON to execute a unified macro view.

How does correlation checking work for FX basket diversification?

Correlation checking analyzes the relationships between currency pairs within your basket to guide diversification. It ensures combined FX exposures provide genuine risk distribution rather than concentrating on highly correlated pair components.

What is the best way to execute portfolio hedging with multiple currency pairs?

Portfolio hedging with multiple currency pairs is best executed by grouping them into macro baskets like RISK_OFF or USD_SHORT. This approach applies equal risk distribution and requires simultaneous entry and exit for all component orders.

Can I use predefined baskets for macro-rebalancing and risk-on/off tilts?

Yes, predefined baskets support macro-rebalancing and risk-on/off tilts by providing ready-made multi-pair exposure definitions. You can apply these baskets across USD, EUR, and related pairs to execute cross-asset hedge strategies.

How do I generate equal risk orders for a currency basket?

Generating equal risk orders involves calling the basket order generation function with a basket name and risk settings. The system automatically distributes risk equally across all FX pairs and outputs simultaneous execution instructions.

When should I not use single currency pair trades instead of a basket approach?

Single currency pair trades should be avoided when managing idiosyncratic risk becomes too complex. A basket approach is superior when you need unified macro exposure, cross-asset hedging, and automated equal risk distribution across multiple pairs.