Models ====== The ``coins`` app has one model: the concrete asset type ``Coin``. Coin ---- Concrete subclass of :class:`~richy.core.models.Item` via Django multi-table inheritance. Adds a ``coin_id`` field -- a unique identifier used to disambiguate two coins sharing the same ticker symbol (see :doc:`/modules/coins/index`). The ``update_cache`` override invalidates the coin-specific transaction-performance / profit-performance cache keys and re-warms them by re-running ``Performance``. .. autoclass:: richy.coins.models.Coin :show-inheritance: .. automethod:: richy.coins.models.Coin.update_cache