[GNC] gnucash-cli --quotes get

Cam Ellison cam at ellisonet.ca
Thu May 27 16:35:15 EDT 2021


On 2021-05-27 10:50 a.m., John Ralls wrote:
>
>> 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.
>
Of course - I should have added that disclaimer. Not many of us have 
unlimited bandwidth.

Cheers

Cam




More information about the gnucash-user mailing list