Dynamic tickvals for matplotlib/plotly charts to avoid value gaps /u/fant9sy Python Education

I’m working with a scatter plot for price events in stocks, but I’m having problems with stocks that have some abnormal event, such as squeezes, or dumps with a lot of difference from the average price.

For non-traders: strategic values that deviate from the average, for example a difference of 1400 points from the previous price, as shown in the image.

So I’m here for help: how can I mitigate this?

I’ve tried using dynamic tickvals, increasing the tick interval from 200, but the gap is still the same size, it doesn’t decrease with the intervals, and I also didn’t want to put a tickval that’s too high that will jeopardize the accuracy of the values near the 0 line.

submitted by /u/fant9sy
[link] [comments]

​r/learnpython I’m working with a scatter plot for price events in stocks, but I’m having problems with stocks that have some abnormal event, such as squeezes, or dumps with a lot of difference from the average price. For non-traders: strategic values that deviate from the average, for example a difference of 1400 points from the previous price, as shown in the image. So I’m here for help: how can I mitigate this? I’ve tried using dynamic tickvals, increasing the tick interval from 200, but the gap is still the same size, it doesn’t decrease with the intervals, and I also didn’t want to put a tickval that’s too high that will jeopardize the accuracy of the values near the 0 line. submitted by /u/fant9sy [link] [comments] 

I’m working with a scatter plot for price events in stocks, but I’m having problems with stocks that have some abnormal event, such as squeezes, or dumps with a lot of difference from the average price.

For non-traders: strategic values that deviate from the average, for example a difference of 1400 points from the previous price, as shown in the image.

So I’m here for help: how can I mitigate this?

I’ve tried using dynamic tickvals, increasing the tick interval from 200, but the gap is still the same size, it doesn’t decrease with the intervals, and I also didn’t want to put a tickval that’s too high that will jeopardize the accuracy of the values near the 0 line.

submitted by /u/fant9sy
[link] [comments] 

Leave a Reply

Your email address will not be published. Required fields are marked *