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.
Attempted following the Quickstart and was not able to get
AssetandAssetselements working.pstock-pythonontopython -m venv .venvin Visual Studio Code version 1.81.1Asset.get:Asset.getError Returned:.venv\lib\site-packages\pstock\quote.py", line 50, in parse_quote .get("QuoteSummaryStore", {}) AttributeError: 'str' object has no attribute 'get'Assets.getAssets.getError 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.getNews.get