Abstract

In this paper, we study the valuation of swing options on electricity in a model where the underlying spot price is set to be the product of a deterministic seasonal pattern and Ornstein-Uhlenbeck process with Markov-modulated parameters. Under this setting, the difficulties of pricing swing options come from the various constraints embedded in contracts, e.g., the total number of rights constraint, the refraction time constraint, the local volume constraint, and the global volume constraint. Here we propose a framework for the valuation of the swing option on the condition that all the above constraints are nontrivial. To be specific, we formulate the pricing problem as an optimal stochastic control problem, which can be solved by the trinomial forest dynamic programming approach. Besides, empirical analysis is carried out on the model. We collect historical data in Nord Pool electricity market, extract the seasonal pattern, calibrate the Ornstein-Uhlenbeck process parameters in each regime, and also get market price of risk. Finally, on the basis of calibration results, a specific numerical example concerning all typical constraints is presented to demonstrate the valuation procedure.

1. Introduction

In the long run, energy liberalisation in electricity markets improves economic benefits, since that it overcomes the overcapacity problem in regulated markets and improves efficiency in the operation of networks and transport services (see [1] for more detail). However, in the short term, it exposes participants to various risks, e.g., price risks and quantity risks, because that electricity energy is hard to store and agents usually can not control their consumption. The emergence of swing options brings participants opportunities to hedge these risks according to [2]. Swings provide the option holder with flexibilities in deciding when to exercise and choosing the trading volume of each exercise, with strike price predetermined. However, these flexibilities usually are limited for the benefit of the option writer. Firstly, the chosen exercise times should be in the range of a series of predetermined days. Secondly, the total number of exercise rights is limited. Thirdly, each time the holder chooses to exercise, they face the upper and lower bounds for the delivery volume. Fourthly, the total amount of delivery volume is limited. Fifthly, the time span between the two consecutive exercises must be longer than the refraction time. All the details of these constraints are presented in [3]. Comparing to vanilla options, all of these above features add complexity to the valuation of swings.

For the valuation of option, we need to model the underling spot price. According to [4], electricity price in real markets usually has three main characteristics, including seasonal pattern, mean-reversion and spikes. We refer the reader to [5] for various models used in electricity market. Among them, jump models and regime-switching models are popular. In particular, if the real data shows that the price remained high for some time after a jump, then regime-switching models are better to depict this phenomenon [6]. For example, different types of regime-switching models were selected in [610]. Besides, various kinds of jump-diffusion models were applied in [1113].

Adopting a specific setting on swings, Carmona and Touzi [14] applied the Snell envelope theory to formulate the pricing of swings as an optimal multiple-stopping problem, which can be reduced to compound single stopping problem. And they analyzed this problem in the Black-Scholes framework and use Monte-Carlo simulation to construct a numerical example. To tackle the optimal multiple-stopping problem in the form of several variational inequalities, finite element method was used by M. Wilhelm and C. Winter [15], and dual method was used in [1618]. Moreover, optimal stopping boundaries associated with swings’ pricing problems were studied in [1921].

Besides, the valuation problem can also be formulated as an optimal stochastic control problem subject to constraints. Facing this problem, many researchers employed the dynamic programming method, which lead to the Bellman’s equation for the value function. And to deal with the conditional expectations in the Bellman’s equation, different kinds of numerical methods were applied; e.g., tree methods were used in [3, 22, 23], Monte-Carlo method was used in [24, 25], and the finite difference method was used in [26, 27]. Besides the dynamic programming method, the method of discretizing the underlying probability space was used in [28] to overcome the difficulty of facing infinitely many cases.

In this paper, to characterize the electricity price, we use a seasonal regime-switching mean-reverting model with states, after adding the mean-reverting characteristic into the model adopted in [22]. The motivation to add this modification comes from empirical researches of [6], in which electricity spot prices have been verified to have three basic features, including seasonal pattern, mean-reversion, and spikes. As for the constraints of option, besides usual ones, we take refraction time constraint and a penalty function of more general form into consideration based on [22]. Under these settings, we formulate the pricing of swings as an optimal stochastic control problem subject to several constraints, including the refraction time, the local volume, and the global volume. Then a trinomial forest dynamic programming approach is adopted, and more applications of this approach can be found in [3, 22, 23], etc. Finally, based on the daily average data in Nord Pool, we calibrate the model with two regimes and construct a concrete example concerning all nontrivial constraints and a penalty function of general form.

The structure of this paper is as follows. Section 2 introduces the model for the underlying electricity price and characterizes the swing option. Section 3 presents the procedure of valuing swing options with the trinomial forest dynamic programming approach. Section 4 concentrates on the empirical calibration and finding the market price of risk when the number of regime is two. Section 5 gives a numerical example based on the results in Section 4 for the valuation of the swing option with all nontrivial constrains. Section 6 concludes the paper.

2. Electricity Price Model and Characteristics of Swing Options

2.1. Characteristics of Electricity Spot Prices

Our modelling is based on the electricity spot price data of the day-ahead market in Nord Pool, and we focus on the stochastic component of the deseasonalized prices. Firstly, the stochastic component has the mean-reverting feature captured by Lucia and Schwartz [29], which shows that the electricity prices tend to revert to the mean value over time. Secondly, the time series of electricity prices show spikes, which can sometimes be depicted by jump models or regime-switching models (see [30]). All these two characteristics of the deseasonalized prices are the basis of modelling in this paper.

2.2. Models for Electricity Spot Prices

Throughout this paper, for a fixed maturity , we work on a probability space , where is the natural filtration generated by Brownian Motion in physical measure and an independent observable continuous-time Markov chain . Assume that takes values in a finite state space and is generated by , where for , and for each . The transitional probability is given byfor a small time interval . Besides, we denote by the probability of being in state at the initial time , i.e.,

We start our modelling for the spot price from the one-factor model used in [29], which captures seasonal and mean-reversion feature. The model isIn (3), the logarithm of the electricity price is divided into two parts, one of which is the seasonal part , and the other is the deseasonalized part . Equation (4) describes the dynamic of the deseasonalized part by Vasicek model, where the long-term mean is set to be zero, and the speed of reversion together with instantaneous volatility is denoted by and respectively, both of which are positive constants.

In this paper, our model isIn (5), the modification is based on the fact that the electricity price can be negative (see [5]). And in (6), to capture the feature that electricity price show spikes, we replace (4) with a -state regime-switching mean-reverting model, which was proposed in [8, 10]. Specifically, , , and represent the speed of adjustment, the long-term mean level and the volatility, respectively. Note that, for simplicity, we denote .

2.3. Swings and Pricing Problem

In this subsection, we introduce the settings on swing options and formulate the corresponding pricing problem. To begin with, we introduce mathematical notations and use them to sketch the details of a swing option from the holder’s view.

Given a time interval , points are selected from it to be the possible exercise times, which offer opportunities for the holder to exercise the swing option. We denote these days by , where . Let , and for simplicity we set to be equal, i.e., for . For convenience, we use instead of to be the subscript of all variables in this paper.

At time , the holder has one right to trade volume(s) of electricity with the strike price , where usually is limited. We define which denote the number of rights used and the total volume delivered respectively up to . In particularly, we let and , which means that the swing option has not been exercised before time .

Now we can introduce the main constraints in the contract of the swing option. In general, there are four kinds as follows:(1)Total number of rights constraint. The total number of rights for holder to exercise is limited to , and it should be less than or equal to the number of possible exercise days, i.e., .(2)Refraction time constraint. Right after exercising, the holder should wait for at least the time period (we call it refraction time) to exercise another right again. Here, we assume that , where is some predetermined positive integer.(3)Local volume constraint. For , the delivery volume , where .(4)Global volume constraint. Once the holder’s total delivery volume is beyond the global volume constraint ( and ), she will be penalized. And we adopt the general type penalty function introduced in [3], which is defined as

where and are positive constants.

In this paper, we consider the valuation problem of the swing option with model (5) and (6) under all the above constraints, e.g., the total number of rights constraint, the refraction time constraint, the local volume constraint, and the global volume constraint. Now we formulate the pricing problem. Firstly, we introduce the strategy of exercising swing option in Definition 1.

Definition 1. The sequence is defined as a strategy if it is -adapted and satisfies the following conditions: (1), .(2)If , then , .(3), where , . Moreover, the set of all admissible strategies is called admissible set and is denoted by .

Secondly, we define the value function in Definition 2, which is widely used in stochastic control theory.

Definition 2. Given the risk-neutral probability measure , at time , the value of swing option with right(s) used and volume(s) totally delivered is given bywhere , , , , represents the risk-free rate, and .

It is pointed out that our final goal is to solve this primal optimal stochastic control problem; that is, we need to find and the optimal strategy . Note that if we delete the local constraint and global constraint and set , then this problem is pricing a Bermuda option. In addition, if we set , then it becomes the problem of pricing a strip of European options, and the differences of these European option are only embodied in expiry times and strike prices.

We deal with the primal optimal stochastic control problem via the method of backward induction as follows:

(i) If for , then(ii) If for , then(iii) If for , then (iv) If for , thenwhere With (10)-(13), we can adopt tree method to fulfill our goal of pricing. Therefore, our next step is to build trinomial tree for .

3. Valuation of Swing Options in Trinomial Forest

Since that the trinomial forest method for pricing strong path-depend options is simple and fast even when the number of regime state is large (see [31]), we adopt it to calculate the conditional expectation in inductive equations. Note that in (10)-(13), expectations are taken under risk-neutral measure . Therefore, we start from finding the risk-neutral measures in each regime. Letwhere is an unknown constant, which can be calibrated on market data. By Girsanov Theorem, we know that is Brownian Motion under the risk-neutral measure , which satisfies Then we can rewrite SDE (6) as with and .

3.1. Tree-Building Procedure for Deseasonalized Prices

In order to build a tree for based on the SDE (17), we discretize the time and the space. Given time interval , we select a time sequence with equal step . Similarly, we let the space size be positive constant . Both and are to be chosen later.

For each node in the tree, we need to know the value and regime state of this node. Hence, we introduce the pair , , to convey the necessary information on all of the nodes in the tree.

We now show the tree construction, which is initially designed by Liu [32]. For the node with , we consider how it evolves in the next time. Firstly, the Markov chain evolves from to basing on the transitional probability defined in (1). Secondly, may take three values denoted by , , and , where the superscripts , , and are short for "top", "middle", and "bottom". Hence, there are three branches emanating from . Besides, Liu [32] designed three structures of the branches, and in different structures , , and are also different. Choosing which structure depends on the comparison result between and the two threshold values and as follows:

Structure(a): If , then the possible values of in regime are up to ,remaining at , and down to ;

Structure(b): If , then the possible values of in regime are up to , up to , and remaining at ;

Structure(c): If , then the possible values of in regime are remaining at , down to , and down to .

Here depending on current state is constant to be chosen later. And are defined aswhere the parameters are as before. It is emphasized that and change with the state of regime . More details on this mechanism of the tree designing can be found in [32].

In different structures, we introduce the notations , and , which denote the conditional probabilities transforming from node to the nodes , , and , respectively. We can calculate them by matching the mean and the variance derived from tree with their counterpart derived from SDE (6). The explicit formula for , and in different structures is as follows, and for simplicity we write .

Structure (a)

Structure (b)

Structure (c)where . To keep these probabilities positive, it is required that the parameters satisfy the following inequalities:

3.2. The Valuation Formula of the Swing Option in Trinomial Forest

Note that and are two partitions of , but for simplicity, we let for and assume that , and satisfies (22) and (23).

Now we can write the recursive value functions with the trinomial tree model for as follows:

(i) If for , then(ii) If for , then(iii) If for , then (iv) If for , then where

We need to explain in (26), in (27), and in (27). Note that is a special case of ; hence we firstly consider . When , we define , which is known at time . When , we define as follows:

(i) if , then (ii) if , then (iii) if , then Secondly, we explain as follows:

(i) if , then (ii) if , then (iii) if , then

In Figure 4, we illustrate the pricing procedure depicted by formulas (24)-(27).

4. Empirical Calibration and the Market Price of Risk

Before implementing numerical examples of pricing swing options with the above trinomial forest approach, we do calibration for model (5) and (6). Our dataset covers the period from to ; therefore in this section, we let , where denotes , denotes , and the time step denotes one day. We set the states of the regime to be , and what we need to calibrate are and . After getting calibration results, we compare the forecasting and actual data. In addition, we also estimate the market price of risk.

4.1. Empirical Calibration

In this subsection we carry out calibration. Firstly, we obtain the system daily average electricity price in Nord Pool market from the Bloomberg service, which is presented in Figure 1. Then we deal with the seasonal pattern by using the moving average and least squares fit techniques (see [4] for more details). We assume that has the weekly part together with the annually part and that . Then we apply moving average technique to ; that is, we let for . And the annual cycle can be estimated with the sinusoidal form via least squares fit. The results of and are presented in Table 1 and (35), respectively.

After removing the seasonal part , we focus on the estimation of for . To obtain , we discretize (6) to have thatwhere . Then by employing Expectation-Maximization (EM) algorithm (see [3335]), we conduct estimation. And values of are shown in Table 2.

4.2. Assessment of Forecasts

In this part, we assess the predicted yields by calculating the differences between the one-step ahead forecasts and the actual data, as conducted in [36]. In particular, we choose to use the mean square error (MSE), the mean absolute Error (MAE), the mean absolute percent error (MAPE) and the median relative absolute percentage error (MdAPE) as indicators. Firstly, the one-step ahead predicted are calculated by With the calibrated parameters in Tables 1 and 2 and (35), we can calculate MSE, MAE, MAPE, and MdAPE, and results of these errors are presented in Table 3. Moreover, the actual data and the one-step ahead forecast are plotted in Figure 2, and we find that curves of them are very close to each other.

4.3. The Market Price of Risk

Note that the fair price of the swing option in Definition 2 is the discounted expected future payoff under a martingale measure . In order to find , we apply the risk premium approach proposed in [37, 38]. Define the risk premium aswhere is the expectation under the physical measure and is the price of future contract at present time with the delivery time . With an equation connecting the risk premium and the market price of risk emerging in (15), we can get an estimation of . All the calculation details are presented in Appendix A. Here we just show the result

5. Numerical Example: All Constraints Are Nontrivial

In this section, with all the results obtained in Section 4, we implement numerical examples in the case that all constrains are nontrivial.

The settings on swing option are as follows. The holding period is , where represents the date and represents . Set ( days), which implies that , , , and representing , , , and , respectively. The refraction time () is days, i.e., . The corresponding strike prices are chosen to be euros. The possible delivery volume(s) each time are MWh, MWh, or MWh, respectively. The total number of rights is set to be . As for the penalty function, we adopt a specific form of function (8) as

For the tree-building part, we set , , and and use the information of Table 2. Firstly, by the method introduced in Section 3.1, we build a tree for , which is presented in Figure 3(a). Secondly, we calculate the values of at possible exercise days, which are approximately equal to , , , and , respectively. Thirdly, we use the relationshipto get a trinomial tree for , which is shown in Figure 3(b).

Besides, we set . Under all these above settings and with the information listed in Table 2, we carry out a numerical example. The results are as follows.

Firstly, we present the values of the swing option under different cases. To be specific, we present the case where the swing option has been used all its rights ( rights) in Table 4, the case where the swing option has been used right in Table 5 and the case where the swing option has not been used any right in Table 6. Secondly, we see from Table 6 the values of the swing option at time in two regimes, respectively, which are under state and under state . Thirdly, we show details of calculating the bolded numbers in these tables. In Table 4, In Table 5, In Table 6, where sequences , , , , , and are presented in Appendix B.

6. Conclusions

Under the settings that the underlying asset follows a seasonal mean-reverting regime-switching model with regimes and that some typical constraints are nontrivial, we have proposed a trinomial forest framework for the valuation of the swing option, which is a multiple-layer tree extension of the traditional trinomial tree approach. It is known that tree approach is based on the risk-neutral pricing theory. Thus we have introduced the risk premium to transform the physical measure into the risk-neutral one. Then the problem of pricing swing options has been stated as an optimal stochastic control problem, where complex constraints on options are inherited by admissible control. In light of stochastic control theory, we have figured out that finding the option price is equivalent to obtaining the associated value function, which satisfies a Bellman equation. On the basis of the above work, we have succeeded in stating pricing formula for swing options via backward induction.

To show the details of pricing, we have conducted a numerical example based on the calibration results. Comparing to previous work, in our example we have added the refraction time constraint and a more general form global constraint to make the valuation more complicated but closer to the real trading of swing options. This example has also shown that the trinomial forest method does work when both the underlying asset process and the constraints embedded in swing contract are complex.

Appendix

A. Details of Finding the Market Price of Risk

From Table 2, we see that the estimated value of is . And we know that from Figure 3. Set to be the day . Now we try to find the market price of risk .

With the factwe can calculate where .

Similar to [38], we assume thatThen with the factwe find that (A.3) becomes

By substitute (A.2) and (A.5) into the expression of the risk premium defined in (38), we get an equation connecting and , which is given by According to [38], we should rewrite (38) and (A.6) in discrete time scale to definewhere and represents the futures delivery period.

Finally, with the data listed in Table 7, we find by the least square estimation.

B. Value of Sequences -

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This work was supported by the Fundamental Research Funds for the Central Universities (nos. JBK1803014, JBK170940, and JBK151126) and Applied Basic Research Programs of Sichuan Province Science and Technology Department (2016JY0133).