Releases: tastyware/tastytrade
Releases · tastyware/tastytrade
tastyware/tastytrade:v11.1.0
What's Changed
- added check if market is open at this moment in utils by @Quenos in #288
- remove broken account endpoints related to OAuth migration:
- get_position_limit
- get_effective_margin_requirements
- get_order_chain
Full Changelog: v11.0.5...v11.1.0
tastyware/tastytrade:v11.0.5
tastyware/tastytrade:v11.0.4
What's Changed
- Add external_identifier field to NewOrder and PlacedOrder classes by @markudevelop in #290
- Fix #291 caused by sandbox environment not accepting versioning headers
New Contributors
- @markudevelop made their first contribution in #290
Full Changelog: v11.0.3...v11.0.4
tastyware/tastytrade:v11.0.3
What's Changed
- Type correction in PlacedOrder by @quantx-heiko in #286
Fixes bug where any call to replace_order would fail. Likely caused by pydantic or API changes.
Full Changelog: v11.0.2...v11.0.3
tastyware/tastytrade:v11.0.2
tastyware/tastytrade:v11.0.1
What's Changed
- fix a small bug caused by pagination info not always present in JSON response
Full Changelog: v11.0.0...v11.0.1
tastyware/tastytrade:v11.0.0
What's Changed
- remove username/password auth by @Graeme22 in #270
Per Tastytrade docs, username/password authentication is scheduled for removal, so it has been removed here. OAuth is now the only way to authenticate to the API, and theSessionclass is now what used to be calledOAuthSession. To authenticate you must create an OAuth application and save the refresh token and client secret. This process is documented here. - Python 3.9 support is now dropped as it has reached end-of-life. It's no longer in CI and Python 3.10's typing features (such as
bool | Noneinstead ofOptional[bool]) are now present across the SDK. - The experimental backtesting module has been removed as it didn't provide much utility as part of the SDK.
- Added docs example for a cryptocurrency order
- More endpoints now support pagination, as documented in Tastytrade developer docs and the SDK docs
- All endpoints now use the API's new versioning header, so breaking changes to the API won't affect the SDK
Full Changelog: v10.3.0...v11.0.0
tastyware/tastytrade:v10.3.0
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
directionproperty in the backtest module changed from "buy" and "sell" to "long" and "short" on the API side - Streamers now default the
dxfeed_tos_compliantproperty toTrue, 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
OAuthSessionis now covered by testsJSONDecodeErrornow handled cleanly invalidate_response()(fiixes #261)
- Adds a new function,
New Contributors
Full Changelog: v10.2.3...v10.3.0
tastyware/tastytrade:v10.2.3
What's Changed
Full Changelog: v10.2.2...v10.2.3
New Sponsors
A special thanks to @pangyuteng for contributing to the ongoing development of the SDK!
tastyware/tastytrade:v10.2.2
What's Changed
- enforce isort, strict typing (+mypy) by @Graeme22 in #251
- isort now implemented across library + enforced for new code
- now using pyright strict typing
- mypy added as secondary type checker (also on strict mode) to ensure types work well for all users, regardless of type checker
Full Changelog: v10.2.1...v10.2.2