WorksPhysics and Astronomy
Combinatorial Calculations of the Most Probable Short-term Return of Single Company Stocks on the Stock Market
Abstract
The combinatorial method is used to calculate the quantity of distribution variants for the number of stockholders of one individual company as well as the quantity of stocks in the stockholder portfolio. These quantities may change as a result of the stocks buy and sale that is taken into account also. The total number of stocks the units at the lower level of the problem is obviously preserved, while the number of portfolios - the structural units at the upper level may change. The most probable distributions of the number of portfolios and stocks in each of them are determined depending on the expense to add a stock to the portfolio (the purchase price). The application of the developed method to determine the most probable short term return on stocks in a combinatorial sense is demonstrated.
Introduction
The number of possible distribution variants of stocks of a single selected company that are traded on the stock market among the portfolios of their holders at a certain point in time 1 is characterized at its maximum, in the absence of any obstacles to exchange, by the number . This number arises because the replacing of one stock with another in the initial “chaos” results in a new distribution. At the same time, there are obstacles prevent transitions of stocks between the holders. They are the non-zero value of the stocks, as well as the physical and legal accessibility of the portfolios of their holders. These circumstances reduce the number of possible distributions. “Inside” each -th portfolio, there are possible ways to distribute the stocks; this fact reduces the number of possible distribution variants by the value of , where is the total number of different stockholders (the number of portfolios), and is the number of stocks in the -th portfolio. In addition, the number is reduced by the number of variants that led to the distribution of stocks across portfolios — by the number of placements with repetitions, .
Thus, the total number of possible distributions of stocks across portfolios, taking into account the number of their distributions inside the portfolios and the placement when forming portfolios, is
It is clear that
The concentration of all stocks in the single owner hands (this usually does not happen for stocks traded on the stock exchange) corresponds to , while the complete dispersion of portfolios containing a single stock corresponds to (this also does not happen). Typically, varies within a wide range, but it still remains large. The problem is to determine the dependence of the price on and/or . Combinatorial analysis allows us to determine the most probable value of depending on and . This combinatorial problem, which is supplementary to those considered in [1, 2, 3, 4], belongs to the class of combinatorial problems involving the calculation of the number of particle combinations across objects under various constraints. The total number of possible combinations of such particles is determined by the formula
where the function will be determined through various combinatorial operations with sets of particles in a set of higher-level structural units. Various cases of the implementation of the function , including those more complex than (1), are considered in [4].
The combinatorial problem of determination the most probable distributions of the number of holders’ portfolios and the stock parts in them
To determine the most probable distribution, one should first, as usual [1], switch in (1) from factorials to their expression via Stirling’s formula (it is enough to use it in the first approximation), and then calculate the variations of the expression obtained from (1) with respect to and all , taking into account the Lagrange terms. We have only one Lagrange multiplier term, since only the total number of stocks — structureless particles (2) — is conserved, and it is equal to , where is the Lagrange multiplier. Usually, the quantity is varied directly:
By varying (4) over using (2), we obtain the corresponding derivative, which we set equal to zero:
or
where we used
Thus, we have obtained the first equation of the system. To obtain the second equation of the system from the variation over , it is necessary to determine the derivative of the sum of some quantities by its upper limit
Recalling the well-known expression for the derivative of a definite integral over the upper limit:
let’s define the derivative of the sum of some quantities by its upper limit by analogy
where is the last value of the summed values. However, in the future, bearing in mind that all , generally speaking, are basically the same functions, and using the independence of the sum from the place of the summand in it, we will assume
Then
Let us calculate the derivative using rule (6) and the definition of the derivative
We get the second equation in the form (again, we replace with )
Substituting this expression into (7) and remembering that the expression in parentheses in (7) equals zero due to (5), we finally obtain the second equation of the system:
The system of equations (5) and (8), taking into account that has been said about , solves the problem. Let’s write it down in its final form
The variables and can be elementary decoupled, then
It is obvious that in this notation, the variables represent the number of stockholder portfolios, and represents the quantity part of the company’s stocks in the -th portfolio. Note that the first terms in both equations (10) are always negative.
It also immediately follows from the second equation (10) that is negative. If we interpret as a quantity proportional to the work required to detach a stock from the portfolio, i.e., to sell it, while keeping the total number of portfolios constant ( is proportional to the stock price before the sale, - after the sale), and use the firts equation (9)
Then , i.e., as expected, and the stock price under the sale should be positive.
In the above calculations, is definitely a dimensionless quantity, proportional, as stated, to the work of attaching/detaching stocks to/from the portfolio, i.e. the price. This value contains a normalization value with the dimension of a certain price. In such combinatorial problems (see, for example, [2, 3]), this normalization is usually referred to as the effective temperature (of total stock market) . In our problem, it again has the price dimension. We will see later that some conclusions can be drawn from the equations obtained to solve our given problem even without determining — by simply indicating what limitations are imposed on it, and these limitations will be also the limitations for the problem being addressed.
Determination of the Most Probable Stock Return over a Limited Time Interval
By definition, the stock return over the time interval from time to time is
where is the stock price at time . In the previous section, we determined that the most probable value , that is the stock price at a given specific moment, i.e., , and therefore . Then
The stock return is a rapidly changed and very often time-varying quantity. According to all modern concepts [5, 6], it is delta-correlated over time. In turn, is obviously related to global stock market processes, i.e. it can be expected to change much more slowly over time. In principle, it is generally possible to define as some effective normalization of the stock price in the market, and put it constant. However, this approach completely ignores the market’s influence on the stock price, which is incorrect.
It is more correct to use the opportunity to define really as some ”effective temperature” of the stock
market, which also has a price dimension. Temporary changes in this ”effective temperature” are most obviously related to temporary fluctuations in the stock market volatility, which is determined for the stock price as
For the entire market, they usually use the volatility value of a specific stock index (for example, ) :
The autocorrelations of both and decrease significantly over a very long period of time typically, that is measured in months [7, 8].
About the value in expression (12), we will need to know only the time interval for determining the stock’s return. If it is limited by the characteristic time of autocorrelation decrease only, we can assume with good accuracy that , and the most probable stock return over the limited time interval will be determined by the expression
Let us now determine the ratio in expression (13), using the results of the previous section.
The graphs showing the dependence of the value on and (directly on ) are presented in Figs. 1 and 2: In reality, for the tremendous majority of stocks of various companies traded on the stock exchange, the relationships and hold (for other situations involving and , see [9]). Expanding the second equation (10) in powers of , we have
In turn, the first equation (10) will give
i.e., in this approximation, we have instead of the first equation (10), since is very small for large and small . Figure 1 shows that the dependence of the value from the number of portfolios almost immediately converges to the approximation (14) already for relatively small . The dependence converges to the approximation (15) when , Figure 2. Thus, the figures indicate that approximations (14) and (15) practically work in all real cases of company stocks trading on the stock exchange.

Figure 1. The dependence of from the total number of portfolios containing the considered stock, in accordance with the second equation (10) – solid curve, uniform scale. Approximation (14) – open rhombs. The inset shows the same for small , double logarithmic scale.

Figure 2. The dependence of on the stock from the part of stocks in one portfolio . The solid curve represents the dependence according to the first equation (10), the open rhombs represent the dependence (15).
Expressions (14) and (15) (and the original equations (10)) differ in meaning. (14) is essentially an algebraic equation. Expression (15) actually contains a random variable — the number of stocks in a certain portfolio, so (15) (and the first equation 10) should be understood primarily as a relationship for some “average” . For our purposes, relationship (14) is sufficient only.
Taking the ratio of the values (14) at time and at time and substituting them into (13), we obtain the desired relationship for the return
Here, is the number of portfolios containing the stocks in question at time . Expression (16) solves the problem for the combinatorial determination of the most probable short term stock return over a (sufficiently short) time interval .
Experimental confirmation of the developed theory is very difficult due to the practically complete impossibility of finding data on the current number of stockholders of a particular company2. Since (16) includes the ratio only, some approximation can be obtained if there exist representative data for — for example, if the broker works with a large number of stock exchange trading participants , and we possess this information. Then the current ratio can, within a certain tolerance, be considered equal to the true current ratio , and
The developed theory can be experimentally verified by determining the correlation coefficient between and . In reality, information about the number of stockholders at a given time spreads with a certain speed, so we can expect that the most probable value of the return will inevitably lag behind . Therefore, it is necessary to calculate the correlation coefficients between and at the time when is determined, as well as over a certain time interval after that moment. If the correlations between the values of and will be sufficiently high (the criterion can be taken as a correlation coefficient greater than 0.5), then the developed method can apparently be used to determine (predict) stock prices in order to make recommendations regarding to buy or sale the stock.
Figure 3 shows the correlation coefficients that were calculated in the period March–April 2026. Quadrats show the correlation coefficient of SBERBANK ordinary stocks one-day experimental return with the one-day (i.e. hours for both, and is yesterday). Rings show correlation coefficient of LUKOIL stocks two-day experimental return with the two-day (i.e. hours, and is the day before yesterday). One can see that there are no correlations on the same day (the correlation coefficient is less than zero). In front of that, they increase sharply within two hours the next morning, i.e. the delay of with respect to is several hours. Thus if , as in our case, was determined in the evening (see Figure 3), then the correlation maximum is realized in the morning of the next day after the opening within an hour.

Figure 3. Correlation coefficients of the one day return of SBERBANK ordinary stocks with the one day value (dark squares connected by solid lines), calculated for the corresponding hour of the day. Correlation coefficients of the two day return of LUKOIL stocks with the two day value (dark circles connected by solid lines), also calculated for the corresponding hour of the day. The value was determined at 18:00 each day, the notation ”nd” indicates the new (next) day.
Thus, for example, if the quantity falls with respect to , a stock market player has time in the evening to buy stocks and, early the next morning, sell them and make a profit.
Final Remarks
We have examined a combinatorial approach to the problem of determining the return of stocks (over a short time interval) and have identified its most probable value. It would seem that the result obtained for a single company is of limited scope, since the calculations did not directly take into account the influence of the entire stock market. However, if we take into account the efficient market hypothesis (see, for example, [6]), all information about the market (not about the considered company itself) has already been processed in the values of and . The speed of such processing has significantly increased over the past 10 years due to the widespread use of corresponding robot brokers for trading, which, unlike human brokers, process arbitrage opportunities almost instantly. Thus, even approximate expressions (14), (15) can be considered instantaneous most probable values, and for limited time intervals, profitability can be determined using formula (16).
The possibilities for forecasting stock prices taking into account (16) are clear — if the current return differs from (16) in one direction or another, the recommendations for buying or selling stocks are obvious: if the current yield determined over a time interval is less than the yield calculated using formula (16), it is advisable to buy the stocks in question. If the opposite is true, then sell. The inevitable delay in the maximum of the correlation coefficient compared to the time when (or ) is determined gives time to make such decisions.
Acknowledgments
The author thanks I.Zhukov and A.Shishov for their great support in the work and for the fruitful discussion of the results.
References
- [1]A.Isihara, Statistical Physics (Academic Press, New York - London, 1971).
- [2]M.Yu.Romanovsky, Statistical properties of many-particle systems with hierarchical structure, Journal of Experimental and Theoretical Physics (JETP) 132, 294 (2021).DOI
- [3]M.Yu.Romanovsky, Most probable distributions and distributions of extremes for particle systems with hierarchical structures, Chaos, Solitons and Fractals. 159, 112170 (2022).DOI
- [4]M.Yu.Romanovsky, The exclusion principle and the evolution of matter in statistics of particles with hierarchical structure, Phys. Usp. 69, 714 (2026)
- [5]M.Yu.Romanovsky, P.V.Vidov, Analytical representation of stock and stock-indexes returns: Non-Gaussian random walks with various jump laws, Physica A 390, 3794 (2011)DOI
- [6]R.N.Mantegna, H.E.Stanley, An Introduction to Econophysics. Correlation and Complexity in Finance, (Cambridge University Press, NY, 1997).
- [7]M.Yu.Romanovsky, Yu.M.Romanovsky, Mathematical Principles of Econophysics [Matematicheskie Printsipy ekonomiki] (Institute of Computer Science, Moscow–Izhevsk 2020) [in Russian].
- [8]Y.Liu, P.Gopikrishnan, P.Cizeau, M.Meyer, C-K.Peng, and H.E.Stanley, Statistical properties of the volatility of price fluctuations. Phys.Rev.E., 60, 1390 (1999).DOI
- [9]M.Yu.Romanovsky, Statistical Physics. Additional Parts [Statisticheskaya fizika. Dopолнitel’nie glavy] (Institute of Computer Science, Moscow–Izhevsk 2026) [in Russian].