You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,7 @@ The Alpaca SDK will check the environment for a number of variables which can be
63
63
| APCA_RETRY_WAIT=3 | 3 | seconds to wait between each retry attempt |
64
64
| APCA_RETRY_CODES=429,504 | 429,504 | comma-separated HTTP status code for which retry is attempted |
65
65
| POLYGON_WS_URL | wss://alpaca.socket.polygon.io/stocks | Endpoint for streaming polygon data. You likely don't need to change this unless you want to proxy it for example |
66
+
| POLYGON_KEY_ID || Your Polygon key, if it's not the same as your Alpaca API key. Most users will not need to set this to access Polygon.|
66
67
67
68
68
69
## REST
@@ -238,9 +239,10 @@ Deregisters the event handler function that was previously registered via `on` o
238
239
---
239
240
# Polygon API Service
240
241
241
-
Alpaca's API key ID can be used to access Polygon API whose document is found [here](https://polygon.io/docs/).
242
-
This python SDK wraps their API service and seamlessly integrates with Alpaca API.
243
-
`alpaca_trade_api.REST.polygon` will be the `REST` object for Polygon.
242
+
Alpaca's API key ID can be used to access Polygon API, the documentation for
243
+
which is found [here](https://polygon.io/docs/).
244
+
This python SDK wraps their API service and seamlessly integrates it with the Alpaca
245
+
API. `alpaca_trade_api.REST.polygon` will be the `REST` object for Polygon.
244
246
245
247
The example below gives AAPL daily OHLCV data in a DataFrame format.
0 commit comments