/CliChart

A terminal based python script to display assets price trends

Primary LanguagePythonMIT LicenseMIT


Logo

Logo

A terminal based python script to display crypto, stocks, forex, options... price trends

Report Bug · Request Feature

Buy Me a Coffee at ko-fi.com


🤑 Showcase

2023-04-21_22-00 image

🌠 Features

  • Price data directly from CoinGecko APIs and Polygon.io
  • Easily resizable
  • Customizable timeframe
  • Adapts to your shell theme
  • Automatically switch between asset types
  • Actual price

📓 Documentation

Options:

  -h, --help            show this help message and exit
  -c COIN, --coin COIN  coin to display (example: bitcoin)
  -b BASE, --base BASE  base currency (example: usd)
  -d DAYS, --days DAYS  days ago (inputs: 1/7/14/30/90/180/365)
  -x HLIM, --hlim HLIM  height of the terminal box
  -y VLIM, --vlim VLIM  width of the terminal box

Example:

CliChart -d 14 -c "bitcoin" -b "usd" -y 25 -x 40

Installation:

  • Clone CliChart repository:
  git clone https://github.com/sommaa/CliChart.git
  • Add this line to your .bashrc or .zshrc file to export the path:
  export PATH=$PATH:/where/you/saved/the/file/CliChart
  • Install python dependencies
  pip install -r dependencies.txt
  • Optional: To support stocks/forex/options/indices: