Merton investment problems in finance and insurance for the Hawkes-Based models
Abstract
EconStor is a publication server for scholarly economic literature, provided as a non-commercial public service by the ZBW.
Full text
Sviščuk, Anatolij Article Merton investment problems in finance and insurance for the Hawkes-Based models Risks Provided in Cooperation with: MDPI – Multidisciplinary Digital Publishing Institute, Basel Suggested Citation: Sviščuk, Anatolij (2021) : Merton investment problems in finance and insurance for the Hawkes-Based models, Risks, ISSN 2227-9091, MDPI, Basel, Vol. 9, Iss. 6, pp. 1-13, https://doi.org/10.3390/risks9060108 This Version is available at: https://hdl.handle.net/10419/258196 Standard-Nutzungsbedingungen: Die Dokumente auf EconStor dürfen zu eigenen wissenschaftlichen Zwecken und zum Privatgebrauch gespeichert und kopiert werden. Sie dürfen die Dokumente nicht für öffentliche oder kommerzielle Zwecke vervielfältigen, öffentlich ausstellen, öffentlich zugänglich machen, vertreiben oder anderweitig nutzen. Sofern die Verfasser die Dokumente unter Open-Content-Lizenzen (insbesondere CC-Lizenzen) zur Verfügung gestellt haben sollten, gelten abweichend von diesen Nutzungsbedingungen die in der dort genannten Lizenz gewährten Nutzungsrechte. Terms of use: Documents in EconStor may be saved and copied for your personal and scholarly purposes. You are not to copy documents for public or commercial purposes, to exhibit the documents publicly, to make them publicly available on the internet, or to distribute or otherwise use the documents in public. If the documents have been made available under an Open Content Licence (especially Creative Commons Licences), you may exercise further usage rights as specified in the indicated licence. https://creativecommons.org/licenses/by/4.0/
risks Article Merton Investment Problems in Finance and Insurance for the Hawkes-Based Models Anatoliy Swishchuk Citation: Swishchuk, Anatoliy. 2021. Merton Investment Problems in Finance and Insurance for the Hawkes-Based Models. Risks 9: 108. https://doi.org/10.3390/risks9060108 Academic Editor: Mogens Steffensen Received: 6 May 2021 Accepted: 26 May 2021 Published: 3 June 2021 Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations. Copyright: © 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https:// creativecommons.org/licenses/by/ 4.0/). Department of Mathematics & Statistics, University of Calgary, Calgary, AB T2N 1N4, Canada; [email protected]; Tel.: +1-(403)-220-3274 Abstract: We show how to solve Merton optimal investment stochastic control problem for Hawkesbased models in finance and insurance (Propositions 1 and 2), i.e., for a wealth portfolio X(t) consisting of a bond and a stock price described by general compound Hawkes process (GCHP), and for a capital R(t) (risk process) of an insurance company with the amount of claims described by the risk model based on GCHP. The main approach in both cases is to use functional central limit theorem for the GCHP to approximate it with a diffusion process. Then we construct and solve Hamilton–Jacobi–Bellman (HJB) equation for the expected utility function. The novelty of the results consists of the new Hawkes-based models and in the new optimal investment results in finance and insurance for those models. Keywords: Merton investment problem; optimal control; Hawkes process; general compound Hawkes process; LLN and FCLT; risk process; HJB equations; optimal investment in finance; optimal investment in insurance; diffusion approximation 1. Introduction Merton optimal investment and consumption stochastic problem is one of the most studied classical problem in finance (Merton 1969,1971,1990;Bjork 2009;Karatzas and Shreve 1998). In this paper, we will show how to solve the Merton optimal investment stochastic control problem for Hawkes-based models in finance and insurance, i.e., for a wealth portfolio X(t) consisting of a bond and a stock price described by general compound Hawkes process (GCHP) (Swishchuk 2020;Swishchuk and Huffman 2020;Swishchuk 2017b), and for a capital R(t) of an insurance company with the amount of claims described by risk model based on GCHP (Swishchuk 2018;Swishchuk et al. 2020). Namely, we will show how to solve the following two portfolio investment problems. (1) Merton portfolio optimization problem in finance (Merton 1969;1971) aims to find the optimal investment strategy for the investor with those two objects of investment, namely risk-less asset (e.g., investment grade government bonds)), with a fixed rate of interest r , and a number of risky assets (e.g., stocks) whose price GCHP. In this way, in our case, we suppose that Btand Stfollows the following dynamics, respectively: Bt=B0exp{rt} St=S0exp{G(t)}, where G(t):=∑N(t) i=1a(Xi) is the GCHP, Xi is a discrete-time Markov chain (MC) with finite or infinite states, r> 0 is the interest rate, and a(x) is a continuous and finite function on X . We note, that the justification of using HP in finance may be found in (Da Fonseca and Zaatour 2013), and using GCHP that based on HP N(t) and a(Xi) may be found in (Swishchuk and He 2019;Swishchuk and Huffman 2020). The model for a stock price S(t) that based on GCHP is a new and original in this paper. The investor starts with an initial amount of money, say X0=x , and wishes to decide how much money to invest in risky and risk-less assets to maximize the final wealth Xtat the maturity T; Risks 2021,9, 108. https://doi.org/10.3390/risks9060108 https://www.mdpi.com/journal/risks
Risks 2021,9, 108 2 of 13 (2) Merton portfolio optimization problem in insurance aims to find an optimal investment for the capital R(t) of an insurance company at time t ( R(t) is actually the risk model based on general compound Hawkes process (GCHP) (Swishchuk 2018;Swishchuk et al. 2020), when an investor decides to invest some capital A(t) in risky assets (e.g., stocks) and the rest, ( R(t)−A(t)) in risk-free assets (e.g., bonds or bank account). We note, that the risk model R(t), based on GCHP, has the following representation: R(t) = u+ct − N(t) ∑ i=1 a(Xi). Here R( 0 ) = u is an insurance company’s initial capital, c> 0 is the premium rate, N(t) is the Hawkes process, Xi is a discrete-time finite or infinite state Markov chain with state space X={ 1, 2, 3, ..., N} or X={ 1, 2, ..., N , ... } ,, respectively, and a(x) is a continuous and finite function on X . We note, that the justification for the Hawkes-based risk model in the form of the above equation may be found in (Swishchuk et al. 2020). The investor starts with an initial capital, say R( 0 ) = u , and wishes to decide how much money to invest in risky and risk-less assets to maximize the capital R(t). We solve both problems using diffusion approximation for GCHP G(t):=∑N(t) i=1a(Xi) (see Sections 4and 5). We note, that it is not a simplification of the initial models: the resulting models contain all the parameters of the initial models, including the parameters of Hawkes process. Furthermore, significance and insights of the results are discussed in Remark 6 and Remark 7 (Some Insights into the Results). In this case both problems can be solved explicitly. However, we cannot say this if we would like to dal with initial models and going without diffusion approximation (see Section 6. Discussion). We believe that these two problems for those two different models in finance and insurance are considered in the literature for the first time, because none of author’s 9 papers in the References contain similar or even close results. The novelties of the paper are the following ones: (1) we consider a new model for the stock price S(t) in the form St=S0exp{G(t)} , where G(t):=∑N(t) i=1a(Xi) is the GCHP; we call it Hawkes-based model for the stock price (or geometric general compound Hawkes process, similar to geometric Brownian motion); (2) solution of Merton investment problem for this Hawkes-based model; (3) solution of Merton investment problem for the Hawkes-based risk model. The structure of the paper is the following one. Literature review is presented in Section 2 . Section 3is devoted to the definitions and properties of Hawkes process and general compound Hawkes processes, and LLN (Law of Large Numbers) and FCLT (Functional Central Limit Theorem) for them. Section 4deals with Merton investment problem in finance for the stock price described by GCHP, and Section 5deals with Merton investment problem in insurance for the risk model based on GCHP. Section 6contains some discussions and describes the future work, and Section 7concludes the paper. 2. Literature Review The Merton optimal investment and consumption stochastic problem in finance was first considered in the seminal papers of Merton, (Merton 1969,1971). General description of the problem and coverage of most today’s problems and methods may be found in ( Fleming and Rishel 1975;Fleming and Soner 1993;Bjork 2009;Merton 1990;Karatzas and Shreve 1998). The first papers on stochastic optimal control in insurance appeared relatively recently, e.g., we would like to mention the papers written by (Martin-Löf 1994;Brockett and Xia 1995;Browne 1995), to name a few. Since then many papers and books were written on this topic including (Asmussen and Taksar 1997;Højgaard and Taksar 1999;Schmidli 2008). Financial control methods applied in insurance, such as, e.g., in the management and the control of the specific risk insurance companies, are described in (Hipp 2004). The paper (Dufresne and Gerber 1991) considered a model in risk theory based on the
Risks 2021,9, 108 3 of 13 compound Poisson process perturbed by diffusion. The paper (Grandits 2003) studied the Cramer-Lundberg approximation in the optimal investment case. Asymptotic ruin probabilities and optimal investment were investigated in (Gaier et al. 2003). Optimal risk distribution control model with application to insurance was studied in (Taksar 2000). Applications of stochastic processes in insurance and finance may be found in (Rolski et al. 1998). Many mathematical methods and aspects in risk theory may be found in (Bühlmann 1970;Gerber 1979;Grandell 1990). We note that an alternative approach to consumption-portfolio optimization problem based on martingale methods were developed by (Karatzas et al. 1986;Pliska 1986; Cox and Huang 1989). Applications of martingale methods to the basic optimization problems can be found in (Cox and Huang 1989;Karatzas 1997;Korn and Korn 2000). Investment problem is also closely associated with risk management problems, such as, e.g., insurance/reinsurance and risk prevention. Probably Arrow’s 1963 paper (Arrow 1963) was the first one that drown attention to risk management with insurance. How insurance can be used as a risk prevention tool was shown by (Ehrlich and Becker 1972). Some early contributions to insurance/reinsurance problems may be found in Louberge (Louberge 1998;Dionne 2001). Hawkes process was first introduced in (Hawkes 1971a,1971b). Good introduction into Hawkes processes and their properties may be found in (Laub et al. 2015). GCHP and regime-switching GCHP were first introduced in (Swishchuk 2017b) and studied in details using real data in (Swishchuk et al. 2019;Swishchuk and He 2019;Swishchuk 2020;Swishchuk and Huffman 2020). Risk model based on GCHP was first introduced in (Swishchuk 2017a) and described in details in (Swishchuk 2018). Applications of the risk model based on GCHP to empirical data and optimal investment problem were considered in (Swishchuk et al. 2020). 3. General Compound Hawkes process This section contains main definitions and results on one-dimensional Hawkes and general compound Hawkes processes which we will use in our paper. For the completeness, we present them in three subsections below. 3.1. Hawkes Process Definition 1. (One-dimensional Hawkes Process) (Hawkes 1971a,1971b) . The one-dimensional Hawkes process is a point process N(t) which is characterized by its intensity λ(t) with respect to its natural filtration: λ(t) = λ+Zt 0µ(t−s)dN(s), where λ> 0, and the response function or self-exciting function µ(t) is a positive function and satisfies R+∞ 0µ(s)ds :=ˆ µ<1. If (t1 , t2 , ..., tk) denotes the observed sequence of past arrival times of the point process up to time t, the Hawkes conditional intensity is λ(t) = λ+∑ tk<t µ(t−tk). The function µ(t) is sometimes also called the excitation function, and the constant λ is called the background intensit . To avoid the trivial case, we suppose that µ(t)6= 0,which is, a homogeneous Poisson process. Therefore, the Hawkes process is a non-Markovian extension of the Poisson process. We note, that the Hawkes process is a self-exciting simple point process first introduced by A. Hawkes in 1971 (Hawkes 1971a,1971b). Thus, the future evolution of a self-exciting point process is influenced by the timing of past events.
Risks 2021,9, 108 4 of 13 Except for some very special cases (e.g., exponential self-exiting function µ(t) ), the Hawkes process is non-Markovian . In this way, the Hawkes process has a long memory and depends on the entire past history . Among many applications of the Hawkes process, we mention applications in finance, insurance, neuroscience, seismology, genome analysis, to name a few. The above equation for λ(t) has the following interpretation: the events occur according to an intensity with a background intensity λ which increases by µ( 0 ) at each new event then decays back to the background intensity value according to the function µ(t). Therefore, choosing µ( 0 )> 0 leads to a jolt in the intensity at each new event. This feature is often called a self-exciting feature: an arrival causes the conditional intensity function λ(t)in (1) and (2) to increase then the process is said to be self-exciting. The following LLN and CLT for HP may be found in (Bacry et al. 2013). The convergences are considered in weak sense for the Skorokhod topology. LLN for HP (Bacry et al. 2013). Let 0 <ˆ µ:=R+∞ 0µ(s)ds <1. Then N(t) t→t→+∞λ 1−ˆ µ. Remark 1. By LLN N(t)≈λ 1−ˆ µt for large t. FCLT for HP (Bacry et al. 2013). Under LLN and R+∞ 0sµ(s)ds <+∞conditions PN(t)−λt/(1−ˆ µ) pλt/(1−ˆ µ)3<y→t→+∞Φ(y), where Φ(·)is the c.d.f. of the standard normal distribution. Remark 2. By FCLT N(t)≈λ 1−ˆ µt+pλ/(1−ˆ µ)3)W(t) for large t ,where W(t) is a standard Wiener process (see Bacry et al. 2013). Remarks 1 and 2 above give the ideas about the averaged and diffusion approximated HP on a large time interval. 3.2. General Compound Hawkes Process Definition 2. (General Compound Hawkes Process). General compound Hawkes Process is defined as (Swishchuk 2020;Swishchuk and Huffman 2020;Swishchuk 2017b) S(t) = S(0) + N(t) ∑ i=1 a(Xi). Here, Xi is a discrete-time finite or infinite state Markov chain with state space X={ 1, 2, ..., N} , or X={ 1, 2, ..., N , ... } ,, respectively, a(x) is a continuous and bounded function on X ,and N(t) is a Hawkes process with intensity λ(t)>0, independent of Xi. This general model is rich enough to: • incorporate non-exponential distribution of inter-arrival times of orders in HFT or claims in insurance (hidden in N(t)) •incorporate the dependence of orders or claims (via MC Xi) •incorporate clustering of of orders in HFT or claims (properties of N(t)) • incorporate order or claim price changes different from one single number (in a(Xi) ). This model is also very general to include: -in finance: • compound Poisson process: St=S0+∑N(t) k=1Xk , where N(t) is a Poisson process and a(Xk) = Xkare i.i.d.r.v.
Risks 2021,9, 108 5 of 13 • compound Hawkes process (Swishchuk et al. 2019): St=S0+∑N(t) k=1Xk , where N(t)is a Hawkes process and a(Xk) = Xkare i.i.d.r.v. • compound Markov renewal process: St=S0+∑N(t) k=1a(Xk) , where N(t) is a renewal process and Xkis a Markov chain; -in insurance: • classical Cramer-Lundberg model: a(Xi) = Xi , Xi are i.i.d.r.v., and µ(t) = 0 (then N(t)is a poisson process); • Sparre-Andersen model: a(Xi) = Xi , Xi are i.i.d.r.v., µ(t) = 0, and N(t) is a renewal process; • Markov-modulated model: a(Xi) = Xi , Xi are i.i.d.r.v., λ(t) = λ(X(t)) , where X(t) is a MC; we call this model regime-switching risk model based on GCHP (Swishchuk 2020; Swishchuk 2017b). 3.3. LLN and FCLT for GCHP Lemma 1. (LLN for GCHP) (Swishchuk 2020;Swishchuk and Huffman 2020;Swishchuk 2017b) . Let ˆ µ:=R+∞ 0µ(s)ds < 1, and Markov chain Xi is ergodic with stationary probabilities π∗ i.Then the GCHP Snt satisfies the following weak convergence in the Skorokhod topology: S(nt) n→n→+∞a∗·λ 1−ˆ µt, or S(t) t→t→+∞a∗·λ 1−ˆ µ. Here: a∗ is defined as a∗:=∑i∈Xπ∗ ia(i) , where πi are ergodic probabilities for Markov chain Xi. Theorem 1. (FCLT (or Jump-Diffusion Limit) for GCHP) (Swishchuk 2020;Swishchuk and Huffman 2020;Swishchuk 2017b). Let Xk be an ergodic Markov chain and with ergodic probabilities (π∗ 1 , π∗ 2 , ..., π∗ n) .Let also St be LGCHP, and 0 <ˆ µ:=R+∞ 0µ(s)ds < 1and R+∞ 0µ(s)sds <+∞. Then S(nt)−N(nt)·a∗ √n→n→+∞σqλ/(1−ˆ µ)W(t), in weak sense for the Skorokhod topology, where W(t) is a standard Wiener process, σ is defined as: (σ)2:=∑i∈Xπ∗ iv(i) v(i) = b(i)2+∑j∈X(g(j)−g(i))2P(i,j) −2b(i)∑j∈X(g(j)−g(i))P(i,j), b= (b(1),b(2), ..., b(n))0, b(i):=a(i)−a∗, g:= (P+Π∗−I)−1b, P is a transition probability matrix for Xk ,, i.e., P(i , j) = P(Xk+1=j|Xk=i) , Π∗ denotes the matrix of stationary distributions of P , and g(j) is the jth entry of g . The expressions above are valid for both finite and infinite state Markov chain, that is why we used the notation ∑j∈X, where Xis the states space of a MC Xi. Remark 3. The formulas for a∗ and σ look much simpler in the case of two-state Markov chain Xi={−δ,+δ}:
Risks 2021,9, 108 6 of 13 a∗:=δ(2π∗−1)and (σ∗)2:=4δ21−p0+π∗(p0−p) (p+p0−2)2−π∗(1−π∗), (p,p0)are transition probabilities of Markov chain Xk,and π∗ 1=π∗,π∗ 2=1−π∗. From FCLT for HP, Section 3, and from Theorem 1 above follow the following FCLT for GCHP (pure jump diffusion limit). Theorem 2. (FCLT (or Pure Diffusion Limit) for GCHP (Swishchuk 2020;Swishchuk and Huffman 2020;Swishchuk 2017b;Swishchuk et al. 2020) . Let Xk be an ergodic Markov chain and with ergodic probabilities (π∗ 1 , π∗ 2 , ..., π∗ n) .Let also St be LGCHP, and 0 <ˆ µ:= R+∞ 0µ(s)ds <1and R+∞ 0µ(s)sds <+∞. Then S(t)−a∗λ 1−ˆ µt √t→t→+∞¯ σN(0, 1), in weak sense for the Skorokhod topology, where N( 0, 1 ) is the standard normal c.d.f., and ¯ σis defined as: ¯ σ=v u u t(σ∗)2+a∗sλ (1−ˆ µ)32, where σ∗=σpλ/(1−ˆ µ) , σ and a∗ are defined in Theorem 1 and Lemma above, respectively. Remark 4. From Theorem 2 it follows that S(t) can be approximated by the pure diffusion process: S(t)≈S(0) + a∗λ 1−ˆ µt+¯ σW(t), where W(t) is a standard Wiener process. This Remark 4 gives the idea about the pure diffusion approximation of GCHP on a large time interval. Remark 5. We note, that the rate of convergence in the Theorem 2 is C(T)/√t , 0 ≤t≤T ,where C(T)> 0is a constant (Swishchuk et al. 2020). Thus, the error of approximation for S(t) in Remark 4 is small for large t. 4. Merton Investment Problem in Finance for the Hawkes-Based Model Let us consider Merton portfolio optimization problem. We suppose that Bt and St follows the following dynamics, respectively: Bt=B0exp{rt} St=S0exp{G(t)},(1) where G(t):=∑N(t) i=1a(Xi) is the GCHP, Xi a discrete-time finite or infinite state Markov chain with state space X={ 1, 2, 3, ..., N} or X={ 1, 2, ..., N , ... } ,, respectively, r> 0 is the interest rate. We note, that the justification of using HP in finance may be found in (Da Fonseca and Zaatour 2013), and using GCHP that based on HP N(t) and a(Xi) may be found in (Swishchuk and He 2019;Swishchuk and Huffman 2020). The model for a stock price S(t) in (1) that based on GCHP is a new and original in this paper. The investor starts with an initial amount of money, say X0=x , and wishes to decide how much money to invest in risky and risk-less assets to maximize the expected utility of the terminal wealth Xtat the maturity T,, i.e., XT.
Risks 2021,9, 108 7 of 13 We denote by n(t):= (nB(t) , nS(t)) an investor portfolio, where nB(t) and nS(t) are the amounts in cash invested in the bonds and the risky assets, respectively. The value X(t) at time tof such portfolio is X(t) = nB(t) + nS(t). We suppose that our portfolio is admissible, i.e., X(t)≥ 0, a.s., 0 ≤t≤T , and selffinancing, i.e., dX(t) = nB(t)dB(t) B(t)+nS(t)dS(t) S(t). Suppose that G(t):=∑N(t) i=1a(Xi) follows FCLT when t→+∞ , (Swishchuk 2018; Swishchuk et al. 2020), thus G(t)can be approximated as (see Section 3, Remark 4) G(t)≈a∗λ 1−ˆ µt+¯ σW(t), (2) where ˆ µ:=R+∞ 0µ(s)ds < 1, a∗ is a average of a(x) over stationary distribution of MC Xi , λ is a background intensity, ¯ σ> 0 is defined in Section 3, Theorem 2. For exponential decaying intensity ˆ µ=α/β. Thus, S(t)in (1) can be presented in the following way using (2): S(t) = S(0)ea∗λ 1−ˆ µt+¯ σW(t). (3) Using Itˆ oformula we can get from (3): dS(t) = S(t)[(a∗λ 1−ˆ µ+¯ σ2 2)dt +¯ σdW(t)]. (4) Then the change of the wealth process Xt can be rewritten in the following way, taking into account (1)–(4): dXt=nB(t)dB(t) B(t)+nS(t)dS(t) S(t) =nB(t)rdt +nS(t)[(a∗λ 1−ˆ µ+¯ σ2 2)dt +¯ σdW(t)] =rX(t)dt +nS(t)(a∗λ 1−ˆ µ+¯ σ2 2−r)dt +nS(t)¯ σdW(t). (5) Let π(t):=nS(t)/X(t) be the portion of wealth invested in the assets/stocks at time t . Then, from (1)–(5), we have the following expression for dX(t): dXt=rX(t)dt +nS(t)(a∗λ 1−ˆ µ+¯ σ2 2−r)dt +nS(t)¯ σdW(t). =dX(t) = X(t)[(r+πt(a∗λ 1−ˆ µ+¯ σ2 2−r))dt +πt¯ σdW(t)))] (6) Finally, after replacing X(t) with Xπ(t) , to stress the dependence of X(t) on πt , from (6) we have the following equation for dXπ(t): dXπ(t) = Xπ(t)[(r+π(t)(a∗λ 1−ˆ µ+¯ σ2 2−r))dt +π(t)¯ σdW(t)))]. (7) Our main goal is to solve the following optimization problem: max πE[U(Xπ T)|X0=x], meaning to maximize the wealth/value function or performance criterion E[U(Xπ T)|X0=x], where U(x)is a utility function. To find optimal π , we follow the standard procedure in this case (see Bjork 2009; Karatzas and Shreve 1998). For the utility function we take the logarithmic one, U(x) = log(x) . Therefore, we have to maximize maxπE[log(Xπ T)|X0=x] , . Solving the Equation (7)
Risks 2021,9, 108 8 of 13 and maximizing non-martingale term in the exponent for the solution, we can find the optimal investment solution π∗(t): π∗(t) = a∗λ 1−ˆ µ+¯ σ2 2−r ¯ σ2, (8) where ¯ σ=v u u t(σ∗)2+a∗sλ (1−ˆ µ)32, (9) and σ∗and a∗are defined in Section 3, Theorem 2. Thus, we have arrived to the following proposition: Proposition 1. Let the conditions of Theorem 2, Section 3, are satisfied. Then the optimal investment solution for the Merton portfolio optimization problem is presented by π∗(t) in (8) with ¯ σ in (9). Remark 6. (Some Insights into the Results). As we can see from the expression for π∗(t) ,the optimal investment solution depends on all parameters of the Hawkes-based model, namely, Hawkes process’s parameters λ and ˆ µ ,Markov chain Xi and function a(x) through a∗ .For example, if a∗ increases then π∗(t) increase, and if ¯ σ increases then π∗(t) decreases, which follows from (8). The latter is obvious: in a very volatile market we should avoid a risk associated with investing in stocks. Furthermore, also obvious that if r increases then π∗(t) decreases: it’s better to invest in bonds than in stocks. 5. Merton Investment Problem in Insurance for the Hawkes-Based Risk Model Let us consider R(t)as the risk model based on GCHP, namely, R(t) = u+ct − N(t) ∑ i=1 a(Xi). (10) Here, Xi (claim sizes) is a discrete-time finite or infinite state Markov chain with state space X={ 1, 2, 3, ..., N} or X={ 1, 2, ..., N , ... } ,, respectively, a(x) is a bounded and continuous function on X={ 1, 2, ..., N} - space state for Xi , and N(t) is a Hawkes process with intensity λ(t)>0, independent of Xi, and satisfying: λ(t) = λ+Zt 0µ(t−s)dN(t). Here, µ(t)is self-exiting function. We note, that the justification for the Hawkes-based risk model in the form of the above Equation (10) may be found in (Swishchuk et al. 2020). As long as we will consider optimization for a first insurer, thus we will focus on problems with infinite planning horizon. Let A(t) be an amount invested in a risky asset, and suppose that the price S(t) of the risky asset follows GBM, i.e., dS(t) = S(t)(adt +bdW(t)), where ais a real constant, b>0. Further, the leftover, R(t)−A(t)> 0, is invested in a bank account (or bonds) with interest rate r>0, thus d(R(t)−A(t)) = r(R(t)−A(t))dt.