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

Get paid dividends #36

Open RodSernaPerez opened 3 years ago

RodSernaPerez commented 3 years ago

How can I get all the dividends I got during a period of time?

Jakub-CZ commented 3 years ago

AFAIK you need the code that was added in this PR: https://github.com/lolokraus/DegiroAPI/pull/16

It adds the function account_overview which is the detailed activity report available in Degiro itself. In the returned object under the key "cashMovements" you'll get everything: buys, sells, dividends. You'll need to filter that for what you want based on the description of each entry.

Chavithra commented 3 years ago

Hi,

this library no longer seems to be maintained : the last code update was 10 months ago.

If you are looking for an alternative I made one :

https://github.com/Chavithra/degiro-connector

It has the method : get_account_overview.

It is documented and I plan to maintain it for a while.