Package com.codename1.crypto.market
package com.codename1.crypto.market
Prices: the
PriceFeed interface and its
Quote, CoinGeckoFeed, the
template-driven JsonPriceFeed for any JSON price API, and
CachingPriceFeed. Feeds send through a
RpcTransport, so they run in applications and on the backend.-
ClassDescriptionA
PriceFeedthat remembers each pair's answer for a while.Prices from CoinGecko'ssimple/priceAPI.A feed over any HTTP API that answers one price in JSON.A source of prices.A price: one unit ofbasecostspriceunits ofquote, as a source reported it at a time.