I'm using refinitiv data library in python and with a platform session and keep getting this error:
An exception occurred: Error code -1 | The read operation timed out
.
I'd like to know what I did wrong.
- Full error message: An exception occurred: Error code -1 | The read operation timed out.
- Code: My complete code does way more than just this downloading part, this is the part that downloads the data:
rd.get_data(
universe=self._stocks,
fields=["TR.HIGHPrice","TR.OPENPrice","TR.CLOSEPrice","TR.LOWPrice",
"TR.CLOSEPRICE.DATE","TR.ACCUMULATEDVOLUME","TR.NUMBEROFBLOCKTRADES","TR.TSVWAP"],
parameters={'SDate':self._start.strftime("%Y-%m-%d"), 'EDate':self._end.strftime("%Y-%m-%d")}
)
I let the code run and after about 40 different RICs were tried I started getting a token expired error. Please advise, thanks!