terminal-coin-ticker

A cryptocurrency ticker for modern terminal emulators


Keywords
bitcoin blockchain ethereum cryptocurrency ticker exchange, bitcoin, cryptocurrencies, cryptocurrency, cryptocurrency-exchanges, ethereum, terminal-emulators
License
Apache-2.0
Install
pip install terminal-coin-ticker==0.0.9

Documentation

Terminal Coin Ticker

Update 2019: This project has been retired. PM if you want the PyPI name.

Not much to this at the moment. Just a silly attempt at a basic coin ticker for modern terminal emulators. Pass --help for usage. Python 3.6+ and (likely) Linux only, for now.

screenshot

Installation
An executable wrapper called tc-ticker is available when installed via pip. Otherwise, /terminal_coin_ticker/ticker.py works as a file arg, so long as Python can summon websockets or aiohttp.
Notes
HAS_24 can be used instead of COLORTERM in environments where the latter is forbidden. The board's width is determined by the price with the most decimal places (that with the smallest "tick size"). Prices exceeding $10 in the USD(T) market are rounded to cents.
TODO
  1. Migrate this list to one or multiple issues threads
  2. Support 3.4+. Seems the only roadblocks are async/await and __aiter__
  3. Cache session args (pairs) for use easy reuse
  4. If sort-by-volume is on, re-order while running (might be disorienting, so maybe this should be optional)
  5. Convert env-var options to proper argparse/getopt options
  6. Use proper logging
  7. Fill the entire width of the terminal window with the relevant background color and distribute the remaining space evenly
Motivation
Initially a favor for a friend, now more or less a renewed effort to make sense of this asyncio business.