ERROR: Your request failed with error "No Data!"
The error in subject line comes from hist api when no data is available for the symbol requested. Two points on this message.
1. This is a print message from get_n_historic_bars, get_hist_bar_data, get_hist_eod_data, etc functions inside TD.py code of the truedata_ws library. Instead of a print, can this be 'raised' so that client python code can catch it in a try except block? Otherwise this print message comes in the main thread where more emergency print statements may be there.
2. This message comes when there is no data for the symbol. Can it be changed to a warning or info message when symbol is correct but data is absent. And an error message if symbol is incorrect. If symbol is correct, should the api not send back the last ohlc data which will be o=h=l=c as we see in broker charts?