Skip to content
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

Add support for Switzerland's CSIF funds #69

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

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?

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.

None yet

1 participant