client-python
client-python copied to clipboard
The official Python client library for the Polygon REST and WebSocket API.
Bumps [mypy](https://github.com/python/mypy) from 1.13.0 to 1.14.1. Changelog Sourced from mypy's changelog. Mypy Release Notes Next release Drop Support for Python 3.8 Mypy no longer supports running with Python 3.8, which...
**Describe the bug** We are running a proxy service so the base is using `http` instead of `https` ``` path = decoded["next_url"].replace(self.BASE, "") ``` is causing a bug because it...
With code like this: ``` RESTClient(base = "http://my-local-polygon-proxy") ``` streaming API does not work correctly. On this line: https://github.com/polygon-io/client-python/blob/f789d2905bf9410ce372ff8c3dd8549534c4603d/polygon/rest/base.py#L231 Next URL tries to replace in returneded URL, that is `https://api.polygon.com`...
Adds futures REST and Websocket beta support. REST support was straightforward but websocket support needed a small refactor around how events are processed. Added new parsing logic using `MARKET_EVENT_MAP` to...
cmsg = await asyncio.wait_for(s.recv(), timeout=1) which means that messages are received one at a time. Here’s what happens in practice if many messages arrive: Message Queuing: The underlying websockets library...
**Describe the bug** The `polygon` package does not export its type information to mypy, which causes mypy to fail when used on downstream packages **To Reproduce** 1. Download `examples/stocks-daily_open_close.py` or...
**Describe the bug** list_snapshot_options_chain always seems to return all results, and not the limit. On the polygon.io test page, the limit parameter works, but not via this client. **To Reproduce**...
**Describe the bug** I found that the argument limit is not working when I query for news using list_ticker_news. **To Reproduce** Steps to reproduce the behavior: 1. Create a polygon...
**Describe the bug** The package gives deprecation warnings on import. ``` DeprecationWarning: websockets.client.connect is deprecated DeprecationWarning: websockets.client.WebSocketClientProtocol is deprecated ``` **To Reproduce** ```python from polygon import RESTClient ``` **Additional context**...
I found a problem when name changes on symbols. When searching name changes on EVO symbol, it says it changed it from EVTCV > EVTC > EVO. However, when searching...