已暴露为 MCP 工具:
equity_historical_prices —— 在 Claude / Cursor / 任意 MCP 客户端中直接调用。详见 MCP Server 60 秒配置。它为 Agent 做什么
equity_historical_prices 返回单个美股标的(NYSE / NASDAQ)的历史 OHLCV 日线,附 adjusted_close、dividend、stock_split。它是 agent 拿历史价格做收益率、回撤、回测的 历史价格 primitive —— 不是用来取最新报价的工具。
用 start_date 和/或 end_date 先过滤候选窗口,再用 limit 和 take_from 决定保留哪一端。返回顺序始终是旧到新。只返回已收盘的交易日,当日未收盘的 bar 永远不在结果里。
返回值
EquityHistoricalResult
required
number
固定
0 —— 本接口免费。number
账户剩余 credit。
string
仅在候选窗口内的数据多于实际返回条数时出现 —— 也就是结果被
limit 截断了。这句话提示 agent 缩小窗口或把查询拆成多次:More data exists in the requested window than the items returned; narrow the window or split the query to see more.200 OK · equity_historical_prices
说明
直接调用
HTTP / SDK 示例
HTTP / SDK 示例
完整参数参考
equity_historical_prices — 请求参数
equity_historical_prices — 请求参数
相关接口
美股盘中行情
同一批美股的
1h 常规交易时段 bar —— 短窗口搭档。加密货币历史 K 线
同样的有界 historical-series 形状,作用在加密货币交易对(含小时级)。
MCP Server 接入
60 秒接入 Claude / Cursor / 任意 agent harness。