synthetic-pair-constructor

Construct synthetic instruments by weighting currency pairs into composite baskets.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Build synthetic instruments from weighted pair combinations to enable composite trading instruments and efficient portfolio construction.

Core Features & Use Cases

  • Create baskets of instruments by applying custom weights to price data.
  • Replicate indices like DXY and generate risk-on/risk-off baskets for sentiment analysis.
  • Support optimization and backtesting workflows through weight calculation and tracking error reporting.

Quick Start

Construct a synthetic basket by applying your preferred weights to the available currency-pair data.

Frequently Asked Questions about synthetic-pair-constructor

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

FAQPage Schema
How do I construct synthetic currency baskets from multiple pairs?

To construct synthetic currency baskets, you apply custom weights to currency pair price data to simulate composite exposures. This approach enables portfolio construction and cross-asset analysis by replicating indices through deterministic basket-building functions.

Can I replicate the DXY index using weighted currency pairs?

Yes, you can replicate the DXY index by applying specific weights to relevant currency pairs. This process generates synthetic instruments for sentiment analysis, allowing you to create risk-on and risk-off baskets for broader market tracking.

What is the best way to optimize portfolio weights for synthetic instruments?

The best way to optimize portfolio weights is using an integrated optimizer that computes allocations and validates results. This provides tracking error reporting to support backtesting workflows and ensure accurate composite exposure replication.

Does this approach support real-time backtesting of composite exposures?

Yes, this approach supports real-time backtesting and cross-asset analysis across multiple baskets. You can calculate and validate weights dynamically to evaluate portfolio construction and hedging strategies over historical price data.

When do I need synthetic instruments for hedging and cross-asset analysis?

You need synthetic instruments when simulating composite exposures for portfolio hedging or market sentiment analysis. They are essential for tracking risk-on and risk-off baskets, replicating standard indices, and validating weight calculations during backtesting.