lolokraus / DegiroAPI

An unofficial API for the trading platform Degiro, with the ability to get real time data and historical data
MIT License
215 stars 86 forks source link

"Internal Server Error" on buyorder #22

Open Fab5414 opened 3 years ago

Fab5414 commented 3 years ago

Hello,

Problem : if you try to execute your buy order whereas you are not log into to degiro since several hours, server replies "Internal Server Error"

Looks very strange because once I'm logged with my browser, python script respond correctly.

Jakub-CZ commented 3 years ago

Are we talking about a long running script that may be idle for a long time, and after that the error is returned?

If that's the case, can you react to the error in your script by disconnecting and then logging in again, opening a new session?

Either way, this repo was abandoned by its owner. You may want to check out an alternative: https://github.com/lolokraus/DegiroAPI/issues/36#issuecomment-826793649 It looks much more advanced, than this one. However, I haven't tried it myself.

Broomhilde commented 3 years ago