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
Attempted following the Quickstart and was not able to get Asset and Assets elements working.
Installed pstock-python onto python -m venv .venv in Visual Studio Code version 1.81.1
Ran Asset.get:
from pstock import Asset
asset = asyncio.run(Asset.get("TSLA"))
print(asset)'```
Asset.get Error Returned:
.venv\lib\site-packages\pstock\quote.py", line 50, in parse_quote .get("QuoteSummaryStore", {}) AttributeError: 'str' object has no attribute 'get'
Ran Assets.get
from pstock import Assets
assets = asyncio.run(Assets.get(["TSLA", "AAPL", "GME"]))
print(assets)```
Assets.get Error Returned:
.venv\lib\site-packages\httpcore\_async\connection_pool.py", line 312, in aclose raise RuntimeError( RuntimeError: The connection pool was closed while 2 HTTP requests/responses were still in-flight.
Ran Bars.get
Worked as expected.
Ran News.get
Worked as expected.
The text was updated successfully, but these errors were encountered:
Attempted following the Quickstart and was not able to get
Asset
andAssets
elements working.pstock-python
ontopython -m venv .venv
in Visual Studio Code version 1.81.1Asset.get
:Asset.get
Error Returned:.venv\lib\site-packages\pstock\quote.py", line 50, in parse_quote .get("QuoteSummaryStore", {}) AttributeError: 'str' object has no attribute 'get'
Assets.get
Assets.get
Error Returned:.venv\lib\site-packages\httpcore\_async\connection_pool.py", line 312, in aclose raise RuntimeError( RuntimeError: The connection pool was closed while 2 HTTP requests/responses were still in-flight.
Bars.get
News.get
The text was updated successfully, but these errors were encountered: