此工具的用途
历史股价 — 按代码获取 OHLCV K 线. 需提供 queryParams.ticker, queryParams.country.
输入与使用条件
queryParams — object; 必填.
queryParams.ticker — string; 必填. Stock ticker symbol (case-insensitive)
queryParams.country — string; 必填. Two-letter country code (ISO 3166-1 alpha-2) for the company, as returned by `GET /equities/v1/companies-list` (case-insensitive).
queryParams.timeframe — string; 可选. Optional lookback window (case-insensitive), same values as price history. `1D` returns the most recent trading session and `7D`/`1W` (aliases) the last 7 days, both as 5-minute bars; `1M` and longer are daily bars. `YTD` runs from January 1 of the current year. Omit or empty for full history (`MAX`). Intraday coverage is best-effort — a ticker without intraday data falls back to daily bars. {"enum":["1D","7D","1W","1M","3M","6M","YTD","1Y","5Y","MAX"]}
返回信息
此工具当前契约没有公布逐字段的产出规范。实际原生运行结果才是返回数据的依据;本草稿不承诺尚未观测的字段、完整覆盖或必定匹配。
价格与账户
当前公开的执行费用上限: 0.000720 credits. 一个 Toolmu 账户即可使用多个可用工具,共享余额,按量付费,无需订阅。执行费用的 credits 上限与结果中的货币金额是两件事。
覆盖限制与时效
结果取决于输入以及供应商在执行时的覆盖情况。没有记录、字段为 null 或结果数量有限,并不能证明该实体不存在。Example 是历史样本,查看它不会执行工具。
来源与核验
通过 Toolmu MCP 核验契约与价格的时间: 2026-10-02T02:35:33.570Z (UTC). Toolmu Tool: get-ohlcv-candle-data-for-a-company-defillama.
https://api-docs.defillama.com/