Open cloudcell opened 4 years ago
I've done some research on the subject by chatting with IB tech support. It turns out that "SMART" option does not work if a user is not subscribed to the data from all the exchanges that have the requested ticker name. Thus, IBroker will keep trying to get data with no success. I still think that some kind of timeout mechanism would be useful.
Thanks for reporting back! Maybe there's a way to get all the exchanges the ticker is listed on, then check the user's subscriptions?
1) As for locations at which the stock is listed, try this page: https://interactivebrokers.github.io/tws-api/classIBApi_1_1ScannerSubscription.html#ab36dca88091096dc2c8b19917f08461f see function "LocationCode". Maybe this function will help.
2) I doubt you can check user subscriptions using API... But you can probably check whether you're subscribed or not using error codes. See error codes "365" and "10090" here: https://interactivebrokers.github.io/tws-api/message_codes.html
PS tried reaching out to helpdesk three times today, but they are in the maintenance mode
Description
try downloading adjusted data using symbol "SXC", the function will just hang
Expected behavior
Would be nice to have a timeout, be that even an hour, that's a must. It's the problem with IB, it's trying to retrieve the data but it can't. You can see that when trying to plot a price graph within IB.
Minimal, reproducible example
Session Info