Hi everyone, 

sorry if this is a dumb question but I've been unable to find an answer.
I wrote a small price fetcher for the milan stock exchange, which works by 
scraping the website 
and works well enough.

But, to find a price I need to use the ISIN rather than the ticket price, 
which means I have to specify the price like 

EUR:borsa_italiana/IE00BDBRDM35:AGGH 

this in turn results in the generation of a price tag that looks like

2019-08-16 price IE00BDBRDM35:AGGH                   5.271 EUR

but I'd rather not have the ISIN in my commodity name.

AFAICT, the find_prices machinery does not have any ability to specify
separate symbol names for output and lookups, a PriceSource cannot set it 
or 
return it. 
I don't see this done for the quandl source either, resulting in WiKI:FOO 
names.

I guess I could hack something with dynamic module loaders but it seems to 
me
this should be possible, and useful in general, maybe having a "?name=FOO" 
extra bit in the price (which feels URI-ish anyway) 

If there's a non-hackish way to do this?

Thanks in advance for any help, and thanks for beancount, it's very cool!

PS
Maybe this already works for prices defined as metadata for commodities?
I could not check as I could never get bean-price to run on my ledger file, 
due to the same error 
reported here 
https://groups.google.com/forum/?nomobile=true#!searchin/beancount/ModuleNotFoundError$3A$20No$20module$20named$20$27beancount.prices.sources.True%7Csort:date/beancount/aCumzQyXMgw/B9Vn7OeEBgAJ

-- 
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/6846df59-e972-4ec3-b0c0-eb06403042b3%40googlegroups.com.

Reply via email to