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.
- The plan is to have color schemes adopt exchange branding on 24-bit terms
- Additional asciicasts showing current/future options coming soon:
- Installation
- An executable wrapper called
tc-tickeris available when installed via pip. Otherwise,/terminal_coin_ticker/ticker.pyworks as a file arg, so long as Python can summon websockets or aiohttp.
- Notes
HAS_24can be used instead ofCOLORTERMin 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
- Migrate this list to one or multiple issues threads
- Support 3.4+. Seems the only roadblocks are
async/awaitand__aiter__ - Cache session args (pairs) for use easy reuse
- If sort-by-volume is on, re-order while running (might be disorienting, so maybe this should be optional)
- Convert env-var options to proper
argparse/getoptoptions - Use proper logging
- 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.
