Pandas TA: A complete Guide

Поделиться
HTML-код
  • Опубликовано: 29 июн 2024
  • We cover the pandas-ta library, how to calculate various technical indicators, how to create strategies, how to use multi-processing, etc.
    ⭐ Code:
    github.com/ChadThackray/panda...
    Timestamps:
    00:00 - Intro
    01:03 - Fetching data from yfinance
    03:56 - Pandas-TA documentation
    06:42 - Calling TA functions directly
    10:12 - Using df.ta accessor
    15:19 - Using strategy objects to calculate multiple indicators
    18:18 - Misc. Features, Multi-processing, column naming, etc.

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

  • @davidberry8511
    @davidberry8511 Год назад +1

    Amazing, love what you are doing. Can't wait for the next one :)

  • @ersineser7610
    @ersineser7610 Год назад +1

    Dear Chad, Thank you for sharing and teaching us. Greetings.

  • @anishsahani1824
    @anishsahani1824 11 месяцев назад

    I learned a lot from this video. Best video I have seen today 😍

  • @germanslobo
    @germanslobo Год назад +1

    I love your videos. Thanks.

  • @sinan_islam
    @sinan_islam Год назад +3

    Thanks for removing the clock. It was a source of distraction. Now I can pay better attention to the lecture.

  • @elu1
    @elu1 2 месяца назад

    Very nicely made video to explain the library. Thanks you so much

  • @vika4396
    @vika4396 Год назад

    Thank you so much this helped a lot!!!! You saved my life

  • @shaneburke3156
    @shaneburke3156 Год назад

    This method works perfectly .. thanks for sharing ;)

  • @manojprabhu8885
    @manojprabhu8885 Месяц назад

    Precise explanation. Thanks a lot

  • @DEChacker
    @DEChacker Год назад

    thank you very much for your videos - keep going please

  • @INFODUCTIVA2
    @INFODUCTIVA2 2 месяца назад

    Muy buena Información!!!!

  • @J2897Tutorials
    @J2897Tutorials Год назад +2

    Nice... This could save me a tonne of time.

  • @baczkie
    @baczkie Год назад

    lov ya bro !!!

  • @akbarboghani1
    @akbarboghani1 Год назад

    thanks for sharing this. very useful video indeed. is it possible to fetch the commodities data and the derivatives data.

  • @amywarke3481
    @amywarke3481 Год назад +1

    I do love pandas 🐼

  • @rastislavlukac6487
    @rastislavlukac6487 Год назад

    You do excellent job Chad ! Your videos are very useful. However, I would like to ask one question. Why do I get from following two functions completely different results? Pandas-TA result seems to be wrong...
    a = ta.trend.STCIndicator(close=data["close"], window_fast=12, window_slow=26, cycle=10, smooth1=3, smooth2=3, fillna=True).stc()
    b = pandas_ta.stc(close=data["close"],tclen=10, fast=12, slow=26 ,factor=0.5)
    Is it in the parameters smooth and factor?

    • @ChadThackray
      @ChadThackray  Год назад

      Yes you'll want to make sure that the parameters are the same. In this example I think your smoothing value is off.
      If that's still not right then you'll want to check the code between the two repos and see if there's a difference in methodology

  • @hedgingera2170
    @hedgingera2170 5 месяцев назад

    the close price passed into ta should be 'Close' or 'Adj Close' ?
    thanks

  • @allentoronto
    @allentoronto Год назад

    For once, the software is actually really useful

  • @vatsalshah7557
    @vatsalshah7557 5 месяцев назад

    Is the underlying data pulled from Yahoo Finance?

  • @franky12
    @franky12 Год назад

    Is there any plot function built-in to easily plot the calculated indicators?

    • @ChadThackray
      @ChadThackray  Год назад +1

      Not that I'm aware of. But it's only one line in matplotlib or plotly.

  • @TheSnath
    @TheSnath 8 месяцев назад

    Hi Chad, I want to run the ta functions on a df that is not from yfinance. Is that possible? If so, what all do I need to take care of

    • @ChadThackray
      @ChadThackray  8 месяцев назад

      Should be exactly the same. Just make sure your dataframe looks like the yfinance one

  • @barbann5091
    @barbann5091 Год назад

    I tried to import from yfinance exactly as shown above with df.ta.ticker("SPY",...etc) and got an error message "Yahoo has again changed data format, yfinance now unsure which key(s) is for decryption:" plus a page full of stuff -no dataframe.

    • @ChadThackray
      @ChadThackray  Год назад

      Update your version of yfinance. Looks like the issue is resolved now if you check the github issues