tstock

Terminal stock charts rendered in ASCII art with support for stocks, crypto, and forex symbols.

Verified

Install

pip install tstock

TL;DR: tstock renders stock, crypto, and forex price charts directly in the terminal using ASCII art. It is a quick way to visualize price action without opening a browser or GUI application.

tstock fetches historical price data and draws candlestick-style or line charts in your terminal using text characters. It supports a wide range of symbols including US equities, cryptocurrencies, and forex pairs. Charts are rendered at the full width of your terminal window, and you can adjust the time range from intraday to monthly intervals. The tool pulls data from Yahoo Finance by default, with optional support for other data providers.

The interface is deliberately minimal. You pass a ticker symbol and optional flags for time range and chart style, and tstock outputs a chart immediately. There are no interactive elements or persistent state. This makes it well-suited for quick price checks, embedding in scripts, or piping into other tools. Volume data can be displayed alongside price.

tstock is a good fit for traders who want fast visual price reference from the terminal. It is not designed for technical analysis with indicators or real-time streaming, but it covers the common case of checking recent price action for a symbol quickly.