See the bug report I filed a week ago. Google quotes are gone for good, with no workaround I know. A new price source needs to be written.
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/02cd79f2-98c5-4ffd-9983-f6d88f84c663%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAFL5w3VXd26FVsou-%2BbDDxLeWE8ad2Q3Jw20%2BboUfhpcG%2BJ4_A%40mail.gmail.com.
One nice benefit (for me) is they aggregate multiple exchanges, especially non-US ones.
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 beancount+unsubscribe@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/0d9f77bf-b3e2-4da6-b599-e3b85062661e%40googlegroups.com.
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/18853291-34f2-4efd-adee-e77edd66dd87%40googlegroups.com.
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?
On Monday, January 15, 2018 at 8:51:51 AM UTC+7, redst...@gmail.com wrote: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?Nope. The simple (and obvious when you think about it) answer is that tickers aren't globally unique, they are simply unique to an exchange. (Because why would exchanges care if a symbol is globally unique or not as long as it is unique on their exchange?) Since tickers aren't globally unique, how do you "automatically" determine an exchange and ticker?Take "VEU" as an example. Do you mean the Vanguard FTSE All World ex-US ETF that is listed on ARCX in the US? Or the one listed on the ASX in Australia? Or the ones that Vanguard is about to list on exchanges in Europe now that they've expanded abroad?
On Monday, January 15, 2018 at 8:51:51 AM UTC+7, redst...@gmail.com wrote:1) How do I get bean-price to use this by default? I don't use commodity directives in my sourcesYou have to use commodity directives.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?Nope. The simple (and obvious when you think about it) answer is that tickers aren't globally unique, they are simply unique to an exchange. (Because why would exchanges care if a symbol is globally unique or not as long as it is unique on their exchange?) Since tickers aren't globally unique, how do you "automatically" determine an exchange and ticker?Take "VEU" as an example. Do you mean the Vanguard FTSE All World ex-US ETF that is listed on ARCX in the US? Or the one listed on the ASX in Australia? Or the ones that Vanguard is about to list on exchanges in Europe now that they've expanded abroad?
Is SPY the SPY on ARCX or the ASX?Is GOOGL ("Alphabet Inc A") the one on XNAS (quoted in USD) or XMIL (quoted in Euros)?Is GE the one on the NYSE or the one on XMIL (GE Gefran SpA)?
And so on. If your answer is "well, I'm an American so it should default to picking all the things an American would pick....", I'm willing to accept a --american patch but I'm Australian. :)
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/bfa83ffb-2676-4439-ba13-5ec486bb4ce8%40googlegroups.com.
Thanks, and sorry if I didn't make this clear: I prefer not to use commodity directives, so everything can be automatically picked up by using --undeclared with bean-price.It seems like the price source has been hardcoded to default to yahoo if I'm not mistaken. So perhaps I'd have to do something like do some parsing to automatically produce commodity directives, and then get prices on those?
On Sunday, January 14, 2018 at 6:12:26 PM UTC-8, Martin Blais wrote:
The commodity directive allows you to specify the price source.e.g.2001-05-24 commodity XSPname: "iShares S&P 500 Index Fund (CAD Hedged)"assets: "Stock"price: "CAD:google/TSE:XSP"export: "TSE:XSP"quote: CADSo instead of "google/" here you'd use the name of the morningstar Python library.
On Sun, Jan 14, 2018 at 8:51 PM, <redst...@gmail.com> 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 sources2) 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, jus...@ego-pulse.com wrote:I written a Morningstar price fetcher which I've been using for a few weeks: https://github.com/hoostus/beancount-price-sourcesOne 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 beancount+...@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/18853291-34f2-4efd-adee-e77edd66dd87%40googlegroups.com.
--
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+unsubscribe@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/e377cf48-fb23-47ce-8f7c-d55cef5ed5be%40googlegroups.com.
$ bean-price -e 'USD:hoostus_sources.morningstar/etfs:XASX:VEU'
usage: bean-price [-h] [-e] [-v] [-d DATE] [-i] [-u] [-c] [-a] [-s] [-n]
[--cache CACHE_FILENAME] [--no-cache] [--clear-cache]
sources [sources ...]
bean-price: error: Invalid source "USD:hoostus_sources.morningstar/etfs:XASX:VEU"
To unsubscribe from this group and stop receiving emails from it, send an email to beancount+unsubscribe@googlegroups.com.
To post to this group, send email to bean...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/2b62ee12-ddc3-4093-97be-aadb21387567%40googlegroups.com.