@JsonClass(true) data class CoinGeckoMarketChart
Timestamp and price data points of a CoinGecko cryptocurrency.
<init> |
Timestamp and price data points of a CoinGecko cryptocurrency. CoinGeckoMarketChart(prices: List<List<Any>>) |
prices |
A List containing all the data points. val prices: List<List<Any>> |
asHistoricalPrices |
Transforms a CoinGeckoMarketChart to an equivalent List of HistoricalPrices. fun CoinGeckoMarketChart.asHistoricalPrices(id: String): List<HistoricalPrice> |