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

Usage issues #1

Open
vonpupp opened this issue Dec 11, 2017 · 0 comments
Open

Usage issues #1

vonpupp opened this issue Dec 11, 2017 · 0 comments

Comments

@vonpupp
Copy link

vonpupp commented Dec 11, 2017

Hi,

Thank you for your contribution with this price sources. I am having some issues while trying to use them. I installed it as follows:

# I am using python3
virtualenv3 .env
source .env/bin/activate
pip install -r requirements.txt

git clone https://github.com/hoostus/beancount-price-sources.git

cd beancount-price-sources
python setup.py install

The requirements content is as follows:

beancount==2.0rc1                                                                                                                                                                 
fava==1.6

So far, so good and everything is straight forward, however when I try to query a price following the example I get the following errors:

bean-price -e 'USD:hoostus_sources.morningstar/etfs:XASX:VEU'
usage: bean-price [-h] [-e] [-v] [-d DATE] [-i] [-u] [-c] [-a] [-s] [-n]
                  [--cache CACHE_FILENAME] [--no-cache] [--clear-cache]
                  sources [sources ...]
bean-price: error: Invalid source "USD:hoostus_sources.morningstar/etfs:XASX:VEU"

bean-price -e 'AUD:hoostus_sources.fss/International_Equities'
usage: bean-price [-h] [-e] [-v] [-d DATE] [-i] [-u] [-c] [-a] [-s] [-n]
                  [--cache CACHE_FILENAME] [--no-cache] [--clear-cache]
                  sources [sources ...]
bean-price: error: Invalid source "AUD:hoostus_sources.fss/International_Equities"

Do you have any idea on how to get it working?

I am also developing a price source for another type of asset and I am having the same problem and I couldn't solve it as show on this message.

Thanks.

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

No branches or pull requests

1 participant