This release fixes issues for SREs watching stability and regressions.
✓ No known CVEs patched in this version
Topics
Summary
AI summaryFixed regression in equity order action normalization to match SDK and API.
Full changelog
Fix live equity order action handling.
This patch corrects the order-action contract for manage_order(...) to match the tastytrade Python SDK and live API behavior:
- equities and options use
Buy to Open,Buy to Close,Sell to Open,Sell to Close - futures use
Buy/Sell
This fixes the regression introduced in v4.1.1 where equity opening/closing actions were normalized to plain Buy / Sell, which could cause live orders to fail with:
order_legs.action: is invalid
Verification:
- unit tests:
uv run pytest tests/test_server.py -q - integration check:
uv run pytest tests/test_integration.py -k 'dry_run_equity_buy_to_open_order_leg_mapping' -q - live sanity check:
BITX+Buy to Open+dry_run=Falsesucceeded and was canceled successfully
This release also simplifies the internal module layout by splitting order, market-data, account/history, watchlist, and shared context helpers into smaller modules without changing tool behavior.
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.
Share this release
About ferdousbhai/tasty-agent
Tastyworks API integration to handle trading activities on Tastytrade
Related context
Related tools
Beta — feedback welcome: [email protected]