TD Ameritrade API Part 2: Authenticating with Python and tda-api

preview_player
Показать описание
In this video, we introduce tda-api, a Python wrapper around the TD Ameritrade API. We register and create a TD Ameritrade app, get an API token, and use Chrome webdriver to complete the login flow. To verify that we are authenticated, we execute an API method to retrieve a stock quote for Boeing. Source code available at:

For more tutorials, subscribe to this channel and follow me:

Рекомендации по теме
Комментарии
Автор

bro, love your explaination. Thank you! also thanks for making a github for this video

ohjoshrules
Автор

This was one of the most well explained python videos I've ever seen. Had to comment. Thanks Larry!

chrisryan
Автор

I am trying to find projects just like this to familiarize my self with python and other languages. I have been searching to long for a video like this dude. You made this so easy. Thank you bro

tcphero
Автор

Thank you! I have been messing with this for a full day and couldn't get it to work until I watched your video.

defface
Автор

I've been trying forever to get oauth figured out and this did the trick. thank you!

mattlee
Автор

This is most helpful tutorial I found on this topic, can't thank you enough.

mntemel
Автор

This was a brilliant tutorial. Thank you, Larry, and my thanks to Alex Golec for writing this package and for documenting it so well.

WolfAngelRock
Автор

Thank you Larry! I appreciate your content, keep up the great work

Christopher_Tron
Автор

Hi Larry.Thanks for the videos. I have a simple question.Can I learn the explorer name that you are using in your Mac?

yilmaz
Автор

can i get the watchlist (%change gainers) using that method. or is it just limited to individual stocks?

rverm
Автор

Hi Larry thanks for the video, I have a PC and can't get the chrome function to work. Any ideas or resources on how to get it done on Windows?

ThriveCRMai
Автор

What's the required.txt? I tried without it and it said "tda not defined". Do I need to install or download required.txt? I'm missing something to get started on.

ronnielynch
Автор

Interesting. I know nothing about Python, or coding lol but I am a trader/investor and stumbled upon this video. Very well explained, simple enough that even I understood and gained an interest in learning more. Just wanted to convey my interest and wish you well in the future. Great job!

chronicmastertrader
Автор

i entered tda-api but jupyter is giving me a message name"tda" not defined

ilyakristesashvili
Автор

Hello Larry, thank you for the great video. I there a way to connect to paper trade account for testing? I am not sure why TD Ameritrade hasn't developed an API for a Paper trade account. Do they expect developers to test with real accounts?

hanialadmaai
Автор

For anyone having issues with the localhost refusing to connect.

Ensure you are using 'https' and not 'http' on the call back. This needs to be correct in both your python file as well as your app itself.

outlaw
Автор

How about automating the login/accept part with chromedriver, so the entire authentication process can be done headless?

headlibrarian
Автор

I don't know what I'm doing wrong, but trying to access the variables in my config file from the trade.py script doesn't work. Are you skipping any steps there?

standard_limbo
Автор

Because of the merge between TDAmeritrade and Charles Schwab, new developer account is not granted any more. So I cannot get a customer API key. How do I get around this?

MathPhDTrading-sv
Автор

What version of Python are you using? Thanks for the video its very helpful

thetradingsuite
welcome to shbcf.ru