logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

finance-quote-wrapper - internal interface between gnucash and Finance::Quote

Description

       Input: a JSON encoded hash of namespaces and commodities to query prices for.  Currencies all go under
       the "currency' namespace, other commodities are grouped according to the quotes source they should be
       queried from There should also be a "defaultcurrency" key with the currency to be used as base currency
       for currency quotes.

       {
           "defaultcurrency": "EUR",
           "currency": {
               "XAG": "",
               "HKD": "",
               "USD": ""
           },
           "yahoo_json": {
               "CSCO": ""
           } }

       Output (on standard output):

       The retrieved quotes in JSON format for further processing. These are the raw values returned by
       Finance::Quote. The caller is responsible for parsing and interpreting the results.

       If there are program failures, an error message will be printed on standard error.

       Exit status

       0 - success non-zero - failure

perl v5.40.0                                       2025-01-15                           FINANCE-QUOTE-WRAPPER(1)

Name

       finance-quote-wrapper  -  internal interface between gnucash and Finance::Quote

Synopsis

       finance-quote-wrapper

See Also