Comments (6)
Same issue for me.
from client-python.
the docs / examples are outdated. WebSocketClient is now in polygon.websocket
from polygon.websocket import WebSocketClient, STOCKS_CLUSTER
from client-python.
We have a new version of the library and new doc which addresses this problem. Thanks for calling it to our attention.
See the Getting Started section in our docs or view the examples directory.
from client-python.
from client-python.
none of your stuff seems to be working i keep getting this error, i tried the websockets and REST examples with and without my api key
Traceback (most recent call last):
File "C:\Users\User\Desktop\experiments\Stock\polygon.py", line 1, in
import polygon
File "C:\Users\User\Desktop\experiments\Stock\polygon.py", line 2, in
from polygon import RESTClient
ImportError: cannot import name 'RESTClient' from partially initialized module 'polygon' (most likely due to a circular import) (C:\Users\User\Desktop\experiments\Stock\polygon.py)
from client-python.
none of your stuff seems to be working i keep getting this error, i tried the websockets and REST examples with and without my api key
Traceback (most recent call last): File "C:\Users\User\Desktop\experiments\Stock\polygon.py", line 1, in import polygon File "C:\Users\User\Desktop\experiments\Stock\polygon.py", line 2, in from polygon import RESTClient ImportError: cannot import name 'RESTClient' from partially initialized module 'polygon' (most likely due to a circular import) (C:\Users\User\Desktop\experiments\Stock\polygon.py)
Hi @johnny-vulture, do you have the polygon client library installed? Can you run pip install -U polygon-api-client
. If you're still getting the same error can you please run pip list
and paste the results. From the errors it looks like the client isn't installed. Thanks.
from client-python.
Related Issues (20)
- REST Request can be sped up a great deal by keeping an SSL context HOT 3
- Client update needed to match REST spec changes
- from polygon import RESTClient HOT 3
- polygon_client.list_tickers() returns duplicate tickers HOT 5
- 1.13.5 SSL Certificate Errors HOT 14
- Doucmenting class LastTrade HOT 4
- Is FTSE a supported ticker? HOT 2
- Client update needed to match REST spec changes HOT 1
- pypi version is still at 1.13.5 HOT 4
- Client update needed to match REST spec changes
- list_tickers returns Units and Warrants when type="CS" HOT 4
- Client update needed to match REST spec changes HOT 1
- Příjemce: PETR TOMSU IBAN: LT283250075368682278 BIC: REVOLT21 BIC zprostředkovatele: BARCGB22 Adresa příjemce: Masarykovo Náměstí 1/1, 741 01, Nový Jičín, Česká republika Banka / platební instituce: Revolut Bank UAB Adresa banky / platební instituce: Konstitucijos ave. 21B, 08130, Vilnius, Litva Referenční číslo platby: INV-1
- Client update needed to match REST spec changes
- Client update needed to match WebSocket spec changes HOT 1
- Incorrect Forex Price Spikes HOT 6
- Client update needed to match REST spec changes HOT 1
- Client update needed to match REST spec changes HOT 1
- Client update needed to match REST spec changes HOT 1
- Client update needed to match REST spec changes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from client-python.