The commodity directive allows you to specify the price source. e.g. 2001-05-24 commodity XSP name: "iShares S&P 500 Index Fund (CAD Hedged)" assets: "Stock" price: "CAD:google/TSE:XSP" export: "TSE:XSP" quote: CAD
So instead of "google/" here you'd use the name of the morningstar Python library. On Sun, Jan 14, 2018 at 8:51 PM, <[email protected]> wrote: > Thanks for this, very useful! A couple questions: > > 1) How do I get bean-price to use this by default? I don't use commodity > directives in my sources > > 2) Is there a way to automatically determine exchange and ticker with > morningstar so I don't have to manually find it for each ticker I have? > > Thanks again for sharing this! > > On Sunday, December 10, 2017 at 5:21:07 AM UTC-8, [email protected] > wrote: >> >> I written a Morningstar price fetcher which I've been using for a few >> weeks: https://github.com/hoostus/beancount-price-sources >> >> One nice benefit (for me) is they aggregate multiple exchanges, >> especially non-US ones. >> > -- > 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 post to this group, send email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/beancount/18853291-34f2-4efd-adee-e77edd66dd87%40googlegroups.com > <https://groups.google.com/d/msgid/beancount/18853291-34f2-4efd-adee-e77edd66dd87%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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 post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAK21%2BhMDn9tPDFTMqU%2BRKZrkcLYOR6H%2B6gR2bAMKySrRQ7Fkmw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
