app / de.uniks.codliners.stock_simulator.domain / DepotQuote

DepotQuote

data class DepotQuote

Depot quote domain model entity used to aggregate all depot quote purchases of one asset.

Constructors

<init>

Depot quote domain model entity used to aggregate all depot quote purchases of one asset.

DepotQuote(id: String, symbol: String, type: Type, amount: Double, buyingPrice: Double)

Properties

amount

The amount of the asset in the depot.

val amount: Double

buyingPrice

The average price that was paid for the asset.

val buyingPrice: Double

id

The id of the asset.

val id: String

symbol

The symbol of the asset.

val symbol: String

type

The asset's type.

val type: Type