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.2.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.2.0-py3-none-any.whl (29.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tastytrade_cli-1.2.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.7

File hashes

Hashes for tastytrade_cli-1.2.0.tar.gz
Algorithm Hash digest
SHA256 afe1bfb5ef02c480b5475098ac3c65af0dbed55c064db4b8c2126d86d062fa62
MD5 4447d4148f95e5767f81a85a3f1fc603
BLAKE2b-256 93d24f782982aa3fac1b462a0b351270ccf66e73d675ebe01ee389861057d196

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tastytrade_cli-1.2.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.7

File hashes

Hashes for tastytrade_cli-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1a544fb8e09fa9cf1fdaa3b1c120bddd456745bf829a4ced53bfb964e90a26a4
MD5 f32550dc0a08e7fc2464a613f710c4ef
BLAKE2b-256 8234c0b564706dea2e3df7a66add6d014323563b66a9e64327b251604ecf3ce2

See more details on using hashes here.

Provenance

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