[GNC] gnucash-cli --quotes get

John Ralls jralls at ceridwen.us
Thu May 27 13:50:21 EDT 2021



> On May 27, 2021, at 10:35 AM, Cam Ellison <cam at ellisonet.ca> wrote:
> 
> On 2021-05-27 10:08 a.m., mike823 wrote:
>> Hi Robin,
>> 
>> I used your code to load quotes and I've noticed that when runs multiple
>> times, it will create multiple quote records for the same day. Any way to
>> avoid this behavior? I mean, if you re-run it, it should just update the
>> quote for the day, not create a new one.
>> 
>> Thanks.
>> 
> And for those who do day trading, for example, and want to track prices at different times of day?
> 
> It does what it should, which is to create a record each time it is run.

But that's not what GnuCash is designed for and if you try to use it that way you'll pretty quickly run into performance problems. You're much better off getting a portfolio management tool for that kind of thing.

Regards,
John Ralls



More information about the gnucash-user mailing list