ferdousbhai/tasty-agent
AI Agents & AssistantsTastyworks API integration to handle trading activities on Tastytrade
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 →- 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
- 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.).
- 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.actionandWatchlistSymbol.instrument_typenow useLiteraltypes for fail-fast validation - Regression tests: added tests covering issues #3, #5, #9, #10, #12
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.