fetch: price API key support, CoinGecko refactor, Mobula support
#59
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
CoinGecko no longer provides historical data beyond 365 days for free (demo) plan users (with or without API key). This currently breaks container
fetch'syear=allsince CoinGecko is currently the only price source.For docker-finance users who've already fetched historical data and don't plan on ever adding new assets, they can continue to run
fetchon a daily basis without interruption (since every new day will be written locally and parsed out for its respective years). However, this is extremely rigid and unrealistic so the following should be considered:Mobula provides historical data going back to an asset's genesis for all plans (including the free plan):
And, although API keys are optional, API key support should be implemented in docker-finance.
fetch.yamlfetchapi=<mobula|coingecko>fetchcodenix-sv/coingecko-apiPHP API (appears abandoned)financeimagedev-toolsimagefetch.yaml.inpricestructurecontract_address/tickerin place ofasset/ticker(if using Mobula)