Skip to content

ferdousbhai/tasty-agent

AI Agents & Assistants

Tastyworks API integration to handle trading activities on Tastytrade

Python Latest v6.0.1 · 2d ago Security brief →

Features

  • Model Context Protocol server for TastyTrade accounts
  • Enables LLMs to monitor portfolios, analyze positions, and execute trades
  • Provides real‑time quotes, Greeks, market metrics, and transaction history
  • Built‑in rate limiting (2 req/s) and automated IV rank analysis prompts

Recent releases

View all 8 releases →
No immediate action
v6.0.1 New feature

get_greeks + streamer routing

v6.0.0 Breaking risk
Breaking changes
  • Removed the automatic order chase behavior from place_order.
  • Removed the get_gex tool and its full-chain streaming path.
  • Removed the background trading bot example.
Full changelog

Breaking changes

  • Removed the automatic order chase behavior from place_order.
  • Removed the get_gex tool and its full-chain streaming path.
  • Removed the background trading bot example.

Order pricing

  • Align order prices to the broker's valid tick grid before submission.
  • Require option tick-size data for option orders instead of falling back to penny ticks and risking invalid_price_increment rejects.
  • Simplified internal pricing to quote-derived mid pricing only.

Docs and cleanup

  • Updated README, CLAUDE.md, and the trading skill to reflect the 12-tool surface.
  • Removed the direct typer dev dependency.

Verification

  • uv run ruff check .
  • uv run pytest: 72 passed, 11 skipped
No immediate action
v4.1.2 Bug fix

Equity order action fix

v4.0.0 Breaking risk
Breaking changes
  • All tool names have changed; 18 tools consolidated into 9 using action/type discriminators (e.g., `account_overview` replaces `get_balances`, `get_positions`, `get_net_liquidating_value_history`; `manage_order` replaces `place_order`, `replace_order`, `delete_order`, `get_live_orders`; etc.).
Notable features
  • Added extended time‑in‑force options: `Ext`, `Ext Overnight`, `GTC Ext`, `GTC Ext Overnight`.
  • Type‑safe inputs via Literal types for `OrderLeg.action` and `WatchlistSymbol.instrument_type`.
Full changelog

Breaking Changes

All tool names have changed. 18 tools consolidated into 9 using action/type discriminators:

| New Tool | Replaces |
|----------|----------|
| account_overview | get_balances + get_positions + get_net_liquidating_value_history |
| get_history | get_transaction_history + get_order_history |
| manage_order | place_order + replace_order + delete_order + get_live_orders |
| watchlist | get_watchlists + manage_private_watchlist + delete_private_watchlist |
| market_status | market_status + get_current_time_nyc |
| get_quotes | unchanged |
| get_greeks | unchanged |
| get_market_metrics | unchanged |
| search_symbols | unchanged |

Improvements

  • tastytrade SDK: updated to v12.2.1
  • Removed Quote model monkey-patch: the NaN validator fix in tastytrade 12.2.1 makes it unnecessary
  • All time-in-force options: added Ext, Ext Overnight, GTC Ext, GTC Ext Overnight (new in tastytrade 12.2.0)
  • Type-safe inputs: OrderLeg.action and WatchlistSymbol.instrument_type now use Literal types for fail-fast validation
  • Regression tests: added tests covering issues #3, #5, #9, #10, #12
No immediate action
v3.3.6 Bug fix

VIX quote/streaming fix

Weekly OSS security release digest.

The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.

No spam, unsubscribe anytime.

About

Stars
68
Forks
26
Language
Python

Install & Platforms

Install via
pip

Beta — feedback welcome: [email protected]