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.

Project details


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.4.0.tar.gz (52.0 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.4.0-py3-none-any.whl (29.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for tastytrade_cli-1.4.0.tar.gz
Algorithm Hash digest
SHA256 c29bee1d82fbe63a9e7a9ec516877674e389c70fc3801433777a1bd1da63bcc7
MD5 ce15c232c0f9e621b056c143faf32587
BLAKE2b-256 10aeef8a4d59b42a1adb9f4ad29121dd5c9d3a798383ad98f0ca7298912f2e86

See more details on using hashes here.

Provenance

The following attestation bundles were made for tastytrade_cli-1.4.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.4.0-py3-none-any.whl.

File metadata

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

File hashes

Hashes for tastytrade_cli-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 670fbd719cd79aaaf9d0621059af9ebca8ca25ec34e2d377fb66c89f5ecd1fc0
MD5 568d54419bfd69011b362de82b971dc9
BLAKE2b-256 b29c9b3ecce9caf84682cd96acdbf307107a8c7b73c0a71c7226a914bce2e036

See more details on using hashes here.

Provenance

The following attestation bundles were made for tastytrade_cli-1.4.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