Cryptocurrency CLI lets you monitor cryptocurrencies in your portfolio and track your earnings through the command line. It uses the coinmarketcap.com API to fetch crypto data.
Git Clone the repo
git clone https://github.com/christ0ph3r/cryptocurrency-cli/
Enter the repository
cd cryptocurrency-cli && npm install
Run
npm start
Edit portfolio.json
{
"bitcoin": ".002",
"bitcoin-cash": ".002",
"chainlink": "666",
"dash": ".002",
"dogecoin": "10000",
"ethereum": ".0688",
"litecoin": ".1",
"monero": ".0036",
"siacoin": "1200",
"steem": "2"
}
Currency: You can use -c
or --currency
to look up crypto data in another currency. The default currency is USD and the API supports AUD, BRL, CAD, CHF, CLP, CNY, CZK, DKK, EUR, GBP, HKD, HUF, IDR, ILS, INR, JPY, KRW, MXN, MYR, NOK, NZD, PHP, PKR, PLN, RUB, SEK, SGD, THB, TRY, TWD, ZAR.
npm start -- -c eur
npm start -- -c aud
Coin | Address |
---|---|
Bitcoin | 1LFTccjYHbiVekdm8XYC1ucNqdGsAC3frc |
Bitcoin Cash | 132iaE6MYW3hpupuyzA8AKVmYk7SAbrAA1 |
Ethereum | 0x071Fe2Bb50430A3f6af398A410a78B67e1A783AE |
Litecoin | Lh9eV96yhTyrkv2VkWG7RZvas9TzFuYZbR |
go 标准库 flag 作为命令参数以及够绝大部门应用使用,但是复杂应用,如独立程序,很多子命令用来交互的,这时候,flag 就显得力不从心了,这时候就需要寻找一块表现力丰富命令参数程序来够使用。 安装:go get github.com/urfave/cli 或者: go get gopkg.in/urfave/cli.v2 但是如何合理使用参数,使程序更有意义,就要就讲究顺序和加载逻辑:
Check out https://coinbuddy.co/coins to track which exchanges support your favorite coin Cryptocurrency Name Description Pros Cons Where to buy Similar to Category Bitcoin (BTC) Bitcoin is a cryptocur
cryptocurrency-analysis About Having followed the cryptocurrency market for a while now, I decided to do some exploring in the data available from coinmarketcap.Especially in light of the increasing n
Crypto Arbitrage - a node.js script to help find and act on arbitrage opportunities. A cryptocurrency arbitrage opportunity calculator and trading bot. Over 800 currencies and 50 markets. To use, go t
Cryptocurrency Dashboard Cryptocurrency Dashboard lets you monitor the top 100 currencies based on market cap size. It uses the coinmarketcap.com API to fetch crypto data. It uses the Twitter API to m
Cryptocurrency Icons This project contains over 7,500 icons – almost 500 crypto currencies, in 4 styles and a range of sizes. Completely free. All we ask is that you don’t claim them as your own, and
Cryptocurrency-Price-Prediction Cryptocurrency Price Prediction Using LSTM neural network Citing If you find this code useful in your research, please consider citing the blog: @misc{sagarcryptocurren