get_price_on
Closing price in US dollars of a crypto asset on a date (UTC), from OKX daily candles. Useful to value a past buy or sale.
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>",
"date": "<date>"
},
"name": "get_price_on"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Data em AAAA-MM-DD (UTC). | |
| symbol | Yes | Symbol, e.g. BTC. |