tastytrade-cli
An easy-to-use command line interface for Tastytrade!
https://github.com/user-attachments/assets/4a9db5c3-26c1-4b1a-a014-8c3f0fdbb754
Installation
The best way to install the CLI is by using uv. This will install tt to your path.
$ uv tool install tastytrade-cli
You can also install in a virtual environment:
$ pip install tastytrade-cli
Usage
Available commands:
tt option view chains, buy or sell equities and futures options
tt pf (portfolio) view and close positions, check margin and analyze BP usage
tt trade buy or sell stocks/ETFs, crypto, and futures
tt order view, replace, and cancel orders
tt plot plot charts directly in the terminal! requires `gnuplot` installed
tt wl (watchlist) view prices and metrics for symbols in your watchlists
For more options, run tt --help or tt <subcommand> --help.
Configuration
Many aspects of the CLI's behavior can be customized using the ttcli.cfg file generated upon the first usage of the CLI. The file is located in your OS's home directory followed by the path .config/ttcli/ttcli.cfg. If you don't know where that is, you can just run python -c "from ttcli.utils import config_path; print(config_path)".
The default configuration file contains lots of options along with explanations of what they do.
Development/Contributing
This project includes a number of helpers in the Makefile to streamline common development tasks.
Make sure you already have uv installed!
Creating a virtualenv for development:
$ uv sync
It's usually a good idea to make sure you're passing tests locally before submitting a PR:
$ make lint
If you have a feature suggestion, find a bug, or would like to contribute, feel free to open an issue or create a pull request.
Disclaimer
tastyworks and tastytrade are not affiliated with the makers of this program and do not endorse this product. This program does not provide investment, tax, or legal advice. Stock trading involves risk and is not suitable for all investors. Options involve risk and are not suitable for all investors as the special risks inherent to options trading may expose investors to potentially significant losses. Futures and futures options trading is speculative and is not suitable for all investors. Cryptocurrency trading is speculative and is not suitable for all investors.
Release files for tastytrade-cli 1.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tastytrade_cli-1.5.0.tar.gz | 57.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tastytrade_cli-1.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:96.5 kB
Release files / tastytrade_cli-1.5.0.tar.gz
| Download URL | tastytrade_cli-1.5.0.tar.gz |
|---|---|
| Size | 57.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
de3f626a12e052fba6f4dd4a1ba692626ffa61b71c03f43e6a2cc75293294b9f
|
|
BLAKE2b-256 checksum How to use checksums |
830e0962fd96227ad337a73f3129505760fdc49347dab65a7194c1545a8cf38e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 10, 2026.
Transparency logRelease files / tastytrade_cli-1.5.0-py3-none-any.whl
| Download URL | tastytrade_cli-1.5.0-py3-none-any.whl |
|---|---|
| Size | 38.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a02012b525ae1914ec52439d9a8599dc644b3c2255ca98aa320d06c75e494607
|
|
BLAKE2b-256 checksum How to use checksums |
f796aa6f16d060fc0d3a602279af2b3cf5d3e811a59a0b4f3ee0d27cdf65df36
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 10, 2026.
Transparency log