Skip to main content
GET
获取历史股票价格数据
某只股票的历史 OHLCV K 线。tickerintervalstart_dateend_date 四项均为必填——没有回溯窗口的简写方式。interval 取 day、week、month 或 year 之一。每根 K 线包含 openclosehighlowvolumetime,放在 prices 数组中,并附带回显的 ticker。适合用于绘图或衡量某个已知窗口内的涨跌。如果只需要最新价格,请使用 get_financial_prices_snapshot

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

查询参数

ticker
string
必填

股票代码(例如 AAPL、MSFT)。

interval
enum<string>
必填

价格数据的时间间隔。

可用选项:
day,
week,
month,
year
start_date
string<date>
必填

价格数据的开始日期(格式:YYYY-MM-DD)。

end_date
string<date>
必填

价格数据的结束日期(格式:YYYY-MM-DD)。

响应

价格数据响应

prices
object[]
next_page_url
string

下一页结果的 URL。