spot-future-basis
Calculates the basis between a dated future and spot prices over a chosen time range, and adds annualized percentage when an expiry is supplied.
Instructions
Dated future against spot, annualised when a contract expiry is given.
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": {
"future_symbol": "<future_symbol>",
"spot_symbol": "<spot_symbol>",
"start_ns": "<start_ns>",
"end_ns": "<end_ns>"
},
"name": "spot-future-basis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_ns | Yes | ||
| start_ns | Yes | ||
| expiry_ns | No | ||
| asset_class | No | Which market answers. Inferred from the symbol's source when omitted. | |
| spot_symbol | Yes | ||
| future_symbol | Yes |