Polygon Stock API
Sync overview
This source can give information about stocks data available on PolygonStocksApi. It currently only supports Full Refresh syncs.
Output schema
This source is capable of syncing the following streams:
stock_api
Features
Feature | Supported? (Yes/No) | Notes |
---|---|---|
Full Refresh Sync | Yes | |
Incremental Sync | No |
Performance considerations
Polygon Stocks API allows only 5 API Calls/Minute on the free plan. Use of this connector may require a paid plan based upon your requirements.
Getting started
Requirements
- Obtain an API key from PolygonStocksApi.
- Find out the exchange symbol of the stock also known as Ticker Symbol of the stock you can google it out and find it (E.x. : Exchange symbol for Microsoft is MSFT)
- Choose and verify other options you required for fetching the stock details. here.
Setup guide
The following fields are required fields for the connector to work:
apiKey
: Your Polygon Stocks API key.stocksTicker
: The ticker symbol of thestock/equity
.multiplier
: The size of the timespan multiplier.timespan
: Thefrom
: The start of the aggregate time window. Either a date with the format YYYY-MM-DD or a millisecond timestamp.to
: The end of the aggregate time window. Either a date with the format YYYY-MM-DD or a millisecond timestamp.- (optional)
adjusted
: determines whether or not the results are adjusted for splits. By default, results are adjusted and set to true. Set this to false to get results that are NOT adjusted for splits. - (optional)
sort
: Sort the results by timestamp. asc will return results in ascending order (oldest at the top), desc will return results in descending order (newest at the top). - (optional)
limit
: Limits the number of base aggregates queried to create the aggregate results. Max 50000 and Default 5000. Read more about how limit is used to calculate aggregate results in our article on Aggregate Data API Improvements Find-more.
Reference
Config fields reference
Field
Type
Property name
string
apiKey
string
end_date
string
timespan
integer
multiplier
string
start_date
string
stocksTicker
string
sort
integer
limit
string
adjusted
Changelog
Expand to review
Version | Date | Pull Request | Subject |
---|---|---|---|
0.1.7 | 2024-06-06 | 39302 | [autopull] Upgrade base image to v1.2.2 |
0.1.6 | 2024-04-28 | 37230 | Make connector compatible with Builder |
0.1.5 | 2024-04-19 | 37230 | Updating to 0.80.0 CDK |
0.1.4 | 2024-04-18 | 37230 | Manage dependencies with Poetry. |
0.1.3 | 2024-04-15 | 37230 | Base image migration: remove Dockerfile and use the python-connector-base image |
0.1.2 | 2024-04-12 | 37230 | schema descriptions |
0.1.1 | 2023-02-13 | 22908 | Specified date formatting in specificatition |
0.1.0 | 2022-11-02 | 18842 | New source |