app / de.uniks.codliners.stock_simulator.repository / AccountRepository / sell
sell
suspend fun sell(quote: Quote, amount: Double): Unit
Sells an asset if possible and stores the related data in the StockAppDatabase.
Parameters
quote
- Quote information of the asset.
amount
- The amount to sell.