Closed karim1104 closed 3 years ago
When I use different tickers (portfolio= ["TSLA","AMZN","FB","GOOG","AAPL"]), I get a different error:
KeyError Traceback (most recent call last) ~/anaconda3/lib/python3.8/site-packages/pandas/core/indexes/base.py in get_loc(self, key, method, tolerance) 2897 try: -> 2898 return self._engine.get_loc(casted_key) 2899 except KeyError as err:
pandas/_libs/index.pyx in pandas._libs.index.IndexEngine.get_loc()
pandas/_libs/index.pyx in pandas._libs.index.IndexEngine.get_loc()
pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item()
pandas/_libs/hashtable_class_helper.pxi in pandas._libs.hashtable.PyObjectHashTable.get_item()
KeyError: 'inventory'
The above exception was the direct cause of the following exception:
KeyError Traceback (most recent call last)
Thanks for raising the issue, just fixed it in the new version =)
You can try it out here: https://colab.research.google.com/drive/1x22fJ5bnc5ZVwj05_k-cKarj9GXw5J8W?usp=sharing
If it's ok for you, we can close this issue.
Confirmed working with the new version. Thank you very much! And by the way, incredible work you're doing here!
All functions ran perfectly except for fundlens. I got the following error:
KeyError Traceback (most recent call last)