fun CoinGeckoMarketChart.asHistoricalPrices(id: String): List<HistoricalPrice>
Transforms a CoinGeckoMarketChart to an equivalent List of HistoricalPrices.
id
- The id of the related CoinGecko cryptocurrency.
Receiver
The CoinGeckoMarketChart that will be transformed.
Return
The equivalent HistoricalPrice.
Author
Jan Müller