TD Ameritrade API Part 3: Stock Fundamentals and Options Chains

Поделиться
HTML-код
  • Опубликовано: 28 янв 2025

Комментарии • 39

  • @parttimelarry
    @parttimelarry  4 года назад

    Like the video? Support the channel by visiting Interactive Brokers: www.interactivebrokers.com/mkt/?src=ptly3&url=%2Fen%2Findex.php%3Ff%3D1338
    Buy Me a Coffee: buymeacoffee.com/parttimelarry
    Twitter: twitter.com/PartTimeLarry
    Website: hackingthemarkets.com
    Source Code: github.com/hackingthemarkets

  • @primogodtent707
    @primogodtent707 2 года назад +1

    ty Larry your tutorials make it possible to understand and accomplish everything I need to do

  • @tirthb
    @tirthb 2 года назад +2

    Thanks, Larry. This is so helpful. I am also brushing up my python skills :)

  • @alurban3315
    @alurban3315 3 года назад +1

    I fucking love you Larry

  • @jacemica7437
    @jacemica7437 4 года назад +5

    These videos are great! Do you know if there's a way to get stochastic or RSI information or any other indicators with this API?

    • @remembercalvary542
      @remembercalvary542 4 года назад +1

      I have not seen anything yet. If you are using python lookup ta-lib for a ton of technical analysis stuff.

  • @alexrsnh
    @alexrsnh 4 года назад +2

    These videos are super-helpful ... just what I was looking for. Do you know if it's possible to get historical futures data (or current information) using the TDA API?

    • @parttimelarry
      @parttimelarry  4 года назад

      I don't think that's possible, but will check. Some people have been asking for historical options data too, but that data is costly as I understand it.

  • @leoawe773
    @leoawe773 3 года назад +1

    Hi Larry, Thanks for this video, I found it had to convert the JSON file to dataframe, I tried every possible way but not working, any help?

  • @chadheitman3646
    @chadheitman3646 3 года назад

    How do I save or parse these JSON responses in a way I can get into a database?
    Basically I am trying to use TDA for the ETF Database series where you used Alpaca.
    I am able to get pretty much any info I want from TDA, just struggling to find a way to save the JSON response.
    Any pointers on manipulating the JSON responses / JSON data I get back from TDA API would be awesome, thanks!
    Your videos are amazing, thanks for all the insight!

  • @austinpaxton4298
    @austinpaxton4298 3 года назад

    Hey Part-Time Larry, Awesome footy! I've been trying to stream options data on 1-2 contracts using the streamer tool. However, it streams the entire option chain and overwhelms my computer. Is there a way to utilize the option chain data and feed the streamer tool the contract specific ID such that I can steam only one contract? Any help would be greatly appreciated by me and my data-overwhelmed computer.

  • @ricomajestic
    @ricomajestic 4 года назад +1

    Great video! Just what I was looking for. Question for you...do you know if it is possible to extract historical options data using this API ?

    • @parttimelarry
      @parttimelarry  4 года назад

      I don't think so. I heard they have it as part of Think or Swim but make it hard to extract. Might be good to set up a cron task to snapshot this data. That would be a good project idea, will try it. And also will look for sources for historical option data, I believe that data is quite expensive.

    • @vhom7375
      @vhom7375 4 года назад +1

      @@parttimelarry I tried making Get Option Chains calls every 1min, and i got blocked. If you do every 10 min, you would miss a lot of transactions.

  • @bobsmith6087
    @bobsmith6087 4 года назад

    Great Video! Is there a way to sort the options by bid price?

    • @abrahamkingsley9306
      @abrahamkingsley9306 4 года назад

      Basically I just want to testify about Mr Franklin, He is an account manager with differences, I have been trading with him for much longer than i can say and he has turned my life around, when I was about to loose my house to the bank, he introduced me to a strategy and software that helped me to make over $50,000 in forex market, I can boast with earnings from Mr Franklin trading experience, I don't depend on my salary anymore and I'm living the comfortable life, contact him on Franklinhambj11@gmail.com if you need help!Based in Pennsylvania!

  • @KH-sf5pu
    @KH-sf5pu 3 года назад

    Hey Larry, is there a way to get Options Time and Sales data?

  • @trevorboiles8705
    @trevorboiles8705 4 года назад

    Did that return the RSI value??

  • @caseydulgar7058
    @caseydulgar7058 4 года назад

    I've been testing the Option Chain end point on the TDA API. It works fine with options associated with stocks and ETFs. Can't get it to work with Indexes. Am specifically looking at RUT. Do you know why?

    • @parttimelarry
      @parttimelarry  4 года назад

      Did you try using IWM as the symbol? Or you don't want to use an ETF?

    • @caseydulgar7058
      @caseydulgar7058 4 года назад

      @@parttimelarry IWM provides my client with data, by I'm trading vertical spreads on RUT. So, I need RUT option chain info. But, I might want to do options on SPX also. The same problem exists on all indexes.

    • @thedudeandstuff169
      @thedudeandstuff169 4 года назад

      I'm also interested in SPX option data

    • @RonBertino
      @RonBertino 4 года назад +2

      @Casey Dulgar, for RUT use the symbol '$RUT.X'

    • @RonBertino
      @RonBertino 4 года назад +2

      @@thedudeandstuff169 For SPX, use the symbol '$SPX.X'

  • @BenjaminFunklin
    @BenjaminFunklin 4 года назад +1

    Thanks for this video, it really helped me! Do you or anyone out there know how to get the positions and orders form the api. I've tried account = c.get_account(config.account_id,*,'positions'), but it doesn't work. I've also tried account = c.get_account(config.account_id), and got a response but it doesn't include the position or order data

    • @abrahamkingsley9306
      @abrahamkingsley9306 4 года назад

      Basically I just want to testify about Mr Franklin, He is an account manager with differences, I have been trading with him for much longer than i can say and he has turned my life around, when I was about to loose my house to the bank, he introduced me to a strategy and software that helped me to make over $50,000 in forex market, I can boast with earnings from Mr Franklin trading experience, I don't depend on my salary anymore and I'm living the comfortable life, contact him on Franklinhambj11@gmail.com if you need help!Based in Pennsylvania!

  • @freerovingbovine
    @freerovingbovine 4 года назад

    This is a great series, but my installation of Python is all screwed up. Please point me to a detailed instructions on how to set up the Python environment so I can follow along?

    • @ohjoshrules
      @ohjoshrules 2 года назад

      If you use anaconda, you can youtube how to create an environment, and then install the correct packages for your new enviorment. Should work for you. Also Anaconda Naviagtor is useful to see what's install in your base, and new / existing environemnts. Hope this helps.

  • @rujingwang1476
    @rujingwang1476 2 года назад

    Anyone know what tda rate limits are ?

  • @vivekgopalasetty2790
    @vivekgopalasetty2790 4 года назад

    in previous video where can i find my account number please let me know where to look for it

    • @remembercalvary542
      @remembercalvary542 4 года назад

      If you can successfully run this developer.tdameritrade.com/account-access/apis/get/accounts-0 you will find all of your account ids. If you are not aware you can have more than one for different types of accounts within TDA.

  • @ohjoshrules
    @ohjoshrules 2 года назад

    Okay, dont know why, and it's probably a simple fix, but cant seem to get it, but for the code
    """ response = c.get_quote('TICKER_SYMBOL')"""
    and
    """response = c.search_instrumetns(['TICKER_SYMBOL'], c.Instrument.Projection.FUNDAMENTAL) """
    I am getting an error for the c. part of the code, and I cant figure out what I have to import to get the error to go away, and for the code to run more smoothly. Any help / pointers would be greatly greatly appreciated. Also, amazing videos! loving the insight you bring! Thanks for making these!....if you ever redo them in higher resolution my old eye would appreciate that lol blowing things up in sub 1080 gets blurry quick lol....regardless content is still amazing!

    • @ohjoshrules
      @ohjoshrules 2 года назад

      also coding this in VS code....so if I need to install anything to get this to work, please point me in the right direction lol