Build Your Nest Egg with CryptoCurrency
CryptoNestEgg is a simple script to download current price and market cap
for a list of cryptocurrency. The script reads from a config.toml
file
and returns the result in a csv
file.
First, make sure you have Ruby and Bundle installed on your system (not covered here).
Download or clone this repository and run bundle install
inside it.
git clone https://github.com/cyberflamingo/cryptonestegg
cd cryptonestegg/
bundle install
Copy the template config file to a new config file, open it and populate it with cryptocurrencies of your liking.
cp config.toml.tmpl config.toml
- Easily download your favorite cryptocurrencies' price and market capitalization.
- That's all for now.
The following options can be set in your config.toml
file.
Set the currency to use.
currency = "JPY"
Set the name of the cryptocurrencies you want to follow. The name of each coin should be the one used by CoinGecko API V3. Refer to the documentation for each coin's name.
[portfolio]
Monero = 0
Stellar = 0
Algorand = 0
Tezos = 0
- Add support for APIs other than CoinGecko.
- Cryptocurrency names/symboles are from CoinGecko's API which naming is sometimes confusing. A list of commons name for a cryptocurrency could be useful in the future.
- Error handling.
- Use parameters/make it possible to write it in the config file.
The code in this project is licensed under Apache License 2.0.