GnuCash  5.6-150-g038405b370+
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: describes how the price was created. The string form used by
  set_source_string() / get_source_string() must be one of the recognized
  PriceSource values; set_source_string() raises ValueError otherwise.
  * 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 746 of file gnucash_core.py.


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