{"repo":"tastyware/tastytrade","free":true,"listed":false,"github":"https://github.com/tastyware/tastytrade","clone":"git clone https://github.com/tastyware/tastytrade.git","description":"An unofficial, typed, asynchronous Python SDK for Tastytrade!","language":"Python","stars":255,"topics":["asyncio","cli","options-trading","python","sdk","tastytrade","typed"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Tastytrade Python SDK A simple, asynchronous SDK for Tastytrade's public API. This will allow you to create trading algorithms for whatever strategies you may have quickly and painlessly in Python. Features - Up to 10x less code than using the API directly - Powerful websocket implementation for account alerts and data streaming - 100% typed, with Pydantic models for all JSON responses from the API - 95%+ unit test coverage - Comprehensive documentation - Utility functions for timezone calculations, futures monthly expiration dates, and more - Proprietary paper API for reliable testing [!TIP] Want to see the SDK in action? Check out tastytrade-cli, a CLI for Tastytrade that showcases many of the SDK's features. Getting started You can install via pip/uv: You can also spin up a new project template with agent integration, helpful utilities and documentation: Creating a session A session object is required to authenticate your requests to the Tastytrade API. See here for information on how to set up an OAuth application. Using the streamer The streamer is a websocket connection to dxfeed (the Tastytrade data provider) that allows you to subscribe to real-time data for quotes, greeks, and more. Getting current positions Placing an order Options chain/streaming greeks For more examples, check out the documentation. Disclaimer This is an unofficial SDK for Tastytrade. There is no implied warranty for any actions and results which arise from using it.","default_branch":null,"files":null,"tree":[],"storefront":"/r/tastyware","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/tastyware/tastytrade/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}