On Sun, Dec 10, 2023 at 9:30 PM john <[email protected]> wrote:
> > On Dec 10, 2023, at 03:40, Gustavo R. Montesino <[email protected]>
> > wrote:
> >
> > Hello,
> >
> > I'm running gnucash 5.4 from Debian testing/sid repo and getting
> > updated commodity quotes through "gnucash-cli --quotes get".
> >
> > Recently I've noticed that gnucash-cli isn't getting quotes from
> > "unkonwn" Finance::Quote sources; the same commodities get updated
> > quotes correctly if run from the Price dialog.
> >
> > Running gnucash-cli with "--debug", the affected commodities doesn't
> > show up on the "Query JSON" posted on the console; running the gui
> > with debug they show correctly on gnucash.trace, eg:
> >
> > 8:23:47 INFO <gnc.price-quotes> [GncQuotesImpl::query_fq] Query JSON: {
> > "defaultcurrency": "BRL",
> > (...)
> > "tesouro_direto": {
> > "Tesouro Prefixado 2026": "",
> > "Tesouro Selic 2027": "",
> > (...)
> >
> > Could someone please help me with this?
>
>
> Does it work correctly if you request individual quotes from gnucash-cli, for
> example
> bin/gnucash-cli -Q dump tesouro_direto "Tesouro Prefixado 2026"
Hello John,
Thanks for the reply. Individual/specific quotes work perfectly:
~$ LANG=C gnucash-cli -Q dump tesouro_direto "Tesouro Prefixado
2026"Finance::Quote fields GnuCash uses:
symbol: Tesouro Prefixado 2026<=== required
date: 12/08/2023 <=== recommended
currency: BRL <=== required
last: 818.37 <=\
nav: <=== one of these
price: <=/
Regards,
Gustavo R. Montesino
_______________________________________________
gnucash-user mailing list
[email protected]
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.