Auto import trades from TastyWorks

blog-post-image
By TradesViz in Auto Import Trades

In this post, we will explore how to pair your TradesViz account with TastyWorks.

This post assumes that you have read the basics about auto importing in TradesViz.

Once you select your trading account and broker as "TastyWorks" on the trade auto-import page, a popup box will appear when you click on the "Connect account" button.

Update: Dec 2024

OAuth-based connection creation is now available!

No more usernames/passwords - just one-click connection!

On the auto-import page, once you select your trading account and broker as "TastyWorks/TastyTrade (NEW)" on the trade auto-import page, a popup box will appear when you click on the "Connect account" button.

  1. Click on the link in the instructions in the popup box shown in the picture above.
  2. This will redirect you to a secure TastyTrade webpage where you need to enter your credentials to authenticate that you are the user of the TastyTrade account. Note that we have no access to any information in the subsequent pages after you click on the link in the instructions - all actions are done via TastyTrade's secure pages. You can check the URL in the browser to verify this.
  3. Fill in your login information, and finally, you will be redirected to the TradesViz page with a code after successful login.
  4. On this page, you will have to copy the code and paste it into the popup box shown as the first image in this blog post.
  5. Once you return to the tradesviz.com's import page, click on the "Auto-import trades" tab, follow the same instructions of selecting the trading account and brokerage platform (TradeStation) and now paste the code in the text field along with the account number of the account you want to sync.

Unlike other brokers where you are redirected to another page via OAuth, TastyWorks OpenAPI currently is implemented only with username/password-based authentication. 

This means you have to enter your username/email and password which will be used to generate a refresh token and then your credentials will be deleted. All of this happens on the server side on you click on "Submit" after filling in your information. We never store your credentials on our servers. After your connection, the refresh is used to fetch your trades everyday - this has an expiration date of 28 days after which you have to delete and re-establish your connection.

If you do not want to enter your username/password, please continue using the manual import method or you can wait till TastyWorks implements an OAuth-based connection method. 

On the auto-import page, once you select your trading account and broker as "TastyWorks" on the trade auto-import page, a popup box will appear when you click on the "Connect account" button.

 

Enter your credentials and click on "Submit" at the bottom. Clicking on "Submit" means you agree to the disclaimer mentioned below:

 

 

Once the connection is established, you will be able to see the TastyWorks entry in the connection list and you can click on "Sync" to get your data. 

That's it! You are now connected to TastyWorks and your trades will be auto-synced every 24 hrs! You can change the advanced import settings and turn on or off the auto-sync by clicking the auto-import settings on the same import page. 


If you have any questions regarding your connections, please contact us at [email protected]!