FINANCE...-WRAPPER(1)
β¨ NAME β¨
finance-quote-wrapper β it's the internal interface between gnucash and Finance::Quote π«Ά
Like, this is the lil go-between bestie that handles the handoff. It's section 1 of the User Contributed Perl Documentation, iykyk π
πΈ SYNOPSIS πΈ
finance-quote-wrapper
That's it. No flags, no drama, no options. She takes it all on stdin, periodt β¨
π DESCRIPTION π
Okay so here's the vibe π
Input: a JSON encoded hash of namespaces and commodities to query prices for. All the currencies go under the "currency" namespace (they all live together, it's giving one big group chat), and every other commodity gets grouped according to the quotes source it should be queried from. π¦
You also gotta have a "defaultcurrency" key in there, holding the currency that'll be used as the base currency for currency quotes. Don't skip it bestie π
{
"defaultcurrency": "EUR",
"currency": {
"XAG": "",
"HKD": "",
"USD": ""
},
"yahoo_json": {
"CSCO": ""
} }
π« Output (on standard output) π«
The retrieved quotes come back in JSON format, ready for further processing. And listen β these are the raw values returned by Finance::Quote. No glow-up, no interpretation, nothing. The caller is the one responsible for parsing and interpreting the results π
π Exit status π
0β success π- non-zero β failure π
Real talk though: if there are program failures, an error message gets printed on standard error. So check your stderr before you start spiralling, okay? π
Cute little sign-off: this page is perl v5.42.3, dated 2026-09-28, and it's living its best life in the User Contributed Perl Documentation. Slay π
πΈβ¨
π¦ where this page comes from
- fedora 43: gnucash 5.17-1.fc43 Β· GPL-2.0-or-later
- fedora 44: gnucash 5.17-1.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms