Skip to main content

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

Project description

tastyworks-cli

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

Installation

$ pip install tastyworks-cli

Usage

Obtaining a CSV file: On the Tastyworks desktop app, go to the History tab. Under transactions (not YTD), pick a custom start date before the creation of your account. Scroll down until all of your transactions have loaded, then click "CSV" in the top right to export all the transactions. You must export your entire transaction history, even if you only want to plot a more recent time period.

Available commands:

tw plot                chart your portfolio's net liquidity or profit/loss over time
tw quant               mathematical and statistical analysis

Unavailable commands pending development:

tw order               view, replace, and cancel orders
tw watchlist           view current prices and other data for symbols in your watchlists
tw portfolio           view statistics and risk metrics for your portfolio
tw crypto              buy, sell, and analyze cryptocurrencies
tw future              buy, sell, and analyze futures
tw stock               buy, sell, and analyze stock
tw option              buy, sell, and analyze options

For more options, run tw --help.

Development/Contributing

This project includes a number of helpers in the Makefile to streamline common development tasks.

Creating a virtualenv for development:

$ make venv
$ source env/bin/activate

It's usually a good idea to make sure you're passing tests locally before submitting a PR:

$ make test

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

tastyworks-cli-0.1.4.tar.gz (12.1 kB view details)

Uploaded Source

Built Distribution

tastyworks_cli-0.1.4-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file tastyworks-cli-0.1.4.tar.gz.

File metadata

  • Download URL: tastyworks-cli-0.1.4.tar.gz
  • Upload date:
  • Size: 12.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for tastyworks-cli-0.1.4.tar.gz
Algorithm Hash digest
SHA256 6366c0300057d3f63b99019aab550e5da2a1995cdd70aedf3cd8054d711953fa
MD5 e5360db686c04ea6b8e4ed1388128e12
BLAKE2b-256 20d80d597d89948bb6e118921deba082c2803887b049e1a94f64066d48841388

See more details on using hashes here.

File details

Details for the file tastyworks_cli-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: tastyworks_cli-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for tastyworks_cli-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 faf5f0f7692b87336ed3b42f5dafdded0ae697fa374f13e7f60c7d3e8608e53a
MD5 1ff8786a29123eee7f3a245b2b825077
BLAKE2b-256 68edcb48232ed9e44be9a29c83e41448b7d2707aa6d867e19808940d09b7e70a

See more details on using hashes here.

Supported by

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