OpenBB icon indicating copy to clipboard operation
OpenBB copied to clipboard

[IMPROVE] By default, enable normalize on `stocks/ca/historical` and include a trendline

Open JerBouma opened this issue 3 years ago • 1 comments

What's the feature that should be improved? The feature stocks/ca/historical right now shows the following: image

This is not insightful. You don't want to see the actual price movements since it means little if a stock is $10 and grows 5% and another is $1000 and grows 5%. Same growth percentage but way different absolute results.

Describe how you would like the feature improved Instead, the default should be normalized data (-n flag set to true). This returns the following:

image

What should be included as well is a trendline. You could just remove the legend altogether so that doesn't clutter the chart. It's more about the direction than it is about which stock is which. For example, there is a clear trend here, the stocks seem to be moving together. That is something you can confirm by looking into their correlations. The stock IMBI has some lower correlations, this is also what you see in the historical normalized chart.

image

JerBouma avatar Oct 26 '22 12:10 JerBouma

Make sure to also change the command description and add in the title that the data is normalized.

JerBouma avatar Oct 26 '22 12:10 JerBouma