On Mon, Jan 15, 2018 at 10:13 PM, Justus Pendleton <[email protected]>
wrote:

> On Monday, January 15, 2018 at 8:51:51 AM UTC+7, [email protected] wrote:
>>
>> 1) How do I get bean-price to use this by default? I don't use commodity
>> directives in my sources
>>
>
> You 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)?
>

That's just one dimension of uniqueness; the other is where do you fetch
the price?
As in, do you fetch the price of ARCX:SPY from Google or Yahoo?

So basically, the right thing to do here, since each user has a limited
number of commodities, is simply to use the Commodity directives and be
explicit about where you want your prices to come from.




>
> 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 [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/bfa83ffb-2676-4439-ba13-5ec486bb4ce8%40googlegroups.com
> <https://groups.google.com/d/msgid/beancount/bfa83ffb-2676-4439-ba13-5ec486bb4ce8%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%2BhMTEv6LYw1-GhPgEZKGq%2BCcwhHi9nppRE_y2aRbckmzAA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to