CRYPTOCURRENCY CLI

CLI

To start CLI you need to run bundle and bundle exec ./bin/run .

Example usage: Get top price 30 currencies of cryptocurrency_all:

RANK CURRENCY PRICE PRICE_CHANGE_24h DATETIME
#index id current_price price_change_24h last_updated
1. Bitcoin $50652 $-479.309794020555 2021-12-08T07:15:36.315Z
2. Ethereum $4368.91 $-2.792592314213 2021-12-08T07:15:28.058Z
3. Binancecoin $578.46 $-10.126279029548 2021-12-08T07:14:58.258Z
4. Tether $0.9997 $-0.000958834227 2021-12-08T07:17:08.978Z
5. Solana $189.44 $-10.880275705627 2021-12-08T07:15:52.480Z
6. Cardano $1.38 $-0.067209227884 2021-12-08T07:16:48.464Z
7. Usd-coin $1.0 $0.00234804 2021-12-08T07:15:13.752Z
8. Ripple $0.826938 $-0.010387747809 2021-12-08T07:15:32.420Z
9. Polkadot $29.31 $0.643504 2021-12-08T07:16:52.247Z
10. Terra-luna $67.5 $-1.482209985368 2021-12-08T07:17:11.172Z
11. Dogecoin $0.179659 $-0.00059598761 2021-12-08T07:17:02.194Z
12. Avalanche-2 $90.54 $-5.360777127419 2021-12-08T07:15:39.533Z
13. Shiba-inu $3.685e-05 $-1.100992e-06 2021-12-08T07:16:34.528Z
14. Matic-network $2.44 $0.03207381 2021-12-08T07:17:09.026Z
15. Crypto-com-chain $0.626185 $-0.012247686 2021-12-08T07:16:18.611Z
16. Binance-usd $0.999057 $0.00031498 2021-12-08T07:15:26.884Z
17. Wrapped-bitcoin $50697 $-457.324408483095 2021-12-08T07:15:22.949Z
18. Litecoin $162.46 $2.38 2021-12-08T07:16:19.374Z
19. Algorand $1.68 $-0.110176955654 2021-12-08T07:16:42.040Z
20. Chainlink $21.9 $1.89 2021-12-08T07:17:11.208Z
21. Tron $0.093336 $0.00367781 2021-12-08T07:16:50.829Z
22. Bitcoin-cash $477.27 $9.45 2021-12-08T07:16:53.930Z
23. Dai $0.99819 $-0.001665989908 2021-12-08T07:17:12.062Z
24. Terrausd $1.0 $0.00091279 2021-12-08T07:15:46.767Z
25. Uniswap $17.73 $0.672836 2021-12-08T07:16:16.905Z