commodities-spread-trading

Automate commodities spread trading research, implementation, and production controls.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of quantitative research, implementation, and production controls for commodities spread trading, addressing challenges related to curve seasonality, storage effects, and basis shocks.

Core Features & Use Cases

  • Reproducible Research: Ensures trading strategies are developed with clear hypotheses, leak-safe features, and aligned targets.
  • Robust Diagnostics: Implements detailed checks for signal monotonicity, capacity stress, regime dependency, and cost-adjusted performance.
  • Controlled Rollout: Enforces risk controls like exposure ceilings, concentration caps, and deactivation triggers for safe deployment.
  • Use Case: Use this skill to analyze the seasonality of natural gas spreads, build a trading signal based on storage levels, and stress-test its performance before deploying it to production.

Quick Start

Run the commodities spread trading diagnostics script with the input file 'input.csv' and save the output to 'diagnostics.json'.

Frequently Asked Questions about commodities-spread-trading

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

FAQPage Schema
How do I build leak-safe features for commodities spread trading strategies?

To build leak-safe features for commodities spread trading, you must define clear hypotheses and align targets to prevent data leakage before estimating signal edge. This ensures reproducible quantitative research and accurate strategy validation.

What diagnostics are needed to stress-test a commodities spread trading signal?

Stress-testing a commodities spread trading signal requires diagnostics for signal monotonicity, capacity stress, regime dependency, and cost-adjusted performance. These checks identify vulnerabilities before a strategy is promoted to production.

How do I manage curve seasonality and storage effects in commodities spread trading?

Managing curve seasonality and storage effects in commodities spread trading involves automating quantitative research workflows to address these specific basis shocks. You can build trading signals based on storage levels and analyze seasonal spread patterns.

What risk controls are required before deploying a commodities spread trading strategy to production?

Before deploying a commodities spread trading strategy to production, you must enforce risk controls including exposure ceilings, concentration caps, and deactivation triggers. These controls ensure safe rollout and automated production management.

Can I analyze natural gas spread seasonality using automated quantitative workflows?

Yes, you can analyze natural gas spread seasonality using automated quantitative workflows that address curve seasonality and basis shocks. The process involves building storage-based signals and running diagnostics to validate performance.