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

Bean-price --update today's price #46

Open
ThomasdenH opened this issue Apr 13, 2021 · 1 comment
Open

Bean-price --update today's price #46

ThomasdenH opened this issue Apr 13, 2021 · 1 comment

Comments

@ThomasdenH
Copy link
Contributor

What are the criteria for fetching a price? I have noticed that today's price is never fetched. This could be intentional, but then it means that a price fetcher that only provides the current price will never be updated. Is this a bug?

@mkatsevVR
Copy link

I think there is some weirdness with timezones for some sources that makes it output wrong dates sometimes
Eg:

$ bean-price -e "USD:yahoo/VTI" -d 2021-04-16
2021-04-16 price VTI                    217.14999389648438 USD           <- looks good
$ bean-price -e "USD:yahoo/EURUSD=X" -d 2021-04-16      
2021-04-15 price EURUSD=X               1.1971746683120728 USD           <- wtf?

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

2 participants