“…Merton optimal investment and consumption stochastic problem is one of the most studied classical problem in finance ( [22,23,24,6,19]). 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) ( [33,34,28]), and for a capital R(t) of an insurance company with the amount of claims described by risk model based on GCHP ( [30,35]).…”