Skip to main content

An easy-to-use command line interface for Tastytrade!

Project description

PyPI Downloads Release)

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tastytrade_cli-1.1.0.tar.gz (58.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tastytrade_cli-1.1.0-py3-none-any.whl (29.6 kB view details)

Uploaded Python 3

File details

Details for the file tastytrade_cli-1.1.0.tar.gz.

File metadata

  • Download URL: tastytrade_cli-1.1.0.tar.gz
  • Upload date:
  • Size: 58.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tastytrade_cli-1.1.0.tar.gz
Algorithm Hash digest
SHA256 75e8ecf5c00435fb8867ba56a81363cb5a6ab329868a90e2b0c8a8d07ecf6d35
MD5 1c082ed6b11effbadbf7868c05498d43
BLAKE2b-256 2f2e1d4d53460be90668a805362de72cb8b9f955326fdf2e6e0e23811bed6237

See more details on using hashes here.

Provenance

The following attestation bundles were made for tastytrade_cli-1.1.0.tar.gz:

Publisher: python-publish.yml on tastyware/tastytrade-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tastytrade_cli-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: tastytrade_cli-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 29.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for tastytrade_cli-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dd8b80d54d9c0028bf806a4f4047a3e678301794777d67f20d96e7a8a34575b4
MD5 39b24562b6fe3dc5154c2be6b15199b3
BLAKE2b-256 47122575f2164ea759bb15bbcba53dea29868a76fa16f2f6fff93d9f2b6d6f07

See more details on using hashes here.

Provenance

The following attestation bundles were made for tastytrade_cli-1.1.0-py3-none-any.whl:

Publisher: python-publish.yml on tastyware/tastytrade-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page