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 $43147 $575.81 2022-01-20T15:02:29.832Z
2. Ethereum $3233.1 $70.97 2022-01-20T15:03:32.562Z
3. Binancecoin $474.43 $3.07 2022-01-20T15:02:30.533Z
4. Tether $1.01 $0.00145113 2022-01-20T15:01:00.801Z
5. Usd-coin $1.01 $0.00376584 2022-01-20T15:03:15.331Z
6. Cardano $1.41 $-0.032784263563 2022-01-20T15:03:06.511Z
7. Solana $142.18 $3.65 2022-01-20T15:03:10.023Z
8. Ripple $0.75946 $0.01283694 2022-01-20T15:02:16.447Z
9. Terra-luna $84.83 $4.02 2022-01-20T15:03:09.364Z
10. Polkadot $25.35 $0.578855 2022-01-20T15:03:26.084Z
11. Dogecoin $0.168487 $0.00167189 2022-01-20T15:03:34.233Z
12. Avalanche-2 $87.5 $2.07 2022-01-20T15:03:08.636Z
13. Shiba-inu $2.863e-05 $3.95642e-07 2022-01-20T15:03:44.922Z
14. Matic-network $2.17 $0.03956875 2022-01-20T15:02:38.494Z
15. Binance-usd $1.01 $0.00337359 2022-01-20T15:03:34.208Z
16. Crypto-com-chain $0.47147 $0.02957563 2022-01-20T15:03:30.689Z
17. Cosmos $41.05 $3.26 2022-01-20T15:03:29.570Z
18. Wrapped-bitcoin $43072 $520.46 2022-01-20T15:03:16.578Z
19. Terrausd $1.01 $0.0061469 2022-01-20T15:03:39.370Z
20. Near $17.44 $-0.157352544127 2022-01-20T15:03:41.933Z
21. Chainlink $22.87 $0.341679 2022-01-20T15:02:49.049Z
22. Litecoin $141.85 $3.66 2022-01-20T15:03:08.449Z
23. Dai $1.0 $0.00143445 2022-01-20T15:01:07.012Z
24. Algorand $1.33 $0.02473352 2022-01-20T15:03:28.531Z
25. Fantom $3.02 $0.01587403 2022-01-20T15:03:01.487Z