A simple, async-based, reverse-engineered SDK for Tastytrade built on their (mostly) public API. This will allow you to create trading algorithms for whatever strategies you may have quickly and painlessly in Python.
$ pip install tastytrade
Here's a simple example to get you started. For more information, check out the documentation.
from tastytrade.dxfeed.event import EventType
from tastytrade.session import Session
from tastytrade.streamer import Streamer
session = Session('username', 'password')
streamer = await Streamer.create(session)
tickers = ['SPX', 'GLD']
quotes = await streamer.oneshot(EventType.QUOTE, tickers)
print(quotes)
This is an unofficial SDK for Tastytrade. There is no implied warranty for any actions and results which arise from using it.