Price sensitivity grid
price_sensitivityCalculate margin-per-tonne for a product under configured price shocks to show margin impact per metal and assess price sensitivity.
Instructions
Margin-per-tonne sensitivity for one product under price shocks: an 'all metals' row plus one row per metal, showing margin/MT under each configured shock (default -25%/-10%/+10%/+25%).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"product": "<product>"
},
"name": "price_sensitivity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | No | Margin config (products, indices, cost_per_mt, inventory_mt, sensitivity_shocks, contracts). Defaults to the bundled sample config. | |
| prices | No | Index prices {symbol: usd_per_tonne}. Defaults to the bundled sample feed. | |
| product | Yes | Product name (must exist in config.products). |