The Polygon.io Stocks API provides REST endpoints that let you query:
- The latest market data from all US stock exchanges, crypto assets and commodities.
- Find data on company financials.
- Stock market holidays.
- Corporate actions, and more.
It requires an API key. if you do not have available, request to your Customer Success Manager designated in Polygon.
Setting up Data Connectors
Before working with Data Connectors in Graphics you must set it up. Learn how to set up your Data Connector by clicking here.
Adding the Data Connector to the Graphics Editor
First, you need to add an External Connector to your tree (1) and then click on Connect (2).
Finally select from the Finance category, Stocks API.
Datasets / Tables
There are 11 Datasets available, according to what you want to show on your graphics you should pick one of them.
DAILY OPEN / CLOSE
Get the open, close and afterhours prices of a stock symbol on a certain date.
List all exchanges that Polygon.io knows about.Delete
Get the daily open, high, low, and close (OHLC) for the entire stocks/equities markets.Delete
Get upcoming market holidays and their open/close times.Delete
Get the current trading status (Open/Close) of the exchanges and overall financial markets.Delete
The following table lists the acquisition style of each of the datasets available in this connector.
If style is Unattended. it means that the connector will automatically refresh the data every certain period of time specified by the user (by default it's 300 seconds).
If style is attended, then the graphics operator needs to manually refresh the data to get the latest version of the stats.
|Data set / Tables||Unattended|
|Grouped Daily (Bars)||❌
|Ticker Details v3||❌
|Snapshot - All Tickers||❌
|Snapshot - Ticker||❌