Jorricks / python-degiro

An unofficial python API for trading on the DeGiro platform, with the ability to get real time data and historical data.
MIT License
8 stars 1 forks source link

real_time_price ValueError: invalid literal for int() with base 10 #1

Open paulomiguelfferreira opened 1 year ago

paulomiguelfferreira commented 1 year ago

The command 'real_time_price' most of the times complete the gathering of data, but sometimes comes out the this error:

Traceback (most recent call last):

File "C:\Users\840653\Anaconda3\lib\site-packages\degiroapi__init__.py", line 224, in real_time_price int(tmp)

ValueError: invalid literal for int() with base 10: 'US6806652052.TRADE,E'

If I run it again, it works and then fails with a different product id.

Jorricks commented 1 year ago

Hmm you'll have to look up what the response returns. Anyways, this repo is deprecated. Have a look at the proposed alternative :)