Hi,

I'm now mostly done with the price imports. Thanks to the info you guys provided I think I'm able to solve my issues.

Maybe interesting for others could be the way I solved my "prices in base ccy" issue. I'm now going to store the price entries in the ccy as fetched from the price source and then created a very simple plugin, which takes that price, takes the fx rate and creates a new price entry in the base ccy.


Thanks again for the help,

Patrick


On 30-Nov-18 14:23, Justus Pendleton wrote:
On Thursday, November 29, 2018 at 10:09:22 PM UTC+7, Patrick Ruckstuhl wrote:

    I would like to have a local price database. I do this with
    beancount files with price directives. What I'm now looking at is
    how to update this price files. They basically contain one entry
    per day and are updated daily. But on a daily run it can return a
    price date which already exists and I'm looking at a way to update
    (or maybe ignore) that entry.


bean-price has a --clobber flag "Do not skip prices which are already present in input files; fetch them anyway." I'm not sure that's exactly what you're looking for, though. I think you'll need to write a script to what you're looking for.
--
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] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/fd11025b-ded6-481e-bd5c-868c58836e3c%40googlegroups.com <https://groups.google.com/d/msgid/beancount/fd11025b-ded6-481e-bd5c-868c58836e3c%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/b5c973e3-0c77-81ab-0496-840f4aa6b2de%40ch.tario.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to