开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

ValueError: could not convert string to float: b'\xe2\x88\x9e'


 

Using Python api -
?
From time to time i am getting following error and it stops the api thread completely. I can't catch this exception in Main thread. This happens with HistoricalData callback. It is somehow receiving inifinity character as i understand.
Is there a way to catch this exception without updating API source code?
?
? File "xxx/ibapi-10.30.1-py3.9.egg/ibapiibapi/client.py", line 398, in run
? File "xxx/ibapi-10.30.1-py3.9.egg/ibapi/decoder.py", line 1506, in interpret
? File "xxx/ibapi-10.30.1-py3.9.egg/ibapi/decoder.py", line 616, in processHistoricalDataUpdateMsg
? File "xxx/ibapi-10.30.1-py3.9.egg/ibapi/utils.py", line 135, in decode
ValueError: could not convert string to float: b'\xe2\x88\x9e'
?
?
thanks,

Join [email protected] to automatically receive all group messages.