Describe the bug
An uncaught KeyError exception is generated at line 165 of twelvedata/utils.py.
The exception is about the key values missing in the dictionary data accessed at that line. The error happens when the module tries to convert the result of the call to the Twelvedata API to a pandas multi-index.
The strangest thing is that I don't experience problems until I add specific tickers to the request (See section below)
Describe the bug An uncaught KeyError exception is generated at line 165 of
twelvedata/utils.py
. The exception is about the keyvalues
missing in the dictionarydata
accessed at that line. The error happens when the module tries to convert the result of the call to the Twelvedata API to a pandas multi-index.The strangest thing is that I don't experience problems until I add specific tickers to the request (See section below)
To Reproduce Steps to reproduce the behavior:
This code causes the error:
While if I remove the BCH/USD ticker, it runs smoothly:
Desktop (please complete the following information):