cryptocurrency-cli

授权协议 MIT License
开发语言 JavaScript
所属分类 应用工具、 终端/远程登录
软件类型 开源软件
地区 不详
投 递 者 燕涵容
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Cryptocurrency CLI

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.

Cryptocurrency CLI

Features

General

  1. Command Line Interface
  2. Supports all coins on CoinMarketCap
  3. Track your portfolio holdings
  4. Currency Support

Bar Graph

  1. Percentage breakdown of holdings
  2. Colored Horizontal Bars
  3. Portfolio value

Crypto Table

  1. Coin Rank
  2. Price
  3. Coins Owned
  4. Net Worth
  5. 24 Hour Volume
  6. Market Cap
  7. % Change 1 Hour
  8. % Change 1 Day
  9. % Change 1 Week
  10. Last Updated

Installation Instructions

  1. Git Clone the repo

    git clone https://github.com/christ0ph3r/cryptocurrency-cli/
    
  2. Enter the repository

    cd cryptocurrency-cli && npm install
    
  3. Run

    npm start
    
  4. Edit portfolio.json

    {
      "bitcoin": ".002",
      "bitcoin-cash": ".002",
      "chainlink": "666",
      "dash": ".002",
      "dogecoin": "10000",
      "ethereum": ".0688",
      "litecoin": ".1",
      "monero": ".0036",
      "siacoin": "1200",
      "steem": "2"
    }

Command Line Options

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

Donations Welcome

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