Follow these steps to securely connect your Tastytrade brokerage account to SODA using OAuth.
Go to tastytrade.com and sign in to your account. Then click the Manage tab in the top navigation bar.
In the left sidebar under My profile, click API.
Click the OAuth application tile, then click Create Application.
Fill in the following:
The redirect URI is required by Tastytrade's form but is not used by SODA. Enter exactly as shown above.
Click Create to save your application.
After creating your app, Tastytrade will display your Client Secret. Copy it immediately and save it somewhere safe.
In your OAuth app settings, click Create Grant (or "New Personal OAuth Grant"). Check all scopes, then click create.
Copy the Refresh Token that appears. This token is long — that's normal.
Go to Accounts → + Add Account → Tastytrade in SODA. Paste your Client Secret and Refresh Token into the form, then click Connect Account.
If you see ✓ Connected, you're all set!
Your Tastytrade account is now securely linked to SODA via OAuth. You can deploy credit spread bots from the Strategies page.
Close & Return to SODA"Invalid tastytrade OAuth credentials"
Double-check that you're pasting the Client Secret (not the Client ID) and a valid Refresh Token. If your Client Secret was regenerated, the old one no longer works.
Lost your Client Secret?
Go to your OAuth app at tastytrade.com → Manage → API → OAuth application. Click "Regenerate" to get a new one. Then update your credentials in SODA via Edit Keys.
Need a new Refresh Token?
In your OAuth app settings, click "Create Grant" to generate a fresh token. Update it in SODA via Edit Keys on your Tastytrade account.