query_market_data
Run DuckDB SQL queries against Crocodile's crypto and US equity market data views to retrieve and analyze historical data.
Instructions
Execute DuckDB SQL against the lake's channel views. (alias of query)
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": {
"sql": "<sql>",
"asset_class": "<asset_class>"
},
"name": "query_market_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sql | Yes | ||
| asset_class | Yes | Which market answers. Required: this tool has an implementation for each of these and no symbol parameter to infer one from. |