
Stock market volatility
A volatile stock market provides a lot of opportunities. In the ideal case a trader can several times buy a specific stock at a low price and sell it at a much higher price. Therefore, I was for voalitily measures and applications that can help me finding the most volatile stocks. Surprisingly, I did not find much. Of course, there are a lot of websites listing stock charts etc. but I did not find any that explicitly shows volatility measures. In particular, I did not find any that allow you to identify the 5, 10 or however many most volatile stocks in the last 3 months, the last year or in whatever period of time. Thus, I set out to develop something on my own.
Measuring volatility
My ambition was to develop a tool that easily allows me to identify the most volatile stocks for any period in time. First, I had to think of how to measure volatility. As I am interested in buying stocks when their price is low, I decided to set the average low of a specific stock as my starting point. By average low I mean that I would calculate the mean of the lowest price of a specific stock of each day in a certain period in time. Then I am interested in how often the price of that stock rises above that average low in the defined period in time. However, as I am interested in volatility, I not only need the stock price to rise a certain number of times above the average low but also to fall the same number of times to at least the amount of the average low.
If a stock price is to rise three times a to an amount double as high as the average low, it also needs to sink three times to at least the average low. Thus the patterns we are looking for should look something like this:
Given a specific period of time (such as the 1st of February to the 26th of July 2025 in the example above), we can calculate the average low as the mean of the lowest stock price of each day. In the figure above, the average low is exactly 1 and is illustrated by the dashed horizontal red line. If we say that we want the stock price to be higher than the average low by at least the factor of 6, then we arrive at the threshold indicated by the dashed horizontal blue line with a value of exactly 6. The dashed vertical grey lines indicate that the stock price has 3 times risen above our defined threshold and fallen to at least the average low in the period of time illustrated.
Thus, we have identified three factors that need to be specified in order to measure volatility:
Period of time (start date and end date)
Dimension of increase (the factor by which we want the stock price to rise above the average low)
Average low (the mean of the lowest stock price of each day in the chosen period of time)
However, some the values of certain stocks might be extremely volatile and fulfill our criteria multiple times within a single trading day, while the price of other stocks might rise above the average low by our defined factor and then remain at a high level for months or years. Therefore, we need to consider two further aspects in order to capture volatility on the stock market: The number of days on which the price of a stock remains at a high level and the number of days on which the price remains at a relatively low level.
The temporal dimension
Thus, to grasp the temporal dimension in stock market volatility, it is important to demarcate the beginning and the end of periods in time with a relatively high and a relatively low stock price. Furthermore, it is important to decide how long a period of a relatively high value is to be and how much time there is to be between two periods of a relatively high value. If we again take a look at our volatility example, we can see that there are three intervals of which each begins with the stock price exceeding the threshold defined by us and of which each ends with the stock price falling to at least the average low:

As can be seen, the three intervals are of a different length and they last from 19-25 February, 26 March - 06 April, and from 25 June - 06 July 2025. Thus, the first interval encompasses 7 days, while the second and the last encompass 12 days. In addition, it is visible that the period in time between the three intervals differs in length. While there are 28 days between the first and the second interval, 79 days fall between the second and the third interval. These intervals can be termed peak intervals as they denote periods in time in which the stock price has at least once risen above the defined threshold.
This example shows that there are three further factors that we have to specific if we want to capture the temporal dimension of volatility on the stock market:
How often do we want the stock price to rise above a specified threshold (and to fall again at least to the average low) in a given period of time? In other words, how many volatility intervals do we want to have in that period of time?
How many days should each of the peak intervals at least encompass?
How many days do we want to be between each peak interval?
These questions have to be answered to begin the search for stocks that satisfy the criteria defined.
Getting the data
One option to get historic stock price data is Yahoo. The data can be accessed via the package quantmod for R. All the code that has been used for this blog article is as always available on Github. However, before we access the data, we have to specify all the factors identified above. I decided to proceed with the following specifications:
Time period: 01.01.2025 - 31.12.2025
Rise factor: 1
Minimum number of peak intervals: 3
Minimum number of days within a peak interval: 7
Minimum number of days between two peak intervals: 7
These specifications imply that we will consider the daily high and the daily low of the price of each stock on each (trading) day of the year 2025. Based on this data, the average daily low of each stock will be calculated. A rise factor of 1 means that we will only consider stocks whose value rose by a factor of 1 above its average daily low. This effectively means that we will only look at stocks whose price rose to an amount double as high as its average low. In addition, we have specified that we are only looking for stocks whose value rose by a factor of 1 above its average daily low and sank again to its average daily low at least 3 times. Furthermore, these peak intervals have to encompass at least 7 days and also at least 7 days have to between two different peak intervals.
After having specified all the necessary criteria, we can access and process the data.
The most volatile stocks in 2025
Finally, we can print to most volatile stocks in 2025 according to our criteria:
[1] "BURU"
[1] "USBC"
[1] "ALP"
[1] "ATTT"
[1] "BNAI"
[1] "CURR"
[1] "PPCB"
[1] "PUSA"
[1] "ZYBT"
Thus, 9 stocks fulfill our criteria of at least 3 peak intervals of which each lasted for at least 7 seven with at least 7 days between 2 peak intervals. We can also plot the daily high and daily low of the prices of these stocks to visually inspect if our code worked as we wanted it to.









For all 9 stocks we can clearly see in the plots that our volatility criteria are satisfied!