Top AI Repos โ open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
๐A command line tool to view stock charts in the terminal.
| Date | Stars |
|---|---|
| 2026-07-24 | 630 |
| 2026-07-25 | 630 |
| 2026-07-28 | 630 |
| 2026-07-30 | 630 |
| 2026-08-06 | 630 |
Today
โ stars today
This week
โ stars this week
This month
โ stars this month
Momentum
0.0
growth rate 0.00%/day
# tstock - Generate stock charts in the terminal! ๐๐๐
[](https://pepy.tech/project/tstock)


๐ tstock is a tool to easily generate stock charts from the command line.
Just type `tstock aapl` to get a 3 month candlestick chart of $AAPL in your terminal!
<p align="center">
<img src="https://github.com/Gbox4/Gbox4/raw/master/tstock-demo.gif" alt="tstock-demo">
</p>
# Features
- Stocks for most global exchanges
- Support for major cryptocurrencies
- Forex markets and currency exchange rates
- Different time intervals, including intraday trading
- "Wisdom"?!
# Dependencies
- Python 3.6 or greater
- Docker, if using the Docker version
# Installation
### PyPI
`tstock` is available as a Python 3 package. You can install it using `pip`:
```bash
pip install tstock # use pip3 on Ubuntu 18.04 and older
```
### AUR
`tstock` is also available on the AUR. If you are on an Archlinux based system, you can just install it using your favorite AUR helper. Example using `yay`:
```bash
yay -S tstock
```
### Docker
1. Build Docker: `docker build -t tstock .`
2. Run: `docker run -e ALPHAVANTAGE_API_KEY=<yourkey> -it tstock:latest tstock aapl`
# Getting started
### AlphaVantage API setup
After installing `tstock`, you will need a AlphaVantage API key to pull the market data.
- Make a free AlphaVantage API account at https://www.alphavantage.co/support/#api-key
- After creating the account, you will see your free API key
- Run `export ALPHAVANTAGE_API_KEY=<your access key>`. You can make this permanent by adding this line to your `.bashrc`
NOTE: If you are on Windows, you can set your environment variable by running `$env:ALPHAVANTAGE_API_KEY="<your access key>"`. You can make this permanent by adding this line to `Microsoft.PowerShell_profile.ps1`
### Usage
```
$ tstock --help
usage: tstock [-h] [-t INTERVAL] [-b COUNT] [-w] [-s] [--chart] [-c CURRENCY] [-y LINES] [-a CLASS]
[--padx COLUMNS] [--pady LINES] [--short] [--nocolor] [-v] [--version]
[TICKER]
tstock - generate stock charts in the terminal.
positional arguments:
TICKER Which ticker's data to pull.
options:
-h, --help show this help message and exit
-t INTERVAL Time interval of each candlestick. Valid values are '1min', '5min', '15min', '30min', '60min', 'day', 'week', or 'month'. Defaults to 'day'.
-b COUNT Number of time intervals back to go back. The number of candlesticks generated. Defaults to fill the terminal.
-w Enables extra words of 'wisdom'.
-s Search for stock tickers. Useful for getting exchange codes.
--chart Print the chart only. Overrides -w.
-c CURRENCY Set the currency. Only works with '-a crypto'. Defaults to 'USD'.
-y LINES Height of the chart. Defaults to fill the terminal.
-a CLASS The asset class of TICKER. Valid values are 'stock', 'crypto', and 'forex'. Autodetects depending on input ticker.
--padx COLUMNS Horizontal padding of the chart. Defaults to 5.
--pady LINES Vertical padding of the chart. Defaults to 4.
--short Short output, prints the last price only.
--nocolor Prints chart with no color.
--upcolor COLOR Color of positive candlesticks. Valid values are 'green', 'red', or 'blue'. Defaults to green.
--downcolor COLOR Color of negative candlesticks. Valid values are 'green', 'red', or 'blue'. Defaults to red.
-v Toggle verbosity.
--version Print tstock version.
Examples:
tstock aapl # chart of $AAPL
tstock aapl -b 24 -t 60min # the past 24 60-minute-intervals of $AAPL, 20 lines high
tstock -s shopify # search the API for keyword "shopify"
tstock shop.trt # chart of $SHOP on the TRT exchange
tstock btc -c GBP -w # chart of the price of BiExcerpt of 6,129 characters
Read on GitHub117
3
1
1
1
Would you bet a product on this? Bounded 0โ100 and slow moving.
matched fp:931c65fb111a6ec4, topic:trading