fix(deps): update dependency tastytrade to v11 #574
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==9.11->==11.0.4Release Notes
tastyware/tastytrade (tastytrade)
v11.0.4: tastyware/tastytrade:v11.0.4Compare Source
What's Changed
New Contributors
Full Changelog: tastyware/tastytrade@v11.0.3...v11.0.4
v11.0.3: tastyware/tastytrade:v11.0.3Compare Source
What's Changed
Fixes bug where any call to replace_order would fail. Likely caused by pydantic or API changes.
Full Changelog: tastyware/tastytrade@v11.0.2...v11.0.3
v11.0.2: tastyware/tastytrade:v11.0.2Compare Source
What's Changed
tastytrade.metrics.get_risk_free_rateFull Changelog: tastyware/tastytrade@v11.0.1...v11.0.2
v11.0.1: tastyware/tastytrade:v11.0.1Compare Source
What's Changed
Full Changelog: tastyware/tastytrade@v11.0.0...v11.0.1
v11.0.0: tastyware/tastytrade:v11.0.0Compare Source
What's Changed
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 the
Sessionclass 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.bool | Noneinstead ofOptional[bool]) are now present across the SDK.Full Changelog: tastyware/tastytrade@v10.3.0...v11.0.0
v10.3.0: tastyware/tastytrade:v10.3.0Compare Source
What's Changed
a4b83fflogin(), 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!directionproperty in the backtest module changed from "buy" and "sell" to "long" and "short" on the API sidedxfeed_tos_compliantproperty toTrue, since functionality has improved greatly for the API-facing streamersOAuthSession.refresh()now refreshes streamer tokens as well if necessaryOAuthSessionis now covered by testsJSONDecodeErrornow handled cleanly invalidate_response()(fiixes #261)New Contributors
Full Changelog: tastyware/tastytrade@v10.2.3...v10.3.0
v10.2.3: tastyware/tastytrade:v10.2.3Compare Source
What's Changed
Full Changelog: tastyware/tastytrade@v10.2.2...v10.2.3
New Sponsors
A special thanks to @pangyuteng for contributing to the ongoing development of the SDK!
v10.2.2: tastyware/tastytrade:v10.2.2Compare Source
What's Changed
Full Changelog: tastyware/tastytrade@v10.2.1...v10.2.2
v10.2.1: tastyware/tastytrade:v10.2.1Compare Source
What's Changed
Full Changelog: tastyware/tastytrade@v10.2.0...v10.2.1
v10.2.0: tastyware/tastytrade:v10.2.0Compare Source
What's Changed
This PR adds disconnect callbacks to the streamers, allowing for executing arbitrary code when the websocket disconnects. This is distinct from the reconnect callback, since the reconnect callback only fires once the connection is re-established, but the disconnect callback fires right away.
New Contributors
Full Changelog: tastyware/tastytrade@v10.1.1...v10.2.0
v10.1.1: tastyware/tastytrade:v10.1.1Compare Source
What's Changed
tastytrade.order.TradeableTastytradeJsonDataclasstoTradeableTastytradeDataFull Changelog: tastyware/tastytrade@v10.1.0...v10.1.1
v10.1.0: tastyware/tastytrade:v10.1.0Compare Source
What's Changed
Tastytrade recently added very useful new endpoints for fetching market data without using the streamer. This is great for many scenarios where you just want to grab prices once, rather than listen to them continually. This PR adds them to the SDK:
cancel: cancels a running backtestdelete: deletes an active backtesting sessionget: fetches a past backtest by IDavailable_parameters: gets a list of valid symbols and dates for backtestsget_futures_holidaystotastytrade.market_sessionsfor futures exchange calendarsTastytradeJsonDataclasstoTastytradeData__str__and__repr__for all Pydantic models now don't print fields that areNoneby default, making for cleaner debuggingFull Changelog: tastyware/tastytrade@v10.0.1...v10.1.0
v10.0.1: tastyware/tastytrade:v10.0.1Compare Source
What's Changed
Full Changelog: tastyware/tastytrade@v10.0.0...v10.0.1
v10.0.0: tastyware/tastytrade:v10.0.0Compare Source
What's Changed
overload to simplify classmethods by @Graeme22 in #230
Previously, classmethods were overly verbose, leading to patterns like this:
This release changes naming conventions across all Pydantic models to use a shortened name which combines the single and multiple fetches into a single, overloaded function:
This preserves type hints thanks to
typing.overload, where the return type is inferred from the number of arguments.Here's a list of classes affected by this change by module:
tastytrade.account:Accounttastytrade.instruments:Cryptocurrency,Equity,Option,NestedOptionChain,FutureProduct,Future,FutureOptionProduct,FutureOption,Warrant,NestedFutureOptionChaintastytrade.watchlists:PrivateWatchlist,PublicWatchlist(previouslyWatchlist)Watchlist split into two subclasses,
PrivateWatchlistandPublicWatchlistswitch to Semantic Versioning
AlertStreamernow works withOAuthSessionFull Changelog: tastyware/tastytrade@v9.13...v10.0.0
v9.13: tastyware/tastytrade:v9.13Compare Source
What's Changed
Full Changelog: tastyware/tastytrade@v9.12...v9.13
v9.12: tastyware/tastytrade:v9.12Compare Source
What's Changed
NestedOptionChain.deliverablesis now optional, as sandbox sessions often don't include itFull Changelog: tastyware/tastytrade@v9.11...v9.12
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Renovate Bot.