Skip to content

garrettd714/tmt-cli

Repository files navigation

tmt-cli

TMT-CLI is a options trade tracking cli tool for my own personal uses

- ⚠ THIS REPO IS PUBLIC FOR REFERENCE PURPOSES ONLY!
- NO TESTS! THE CODE CAN BE MESSY. IT'S JUST FOR ME/FUN

Purpose

A simple cli (command-line-interface) to track my option trades, show insights and optionally, update the prices on-demand.

Disclaimer

Any/All results are for entertainment purposes only. Not financial advice.

Utilizes an unofficial, reverse-engineered API for Tastyworks. There is no implied warranty for any actions and results which arise from using it.

Features

  • Trade CRUD with easy cli commands
  • Positions table of active trades. ITM and breakeven indicators
  • Paper trade, does not require trade to be placed with broker, with indicator and margin estimates
  • Account summaries, all-time, year-to-date, annual/year w/ optional ticker detail
  • Ticker summaries, all-time, year-to-date, annual/year
  • Summary of summaries, inclusive/exclusive of accounts, income by acct, income by yr/month, strategy stats
  • Support for on-demand mark & ticker price updates:
    • Stocks & ETFs support with either:

      • RapidApi (with paid subscription)
      • Tastyworks (unofficially with brokerage account)
    • Futures mark update support with:

      • Tastyworks (unofficially with brokerage account)
  • Adjustment support with modified trade stats in Positions and indicator
  • [experimental] Trade management tool and insights (wip)
  • Estimated Margin requirements calculator (unused/wip)
  • Fully supported selling options strategies:
    • Short Strangle
    • Short Put/CSP-Cash-secured Put
    • Short Call/Covered Call
  • In progress strategies:
    • Vertical/Put|Call Credit Spread

Tastyworks

Using a/the "unofficial" (Python) Tastyworks (data streamer) for on-demand pricing/quotes updates. An "unofficial" Ruby API client, for other future needs, is present in CLI and does not rely on the Python package

more info on data streamer portion @ tastyworks_api

Misc

Copyright

Copyright © 2021 Garrett Davis. See MIT License for further details.

About

Trade Management and Tracking CLI App

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published