-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Login isses due to Degiro's bot detection #61
Comments
@Jakub-CZ I managed to work around the issue by setting user-agent headers:
This is my complete __request method hotfix:
|
@Jakub-CZ curious, what is the workflow? why are the issues being closed when they are not actually being fixed on this repo? My understanding is that an issue is closed when it's fixed - that probably explains the number of people opening the issue, why would anyone look at closed issues to check for an active problem? I would wager that issue should remain open unless there is a fix in the repo, which in this case there is not |
Fair point. Maybe we should've left one of those issues open so that people notice it more easily. (Personally, I always search through closed issues as well. Often, an issue is closed when the corresponding PR is accepted, but it can take more time before all those changes get published.) There's no workflow since the sole owner of this repo went silent. Nobody else can do anything here. Somebody else forked this repo, published a few new versions on PyPI, then they abandoned it as well. You have two options:
I'm choosing No. 2, at least for now, since it's so easy to install Python packages from any commit. |
I will leave this one open then, to stand as a beacon to the other impatient who too do not look at the full complement of issues before creating another one 😂. Thank you for the tips, I will check out the other one but considering the simplicity of the fix, I am happy to stick with this package as well. Are you planning to maintain your fork is it only for your personal use? |
I plan to maintain my fork for the foreseeable future. But if Degiro change their API so much that it'd take too much effort to adapt to the change, I'll probably switch to another alternative at that point. |
How easy / difficult is it to connect with this api compared with the Chavi's api? |
I didn't try Chavi's library. Based on his docs it seems rather complex, just because it has so many functions and different modes of operation. This library is the complete opposite - all the important code is in a single file; the other files only define the supplementary data classes. The code is fairly naive and trivial, the quality is on the low end. But thanks to that it's super easy to understand enough to make changes to it, if necessary. Of course, this wouldn't be relevant, had the library been well maintained, and worked out-of-box. You might want to grab an example script from Chavi's repo and just give it a go. If it works for you, I'd go with that. For me personally, this library is good enough since I only use it to pull my latest transactions, and push them to my spreadsheets. I could almost imagine using it for some simple Dollar Cost Averaging automation. But I wouldn't trust it enough to use it with a day-trading algorithm. |
Thanks, I'm using an algo with Chavi's repo but somehow it ran into problems last week (after working flawless for a year). And I am puzzled why. I don't need much from DeGiro, just the orderbook of prices and the ability to check and adjust my own orders. The orderbook are the ten highest bid prices and then lowest ask prices in the market. The "real price" doesn't exist, only the last traded price exists in the market (and bids / offers). |
I have started experiencing a "Could not login" error, with the response from the server reading:
The text was updated successfully, but these errors were encountered: