Releases: polygon-io/client-python
v1.15.3
What's Changed
- Sync benzinga, economy, furures, and tmx by @justinpolygon in #898
Full Changelog: v1.15.2...v1.15.3
v1.15.2
What's Changed
- Sync with latest futures beta spec by @justinpolygon in #897
Full Changelog: v1.15.1...v1.15.2
v1.15.1
What's Changed
- Sync futures aggs with latest spec by @justinpolygon in #894
Full Changelog: v1.15.0...v1.15.1
v1.15.0
What's Changed
In this release, we’ve added beta support for Futures, introduced a refactor to WebSocket event parsing to correctly handle overlapping event types across asset classes, and added an option to disable automatic pagination for greater control over result limits. We also fixed a bug related to using custom base URLs with the REST client.
Futures Support (Beta)
- Added beta support for Futures REST and WebSocket endpoints.
WebSocket Event Parsing Refactor
- WebSocket event types (
"T"
,"Q"
,"A"
,"AM"
) are now reused across asset classes. - Introduced
MARKET_EVENT_MAP
to resolve event types based on market context (e.g. stocks vs. futures). - This allows accurate message deserialization and avoids cross-market parsing errors.
Note for custom WebSocket users: If you're manually processing WebSocket messages, you may need to update your logic to consider the market
parameter for Futures messages.
Pagination Control
- Added support for disabling automatic pagination via
pagination=False
when instantiatingRESTClient
. - When disabled,
limit
is treated as a total cap rather than a page size. - Helps users fetch a fixed number of results without iterating over all pages.
Bug Fixes
- Fixed an issue where custom
base
URLs were not properly respected in REST requests.
Commits
- Bump requests from 2.32.0 to 2.32.4 by @dependabot in #885
- Bump certifi from 2025.4.26 to 2025.6.15 by @dependabot in #889
- Add futures beta support by @justinpolygon in #884
Full Changelog: v1.14.6...v1.15.0
v1.14.6
What's Changed
- Updated
list_treasury_yields
,list_short_interest
, andlist_short_volume
from vX to v1 endpoints. @justinpolygon in #881 - Bump certifi from 2025.1.31 to 2025.4.26 by @dependabot in #877
Full Changelog: v1.14.5...v1.14.6
v1.14.5
What's Changed
- fix: usage of deprecated
CodeQL Action
version by @hamirmahal in #873 - Bump jinja2 from 3.1.5 to 3.1.6 by @dependabot in #874
- Adds Short Interest/Volume and Treasury Yields by @justinpolygon in #875
New Contributors
- @hamirmahal made their first contribution in #873
Full Changelog: v1.14.4...v1.14.5
v1.14.4
What's Changed
- Adds IEX business feed by @justinpolygon in #852
- Bump types-setuptools from 75.6.0.20241223 to 75.8.0.20250110 by @dependabot in #832
- Bump orjson from 3.10.13 to 3.10.15 by @dependabot in #836
- Bump certifi from 2024.12.14 to 2025.1.31 by @dependabot in #843
Full Changelog: v1.14.3...v1.14.4
v1.14.3
What's Changed
In this release, we are introducing a breaking change to the Stocks Financials Beta API. We have refactored the balance_sheet, income_statement, cash_flow_statement, and comprehensive_income sections to use typed classes with explicit fields, replacing the previous raw dictionary access. Each field specified in the OpenAPI specification is now presented as an optional DataPoint, enhancing type safety and reliability when accessing data.
Note that although this is a breaking change, we are issuing it as a minor update due to the beta status of this API and the existing issues with the previous implementation. We recommend that all users update their implementations to accommodate these new typed access patterns.
New Features
- Related Companies Demo: Added a new demo for related companies functionality (PR #717).
- Dividend and Split IDs: Added identifiers for dividends and stock splits (PR #736).
- Hunting Anomalies in the Stock Market Scripts: Added new scripts for anomaly detection in stock markets (PR #780).
- IPOs Support: Added support for Initial Public Offerings data (PR #816).
- Universal Snapshot 'session' Model Update: Updated the session model for Universal Snapshot (PR #771).
- StockFinancial Model Updates: Updated the StockFinancial model to include net income, EPS, and parent net income loss (PR #817).
Spec and Model Updates
- Updated WebSocket spec to the latest version (PR #741).
- Spec update 2024-12-24 (PR #815).
- Updated CODEOWNERS (PR #808).
Dependency Updates
- mypy: Updated from 1.10.1 to 1.13.0 across multiple pull requests (PRs #713, #723, #735, #770, #776).
- types-setuptools: Updated from 70.3.0 to 75.6.0 across multiple pull requests (PRs #714, #720, #726, #731, #733, #740, #744, #752, #769, #783, #786, #793, #797, #811).
- orjson: Updated from 3.10.6 to 3.10.13 across multiple pull requests (PRs #727, #768, #779, #794, #824).
- certifi: Updated from 2024.7.4 to 2024.12.14 across multiple pull requests (PRs #739, #807).
- black: Updated from 24.4.2 to 24.8.0 (PR #724).
- urllib3: Updated from 2.2.2 to 2.2.3 (PR #747).
- websockets: Updated from 12.0 to 13.1 (PR #751).
- sphinx-rtd-theme: Updated from 2.0.0 to 3.0.2 across multiple pull requests (PRs #759, #787).
- pook: Updated from 2.0.0 to 2.0.1 (PR #765).
- jinja2: Updated from 3.1.4 to 3.1.5 (PR #814).
Full Changelog: View complete list of changes
v1.14.2
What's Changed
- Added ticker news insights support by @justinpolygon in #710
- Bump orjson from 3.10.5 to 3.10.6 by @dependabot in #704
- Bump types-setuptools from 70.1.0.20240627 to 70.3.0.20240710 by @dependabot in #707
- Bump zipp from 3.11.0 to 3.19.1 by @dependabot in #706
- Bump certifi from 2024.6.2 to 2024.7.4 by @dependabot in #702
Full Changelog: v1.14.1...v1.14.2
v1.14.1
What's Changed
We have reverted a recent SSL context implementation that was intended to optimize HTTPS requests but resulted in SSL certificate warnings on Windows systems. This change restores stability and eliminates the associated warnings for users.
List of What's Changed
- Revert "Use ssl_context for HTTPS requests to avoid reading certificate files on every request" by @justinpolygon in #691
- Bump pook from 1.4.3 to 2.0.0 by @dependabot in #697
- Bump mypy from 1.10.0 to 1.10.1 by @dependabot in #699
- Bump types-setuptools from 70.0.0.20240524 to 70.1.0.20240627 by @dependabot in #698
- Fix example to have correct params by @justinpolygon in #700
Full Changelog: v1.14.0...v1.14.1