beanprice
beanprice copied to clipboard
Bean-price --update today's price
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?
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?