Abstract

The aims of this paper are to use a birandom variable to denote the stock return selected by some recurring technical patterns and to study the effect of exit strategy on optimal portfolio selection with birandom returns. Firstly, we propose a new method to estimate the stock return and use birandom distribution to denote the final stock return which can reflect the features of technical patterns and investors' heterogeneity simultaneously; secondly, we build a birandom safety-first model and design a hybrid intelligent algorithm to help investors make decisions; finally, we innovatively study the effect of exit strategy on the given birandom safety-first model. The results indicate that (1) the exit strategy affects the proportion of portfolio, (2) the performance of taking the exit strategy is better than when the exit strategy is not taken, if the stop-loss point and the stop-profit point are appropriately set, and (3) the investor using the exit strategy become conservative.

1. Introduction

During decades of development of Chinese stock market, plentiful practice has proved that some technical patterns occur repeatedly in stock market. Stocks with some technical patterns are much more likely to profit than those with other technical patterns. Douglas [1] pointed out that investors should distinguish the recurring technical patterns, summarize the laws, and use them to choose stocks, which can greatly improve the performance of profit. If investors can consider the features of technical patterns and investors’ heterogeneity in estimating the stock return, then they can not only enhance the accuracy of estimation but also make it conform to the actual decision-making process of investors more. So a natural question is how to reflect the features of these technical patterns and investors’ heterogeneity in the stock return? To the best of our knowledge, there has been no literature in this respect. In this paper, we try to answer this question for the first time.

Estimating the stock return has always been one of the theoretical hot issues, and much progress has been made in this area. The stock return was assumed to follow the normal distribution [2], which had been verified not to coincide with the facts by a great deal of afterward researches. In order to describe the stock return better, the Logistic distribution [3], Student- distribution [4], and stable Paretian distribution [5] were put forward. Later, fuzzy random distribution [6] and random fuzzy distribution [7] were used separately via combining randomness with fuzziness. In [8, 9], the stock return was assumed to follow birandom distribution. All of the above distributions have certain theoretical meaning, but there are two limitations: one is that they do not consider the stock’s technical patterns, thus hiding the particularity of technical patterns, and the other is that investors’ heterogeneity cannot be reflected from the above distributions. In this paper, we propose a method to estimate the stock return and the stock return gained finally can be indicated with a birandom variable and thus solving the above two limitations well.

After the stock return being determined, it is important to choose a portfolio model to help investors make decisions. Roy [10] proposed the safety-first model. The main point was investors would try to make the probability of a disaster smallest when allocating asset. Pyle and Turnovsky [11] summarized the three forms of the safety-first rule. A safety-first chance constrained model [12] was proposed by combining the safety-first rule with chance constraint. Based on the safety-first rule, a birandom chance constrained model [8] and a birandom expected value model [9] were put forward when the stock return follows birandom distribution. However, the model in [8] just takes the budget constraint into consideration without considering the effect of a disaster. The model in [9] uses the expected value to describe the profit, but the expected value model is only applied to risk neutral investors not to risk aversion and risk loving ones. In this paper, a birandom safety-first model is acquired by combining the two models in [8, 9]. In fact, the new model not only considers the effect of disaster, but also can apply to all investors through parameters adjustment.

As we all know, there are two important parts in investment process: how to buy and how to sell. The theory of portfolio selection is widely used to help us decide the proportion of portfolio, which to solve the problem of how to buy. However, to the best of our knowledge, there is no research on the effect of selling strategy on portfolio selection. Exit strategy proposed in behavioral finance has been proved to be an effective selling strategy, and we try to study the effect of exit strategy on birandom portfolio selection in this paper.

The rest of the paper is organized as follows: in Section 2, we illustrate how to describe the stock return using a birandom variable. In Section 3, we propose a birandom safety-first model, a hybrid intelligent algorithm, and a numerical example. In Section 4, we study the effect of exit strategy on birandom portfolio selection. Finally, in Section 5, we draw the conclusion.

2. Estimate the Stock Return

In the following paragraphs, firstly we will introduce the birandom theory, secondly show how to describe the stock return using a birandom variable, and finally give a numerical example.

2.1. Birandom Theory

Definition 1 (Jin and Bao-Ding [13]). A birandom variable is a mapping from a probability space to a collective of random variables such that for any subsets of the real line , the induced function is a measure function with respect to .

Example 2. Let , and , . Assume that is a function on as follows: where and are random variables. Then is a birandom variable according to Definition 1. In Example 2, represents stock, represents stock rising, represents stock falling, and represent the probabilities of stock rising and falling, respectively, and represents profit distribution, represents loss distribution.

Definition 3 (Jin and Bao-Ding [13]). Let be a birandom vector on and be a vector-valued measurable function. Then the primitive chance of birandom event characterized by is a function from (0,1] to , defined as

2.2. Method to Estimate the Stock Return

Assuming that an investor selects stock in accordance with technical pattern , a new method is proposed to estimate the return distribution of stock . The specific steps are listed as follows.

Step 1. Calculate the probabilities of stock rising and falling after the appearance of technical pattern . The method is to select representative stocks and inspect the occurrence number of technical pattern of the stocks during a certain period, and then figure out the numbers of price rising and falling separately. When the sample size is large enough, it is reasonable to substitute the frequencies of stock rising and falling for the probabilities of stock rising and falling. Through the comparison of probabilities, the technical patterns can be divided into three types where the probability of rising is larger than, equal to, and smaller than the probability of falling. What we care for is the first type, and it is named as the advanced technical pattern.

Step 2. Because stock has the features of technical pattern , we substitute its probabilities of rising and falling by the corresponding probabilities in Step 1. Thus , in Example 2 are obtained.

Step 3. When stock rises, we estimate the profit distribution of stock . When stock falls, we estimate the loss distribution of stock . Thus and in Example 2 are obtained. Here the following two things should be emphasize.(1) and can be obtained from the investors’ experience, the stock historical data, and the existing stock forecast methods. In this paper, we assume that and are random variables.(2) Different investors have different opinions and judgments on the stock market; therefore, different assumptions of and can demonstrate the heterogeneity of investors.
From the above, the stock return is quantified by the birandom variable in Example 2. Among them, the formulas , demonstrate the features of technical patterns and the distributions of and reflect the investors’ heterogeneity.

2.3. A Numerical Example

Because stock follows the birandom distribution in Example 2, we can calculate , , , and in the following steps.

Step 1 (calculate and ). Suppose that we select fifty representative stocks and the appearance numbers of technical pattern of the fifty stocks are equal to one hundred during the last year. If price goes up 60 times and down 40 times, then the probabilities of stock rising and falling are equal to 0.6 and 0.4, respectively, so and .

Step 2 (the determination of and ). After selecting stock based on technical pattern , the investor concludes, by various analytical methods such as fundamental analysis and technical analysis, that the profit of stock should be distributed uniformly in the interval . Therefore, the profit distribution can be assumed to follow the uniform distribution . Similarly, we can also assume that the loss distribution follows the uniform distribution .

Remark 4. The detailed statistic process in Step 1 is not included in the paper.

Remark 5. and can be arbitrary random variable and different distributions of and have no effect on the validity of the model and the algorithm given in the following paragraphs. Here, the assumption of uniform distribution is to simplify calculation.

Now we get the distribution of stock . The distribution is given by the following.

Example 6. ( represents stock , represents stock rising, and represents stock falling), and , , where follows and follows .

3. Birandom Safety-First Model

3.1. Assumptions of the Birandom Safety-First Model

The investor selects stocks based on kinds of technical patterns. Let and denote the th stock and the investment proportion of the th stock, , respectively. And the return of stock follows the birandom distribution in Example 2. Stocks can be infinite subdivision. the market does not allow shorting and there is no limitation on the transaction cost.

3.2. Measures of the Profit and Risk

In this paper, the chance that return of total asset (RTA) is no less than some value is used to measure the profit which is given by

The chance that RTA is no less than a disaster level is regarded to measure the risk which is given by

3.3. Birandom Safety-First Model

Using the measures of the profit and risk given above, the birandom safety-first model is given by where represents the profit, represents the disaster level, and represent the investor’s tolerance, and is the lower bound of the chance that RTA is not less than some disaster level when the tolerance is .

The economic meanings of model (6) are listed as follows.(1) The constraint condition means that the capital cannot exceed the budget.(2) The constraint condition means that the market does not allow shorting.

Remark 7. Model (6) can be used for all investors as long as choosing the right parameters ,  ,  ,  ,  .

Remark 8. When the values of and are fixed, the value of is in inverse ratio with the risk tolerance ability. (Proof is described in the appendix.)

Remark 9. In the case that the return distribution of stock is a random variable, model (6) is reduced to the special one:

3.4. Hybrid Intelligent Algorithm

Because of the uncertainty of birandom variable, it is hard to analytically solve model (6). To provide a general solution to model (6), we design a hybrid intelligent algorithm integrating genetic algorithm (GA) and birandom simulation.

3.4.1. Birandom Simulation

The technique of birandom simulation is applied to compute (4) and (5). The specific steps are listed as follows.

Algorithm 10 (birandom simulation for (4)).

Step 1. Generate from according to the probability measure .

Step2. Compute the probability for , respectively, by stochastic simulation.

Step 3. Set as the integer part of .

Step 4. Return the th largest element in ().

Step 5. is the value of (4).

Algorithm 11 (birandom simulation for (5)).

Step 1. Set .

Step 2. Generate from according to the probability measure .

Step 3. Compute the probability for , respectively, by stochastic simulation.

Step 4. Set as the integer part of .

Step 5. Return the th largest element in ().

Step 6. If is larger than , then , else .

Step 7. If , then return Yes, else return No. Here, Yes means the investment proportion satisfies (5), and No means that does not satisfy (5).

3.4.2. Genetic Algorithm

The specific steps of genetic algorithm are described in [8].

3.4.3. Hybrid Intelligent Algorithm

Step 1. Initialize chromosomes.

Step 2. Calculate the values of (4) for all chromosomes by birandom simulation.

Step 3. Give the rank order of the chromosomes according to the values of (4), and define the rank-based evaluation function of the chromosomes.

Step 4. Compute the value of each chromosome according to the rank-based evaluation function.

Step 5. Select the chromosomes by spinning the roulette wheel.

Step 6. Update the chromosomes by crossover and mutation operations.

Step 7. Repeat the second step to the sixth step for a given number of cycles.

Step 8. Take the best chromosome as the solution of portfolio selection.

3.5. A Numerical Example

According to in Section 3.1, an investor picks three stocks based on three kinds of technical patterns (the probability of rising is larger than, equal to, and smaller than the probability of falling). The stock return follows birandom distribution and the corresponding parameters of each stock are shown in Table 1. Besides, the investor takes , , , , and .

Remark 12. In Table 1, , , , represent the probability of stock rising, the probability of falling, profit distribution, and loss distribution of stock , respectively.
So model (6) that satisfies the above investment goals is given by
In order to compare model (6) with the models in [8, 9], the models in [8, 9] are listed as below:

The parameters of the hybrid intelligent algorithm are taken as , the crossover probability = 0.3, the mutation probability = 0.5, the evaluate function based on the order , and the number of cycles is equal to 1000. After repeating the hybrid intelligent algorithm 10 times and taking the average value of the results, the optimal solutions of models (9)–(11) are shown in Table 2.

From result 1 in Table 2, it can be seen that model (10) and the hybrid intelligent algorithm are of great applicability, even if stock has the advanced technical pattern, not all investors will buy it using their total asset. Some investors prefer to buy the high-risk and high-interest stock.

From result 2 in Table 2, it can be seen that the proportion of stock is very large. This is because model (11) uses the expected value to measure the profit and stock has the largest expected value, so the investor will select stock as many as possible, while the constraints are met. However, model (11) is only suitable for risk-neutral investors, so it is restricted in real application.

From result 3 in Table 2, it can be seen that the objective function value of model (12) is larger than it of model (10). This is because model (12) does not consider the risk, so consequently, model (12) has a larger solution space than model (10). Despite achieving the high yield, model (12) is unpractical in application because it ignores the risk.

Through the comparisons of models (10)–(12), it can be concluded that model (10) is more practical than model (11) and model (12), because model (10) not only considers the effect of disaster, but also can apply to all investors through parameters adjustment.

4. The Effect of Exit Strategy on the Optimal Portfolio Selection

Exit strategy is a selling strategy including the stop-loss strategy and the stop-profit strategy. If an investor sets the stop-profit point and the stop-loss point for each stock, he will sell the stocks when the stocks’ actual profit exceeds or the actual loss exceeds . Now we want to ask whether result 1 in Table 2 is still available if the investor set and for each stock.

we know that in the simulation process of result 1, the stock return of each stock can be any sample point following corresponding birandom distribution. However, in practice, the cases that actual stock return is over 4% or below −5% will not occur due to the setting of the stop-loss point and the stop-profit point. Thus the calculation of result 1 is inconsistent with the investor’s decision-making process. In other words, result 1 cannot reach the investor’ objective in theory, which causes the failure of model (10).

In order to solve the above conflict, we should adjust the stock return based on the stop-loss point and the stop-profit point. Considering the assumptions of model (10), we revise the calculation in the following ways.

Step 1. The investor should adjust the stock return according to the stop-profit point and the stop-loss point. Adjustment method is to take the stop-profit point as stock return when stock return exceeds the stop-profit point and to take the stop-loss point as stock return when stock return is less than the stop-loss point. Take stock in Table 1 as an example, if an investor set the stop-profit point as 4% and the stop-loss points as −5%, the part exceeding 4% in is treated as 4% and the part below −5% in is considered as −5%.

Step 2. Because of the adjustment of the stock return, we also should modify the steps of birandom simulation. The adjustment method is that if the sample point exceeds the stop-profit point or is less than the stop-loss point, we take the stop-profit point or the stop-loss point as the sample point. The rest of the steps of the hybrid intelligent algorithm remain unchanged. Take stock in Table 1 as an example. when samples are selected from , the part which is more than 4% is looked upon as 4% and when samples are selected from , the part which is below −5% is considered as −5%.
Through the above adjustment, the calculated value can reach the investor’s goal in theory. The revised result of model (10) is

It can be seen from result (13) that(1) because the objective function value in result (13) is larger than it in result 1, the performance of taking the exit strategy is better than when the exit strategy is not taken, if the stop-loss point is equal to −5% and the stop-profit point is equal to 4%;(2) the exit strategy affects the buying strategy and the investor should adjust the stock return according to the stop-loss point and the stop-profit point, otherwise the portfolio model will become invalid;(3) the investor using exit strategy become conservative. This is because he is concerned with the accumulated probability of stock price exceeding the stop-profit point not the higher stock return any more.

5. Conclusion

In this paper we propose a new method to estimate the stock return and use a birandom variable to denote the final stock return which can reflect the features of technology forms and investors’ heterogeneity simultaneously. Besides, we build a birandom safety-first model and design a hybrid intelligent algorithm to help investors make a decision. Moreover, we innovatively study the effect of exit strategy on the given birandom safety-first model. The results indicate that the performance of taking the exit strategy is better than when the exit strategy is not taken, if the stop-loss point and the stop-profit point are appropriately set.

Appendix

Proof of Remark 8

Let represent the solution space which satisfies

Let represent the solution space which satisfies and .

For any . If satisfies

then we can obtain that also satisfies

So if satisfies

then we can obtain satisfies

Since (A.6) is equivalent to (A.2), so . Hence, . That is to say, the value of is in inverse ratio with the range of solution space.

Since when the range of solution space is enlarged, an investor has a larger decision range, which means he/she can try some investments that others dare not try, so the risk tolerance ability is increased vice versa.

So the range of solution space is in direct ratio to risk tolerance ability; therefore, the value of is in inverse ratio with risk tolerance ability.