Hi Wang Yi, thank you for your comment.
- 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.
- 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.