markets_history
markets_history
Read daily closing prices for a supported instrument over a range of up to 366 days. Missing trading days are omitted. Uses Yahoo Finance
Free. This one only touches this instance's own storage, so there is nothing to charge for.
Runs on Markets — Track prices and convert currencies.
Arguments
| Name | Type | What it is |
|---|---|---|
offset | number | |
limit | number | Maximum points per page, default 20, maximum 100 |
symbol* | string | Supported ticker, e.g. BTC, AAPL, GOLD or EUR |
start | string | First date, YYYY-MM-DD; default 30 days ago |
end | string | Last date inclusive, YYYY-MM-DD; default today. Maximum range 366 days |
Calling it
Three doors onto the same method. MCP is what an agent speaks, REST is what a program speaks, and the answer is identical.
{"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"symbol":"symbol"},"name":"markets_history"}}Try it in the playground.
