get_benchmark
Buy-and-hold return for an asset between two dates, as a percentage. Use it whenever you state what a strategy returned: a return with nothing to compare it against does not answer whether the strategy was worth running. run_backtest already includes this for its own window, so call this for a different asset or a different period. A YYYY-MM-DD end date covers that whole UTC day, as run_backtest reads it; an end date of today stops at the end of yesterday, the last complete day; an exact end timestamp is passed through without adding a day.
[Access: pay 0.005 USDC via x402 (PAYMENT-SIGNATURE header) OR authenticate with an API key. An x402-capable client will auto-pay; API-key clients pay nothing per call.]
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": {
"asset": "<asset>",
"end_date": "<end_date>",
"start_date": "<start_date>"
},
"name": "get_benchmark"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset | Yes | Asset symbol, e.g. BTC or ETH. | |
| end_date | Yes | ISO end of the window. | |
| base_token | No | Canonical base token; supply with quote_token and market_data_venue. | |
| start_date | Yes | ISO start of the window, e.g. 2026-01-01. | |
| quote_token | No | Quote currency of the requested market. | |
| market_data_venue | No | Exact venue of the requested market. |