-
-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tickNewsEvent does not map tickerId #110
Comments
Thanks for pointing that out! I'll look into fixing the data structure and API there for the next update cycle. The entire "news API" adapters are under-tested and under-used apparently since we keep finding edge cases and data mismatches. |
This is a reasonable approach. We can automate it at the API level (remembering the mapping internally) so it can populate a Ticker or Contract object on the news event results. |
I have a loop to subscribe for streaming news for a set of tickers:
The passed argument to the eventhandler on_tick_news is a NewsTick:
According to TWS Api documentation the is a tickerId:
This tickerId however seems to be "lost in translation".
In my use case it is essential to know which ticker the news is related to.
The text was updated successfully, but these errors were encountered: