GnuCash  4.11-6-gd65b1226c7+
python.gnucash_core.GncPrice Class Reference
Inheritance diagram for python.gnucash_core.GncPrice:
python.gnucash_core.GnuCashCoreClass

Additional Inherited Members

- Public Member Functions inherited from python.gnucash_core.GnuCashCoreClass
def do_lookup_create_oo_instance (self, lookup_function, cls, args)
 

Detailed Description

Each priceEach price in the database represents an "instantaneous"
quote for a given commodity with respect to another commodity.
For example, a given price might represent the value of LNUX in USD on 2001-02-03.

Fields:
  * commodity: the item being priced.
  * currency: the denomination of the value of the item being priced.
  * value: the value of the item being priced.
  * time: the time the price was valid.
  * source: a string describing the source of the quote. These strings will be something like this:
  "Finance::Quote", "user:misc", "user:foo", etc. If the quote came from a user, as a matter of policy,
  you *must* prefix the string you give with "user:". For now, the only other reserved values are
  "Finance::Quote" and "old-file-import". Any string used must be added to the source_list array in
  dialog-price-edit-db.c so that it can be properly translated. (There are unfortunately many strings
  in users' databases, so this string must be translated on output instead of always being used in untranslated form).
  * type: the type of quote - types possible right now are bid, ask, last, nav, and
  unknown.Each price in the database represents an "instantaneous" quote for a given
  commodity with respect to another commodity.
  For example, a given price might represent the value of LNUX in USD on 2001-02-03.

  See also https://code.gnucash.org/docs/head/group__Price.html

Definition at line 593 of file gnucash_core.py.


The documentation for this class was generated from the following file: