fondsweb-scraper
This is a web scraper for ETF data from the Fondsweb website.
Fondsweb is a lesser known german website, that provides information about funds. Unlike its competitors, it offers the ability to sort funds by volatility, Sharpe ratio, costs, FWW and ISS ratings, etc.
But apart from an old Perl package Finance::Quote::Fondsweb there seems to be no other way to access Fondsweb data. This Python package is a new implementation that makes accessing the data from Fondsweb easier.
Usage
Install the package from PyPi
$ pip install fondsweb-scraper
To import do
>>> from fondsweb import fondsweb as fw
Get information about a single fund by its ISIN
>>> fw.get_fund("LU1834983477")
{'name': 'Amundi STOXX Europe 600 Banks UCITS ETF Acc',
'currency': 'EUR',
'costs': 0.3,
'fund_vol': 1520550000.0,
'per (EUR)': {0: 54.72, 1: 60.55, 3: 42.21, 5: 37.15},
'vol': {1: 16.1, 3: 19.01, 5: 23.43},
'sharpe': {1: 3.66, 3: 2.22, 5: 1.49}}
Search for all stock funds sorted by sharpe ratio of the last year
>>> response = fw.search_fondsweb(afocus=["Aktienfonds"], sort="Sharpe Ratio 1 Jahr")
https://www.fondsweb.com/de/suchen/afocus/2-123/sort/sharpe1j
It will print the url used for the search. You can then show the top10 results like
>>> for entry in response[:10]:
... print(entry["sharpe"], entry["year_1"], entry["isin"], entry["name"])
...
6.33 39.74 LI0181971842 ASPOMA Japan Opportunities Fund E
6.31 41.74 LI0393642439 ASPOMA Japan Opportunities Fund A
5.71 58.19 IE000YYE6WK5 VanEck Defense UCITS ETF USD A
5.32 71.47 IE000JCW3DZ3 Global X Defence Tech UCITS ETF USD thes.
4.73 63.91 LU0832413909 ALKEN FUND - European Opportunities US1
4.69 63.48 LU0866838492 ALKEN FUND - European Opportunities US2
4.65 63.44 LU0235308136 ALKEN FUND - European Opportunities H
4.65 63.36 LU0866838575 ALKEN FUND - European Opportunities EU1
4.63 63.13 LU0432793510 ALKEN FUND - European Opportunities Z
4.63 63.08 LU0235308482 ALKEN FUND - European Opportunities R
To retrieve time series information about a fund you first need to fetch some config data from the Fondsweb website.
config = fw.fetch_config()
The config object is the needed as parameter to access the time series data.
df = fw.get_fund_timeseries("IE00B4L5Y983", config=config)
print(df)
date value
0 2009-09-25 100.00
1 2009-09-28 101.24
2 2009-10-12 102.06
3 2009-10-26 99.74
4 2009-11-09 101.60
.. ... ...
741 2025-10-24 660.64
742 2025-10-27 666.20
743 2025-10-28 667.90
744 2025-10-29 667.39
745 2025-10-30 665.80
The time series data is returned as a pandas DataFrame.
For more examples have a look at the jupyter notebooks in the notebooks directory.
Metadata
Release files for fondsweb-scraper 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fondsweb_scraper-0.1.4.tar.gz | 13.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fondsweb_scraper-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.5 kB
Release files / fondsweb_scraper-0.1.4.tar.gz
| Download URL | fondsweb_scraper-0.1.4.tar.gz |
|---|---|
| Size | 13.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
25d8036a95876ef0cd96a807bbf23f2b7472f829bd4ad255998e3dbf51bfa76a
|
|
BLAKE2b-256 checksum How to use checksums |
cf7f0f7f7a8f77ec4e0add3ef217614d240960cfc8a9995887bd77ca453cdbc2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.7
|
Release files / fondsweb_scraper-0.1.4-py3-none-any.whl
| Download URL | fondsweb_scraper-0.1.4-py3-none-any.whl |
|---|---|
| Size | 14.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
597c5a1f705ecb36c44f6ecd7d9780847cee04693b4205178e00beb2c4c2df04
|
|
BLAKE2b-256 checksum How to use checksums |
88f5dc7021bd42ad77b8abbe233bba8741f7e5fc187842cf6e102eb7320ffd14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.7
|