Skip to content

tastyware/tastytrade:v9.7

Latest
Compare
Choose a tag to compare
@Graeme22 Graeme22 released this 12 Jan 22:40
· 6 commits to master since this release
df9a9f9

What's Changed

  • [BREAKING] Update instruments.py by @Quenos in #192
    This PR changes the signature of the NestedOptionChain.get_chain (and NestedOptionChain.a_get_chain) functions. Certain symbols, like VIX and SPX, may have more than one root symbol (eg SPX and SPXW), which are parsed as different chains in the API. Previously, some of that data was being thrown away, but now these functions return list[NestedOptionChain] instead of a single NestedOptionChain.

  • add serialization for sessions by @Graeme22 in #197
    This PR adds new functions to the tastytrade.Session class, serialize and deserialize, which allow for safely and easily storing sessions for later use. Example usage:

session = Session('username', 'password')
# ...
data = session.serialize()
redis.set("session", data)
# ...
session = Session.deserialize(redis.get("session"))

Full Changelog: v9.6...v9.7