An easy-to-use command line interface for Tastytrade!
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75e8ecf5c00435fb8867ba56a81363cb5a6ab329868a90e2b0c8a8d07ecf6d35
|
|
| MD5 |
1c082ed6b11effbadbf7868c05498d43
|
|
| BLAKE2b-256 |
2f2e1d4d53460be90668a805362de72cb8b9f955326fdf2e6e0e23811bed6237
|
Provenance
The following attestation bundles were made for tastytrade_cli-1.1.0.tar.gz:
Publisher:
python-publish.yml on tastyware/tastytrade-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tastytrade_cli-1.1.0.tar.gz -
Subject digest:
75e8ecf5c00435fb8867ba56a81363cb5a6ab329868a90e2b0c8a8d07ecf6d35 - Sigstore transparency entry: 725396032
- Sigstore integration time:
-
Permalink:
tastyware/tastytrade-cli@75ea0845471b6d647cfe884eae5ac851f825bc93 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/tastyware
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@75ea0845471b6d647cfe884eae5ac851f825bc93 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd8b80d54d9c0028bf806a4f4047a3e678301794777d67f20d96e7a8a34575b4
|
|
| MD5 |
39b24562b6fe3dc5154c2be6b15199b3
|
|
| BLAKE2b-256 |
47122575f2164ea759bb15bbcba53dea29868a76fa16f2f6fff93d9f2b6d6f07
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tastytrade_cli-1.1.0-py3-none-any.whl -
Subject digest:
dd8b80d54d9c0028bf806a4f4047a3e678301794777d67f20d96e7a8a34575b4 - Sigstore transparency entry: 725396054
- Sigstore integration time:
-
Permalink:
tastyware/tastytrade-cli@75ea0845471b6d647cfe884eae5ac851f825bc93 -
Branch / Tag:
refs/tags/v1.1.0 - Owner: https://github.com/tastyware
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@75ea0845471b6d647cfe884eae5ac851f825bc93 -
Trigger Event:
release
-
Statement type: