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

Uploaded Python 3

File details

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

File metadata

  • Download URL: tastytrade_cli-1.4.1.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.1.tar.gz
Algorithm Hash digest
SHA256 7957c87dd66b8909eef0df6192195d1550280709f0022c51dbf687027dd61084
MD5 332b080d7d79e11a11db1b6f52f97c41
BLAKE2b-256 31d1588f5ae993c8b3c239060a31f94f5f99307e9c957fc5f2a4b5bc2dd2f9fa

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: tastytrade_cli-1.4.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 358e663bfc9b54521e99ebb47b894a5a56785111270255d1565a2d551cdec839
MD5 33bd87547f453f8f615227312776a0b2
BLAKE2b-256 44eb73315756cdc0acb3119d9931cfc2e0fdeb43248f66042fc16ccd34f9b80c

See more details on using hashes here.

Provenance

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