Skip to main content

Historical API

还没翻译译自英文(docs.alpaca.markets)本页 7 段都还没译

This RESTful API provides historical market data through the HTTP protocol. This allows you to query historical market information, which can be used for charting, backtesting and to power your trading strategies.

Historical market data is available for the following types:

Base URL

The Base URL for the historical endpoints is

https://data.alpaca.markets/{version}

Sandbox URL (for broker partners):

https://data.sandbox.alpaca.markets/{version}