Can anyone explain to me why I am getting the following error? When looking at the Order history, it does successfully buy and sell the mentioned ticker.


Runtime Error: Trying to retrieve an element from a collection using a key that does not exist in that collection throws a KeyError exception. To prevent the exception, ensure that the 'DUSL WK7PAZG36KIT' key exist in the collection and/or that collection is not empty.
at wrapped_function
raise KeyError(f"No key found for either mapped or original key. Mapped Key: {mKey}; Original Key: {oKey}")
File "/opt/miniconda3/lib/python3.6/site-packages/pandas/core/series.py" in PandasMapper.py: line 75 (Open Stacktrace)