Skip to content

Add support for Switzerland's CSIF funds#69

Open
c-vigo wants to merge 6 commits intobeancount:masterfrom
c-vigo:csif
Open

Add support for Switzerland's CSIF funds#69
c-vigo wants to merge 6 commits intobeancount:masterfrom
c-vigo:csif

Conversation

@c-vigo
Copy link

@c-vigo c-vigo commented Mar 22, 2022

First time contributor to another project, please do let me know if this is the expected worklow...

This branch adds support for Switzerland's Credit Suisse Index Funds by creating a new bean-price source: csif. The price tag is [xxx]:csif/CHyyyyyyyyyy where "xxx" is the currency and "CHyyyyyyyyyy" is the IBAN, e.g. "USD:csif/CH0030849712". The source connects to the Credit-Suisse website, downloads the historical list of quotes and caches it for faster access.

I had to modify slightly the files source.py and prices.py to deal with missing dates in the data.

Added also some simple tests.

Is this source too country-specific or would you be interested to merge it?

@slashformotion
Copy link
Contributor

https://en.wikipedia.org/wiki/Credit_Suisse closed 31 May 2024 (19 months ago).

$  curl https://amfunds.credit-suisse.com/ch/de/institutional/fund/history/CH0031341875
curl: (6) Could not resolve host: amfunds.credit-suisse.com

@xuhcc this can probably be closed

@xuhcc
Copy link
Collaborator

xuhcc commented Jan 31, 2026

This pull request adds multiple sources, some of them may still work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants