tastyware's paper trading API #293
Graeme22
announced in
Announcements
Replies: 2 comments 9 replies
|
Well, I am just getting started with the sandbox and so far I have had zero success placing option orders. Any (presumably) valid order sits in a ROUTED state and never transitions to inflight or filled. So, this may or may not be something I am interested in. At this point I am still assuming it is just me being a newb. |
9 replies
|
For those interested, this is now available here: https://tastyworks-api.readthedocs.io/en/latest/paper.html |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I wanted to let people know I created a proprietary sandbox/paper trading system that mocks the Tastytrade API which allows for much better testing of strategies. It eliminates a lot of the restrictions of the current sandbox accounts: you can control fill behavior, positions don't get reset every 24 hours, buying power usage is realistic, handles margin, expiration, assignment/exercise, etc. Read about it here: https://tastyworks-api.readthedocs.io/en/latest/paper.html
To use it you'll write code like:
The paper session can be used with almost all account-related endpoints to place orders, view positions, etc. and the normal OAuth sessions continue to be used for other endpoints.
Since I have to host a server for this there's a monthly subscription fee. Drop a comment below if you're curious! I've found that testing is currently a real pain point and I hope this will fix that.
All reactions