thanks a lot for the information. i succeed to make it even work a price source for french fund to get the current price.
you could find it there : https://github.com/pfrancois/beancount_scripts Le jeu. 7 mai 2020 à 00:48, Aamer Abbas <[email protected]> a écrit : > Check out > https://aumayr.github.io/beancount-docs-static/api_reference/beancount.prices.html > > You need to use the "-e" command line parameter to pass in the string, > including the source. For example if you want to get the price for Amazon > stock from Yahoo: *bean-price -e "USD:yahoo/AMZN"* > > You can also define this string as part of your commodity. Then you can > just run bean-price on your main file and it will automatically pull the > prices for all commodities that you currently hold. Again, with the Amazon > example, the commodity could be defined like this: > > > *1997-05-15 commodity AMZN name: "Common shares of Amazon" price: > "USD:yahoo/AMZN"* > > Yahoo already comes built-in as a source. I think some others do too, but > I can't remember which ones (I think Google, maybe some others - check the > source code or docs). If you need additional sources, you can write your > own too. Here's a hacky example I wrote (and use myself) to get prices for > cryptocurrencies from coinmarketcap.com: > https://github.com/aamerabbas/beancount-coinmarketcap > > > On Thu, May 7, 2020 at 12:56 AM francois PEGORY <[email protected]> > wrote: > >> hello, >> i try to use bean-price (especially to fetch price of european stocks) >> and i don't succeed. >> sorry to ask about it but where is the most recent documentation about it >> ? >> >> >> >> -- >> 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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/beancount/CALUWbLd4r7Y_N60G5jdwjtppeOb_K8EPuFv%3DOuMXSdp%3DKj%2BzAw%40mail.gmail.com >> <https://groups.google.com/d/msgid/beancount/CALUWbLd4r7Y_N60G5jdwjtppeOb_K8EPuFv%3DOuMXSdp%3DKj%2BzAw%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beancount/CAOHSxbkZ_Uv3JsXzoh-FqAVnk0ootjO_Vc1dGd2HtuUzGOEJfg%40mail.gmail.com > <https://groups.google.com/d/msgid/beancount/CAOHSxbkZ_Uv3JsXzoh-FqAVnk0ootjO_Vc1dGd2HtuUzGOEJfg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CALUWbLeb-CP7dvWRcHQWwmYqTo%2BPY9FwLSBYQ0Lci3X_7qHH4Q%40mail.gmail.com.
