app / de.uniks.codliners.stock_simulator.network / CoinGeckoMarketData

CoinGeckoMarketData

@JsonClass(true) data class CoinGeckoMarketData

Market data of a CoinGecko cryptocurrency.

Constructors

<init>

Market data of a CoinGecko cryptocurrency.

CoinGeckoMarketData(currentPrices: Map<String, Double>, change: Double?)

Properties

change

The price change during the last 24 hours.

val change: Double?

currentPrices

A Map containing currency names and their respective value.

val currentPrices: Map<String, Double>