1FINANCE-QUOTE-WRAPPER(1U)ser Contributed Perl DocumentatiFoInNANCE-QUOTE-WRAPPER(1)
2
3
4

NAME

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

SYNOPSIS

10       finance-quote-wrapper
11

DESCRIPTION

13       Input: a JSON encoded hash of namespaces and commodities to query
14       prices for.  Currencies all go under the "currency' namespace, other
15       commodities are grouped according to the quotes source they should be
16       queried from There should also be a "defaultcurrency" key with the
17       currency to be used as base currency for currency quotes.
18
19       {
20           "defaultcurrency": "EUR",
21           "currency": {
22               "XAG": "",
23               "HKD": "",
24               "USD": ""
25           },
26           "yahoo_json": {
27               "CSCO": ""
28           } }
29
30       Output (on standard output):
31
32       The retrieved quotes in JSON format for further processing. These are
33       the raw values returned by Finance::Quote. The caller is responsible
34       for parsing and interpreting the results.
35
36       If there are program failures, an error message will be printed on
37       standard error.
38
39       Exit status
40
41       0 - success non-zero - failure
42
43
44
45perl v5.38.0                      2023-09-25          FINANCE-QUOTE-WRAPPER(1)
Impressum