perp-basis
Compute the per-update basis between a perpetual contract’s mark price and its index price for one symbol; infer crypto or equity from the symbol when asset class is omitted.
Instructions
Derivative price against its index price, per update, from one symbol.
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": {
"symbol": "<symbol>",
"start_ns": "<start_ns>",
"end_ns": "<end_ns>"
},
"name": "perp-basis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_ns | Yes | ||
| symbol | Yes | ||
| start_ns | Yes | ||
| asset_class | No | Which market answers. Inferred from the symbol's source when omitted. |