Skip to content

tastyware/tastytrade:v10.3.0

Choose a tag to compare

@Graeme22 Graeme22 released this 11 Jul 15:28
· 23 commits to master since this release

What's Changed

  • Add open-interest to MarketData by @rcapozzi in #260
  • OAuth updates by @Graeme22 in a4b83ff
    • Adds a new function, login(), which allows for generating an initial refresh token to build an OAuth app. Uses Python's built-in HTTP server module, so no new dependencies are required!
    • Users are now encouraged to use OAuth instead of username/password authentication for better security
    • Adds OAuth-related docs section
    • Fixes bug where the direction property in the backtest module changed from "buy" and "sell" to "long" and "short" on the API side
    • Streamers now default the dxfeed_tos_compliant property to True, since functionality has improved greatly for the API-facing streamers
    • OAuth sessions can now be used with the streamer
    • OAuthSession.refresh() now refreshes streamer tokens as well if necessary
    • Rare garbage collection-related bug prevented in streamer disconnect callback
    • OAuthSession is now covered by tests
    • JSONDecodeError now handled cleanly in validate_response() (fiixes #261)

New Contributors

Full Changelog: v10.2.3...v10.3.0