Closed tylerfloyd closed 5 years ago
I received the same error. I have not attempted any changes - this was my first time logging in. Definitely appreciate the fact that this API exists, so happy to help with my limited skillset.
Thanks @tylerfloyd , it seems they've removed the time
key. I will update and merge to master soon. Please let me know if the new version is still just as good or if any of those other keys should also be added in there.
Describe the bug When getting a quote, the error is
KeyError: time
on :tastyworks/dxfeed/quote.py", line 10
To Reproduce Steps to reproduce the behavior:
tasty
Expected behavior The quote should be returned without error
Additional context
Stack trace:
New Response
The new message return from Tasty has the following keys:
Additional Notes
I removed
time
from the loop and then received an error on thetimeNanos
key. I replacedtimeNanos
witheventTime
and received quotes correctly. However, without fully understanding the context and how these values are used, I am not confident in that change.