Great work Dario.
Wang Yi
1

Hi Wang Yi, thank you for your comment.

  1. I think if you placed “fillna=True”, you don’t have any problem because it will do a smart filled. Every indicator has some default values such as 50 for RSI indicator, backfilled for Bollinger Bands or 0 for MACD indicator. If you don’t like this option, you can place fillna = False and then remove the rows with NaNs values.
  2. It’s difficult to answer this question because every indicator has a different limitation and different input parameters that could change the number of points you need. So, if you use the default input parameters, I recommend using 200 or more points to get any significant result using ta library.
Like what you read? Give Dario Lopez Padial a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.