Skip to content

Releases: polygon-io/client-python

v1.15.3

17 Jul 15:54
6ca3fc3
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.15.2...v1.15.3

v1.15.2

16 Jul 14:13
f254f53
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.15.1...v1.15.2

v1.15.1

08 Jul 19:08
334277a
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.15.0...v1.15.1

v1.15.0

07 Jul 08:34
f60bfe4
Compare
Choose a tag to compare

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 instantiating RESTClient.
  • 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

Full Changelog: v1.14.6...v1.15.0

v1.14.6

03 Jun 18:36
4ed1624
Compare
Choose a tag to compare

What's Changed

  • Updated list_treasury_yields, list_short_interest, and list_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

23 Apr 22:46
1cb16d3
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.14.4...v1.14.5

v1.14.4

20 Feb 22:51
a7c00b8
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.14.3...v1.14.4

v1.14.3

09 Jan 17:02
bbf0b29
Compare
Choose a tag to compare

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

18 Jul 13:57
3aa9d82
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.14.1...v1.14.2

v1.14.1

02 Jul 23:16
f789d29
Compare
Choose a tag to compare

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

Full Changelog: v1.14.0...v1.14.1