Skip to content

Type correction in PlacedOrder#286

Merged
Graeme22 merged 1 commit intotastyware:masterfrom
quantx-heiko:master
Nov 14, 2025
Merged

Type correction in PlacedOrder#286
Graeme22 merged 1 commit intotastyware:masterfrom
quantx-heiko:master

Conversation

@quantx-heiko
Copy link
Copy Markdown
Contributor

Description

The type of attribute replaces_order_id in PlacedOrder has been changed from str to int.

With that fix replacement of orders is working again now.

Maybe the attribute replacing_order_id should be changed as well, but in my case it had no value. I assume it is there for compatibility reasons only.

Related issue(s)

Fixes #285

Pre-merge checklist

  • Code formatted correctly (check with make lint)
  • Code implemented for both sync and async
  • Passing tests locally (check with make test, make sure you have TT_REFRESH, TT_SECRET, and TT_ACCOUNT environment variables set)
  • New tests added (if applicable)

Please note that, in order to pass the tests, you'll need to set up your Tastytrade credentials as repository secrets on your local fork. Read more at CONTRIBUTING.md.

@Graeme22 Graeme22 merged commit 229530c into tastyware:master Nov 14, 2025
0 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace Order fails

2 participants