Coder Social home page Coder Social logo

8go / coinbash Goto Github PK

View Code? Open in Web Editor NEW
130.0 130.0 25.0 540 KB

๐Ÿ’ฐ A bash script (CLI) for displaying crypto currencies market data in a terminal ๐Ÿ–ฅ

License: GNU General Public License v3.0

Shell 100.00%
bash bash-script bitcoin btc cli command-line command-line-tool console-tool crypto crypto-currency cryptocurrencies cryptocurrency ethereum market-data marketcap price-ticker price-tracker terminal-based ticker

coinbash's People

Contributors

beune avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

coinbash's Issues

Coins with prices < 0 USD

The prices of the coins that have values < 0 are displayed as 0. The prices would be better with a few decimal places. Same for the price in Bitcoin.

Thanks for taking the time to make this btw.
image

coinbash.sh getting incorrect ETH price

HI !! I am using ./coinbash.sh -l eth,btc,bnb,cake,dai and I get incorrect ETH price:
Rank Symbol Name USD 24h-Change 7d-Change Market-cap-USD
1 BTC Bitcoin 57.334,71455242 +0,2% +2,5% 1.072.302.842.925
2 ETH Ethereum 3.802,50834040 +8,4% +38,8% 440.241.270.615
3 BNB Binance-Coin 634,98641753 -1,0% +5,4% 97.427.805.597
29 CAKE PancakeSwap 37,23198535 -0,4% -7,2% 6.073.360.461
42 DAI Dai 1,00359462 +0,3% +0,3% 4.531.673.786
Market data source: https://www.coinmarketcap.com on vie 07 may 2021 12:01:33 -03
Do you have any notice of a possible bug/incorrout ??

Simplify output for only getting the price

This would be to integrate into larger scripts where it only returns the price of the selected crypto.

<command> -s btc
<price>

And have something like:

foo = $(<command> -s btc)
echo $foo
<price>

Unexpected "("

When I call the script, I received: coinbash.sh: 175: Syntax error: "(" unexpected

sed: bad regex

Any suggestions on this one please?

~ # bash coinbash.sh
sed: bad regex '(+[0-9].[0-9]%)': Repetition not preceded by valid expression
Market data source: https://www.coinmarketcap.com on Wed Apr 6 13:42:28 UTC 2022

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.