01Performs driver decomposition to distinguish between price-driven and cost-driven margin shifts.
020 GitHub stars
03Calculates Margin Proxy using metal spot/futures prices and AISC/Cash Costs.
04Determines historical margin percentiles to identify extreme high or low regimes.
05Automates data alignment between daily price series and quarterly corporate cost reports.
06Supports multiple aggregation methods including production-weighted and market-cap weighted baskets.