Models#
The coins app has one model: the concrete asset type Coin.
Coin#
Concrete subclass of 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 Coins).
The update_cache override invalidates the coin-specific
transaction-performance / profit-performance cache keys and re-warms
them by re-running Performance.