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

Quote

data class Quote

Quote database entity.

Constructors

<init>

Quote database entity.

Quote(id: String, symbol: String, type: Type, name: String, latestPrice: Double, change: Double?)

Properties

change

Refers to the change in price between latestPrice and the previous trading day closing price for Symbol.Type.SHARE and the last 24 hours for Symbol.Type.CRYPTO.

val change: Double?

id

The id of the asset.

val id: String

latestPrice

The latest price of the asset.

val latestPrice: Double

name

The name of the asset.

val name: String

symbol

The symbol of the asset.

val symbol: String

type

The asset's type.

val type: Type