Hello Beancounters!

I'm having some trouble with using bean-price to fetch FX prices.

Here's the example .beancount file I'm working with:
https://gist.github.com/dannychan0510/fe410ba1ea87aaa844b23c5be9bb9777

I run into 2 issues when I run this command:
bean-price test.beancount --update --date `date +'%Y-%m-%d'` --update-rate 
weekly -v --clear-cache

1. Prices for SNAP and TSLA are fetched, but not USD.
--> However, if I comment out lines 33 - 39, and change line 29 to from USD 
to TSLA (or SNAP), then it fetches the prices (but I need to change the 
commodity name from TSLA back to USD).

2. Prices fetched do not have any decimal places. This is true even if I 
add `precision: 4` in the commodity directives.

Any pointers would be greatly appreciated -- thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Beancount" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beancount+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/beancount/d6e13ac1-4183-49a5-8f48-3fc6da33abf6n%40googlegroups.com.

Reply via email to