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

CoinGeckoMarketChart

@JsonClass(true) data class CoinGeckoMarketChart

Timestamp and price data points of a CoinGecko cryptocurrency.

Constructors

<init>

Timestamp and price data points of a CoinGecko cryptocurrency.

CoinGeckoMarketChart(prices: List<List<Any>>)

Properties

prices

A List containing all the data points.

val prices: List<List<Any>>

Extension Functions

asHistoricalPrices

Transforms a CoinGeckoMarketChart to an equivalent List of HistoricalPrices.

fun CoinGeckoMarketChart.asHistoricalPrices(id: String): List<HistoricalPrice>