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.
Requirements
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.
EXCHANGES
List all exchanges that Polygon.io knows about. You will be asked to complete de dataset settings:
- Assets Class: Filter by asset class. Stocks, options, Crypto, fx.
- Locale: US, Global.
GROUPED DAILY
Get the daily open, high, low, and close (OHLC) for the entire stocks/equities markets.
MARKET STATUS
Get the current trading status (Open/Close) of the exchanges and overall financial markets.
TICKER NEWS
Get the most recent news articles relating to a stock ticker symbol, including a summary of the article and a link to the original source.
Acquisition Style
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 |
Aggregates (Bars) | ❌ |
Daily Open/Close | ❌ |
Exchanges | ❌ |
Grouped Daily (Bars) | ❌ |
Market Holidays | ❌ |
Market Status | ❌ |
Previous Close | ❌ |
Ticker Details v3 | ❌ |
Ticker News | ❌ |
Ticker Types | ❌ |
Tickers | ❌ |
Snapshot - All Tickers | ❌ |
Snapshot - Ticker | ❌ |