Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transition to Schwab's Trader API #34

Open
leassaf opened this issue Jun 21, 2023 · 9 comments
Open

Transition to Schwab's Trader API #34

leassaf opened this issue Jun 21, 2023 · 9 comments

Comments

@leassaf
Copy link

leassaf commented Jun 21, 2023

Hi Alex, a general question:
TD Ameritrade announced that they will make a transition to Schwab's Trader API (After Charles Schwab acquired TD Ameritrade in 2019)
How/Will it affect your project?

With great appreciation,
Assaf

@areed1192
Copy link
Owner

@leassaf based on what I read, it seems like I'll have to change the URLs of some of the endpoints, and in some cases remove certain endpoints that are no longer supported. I'm trying to create a developer account with Charles Schwab, but when it comes to creating an application that is registered with the API, I'm not having any luck. Have you had success creating an App as an individual developer role?

I'm thinking I won't be able to even create the app until my account is migrated to Charles Schwab which won't be till September.

I'm hoping someone will get access before me, and then I can just have them test changes with me, so we will be ready to go before the transition impacts everyone.

@leassaf
Copy link
Author

leassaf commented Jun 26, 2023

@areed1192, I've created a new account too, but similar to you, wasn't able to create a new app.
I'm in touch with Schwab's assistance, so I will update as soon I will have some success with that.

@areed1192
Copy link
Owner

@leassaf Hopefully you're able to get some information for us.

@jasonmellone
Copy link

I just tried refreshing a client token and the URL creates a circular loop that bounces you into a regular schwab account landing page. Did you ever wind up having any luck here? I'm happy to chip in on the work.

What a pain.

https://auth.tdameritrade.com/auth?response_type=code&redirect_uri=https%3A%2F%2Flocalhost%CALLBACK&client_id=CODE%40AMER.OAUTHAP

@yssoe
Copy link

yssoe commented Dec 8, 2023

Any updates on this please also running into problem that my account is migrated into Schwab yet no API with them

@leassaf
Copy link
Author

leassaf commented May 15, 2024

Update: migration to Schwab completed. since then, TD's access token has expired and unable to create new token. I guess one need to create a new app at Schwab's developer portal, but when trying it, got the following error: You do not have access to any Active API products.
I have requested for Trader API - Individual product (currently request pending...) at https://beta-developer.schwab.com/products/trader-api--individual
Will update asap.

@EklipZgit
Copy link

@leassaf any luck? I'm about to just withdraw everything and switch to alpaca if nobody sorts this out soon, doesn't really seem worth it to stick with a company that didn't bother to maintain the existing API interface of the company they bought

@jasonmellone
Copy link

@EklipZgit I moved to TradeStation and am happy so far. Do your own research and make your own decision. tsdocs.

@leassaf
Copy link
Author

leassaf commented May 23, 2024

@EklipZgit The app I created in Schwab's was approved and ready for use. the auth process is similar to TD's but with different endpoints.
watch this short video to see how:
https://youtu.be/kHbom0KIJwc?si=XGma5rPQLwR3gT_a

I'm planning to test locally and modify the URLs of some of the endpoints (@areed1192): will update on success.

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

No branches or pull requests

5 participants