**Journal of Mathematical Finance**

Vol.08 No.04(2018), Article ID:88382,28 pages

10.4236/jmf.2018.84041

Stochastic Ito-Calculus and Numerical Approximations for Asset Price Forecasting in the Nigerian Stock Market

Thomas Chinwe Urama^{1,2*}, Patrick Oseloka Ezepue^{3}^{ }

^{1}Statistics, Information Modelling & Financial Mathematics Research Group, Sheffield Hallam University, Sheffield, UK

^{2}Department of Statistics, Institute of Management and Technology (IMT) Enugu, Enugu, Nigeria

^{3}Afriworld Higher Education & Research Observatory 3E, Sheffield, UK

Copyright © 2018 by authors and Scientific Research Publishing Inc.

This work is licensed under the Creative Commons Attribution International License (CC BY 4.0).

http://creativecommons.org/licenses/by/4.0/

Received: September 27, 2018; Accepted: November 9, 2018; Published: November 12, 2018

ABSTRACT

Predicting prices of financial assets have always been topical in finance. This conceptual paper considers the seminal paper by Black-Scholes [1] , how to determine the parameters of the geometric Brownian motion, and their use in forecasting stock prices, especially for cases where analytic solutions are not feasible. Generally describing stock market dynamics and heuristic modelling of derivative prices in the Nigerian Stock Market (NSM), the paper particularly uses data on the stock prices of a Nigerian bank to develop the stochastic calculus foundations of such modelling. The bank stock prices are part of daily closing stock prices of 82 stocks listed and fully traded in the NSM between 3 August 2009 and 26 August 2013, which support wider heuristic modelling foreshadowed by the paper. Technically, the paper considers the use of accurate numerical approximation method to simulate nonlinear solutions to stochastic differential Equations (SDE) resulting from asset prices. Importantly, the paper illustrates the workings of the standard Black-Scholes results as a preparation for more detailed empirical modelling of some candidate derivative pricing formulae in the Nigerian Stock Market (NSM). It particularly illustrates the dual use of the BS [1] model and the Euler-Maruyama (EM) model for pricing, respectively, the derivative and underlying assets in a financial market, for example the NSM. The paper will help the Nigerian Stock Exchange to use derivatives to deepen the NSM. The specific objectives of the paper and the notes on policy implications provide the rudiments of theory and follow-on heuristics for this goal. Also, academics and practitioners can use the results as starting points for enhancing the research and practice of derivative pricing in the NSM and other emerging markets, for sectors and products of interest to them. The novelty of this line of work is that it has not been done so far in the NSM, and wider emerging African markets.

**Keywords:**

Ito-Calculus, Brownian Motion, Volatility, Black-Scholes, Stochastic Equations, Numerical Simulation, Convergence, Euler-Maruyama, Financial Assets Pricing

1. Introduction

Stochastic calculus deals with random motion of asset prices in financial engineering. It is useful in estimating the price of the underlying assets and in finding the equilibrium price of stock options [2] . This problem is not addressed satisfactorily in the Nigerian financial markets as far as derivative trading and asset pricing is concerned. This is because, unlike similar developing countries like Brazil, Malaysia, and Chile, including South Africa, derivatives trading has not been formally in place, having only been approved by the Central Bank of Nigeria (CBN) in 2014. Consequently, the literature on derivative pricing and their stochastic calculus foundations by Nigerian and other authors are focused on other countries, as noted further below. Following the formal approval for derivatives trading in Nigeria, there is a need for research in key aspects of financial engineering that use data from Nigerian financial markets, for example the Nigerian Stock Market, and key sectors of the market, say, the banking sector. This paper fills this need, and is the first attempt known to the authors to do so since the said CBN approval.

The paper aims to explore relevant derivative pricing concepts that would enable a Nigerian bank to engage in derivatives trade. The specific objectives are to 1) determine the parameters of the geometric Brownian motion, and discuss their use in forecasting stock prices, especially for cases where analytic solutions are not feasible; 2) demonstrate the use of accurate numerical approximation methods to simulate nonlinear solutions to stochastic differential Equations (SDE) resulting from asset prices, using Ito stochastic and Stratonovich integrals; 3) illustrate the workings of the standard Black-Scholes results, as a preparation for more detailed empirical modelling of some candidate derivative pricing formulae in the Nigerian Stock Market (NSM) in subsequent work; and 4) particularly illustrate the dual use of the BS [1] model and the Euler-Maruyama (EM) model for pricing, respectively, the derivative and underlying assets in a financial market, for example the NSM. The backdrop to the aim and objectives is further explained below.

Theoretically, many stochastic processes are functionals of the Brownian motion process, for example the Black-Scholes [1] option pricing model. We explore the accuracies in approximating non-trivial analytical solutions to stochastic differential Equations (SDEs) numerically, with the Black-Scholes model as a focal point.

Recently in 2014 the Central Bank of Nigeria (CBN) approved derivatives trading in Nigerian capital markets, having earlier in 2012 provided a N40 million grant to the Nigerian Association of Securities Dealers (NASD) for developing an over-the-counter (OTC) derivatives trading platform. The approved pioneer products for take-off in the Nigerian Stock Market (NSM) include Foreign Exchange (FX) options, Forwards (Outright and Non-deliverables), FX swaps, and Cross-Currency interest rate swaps. Most of these products are OTC derivatives. Before this policy shift, derivatives such as FX forwards had been informally traded by Nigerian market participants, allowing dealers to do FX transactions among themselves and with retail/wholesale customers, [3] . In May 2014, the authors visited the Nigerian Stock Exchange for one-day collaborative discussions of the possible research development needs that would support wider systematic stock market characterisation and development (SSMCD) in the NSM, ( [4] [5] ). The NSE management identified derivatives research as one of the key areas of interest. They also indicated that the NSM is benchmarking its nascent derivatives market on the Johannesburg Stock Exchange (JSE), and confirmed the CBN support for the market.

The above-mentioned formalisation of derivatives trading aims to deepen the Nigerian capital markets and make the NSM more efficient. It will also enable market operators and end-users to hedge against losses arising from exchange rate fluctuations. Moreover, given the absence of formal derivatives trading in Nigeria, existing literature is focused on developed countries, and some developing where derivatives are traded, for example Brazil ( [6] [7] [8] ), Chile and Brazil [9] . This paper, therefore, examines aspects of the standard Black-Scholes derivative pricing model, and how it can be applied to the investment and risk-hedging interests of a Nigerian bank, referred to as Bank X.

[4] [5] note that six market features explored in empirical finance are germane for characterising the behaviour of a financial market, namely efficiency, volatility, bubbles, anomalies, valuations and predictability. The first four of these features are more meaningful to explore at the overall market level using the All Shares Index (ASI) as in these references. All the features are again important to study for key sectors of a market, and valuations and predictability are even more meaningful for individual firms, as part of their overall investment and risk management decisions. Such firm-specific analysis should use a firm’s share prices and returns as in this paper. Consequently, for the banking sector, which is a primary sector of the NSM, some of these features are explored, [10] . The derivatives trading aspects are linked to asset price volatility, bank valuations, investments, and risk-hedging decisions, and are unexplored in the NSM, because of the lack of formal derivative trading mentioned above. This paper fills this gap by using data on a Nigerian bank’s share prices to explore derivative pricing concepts. It is part of wider SSMCD work that could be said to pioneer formal derivatives research and applications in the NSM.

The key theoretical contributions of the paper to knowledge include the explication of essential Ito and Stratonovich calculus underpinnings of derivative pricing, related understanding of the workings of the Black-Scholes [1] model, and relevant numerical methods approximations to derivative pricing models with non-analytic solutions. The practical contribution is mainly a demonstration of how these concepts inform the estimation of derivative and underlying asset prices of Bank X in Nigeria, and the implications of the results for future work aimed at enhancing derivative trading in Nigeria, to deepen the NSM.

The outline of the paper is as follows. Section 2 summarises relevant literature on stochastic calculus and its use in deriving underlying asset prices. Section 3 presents the methodology for estimating stock prices using historical volatility, and simulating an SDE Brownian motion using Euler-Maruyama method. Section 4 states and discusses the main results, especially numerical approximation for non-trivial SDE problems for which exact or analytical methods may not be applicable. The section adoptsa numerical related to Langevin equation whose solution is the Ornstein Uhlenbeck process, and briefly compares approximation errors in Euler-Maruyama and Milstein’s approximations. Section 5 concludes the paper.

2. Literature Review

2.1. Background Notes on Stochastic Calculus and Differential Equations

Ito stochastic and Stratonovich integrals offer good numerical approximations to solutions of stochastic differential Equations (SDE) obtained from stock prices. They can also be used in estimating numerical solutions of other asset prices that serve as underlying stocks of derivative products, where analytic solutions are not feasible, and the price dynamics of these underlying assets are needed in the pricing of call and put options of the derivative assets, [11] . One of the methods for evaluating of these integral equations is the use of Euler-Maruyama approximation to solutions of differential and integral equations.

Whilst the BS [1] model and its extensions are ubiquitously applied to pricing derivative assets in other global markets, US, UK, Europe, Brazil, and South Africa, for example, such assets are yet to be fully introduced in Nigeria. Therefore, this paper is a first step in addressing an original problem of how to price non-existing derivative products, albeit heuristically. Follow-on work to this paper will approach the problem by benchmarking the Nigerian Stock Market (NSM) on the Johannesburg Stock Exchange (JSE), and using (for a simplified statement of the problem) comparative correlations of asset prices in the two markets to judge the degree of closeness of the markets and/or their sectors. This judgement will inform simulations of derivative prices that will fit the stylised facts of the NSM, [12] . These computational modelling under assumed scenarios requires an intimate understanding of closed-form numerical forecasting of asset prices which this paper explores.

[13] assert that stochastic calculus is useful in many financial assets including derivatives and that they are used in solving Black-Scholes option pricing problems, market risk adjustment, and project valuation using method of [14] . Some numerical schemes for approximating SDEs are discussed in, ( [15] - [20] ). [21] note that what is common among them is the use of Ito-Taylor series expansion and Wiener integrals.

Ozaki ( [22] [23] ), however, point out some shortcomings associated with the numerical solutions of SDEs and other differential equations, for example lack of exact solutions to linear SDEs and inability to preserve qualitative features of the exact solution. [24] explores trivial/nontrivial and analytic/numerical order-of-convergence solutions to SDEs. Hence, the key question for solving the NSM-JSE derivative pricing problems noted above is: Under what conditions and for which numerical approximation schemes are these limitations overcome? This will facilitate suitable experimental modelling of potentially useful NSM derivatives.

[25] derives the Euler-Maruyama and Milstein method for numerical approximation to SDEs, with a MATLAB code for their implementation. [26] discusses the MATLAB algorithm to numerical simulations in a stochastic differential equation, while [11] use Ito and Stratonovich integrals in deriving security prices. [27] offers a major contribution in the computational solution of SDEs with special focus on strong and weak convergence of SDE solvers. We consider here a model representing the underlying asset prices in the form of an Ito SDE that takes the form

$\text{d}{S}_{t}=\mu \left({S}_{t},t\right)\text{d}t+\sigma \left({S}_{t},t\right)\text{d}{W}_{t},S\left(o\right)={S}_{o}$ (1)

$\mu ,\sigma >0$ , ${W}_{t}$ is a Brownian motion.

Recall below the Black-Scholes [1] parabolic partial differential equation which is a stochastic calculus model for option price as a function of the underlying stock price at time t

$\frac{\partial C}{\partial t}+\frac{1}{2}{\sigma}^{2}{S}^{2}\frac{{\partial}^{2}C}{\partial {S}^{2}}+rS\frac{\partial C}{\partial S}-rC=0,$ (2)

where $C\left(S,\tau ,T\right)$ is the option price at time τ, r is the risk-free interest rate, S is the underlying stock price, and σ is the volatility of the stock price per annum.

2.2. Theoretical Framework

We study the analytic solution to the SDE (1) above, its associated numerical approximation, and its use in European option pricing. For a European option, which coincidently is the derivative option pricing formula proposed to be adopted for use in Nigerian Stock Market, Equation (2) is solved under the finite boundary condition that

$C\left(0,\tau \right)=0,C\left(S,T,T\right)=Max\left\{S-K,0\right\}$ (3)

and

$P\left(S,T,T\right)=Max\left\{K-S,0\right\},$ (4)

for call and put options, respectively, where T is expiration date (maturity) of the option, and K is its exercise (strike) price. Thus, the solution $C\left(S,\tau ,T\right)$ to Equations (2) and (3) above is given by the call option value derived from [1] and [28] and written as

$\begin{array}{c}C\left(S,0,T\right)=SN\left\{\frac{\mathrm{ln}\left(\frac{S}{K}\right)+\left[r+\left(\frac{{\sigma}^{2}}{2}\right)\right]\left(T-\tau \right)}{\sigma \sqrt{T-\tau}}\right\}\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}-K{\text{e}}^{-r\left(T-t\right)}N\left\{\frac{\mathrm{ln}\left(\frac{S}{K}\right)+\left[r-\left(\frac{{\sigma}^{2}}{2}\right)\right]\left(T-\tau \right)}{\sigma \sqrt{T-\tau}}\right\}\end{array}$ (5)

and N(x) is the cumulative standard normal distribution given by

$N\left(x\right)=\frac{1}{\sqrt{2\text{\pi}}}{\displaystyle {\int}_{-\infty}^{x}{\text{e}}^{-\frac{{t}^{2}}{2}}\text{d}t}$ .

The BS model is attractive in pricing applications because all the model parameters, except the volatility, are observable because the risk-free neutrality assumption in option theory allows us to substitute the risk-free interest rate, r, for the expected rate of return µ, [29] . Estimating this unobservable volatility parameter usually constitutes the major problem in pricing financial derivatives. The Black-Scholes Equation (2) uses the geometric Brownian motion as the governing relation for the underlying asset stock price. It is based on the assumption that the stock price S as a function of time (i.e. $S\left(t\right),t\in {R}^{+}$ ) satisfies the SDE (1), with S(t) as the underlying stock price at time t, $\mu \in R$ is the rate of return (or drift), $\sigma \in {R}_{+}$ is the volatility or variance of the stock(which is assumed to be constant throughout the duration of the option contract), $\text{d}W\left(t\right)$ is the white noise/stochastic differential of a normalized Wiener process, and $\text{d}S\left(t\right)$ is the change in security price over time. Observe that on re-arranging Equation (1) we shall obtain

$\frac{\text{d}S}{S}=\mu \text{d}t+\sigma \text{d}W\left(t\right)$ (6)

where, $\frac{d{S}_{t}}{{S}_{t}}$ is the stock price return during the time t, under consideration.

Ito formula in Brownian motion: Theorem 1

Let X(t) be an Ito process represented by the SDE

$\text{d}X\left(t\right)=\alpha \left(t,X\left(t\right)\right)\text{d}t+\beta \left(t,X\left(t\right)\right)\text{d}W(t)$

Let $g\left(t,x\right)$ be twice differentiable function defined on $\left[0,\infty \right)\times \mathbb{R}$ , or $g\left(t,x\right)\in {C}^{2}\left[0,\infty \right)\times \mathbb{R}$ , then

$Y\left(t\right)=g(t,X(t))$

is also an Ito process and

$\text{d}Y\left(t\right)=\frac{\partial g}{\partial t}\left(t,X\left(t\right)\right)\text{d}t+\frac{\partial g}{\partial x}\left(t,x\left(t\right)\right)\text{d}X\left(t\right)+\frac{1}{2}\frac{{\partial}^{2}g\left(t,X\left(t\right)\right)}{\partial {x}^{2}}{\left[dX\left(t\right)\right]}^{2}$

(proof omitted being common knowledge; see for example, [30] ; more rigorously [31] : pp. 92-94; [32] : pp. 88-89).

Now relating the above second-order differential equation on Y(t) to stock price and for any given function $g\left(t,x\right)$ as above, setting it equivalent to $f\left(S,t\right)=\mathrm{ln}{S}_{t}$ , we have the general Ito formula

$\begin{array}{c}\text{d}f\left(S,t\right)={f}_{s}\text{d}S+{f}_{t}\text{d}t+\frac{1}{2}\left\{{f}_{ss}{\left(\text{d}S\right)}^{2}+2{f}_{st}\text{d}S\text{d}t+{f}_{tt}{\left(\text{d}t\right)}^{2}\right\}\\ =\frac{\partial f}{\partial S}\text{d}S+\frac{\partial f}{\partial t}\text{d}t+\frac{1}{2}\left\{\frac{{\partial}^{2}f}{\partial {S}^{2}}{\left(\text{d}S\right)}^{2}+2\frac{{\partial}^{2}f}{\partial S\partial t}\text{d}S\text{d}t+\frac{{\partial}^{2}f}{\partial {t}^{2}}{\left(\partial t\right)}^{2}\right\}\end{array}$ (7)

With $f=\mathrm{ln}{S}_{t}$ in the Brownian motion, $\text{d}S\equiv \text{d}{S}_{t}=\mu S\left(t\right)\text{d}t+\sigma S\left(t\right)\text{d}{W}_{t}$ we obtain from Equation (7),

$\begin{array}{l}\text{d}f\left(S,t\right)=\text{d}\left(\mathrm{ln}{S}_{t}\right)\\ =\frac{1}{{S}_{t}}\left(\mu {S}_{t}\text{d}t+\sigma {S}_{t}\text{d}{W}_{t}\right)+0\cdot \text{d}t\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{\hspace{0.05em}}\text{\hspace{0.05em}}+\frac{1}{2}\left\{\frac{1}{-{S}_{t}^{2}}{\left(\mu {S}_{t}\text{d}t+\sigma {S}_{t}\text{d}{W}_{t}\right)}^{2}+2\left(0\right)\left(\mu {S}_{t}\text{d}t+\sigma {S}_{t}\text{d}{W}_{t}\right)+0\left(0\right)\right\}\end{array}$

since, $\text{d}t\text{d}t=\text{d}t\text{d}{W}_{t}=\text{d}{W}_{t}\text{d}t=0$

$\begin{array}{l}=\mu \text{d}t+\sigma \text{d}{W}_{t}+\frac{1}{2}\left\{\frac{1}{-{S}_{t}^{2}}\left({\sigma}^{2}{S}_{t}^{2}\text{d}t\right)\right\}\\ =\mu \text{d}t+\sigma \text{d}{W}_{t}-\frac{{\sigma}^{2}}{2}\text{d}t\\ =\left(\mu -\frac{{\sigma}^{2}}{2}\right)\text{d}t+\sigma \text{d}{W}_{t}\end{array}$

But $\left[\mathrm{ln}{S}_{t}\right]=\frac{1}{{S}_{t}}\text{d}{S}_{t}=\frac{\text{d}{S}_{t}}{{S}_{t}}$ or the stock price return as in Equation (6), hence on taking the stochastic integral of the expression

$\text{d}\left[\mathrm{ln}{S}_{t}\right]=\frac{\text{d}{S}_{t}}{{S}_{t}}=\left[\mu -\frac{{\sigma}^{2}}{2}\right]\text{d}t+\sigma \text{d}{W}_{t}$

$\Rightarrow \mathrm{ln}\left({S}_{t}\right)-\mathrm{ln}{S}_{t}={\displaystyle {\int}_{0}^{t}\left[\mu -\frac{{\sigma}^{2}}{2}\right]\text{d}t}+{\displaystyle {\int}_{0}^{t}\sigma \text{d}{W}_{t}}$

or

$\mathrm{ln}\left(\frac{{S}_{t}}{{S}_{0}}\right)=\left(\mu -\frac{{\sigma}^{2}}{2}\right)t+\sigma {W}_{t}$

$\Rightarrow \frac{{S}_{t}}{{S}_{0}}=\mathrm{exp}\left\{\left[\mu -\frac{{\sigma}^{2}}{2}\right]t+\sigma {W}_{t}\right\}$ or ${S}_{t}={S}_{0}\mathrm{exp}\left\{\left[\mu -\frac{{\sigma}^{2}}{2}\right]t+\sigma {W}_{t}\right\}$ (8)

Lemma 1:

In any plain vanilla option, the evolution of a firm’s stock price for the underlying stock is given by a geometric Brownian motion

$\text{d}{S}_{t}=\mu \left({S}_{t},t\right)\text{d}t+\sigma \left({S}_{t},t\right)\text{d}{W}_{t},S\left(o\right)={S}_{o},$

if and only if the exact solution of the Brownian motion is given by

${S}_{t}={S}_{0}\mathrm{exp}\left\{\left[\mu -\frac{{\sigma}^{2}}{2}\right]t+\sigma {W}_{t}\right\}$

where, $\mu ,\sigma ,{W}_{t}$ denote respectively drift of the asset return, its volatility and the Wieners process which is the random perturbation affecting the evolution of the process.

Proof: By [1] seminal paper, the underlying stock price for derivative option pricing follows a geometric Brownian, is log normally distributed, and could be represented by Equation (2) and satisfies a certain second order differential equation represented by Equation (7).

For this we set $F\left(S,t\right)=\mathrm{log}S$ , and by Ito’s lemma and Taylor series,

$\begin{array}{l}\text{d}F\left(S,t\right)=\text{d}\left(\mathrm{log}S\right)\\ =\frac{\partial F}{\partial S}\text{d}S+\frac{\partial F}{\partial t}\text{d}t+\frac{1}{2}\frac{{\partial}^{2}F}{\partial {S}^{2}}{\left(\text{d}S\right)}^{2}+\frac{{\partial}^{2}F}{\partial S\partial t}\text{d}S\text{d}t+\frac{1}{2}\frac{{\partial}^{2}F}{\partial {t}^{2}}{\left(\text{d}t\right)}^{2}\end{array}$ (L.1)

(since all other higher powers of the derivatives vanish by Ito formula after the second order)

$\begin{array}{c}\text{d}\left(\mathrm{log}S\right)=\frac{\partial F}{\partial S}\left(\mu S\text{d}t+\sigma S\text{d}W\right)+\frac{\partial F}{\partial t}\text{d}t+\frac{1}{2}\frac{{\partial}^{2}F}{\partial {S}^{2}}{\left(\mu S\text{d}t+\sigma S\text{d}W\right)}^{2}\\ \text{\hspace{0.17em}}\text{\hspace{0.17em}}+\frac{{\partial}^{2}F}{\partial S\partial t}\text{d}S\text{d}t+\frac{1}{2}\frac{{\partial}^{2}F}{\partial {t}^{2}}{\left(\text{d}t\right)}^{2}\end{array}$

But $\frac{\partial F}{\partial S}=\frac{1}{S},\frac{{\partial}^{2}F}{\partial {S}^{2}}=-\frac{1}{{S}^{2}},\frac{\partial F}{\partial t}=0$ and $\left(\text{d}{t}^{2}\right)=\text{d}t\text{d}t=0$ , $\text{d}t\text{d}W=0=\text{d}W\text{d}t$ , $\text{d}{W}^{2}=\text{d}W\text{d}W=\text{d}t$ ; so that

$\text{d}\left(\mathrm{log}S\right)=\left(\mu -\frac{{\sigma}^{2}}{2}\right)\text{d}t+\sigma \text{d}W$

Integrating both sides with respect to t, $t\in \left[0,T\right]$ yield

$\mathrm{log}S\left(t\right)-\mathrm{log}S\left(0\right)=\left(\mu -\frac{{\sigma}^{2}}{2}\right)t+\sigma {W}_{t}$

⇒ ${S}_{t}={S}_{0}\mathrm{exp}\left\{\left[\mu -\frac{{\sigma}^{2}}{2}\right]t+\sigma {W}_{t}\right\}$ (L.2)

For the converse, suppose that the solution of the geometric Brownian motion is given by

${S}_{t}={S}_{0}\mathrm{exp}\left\{\left[\mu -\frac{{\sigma}^{2}}{2}\right]t+\sigma {W}_{t}\right\}\equiv {S}_{t}={S}_{0}\mathrm{exp}\left\{\left[\mu -\frac{{\sigma}^{2}}{2}\right]t+\sigma {\displaystyle {\int}_{0}^{t}\text{d}W}\right\}$

(since W(0) = 0 in a Brownian motion)

We will use Ito’s lemma to establish that $S\left(t\right)$ as above satisfies Equation (L.1). For this purpose, we set

$F\left(t,W\right)={S}_{0}\mathrm{exp}\left[\left(\mu -\frac{{\sigma}^{2}}{2}\right)t+\sigma {\displaystyle {\int}_{0}^{t}\text{d}W}\right]$ (E.1)

$\frac{\partial F}{\partial t}={S}_{0}\mathrm{exp}\left[\left(\mu -\frac{{\sigma}^{2}}{2}\right)t+\sigma {\displaystyle {\int}_{0}^{t}\text{d}W}\right]\left(\mu -\frac{{\sigma}^{2}}{2}\right)=S\left(t\right)\left(\mu -\frac{{\sigma}^{2}}{2}\right)$ (E.2)

$\frac{\partial F}{\partial W}={S}_{0}\mathrm{exp}\left[\left(\mu -\frac{{\sigma}^{2}}{2}\right)t+\sigma {\displaystyle {\int}_{0}^{t}\text{d}W}\right]\left(\sigma \right)=\sigma S\left(t\right)$ (E.3)

$\frac{{\partial}^{2}F}{\partial {W}^{2}}={S}_{0}\mathrm{exp}\left[\left(\mu -\frac{{\sigma}^{2}}{2}\right)t+\sigma {\displaystyle {\int}_{0}^{t}\text{d}W}\right]\left({\sigma}^{2}\right)=\left({\sigma}^{2}\right)S\left(t\right)$ (E.4)

Invoking the Ito formula and Equations (E.1) - (E.4), we have

$\begin{array}{c}\text{d}S=\text{d}F=\frac{\partial F}{\partial t}\text{d}t+\frac{\partial F}{\partial W}\text{d}W+\frac{1}{2}\frac{{\partial}^{2}F}{\partial {W}^{2}}\text{d}{W}^{2}\\ =S\left(t\right)\left(\mu -\frac{{\sigma}^{2}}{2}\right)\text{d}t+\sigma S\left(t\right)\text{d}W+\frac{{\sigma}^{2}}{2}S\left(t\right){\left(\text{d}W\right)}^{2}\\ =\mu S\left(t\right)\text{d}t-S\left(t\right)\frac{{\sigma}^{2}}{2}\text{d}t+\sigma S\left(t\right)\text{d}W+\frac{{\sigma}^{2}}{2}S\left(t\right)\text{d}t\\ =\mu S\left(t\right)+\sigma S\left(t\right)\text{d}W\end{array}$

⇒ $\text{d}S=\mu s\left(t\right)\text{d}t+\sigma S\left(t\right)\text{d}W$ as required

In general Equation (L.1) can be written as

$\Delta f=\text{d}f\left(s,t\right)=\frac{\partial f}{\partial S}\Delta S+\frac{\partial f}{\partial t}\Delta t+\frac{\partial f}{\partial t}\Delta {\sigma}_{t}+\frac{\partial f}{\partial t}\Delta {r}_{t}+\frac{1}{2}\frac{{\partial}^{2}f}{\partial {S}^{2}}{\left(\Delta {S}_{t}\right)}^{2}+\cdots $ (L.3)

and this last equation represents the various risks that an option is exposed to. The terms on the right-hand side represent: for the first term, the risk associated with the underlying stock, delta given by ∆S, that of the change in time, theta or ∆t, volatility change vega given by ∆σ, interest rate rho is represented by ∆r, and finally is gamma the second derivative of delta represented by ${\left(\Delta {S}_{t}\right)}^{2}$ .

3. Methodology

SDEs are standard models for diffusion processes in physical and biological sciences, economics and finance, [27] . This paper uses them in form of Euler-Maruyama approximations of drift and volatility parameters, µ and σ (which is a measure of risk) associated with future stock prices, based on the Black-Scholes formula and other models for option pricing. For example, the Langevian equation or Ornstein Uhlenbeck process are SDEs whose diffusion coefficients represent price volatility. The numerical solution to the price returns of Bank X asset was used to illustrate these procedures in the NSM. Hence, we can predict the future trajectory of any given asset price by this technique, which is important for developing derivatives trading in Nigerian financial markets.

3.1. Estimating Stock Price Using Historical Volatility

Given historical stock price data at some fixed intervals, for example days, weeks, or months, we can estimate the volatility or standard deviation of stock returns for use in the Black-Scholes option pricing formula. The values of drift and volatility so obtained can be used to evaluate analytical solutions and numerical approximations to SDE of the underlying stock price in a European call option. In the Black-Scholes model it is assumed that volatility of the underlying stock is constant and one of the ways of estimating this parameter is through historical volatility. In this section, we estimate the solutions of SDEs analytically by first computing the diffusion coefficient/historical volatility of the underlying stock return. For stock price data obtained form ( $n+1$ ) periods (usually in days), the estimate of historical volatility is given by

$\stackrel{^}{\sigma}=\frac{\sqrt{\frac{1}{n-1}{{\displaystyle \sum}}_{i=1}^{n}{\left({u}_{i}-\stackrel{\xaf}{u}\right)}^{2}}}{\sqrt{\tau}}$ , where ${u}_{i}=\mathrm{ln}\left(\frac{{S}_{i}}{{S}_{i-1}}\right)$ (9)

$\stackrel{\xaf}{u}$ is the sample average ${u}_{i}$ , ${S}_{i}$ is the stock price period I and τ is the total length of each period in years. The annualized estimate of this standard deviation could also be written as

$\stackrel{^}{\sigma}=\frac{S}{\sqrt{\tau}}$ (10)

where, $S=\sqrt{\frac{1}{n-1}{{\displaystyle \sum}}_{i=1}^{n}\text{\hspace{0.05em}}{u}_{i}^{2}-\frac{1}{n\left(n-1\right)}{\left({{\displaystyle \sum}}_{i=1}^{n}\text{\hspace{0.05em}}{u}_{i}\right)}^{2}}$ .

Remark:

We adopt the daily prices of Bank X asset in the NSM for this trial estimation.

In discrete time, the rentability of stock S(t) or the stock price return over an

interval $\left({t}_{i-1},{t}_{i}\right)$ is $R\left({t}_{i}\right)=\frac{S\left({t}_{i}\right)-S\left({t}_{i-1}\right)}{S\left({t}_{i-1}\right)},i\ge 1$ , and in continuous time the stock price return at any given time t is

$R\left(t\right)=\frac{\text{d}S}{S}=\mu \text{d}t+\sigma \text{d}W\left(t\right)$ .

Evans (2003) asserts that given a differential equation:

$\frac{\text{d}S\left(t\right)}{\text{d}t}=\alpha \left(S\left(t\right),t\right)+B\left(S\left(t\right),t\right)\epsilon \left(t\right),S\left(0\right)={S}_{0}$ (11a)

with $S(.):\left[0,\infty \right)\to {\mathbb{R}}^{n}$ random function,

$\alpha :{\mathbb{R}}^{n}\times \left[0,T\right]\to {\mathbb{R}}^{n}$ , $B:{\mathbb{R}}^{n}\times \left[0,T\right]\to {\mathcal{M}}_{n\times m}\left(\mathbb{R}\right),\epsilon :\mathbb{R}\to {\mathbb{R}}^{m}$

m-dimensional white noise defines a stochastic differential equation:

$\text{d}S\left(t\right)=\alpha \left(S\left(t\right),t\right)\text{d}t+B\left(S\left(t\right),t\right)\text{d}W\left(t\right),S\left(0\right)={S}_{0}$ , (11b)

if the white noise is solution of an m-dimensional Wieners process. The integral form of Equation (11b) is therefore given by:

$S\left(t\right)={S}_{0}+{\displaystyle {\int}_{0}^{t}\alpha \left(S\left(u\right),u\right)\text{d}u}+{\displaystyle {\int}_{0}^{t}B\left(S\left(u\right),u\right)\text{d}W\left(u\right)},\forall t\ge 0$ (12)

The major problem, therefore, is how to calculate the third term in Equation (12) above. Hence, we use Monte-Carlo simulation in MATLAB to estimate the Brownian (Wiener)

Figure 1 is a representation of typical stock price using Brownian motion which shows the degree of price predictability for given asset price dynamics. It shows that in most cases the underlying stock price dynamics can only be predicted in the short run and that the degree of accuracy in the prediction diminishes as the period under consideration increases.

Process, as shown in 3.1 mfile below.

3.2. Mfile1: Brownian Path Simulation

Figure 1 describes the stochastic nature of stock market prices in Nigeria and is typical of stock prices in most markets. It shows the Brownian motion character of process whereby the sample paths widely fluctuating and continuous.

3.3. Using Euler-Maruyama Method to Estimate Stock Return

We recall that a numerical solution to an ordinary differential equation can be obtained through Euler’s method. Similarly, one can numerically obtain the solution to an SDE which is a continuous-time stochastic process by Euler-Maruyama

Figure 1. Brownian path simulation.

(EM) or Milstein approximations of Black-Scholes related SDEs, since very few SDEs have closed form solutions, just like the ODEs. We usually solve nonlinear SDEs when no known analytical solution is available, by simulating the Wiener’s stochastic process, [33] and [34] . Recognising that stochastic processes like the Brownian motion are continuous but non-differentiable, Dunbar states that with

$\text{d}X\left(t\right)=f\left(X\left(t\right)\right)\text{d}t+g\left(X\left(t\right)\right)\text{d}W\left(t\right),X\left({t}_{0}\right)={X}_{0}$ (13)

with step size dt, we can approximate and simulate the given Equation (13) with the relation

${X}_{j}=f\left({X}_{j-1}\right)\text{d}t+g\left({X}_{j-1}\right)\left[W\left({t}_{j-1}+\text{d}t\right)-W\left({t}_{j-1}\right)\right]$ (13a)

or equivalent to

${X}_{j}=f\left({X}_{j-1}\right)\text{d}t+g\left({X}_{j-1}\right)\left[W\left({t}_{j}\right)-W\left({t}_{j-1}\right)\right]$ (13b)'

4. Results and Discussion

4.1. The Euler-Maruyama Method

A given stochastic differential equation:

$\text{d}X\left(t\right)=f\left(X\left(t\right)\right)\text{d}t+g\left(X\left(t\right)\right)\text{d}W\left(t\right),\text{\hspace{0.17em}}X\left(0\right)={X}_{0},\text{\hspace{0.17em}}0\le t\le T$

in Equation (13) above could be transformed into a stochastic integral equation written as

$X\left(t\right)={X}_{0}+{\displaystyle \underset{0}{\overset{t}{\int}}f\left(X\left(s\right)\right)\text{d}s}+{\displaystyle \underset{0}{\overset{t}{\int}}g\left(X\left(s\right)\right)\text{d}W\left(s\right)}$ (14)

where, f and g are scalar functions, the initial condition X_{0} is a random variable, and similarly the solution X(t) is also a random variable for every t. If, however,
$g\equiv 0$ and X_{0} is a constant, then the problem reduces to a deterministic case which is an ordinary differential equation, and the solution will be Euler’s approximation. Because of the stochastic component of the Equation (13) above, the Euler-Maruyama method makes use of Ito integral calculus. To apply numerical solution to the SDE, over any prescribed interval [0, T], we discretize the

interval. We set $\Delta t=\frac{T}{L}$ for some positive integer L, and ${\tau}_{j}=j\delta t$ for all

$j=0,1,2,\cdots ,L$ ; And suppose we denote $t={\tau}_{j}$ and $t={\tau}_{j-1}$ in Equation (14) we obtain:

$X\left({\tau}_{j}\right)={X}_{0}+\underset{0}{\overset{{\tau}_{j}}{{\displaystyle \int}}}f\left(X\left(s\right)\right)\text{d}s+\underset{0}{\overset{{\tau}_{j}}{{\displaystyle \int}}}g\left(X\left(s\right)\right)\text{d}W\left(s\right)\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{for}\text{\hspace{0.17em}}t={\tau}_{j}$

$X\left({\tau}_{j-1}\right)={X}_{0}+\underset{0}{\overset{{\tau}_{j-1}}{{\displaystyle \int}}}f\left(X\left(s\right)\right)\text{d}s+\underset{0}{\overset{{\tau}_{j-1}}{{\displaystyle \int}}}g\left(X\left(s\right)\right)\text{d}W\left(s\right)\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{for}\text{\hspace{0.17em}}t={\tau}_{j-1}$

and on subtracting we obtain:

$X\left({\tau}_{j}\right)=X({\tau}_{j-1})+\underset{{\tau}_{j-1}}{\overset{{\tau}_{j}}{{\displaystyle \int}}}f\left(X\left(s\right)\right)\text{d}s+\underset{{\tau}_{j-1}}{\overset{{\tau}_{j}}{{\displaystyle \int}}}g\left(X\left(s\right)\right)\text{d}W\left(s\right)\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{for}\text{\hspace{0.17em}}t={\tau}_{j}$ (15)

by setting $X\left({\tau}_{j}\right)={X}_{j}$ we shall have:

${X}_{j}={X}_{j-1}+\delta tf\left({X}_{j-1}\right)+g\left({X}_{j-1}\right)\left[W\left({\tau}_{j}\right)-W\left({\tau}_{j-1}\right)\right]$ (16)

This SDE drives the stock price dynamics for a security asset in the NSM, say, with mean return µ = 2 and volatility (sigma) = 1. We need an actual evolution of a firm’s stock price prices to approximate the solution of Equation (6) above, after estimating the expectation and volatility parameters. For this, we use the Euler-Maruyama method to simulate the SDE by Monte-Carlo approach.

4.2. Mfile 2: for Exact and Euler-Maruyama Approximation

In Figure 2, the red star marks with dashed lines represent the Euler Maruyama approximations of the described stock prices in Figure 1, whereas the magenta line is the exact solution to the stock prices under consideration. It shows, therefore, that the approximations are reasonably good to enable the Black-Scholes derivative pricing scheme to apply in the Nigerian setting. The remaining figures maintain this choice of symbols for approximate and exact solutions but with different values of the parameter R which shows increasing accuracy as R decreases.

From Figure 2, the accuracy in using Equation (16) compared to the analytical solution represented by Equation (8) depends largely on the value of ‘R’ in the above MATLAB solutions. Greater accuracy is obtained for smaller values of “R”. For instance, if we put R = 2 in the EMcode above, we approximate Equation (16) compared to the analytical solution as follows. As a practical illustration using Nigerian Bank X data from NSM, for instance (see appendix), we obtain the following mfile3 below. Note that since the value of drift and variance are negligible, the estimated Euler-Maruyama and Exact solutions coincide.

Figure 2. Exact and EM approximation.

Consider mean return and volatility data from a related study on Bank X financial asset, [35] . The mean parameters are as follows drift, µ = 0.000599, volatility, σ = 0.001(which are much smaller than 2 and 1, respectively), and Szero = 1.41 given by using Equations (9) and (10).

These facts show that these approximation techniques are indicatively useful for derivatives modelling in the NSM. Related future work that benchmarks NSM derivatives on JSE price dynamics could use information on the cross-market correlations of similar assets for which the derivatives prices are already known in the JSE to reverse-estimate plausible derivative prices in the NSM. This wider goal, not pursued further in this paper, requires further heuristic assumptions regarding the NSM-JSE correlational dynamics based on Random Matrix Theory (RMT) ( [36] [37] [38] ). Hence, for this ultimate research interest, these references provide the RMT results, which will be combined with ideas in this paper to implement the heuristics and price derivative price determinations involved.

4.3. Mfile4: for Exact and Euler-Maruyama Approximation

Figure 3 explores a choice of “R” to obtain Euler-Maruyama approximation near enough to exact solution of the stochastic differential equation.

Using similar code as above for R = 1, we obtain an even better approximation thus.

Figure 4 illustrates further the earlier statement that smaller “R” offers an approximate solution very close to the exact (analytical) solution of the stochastic differential equation. Thus, depending on the existence or otherwise of the analytical solution to a given differential equation of interest one can compare the two solutions and make the numerical approximation as close to the analytical solution depending on the choice(s) of the value(s) of “R”. However, when the analytical solutions are not tenable one has to rely solely on the numerical approximation and the best choice or “R” value should be mastered through practice.

The approximation accuracy of the EM method means that market makers and investors can use the model in predicting derivative asset prices, given primitive (Bank X) security as the underlying asset under which the contract (call or put option) is established. This could be carried out using, for instance, the Black-Scholes option pricing formula or its extensions. We now demonstrate the use of the above code in predicting the Bank X stock price using data obtained from Cashcraft database for NSM securities.

Figure 3. Exact and EM approximation for R = 2.

Figure 4. Coincident exact and EM approximation for R = 1.

4.4. Mfile3: Exact and Euler-Maruyama Approximations Using a Sample of Bank X Data

The mean daily return

$\stackrel{\xaf}{\mu}=\frac{0.295246845}{40}=0.007381171125$

Standard deviation of daily returns from the sample of access stock is:

$\sqrt{\frac{0.050823065}{39}-\frac{{\left(0.295246845\right)}^{2}}{40\left(39\right)}}=\sqrt{0.0012472773}=\mathrm{0.0353168.}$

We annualize this estimate of the standard deviation by assuming that there are about 252 trading days in a year, and obtain

$\stackrel{^}{\sigma}=\left\{\frac{s}{\sqrt{\tau}}\right\}=\left\{\frac{0.0353168}{\sqrt{\frac{1}{252}}}\right\}=0.0353168\times \sqrt{252}=0.560636818$

Thus, the estimated annualized volatility measure (standard deviation of Bank X stock is 0.560. Therefore, in the Black-Scholes formulation, Bank X returns is assumed to follow a normal distribution with the estimated mean µ = 0.0073812 as the drift, and standard deviation σ = 0.5606368 which measures the volatility. The following code uses these statistics to closely approximate Bank X’s stock price dynamics using the EM method.

Figure 5 shows, as earlier stated, that Euler-Maruyama approximation is a close estimate to solutions of stochastic differential equation of interest, thus making it possible for us to adopt the same approach especially when the analytical solutions are not feasible or difficult to obtain for any SDEs of interest.

The error between the Euler-Maruyama and exact solution represented by emerr is given byemerr = abs(sem(end) − Strue(end)) = 0.2413which could be minimized by an appropriate choice of R as stated before.

Figure 5. Exact and EM approximations for bank X prices.

From Equations (3)-(5) the Black-Scholes formula for a European call option pricing is given by:

$C\left(S,T\right)=SN\left({d}_{1}\right)-K\mathrm{exp}\left(-rT\right)N(d2)$

where ${d}_{1}=\frac{\mathrm{ln}\left(\frac{S}{K}\right)+\left(r+\frac{{\sigma}^{2}}{2}\right)T}{\sigma \sqrt{T}}$ and ${d}_{2}={d}_{1}-\sigma \sqrt{T}=\frac{\mathrm{ln}\left(\frac{S}{K}\right)+\left(r-\frac{{\sigma}^{2}}{2}\right)T}{\sigma \sqrt{T}}$ .

For the put option in the European type of option pricing we have:

$P\left(T\right)=Kexp\left(-rT\right)N\left({d}_{2}\right)-SN\left({d}_{1}\right)$ (17)

where ${d}_{1}=\frac{\mathrm{ln}\left(\frac{S}{K}\right)+\left(r+\frac{{\sigma}^{2}}{2}\right)T}{\sigma \sqrt{T}}$ and ${d}_{2}={d}_{1}-\sigma \sqrt{T}=\frac{\mathrm{ln}\left(\frac{S}{K}\right)+\left(r-\frac{{\sigma}^{2}}{2}\right)T}{\sigma \sqrt{T}}$ .

Or in a more general and compact form we could write it as:

$\begin{array}{l}C\left(S,t\right)=SN\left({d}_{1}\right)-K\mathrm{exp}\left(-r\tau \right)N\left({d}_{2}\right)\\ \text{and}\text{\hspace{0.17em}}\text{\hspace{0.17em}}P\left(S,t\right)=K\mathrm{exp}\left(-r\tau \right)N\left({d}_{2}\right)-SN(d1)\end{array}$

${d}_{1}=\frac{\mathrm{ln}\left(\frac{S}{K}\right)+\left(r+\frac{{\sigma}^{2}}{2}\right)\tau}{\sigma \sqrt{\tau}}\text{\hspace{0.17em}}\text{\hspace{0.17em}}\text{and}\text{\hspace{0.17em}}\text{\hspace{0.17em}}{d}_{2}={d}_{1}-\sigma \sqrt{\tau}=\frac{\mathrm{ln}\left(\frac{S}{K}\right)+\left(r-\frac{{\sigma}^{2}}{2}\right)\tau}{\sigma \sqrt{\tau}}$

$C\left(S,t\right)$ = Price of the European call option, $P\left(S,t\right)$ = Price of the European put option, S = Current underlying asset (stock) price, K = Strike price, $\tau =T-t$ , is the current annualized time-to-expiration, where T is the expiration date, r = The annualized risk-free interest rate, σ = The annualized standard deviation of the underlying asset price, and N = The cumulative distributions function for a standard normal variable.

We present below the MATLAB code for the computation of a European put-option using the Black-Scholes Formula:

4.5. Langevin Equation (Ornstein-Uhlenbeck Process)

This equation models mean-reverting processes such as interest rates. This section is important for future work in interest rate derivatives in the NSM, given the fundamental role played by interest rates in financial and national economic management. Consider an SDE of the form:

$\text{d}X\left(t\right)=-\mu X\left(t\right)\text{d}t+\sigma \text{d}W\left(t\right)$ (18)

where μ and $\sigma \in {\mathbb{R}}^{+}$ . The solution to this type of equation is called Ornstein-Uhlenbeck process. The Euler-Maruyama and Milstein’s approximation methods are identical here, since there are no X(t) term in the diffusion component. It is difficult to obtain an analytic solution to Equation (18) above, as was the case with the geometric Brownian motion seen earlier. To confirm this, we solve the SDE (18) and examine the nature of the solution. We observe that $\text{d}X\left(t\right)+\mu X\left(t\right)\text{d}t=\sigma \text{d}W\left(t\right)$ so that multiplying both sides by the integrating factor we shall obtain:

$\text{d}\left({\text{e}}^{\mu t}X\left(T\right)\right)=\mu X\left(t\right){\text{e}}^{\mu t}\text{d}t+{\text{e}}^{\mu t}\text{d}X\left(t\right)={\text{e}}^{\mu t}\sigma \text{d}W(t)$

Integrating both sides gives;

${{\text{e}}^{\mu t}X\left(t\right)|}_{0}^{t}=\sigma {\displaystyle {\int}_{0}^{t}{\text{e}}^{\mu s}\text{d}W(s)}$

$\Rightarrow {\text{e}}^{\mu t}X\left(t\right)-{\text{e}}^{0}X\left(0\right)=\sigma {\displaystyle {\int}_{0}^{t}{\text{e}}^{\mu s}\text{d}W(s)}$

$\Rightarrow {\text{e}}^{\mu t}X\left(t\right)-X\left(0\right)=\sigma {\displaystyle {\int}_{0}^{t}{\text{e}}^{\mu s}\text{d}W(s)}$

$\Rightarrow X\left(t\right)=X\left(0\right){\text{e}}^{-\mu t}+\sigma {\displaystyle {\int}_{0}^{t}{\text{e}}^{\mu \left(s-t\right)}\text{d}W\left(s\right)}$ (19)

The second term on the right-hand side shows that no closed form solution exists and that the only solution is the non-trivial one. Hence, we need a numerical simulation to the SDE, unlike the Brownian motion where we have the trivial (closed form) solution as well as the numerical approximations.

Figure 6 is a typical illustration of numerical solution of stochastic differential equation model where the analytical solution is difficult to achieve. Such models as interest rate are evaluated through this type of numerical approximation. Interest rate dynamics as one of the factors that determine prices which are of interest to investors and policy makers in the Nigerian Market could be approximated numerically using this model. This will provide good estimates in the short run to the movement of interest rate in any given market, NSM inclusive.

Figure 6. EM approximation for European interest rate put option.

4.6. Errors in Euler-Maruyama and Milstein’s Approximation

Usually, analytical solutions of many SDEs are not known explicitly and therefore require simulations. However, when the explicit solution to a given SDE is known, it is realistic to obtain the absolute error of approximation, defined by [33] as the expectation of the absolute value of the difference between the approximation and the Ito process at time T, and given by

${\epsilon}_{\Delta}=E\left(\left|{X}_{app}\left({t}_{i}\right)-{X}_{true}\left({t}_{i}\right)\right|\right)$ (20)

where ${t}_{i}=i\Delta ;i=1,2,\cdots ,N$ and E denotes the mean value. By computing N different simulations of sample paths of the Ito Calculus process and their respective Euler-Maruyama approximations corresponding to the same sample paths of the Wiener process, we estimate the absolute error ε by

$\stackrel{^}{{\epsilon}_{\Delta}}=\frac{1}{N}{\displaystyle {\sum}_{i=1}^{N}\left|{X}_{app}\left({t}_{i}\right)-{X}_{true}\left({t}_{i}\right)\right|}$ (21)

Convergence: Let ${X}_{n}$ and $X\left({t}_{n}\right)$ be random variables for all ${t}_{n}$ . Strong and weak convergence concepts are important here. Weak convergence refers to error of the mean and strong convergence is concerned with mean of the error. [39] defines weak convergence as follows. Given a function Ф, the weak error is

${\epsilon}_{\Delta t}^{weak}:={\mathrm{sup}}_{0\le {t}_{n}\le T}\left|E\left[\Phi \left({X}_{n}\right)\right]-E\left[\Phi \left(X\left({t}_{n}\right)\right)\right]\right|\le C\Delta {t}^{\gamma}$ (22)

In other words, ${\epsilon}_{\Delta t}^{weak}\to 0$ as $\Delta t\to 0$ . The expression $E\left[\Phi \left({X}_{n}\right)\right]$ can be estimated by Monte Carlo simulation over many paths. For strong convergence (which is the mean of the error), we have

${\epsilon}_{\Delta t}^{strong}:={\mathrm{sup}}_{0\le {t}_{n}\le T}E\left[\left|{X}_{n}-X\left({t}_{n}\right)\right|\right]\le C\Delta {t}^{\gamma}$ (23)

Hence, the random variable converges strongly if ${\epsilon}_{\Delta t}^{strong}\to 0$ as $\Delta t\to 0$ . Thus, we can always estimate the errors in our numerical approximation to determine whether there is strong or weak convergence using the least square fit. In doing this we note that the Euler-Maruyama numerical approximation has a

weak order of convergence ( $\gamma =1$ ) and a strong order of convergence ( $\gamma =\frac{1}{2}$ ). This could be estimated using the relation

$\epsilon \left(\Delta t\right)=C\cdot {\left(\Delta t\right)}^{\gamma}\iff \mathrm{log}\left[\epsilon \left(\Delta t\right)\right]=\mathrm{log}C+\gamma \mathrm{log}\left(\Delta t\right)$ (24)

These error equations will be used in the experimental modelling of derivative products in the NSM to check for fast convergence of the pricing models under different scenarios (parameter values) and underlying assumptions, and heuristics of JSE-NSM price dynamics. This follow-on work was mentioned in the introduction to this paper. To further explain the contributions of this paper to current and future research on introducing derivative pricing in the NSM, we summarise below the heuristics behind using existing JSE derivatives to explore suitable and currently non-existent NSM ones. The paper principally justifies the choice of suitable R values above and the nice convergence properties of the EM schema in the heuristics.

4.7. Policy Implications and Heuristics for Modelling JSE-NSM Derivative Price Dynamics

The management of the Nigerian Stock Exchange (NSE) indicated in a meeting with the researchers in 2014 that the NSM was interested in using derivative products to: deepen the markets; enable such products to play traditional roles in risk hedging, speculation and arbitrage; and successfully benchmark its performance on existing JSE derivatives, given the relatively more advanced status of the latter. Hence, the heuristics aims to combine JSE derivatives data with broader NSM stylized facts and characterisations, especially based on Random Matrix Theory (RMT), to simulate plausible derivative models and prices that will fit the Nigerian stylized facts and RMT results better. For example, to cover the essential scope in this initial modelling of derivatives in the NSM, we will look at key sectors and products that will be more useful for achieving the stated derivative modelling objectives―risk hedging, speculation and arbitrage―especially those which the NSE management mentioned that major NSM investors are interested in.

As mentioned in the introduction to this paper, these products include currency options, cross-currency swaps, deliverable and non-deliverable forwards. Also, important market sectors in these considerations are banking and financial services (as in this paper), energy and (agricultural) commodity derivatives such as futures, because of the strategic relevance of energy and agriculture sectors in the Nigerian economy. For instance, banking and financial services are fundamental sources of development finance for investors (households, firms and government).Oil and gas provide the energy inputs into manufacturing and production of goods and services, and revenues for Nigeria, and agricultural products support other industries.

The ingredients for the derivative pricing heuristics are the correlation structures from RMT analyses and Black-Scholes derivative pricing models, observed stylized facts of underlying asset prices, and implied volatility dynamics in the JSE. These facts will be categorised as Generalised Stylised Facts (GSFs) and Implied Volatility Stylised Facts (IVSFs). Sequential modelling in form of models M1, M2, M3, for example, will exploit the JSE data, based on comparative analysis of the performance of selected derivative models against the standard BS model, for suitable derivative products mentioned above. The reason for this approach is to understand which BS models or extensions of the BS model are typically used in the JSE for specific asset prices, and whether the derivative prices from competing models are more accurate than the ones used.

This knowledge will be very useful to NSE management, as they optimise the decision choices facing them in introducing derivative products and models in the NSM. It will also be useful to the JSE management, if they become aware that existing models used in pricing JSE derivatives are not as good as alternative models revealed by this research. This, therefore, will be a crucial contribution of the heuristics to knowledge.

We, however, recall that the underlying asset prices are available in Nigeria, but not derivative prices. Given that derivative models are common theoretical knowledge across the two markets, we represent the Nigerian information as NBS for BS model, NGSFs for General Stylised Facts (GSFs), NUAPs for underlying asset prices. We use the known NGSFs in Nigeria to estimate the unknown Nigerian implied volatility stylised facts (NIVSFs). Similar notations are adopted for JSE by replacing by S. The key research question to explore in a follow-on work to this paper is: How do we overcome the lack of research data on the IVSFs which underpin derivative pricing in the NSM?

In brief, the following steps are involved: 1) compare the generalised stylised facts (GSF information) on underlying prices for JSM and NSM, to gauge how close the two data sets are in behaviour (using, say, the first four moments and distributions of the data sets); 2) explore the correlation or heuristic links between the full data on SGSFs and SIVSFs in South Africa, and across Nigeria and South Africa; 3) infer therefore the likely range of values for the unknown Nigerian IVSFs; 4) run RMT analyses on asset prices from key market sectors in NSM and JSM (for example selected banks, oil and gas, commodities), to characterise mainstream tendencies in the markets, and further refine the initial correlational and heuristic links in b) above; e) using knowledge of the RMT comparisons, simulate plausible data that fits the Nigerian modelling scenarios and repeat the sequence of modelling M1, M2, M3, …, on the data, [40] . This will produce indicative results which will inform possible decisions on the models and projected prices that could obtain in the NSM, under different modelling scenarios and assumptions.

4.8. Further Description of the Heuristics

This section explains the strategy for modelling the currently non-existing data on derivative pricing in Nigeria. Heuristics generally refers to the use of creative common-sense reasoning to perform tasks that ordinarily would have been (near) impossible to do. This impossibility trait explains why there is no known result on derivative trading and pricing in Nigeria because qualified financial engineers argue that there is no historical data to work with. We reiterate that successful application of this strategy in future work will constitute a novel methodological, theoretical and practical contribution of the research to knowledge.

As noted above, the NSM is benchmarking its performance on the Johannesburg Stock Exchange (JSE), given the relatively more advanced status of the JSE. We know that the JSE has been trading on different types of derivatives. Hence, the purpose of this statement of strategy is to explain how existing knowledge of derivatives in the JSE will be combined with analysis of broader stock market features (stylized facts) and characterisations, especially based on Random Matrix Theory (RMT), to simulate plausible derivative models and prices that will fit the Nigerian data (stylized facts and RMT results) better. The following schema in Table 1 explains visually the above-mentioned steps involved in this strategy.

The figure is presented as a quadrant with one half representing the Nigerian side of the intended analysis, and the other side the South Africa side. Information from the South African side will underpin the specific (simulated data modelling in Nigeria). Column 1 of the figure summarises the nature of products of interest. For example, to cover the essential scope in this initial modelling of derivatives in the NSM the researcher could look at key sectors and products that will be more useful for achieving the stated derivative modelling objectives―risk hedging, speculation and arbitrage―especially those that the NSE management mentioned that major NSM investors are interested in. These products include currency options, cross-currency swaps, deliverable and non-deliverable forwards. Also, important in these considerations are energy and (agricultural) commodity derivatives such as futures, because of the strategic relevance of energy and agriculture sectors in the Nigerian economy. For instance, oil and gas in addition to providing the energy inputs into manufacturing and production of

Table 1. A visual schematic for comparative modelling of derivative in JSM and NSM.

goods and services are key revenue earners for Nigeria and agricultural products support other industries. Another key sector of potential interest in this work, especially in connection with RMT characterisation is the banking sector, again because of the overarching importance of banks source of development finance for investors (households, firms and government). The researcher will explain in simple terms the role of RMT in the research shortly.

Column 2 depicts the nature of empirical modelling to be performed on existing South African data. The upper-left quadrant of the column uses the symbolisms B, S, and D to portray indicative analyses using the Black-Scholes derivative pricing model (B) on observed stylized facts (S) of data on underlying asset prices and implied volatility dynamics (D) in the JSE. These data are represented as Generalised Stylised Facts (GSFs) and Implied Volatility Stylised Facts (IVSFs). The lower-left quadrant depicts the nature of sequential modelling M_{1}, M_{2}, M_{3}, … which will exploit the JSE data, based on comparative analysis of the performance of selected derivative models (see Chapter 2 on literature review of the various models) against the standard BS model, for suitable derivative products mentioned above, as appropriate.

Column 3 depicts the nature of empirical modelling to be performed on the as yet unavailable Nigerian implied volatility data. Recall that the underlying asset prices are available in Nigeria, but not derivative prices. Given that derivative models are common theoretical knowledge across the two markets, we represent the Nigerian information as B for BS model, GS for General Stylised Facts (GSFs), and so on.

The above-mentioned steps in modelling derivatives in Nigeria through revealed affinities between the NSM and JSM trading data will be achieved within a broad-based characterisation work using suitable systems of sector- and asset-based stylised facts and RMT results. RMT is a theoretical suite of techniques which originated from statistical physics and econophysics. It primarily uses correlation measures among clusters of measurements, based on eigenvalue and eigenvector analyses, among other techniques in multivariate statistics, underpinned by assumptions about the likely types of probability distributions which generate the data clusters, to explore the relationships among the data clusters.

Hence, RMT techniques will be used as baseline tools for initially studying the closeness or otherwise among the selected data clusters from sectors and sets of asset prices in the JSM and NSM. The results will then be combined with further knowledge of 1) the statistical distributions which govern the respective data cluster, 2) the extent to which the data behaviours support the assumptions of different derivative pricing models, with the BS model as a reference point, hence the plausible validity of the models in deciphering derivative prices, in order to simulate supposed NSM data that fit the distributions and models, and thereby produce plausible derivative prices for the NSM. Importantly, the results will provide theoretical knowledge of the limitations of different derivative pricing models.

5. Summary and Conclusions

This paper showed that the differences between analytical solutions to derivatives pricing SDEs and their Euler-Maruyama numerical approximations, which depend on the values of the drift and volatility parameters of derivative pricing models, and the initial take off price of the asset denoted by S_{0}, are meaning fully negligible, generally and for the Bank X data, to warrant further use of the approximations in derivative pricing in the NSM.

There were remarkable differences between the exact or analytical values and that of Euler-Maruyama (EM) approximations for sufficiently large value of R. For smaller values of the parameters, the plotted analytical (exact) solution coincided with that of Euler-Maruyama approximation. From the Bank X data, therefore, the EM solution is essentially the same with the true solution, even for large values of R (∆t). In other words, the EM approximation could be used to estimate financial asset prices such as equity derivatives in the Black-Scholes model and interest rate derivatives in the Ornstein Uhlenbeck model, which in turn is needed in derivative asset pricing, re the rates of return in the models. The procedure can also be extended to constant elasticity of variance (CEV) model given by

$\text{d}S=\mu S\text{d}t+\sigma {S}^{\frac{\alpha}{2}}\text{d}W$ (25)

where the model was estimated using EM approximation method as shown (for α = 1, results suppressed). Market participants can thus use these properties of EM approximations in forecasting the values of assets in their portfolio of investment, for appropriate pricing of such securities in derivative contracts.

The results give some confidence that these standard approaches to asset price simulation are applicable to the NSM setting, a fact that provides a background for more intense computational modelling of derivative prices in the NSM, under different model assumptions, and for different ranges of the drift and initial price parameters applicable in different sectors of the NSM, with good potential for supporting derivatives trading. We noted earlier in the introduction to this paper that this larger problem of successfully preparing the grounds for derivatives trading in the NSM motivates the paper, and is typically approached by combining ideas from the heuristics of JSE-NSM derivatives and asset prices, Monte-Carlo simulation, and Ito Calculus. We expatiated on these points in the foregoing notes on heuristic modelling of NSM derivative prices using known information from JSE.

This is the first time that such a line of work will be conducted in the NSM, well before such derivatives are fully introduced. Future work consists in finding through the EM approximation schema optimal derivative pricing models which will be suitable for the NSM. The experimental modelling of prices foreshadowed above requires testing out a spectrum of candidate pricing models, with different assumptions, for different products and sectors of the NSM. This is the sense in which this paper and related future work so described are part of SSMCD work by the authors.

Further implications of this line of work are such that academics and practitioners can use the results as starting points for enhancing the research and practice of derivative pricing in the NSM and other emerging markets, for sectors and products of interest to them. The novelty of this line of work is that it has not been done so far in the NSM, and wider emerging African markets. Hence, it has immense potential for systematically characterising such markets. Moreover, using the results to deepen the markets via derivative products is the overriding policy goal of this and related papers.

Indeed, this paper intends to help the NSE management to use derivatives to deepen the NSM. The specific objectives of the paper and the above notes on policy implications provide the rudiments of theory and follow-on heuristics for this goal. Immediate future work is on applying the outlined heuristics to develop the pioneer derivative products that will be suitable for the NSM. This will require more detailed work on the stylistics of key variables associated with NSM asset prices and returns.

Acknowledgements

We are grateful for the sponsorship of the PhD research of which this paper is a part by the Nigerian Tertiary Education Fund.

Conflicts of Interest

The authors declare no conflicts of interest regarding the publication of this paper.

Cite this paper

Urama, T.C. and Ezepue, P.O. (2018) Stochastic Ito-Calculus and Numerical Approximations for Asset Price Forecasting in the Nigerian Stock Market. Journal of Mathematical Finance, 8, 640-667. https://doi.org/10.4236/jmf.2018.84041

References

- 1. Black, F. and Scholes, M. (1973) The Pricing of Options and Liabilities. The Journal of Political Economy, 81, 637-654. https://doi.org/10.1086/260062
- 2. John, C.H. (2000) Options, Futures and Other Derivatives. Prentice Hall, London.
- 3. African Development Bank Group (2010) African Fixed Income and Derivative Guidebook.
- 4. Ezepue, P.O. and Omar, M.A.T. (2012) Weak-Form Market Efficiency of the Nigerian Stock Market in the Context of Financial Reforms and Global Financial Crisis. Journal of African Business, 13, 209-220. https://doi.org/10.1080/15228916.2012.727750
- 5. Omar, M.A.T. (2012) Stochastic Models in Emerging Financial Markets: A Case Study of the Nigerian Stock Market. Ph.D. Dissertation, Sheffield Hallam University, UK.
- 6. Mullins, M. and Murphy, F. (2009) Financial Globalization, State Economy and Modern Financial Instruments: The Case of Brazil. Globalizational Journal, 6, 433-499. https://doi.org/10.1080/14747730903298645
- 7. Aysun, U. and Guldi, M. (2011) Derivatives Market Activity in Emerging Markets and Exchange Rate Exposure. Journal of Emerging Markets Finance and Trade, 47, 46-67. https://doi.org/10.2753/REE1540-496X470603
- 8. Ameer, R. (2009) Value-Reliance of Foreign Exchange and Interest Rate de Discourse: The Case of Malaysia Firms. Journal of Risk Finance, 10, 78-90. https://doi.org/10.1108/15265940910924517
- 9. Dodd, R. and Griffith-Jones, S. (2007) Report on Derivative Markets: Stabilizing or Speculative Impact on Chile and a Comparison with Brazil. A Project Document of United Nations in Economic Commission for Latin America and the Caribbean (ECLAC).
- 10. Ezepue, P.O. and Raheem, M.A. (2016) CBN Bank Reforms, Global Financial Crisis and Volatilities of Nigerian Bank Returns. Proceedings of the International Symposium on Mathematical and Statistical Finance, 1-3 September 2015, University of Ibadan, Ibadan.
- 11. Panzar, L. and Cipu, E.C. (2004) Using of Stochastic Ito and Stratonovich Integrals in Derived Security Pricing. Proceedings of the 3rd International Colloquium ‘‘Mathematics in Engineering and Numerical Physics’’, Bucharest, 7-9 October 2004, 222-229.
- 12. Raheem, M. and Ezepue, P. (2018) Some Stylized Facts of Short-Term Stock Prices of Selected Nigerian Banks. Open Journal of Statistics. https://doi.org/10.4236/ojs.2018.81008
- 13. Malliaris, A.G. and Brook, W. (1982) Stochastic Methods in Economics and Finance: Advanced Textbooks in Economics. North Holland Publishers, Elsevier and Amsterdam.
- 14. Constantinides, G.M. (1978) Market Risk Adjustment in Project Valuation. The Journal of Finance, 33, 603-616. https://doi.org/10.1111/j.1540-6261.1978.tb04870.x
- 15. Maruyama, G. (1955) Continuous Markov Processes and Stochastic Equations, Rendiconti del Circolo Matematico di Palermo, 4, 48-90. https://doi.org/10.1111/j.1540-6261.1978.tb04870.x
- 16. McShane, E.J. (1974) Stochastic Calculus and Stochastic Models. Academic Press, New York.
- 17. Milstein, G.N. (1974) Approximate Integration of Stochastic Differential Equations. Theory of Probability Applications, 19, 557-562.
- 18. Kloeden, P.E. and Platen, E. (1989) A Survey of Numerical Methods for Stochastic Differential Equations. Stochastic Hydrology & Hydraulics, 3, 155-178. https://doi.org/10.1007/BF01543857
- 19. Newton, N.J. (1991) Asymptotically Efficient Runge-Kutta Methods for a Class of Ito and Stratonovich Equations. SIAM Journal of Applied Mathematics, 52, 542-567. https://doi.org/10.1137/0151028
- 20. Saito, Y. and Mitsui, T. (1992) Discrete Approximation for Stochastic Differential Equations. Transactions of the Japan Society for Industrial and Applied Mathematics, 2, 1-16.
- 21. Kloeden, P.E., Platen, E. and Scurz, H. (1993) Numerical Solution of Stochastic Differential Equations through Computer Experiments. Springer, Berlin.
- 22. Ozaki, T. (1985) Nonlinear Time-Series Models and Dynamical Systems. In: Hannan, E.J., Krishnaiah, P.R. and Rao, M.M., Eds., Handbook of Statistics, North Holland, Amsterdam, 5.
- 23. Ozaki, T. (1992) A Bridge between Nonlinear Time Series Models and Nonlinear Stochastic Dynamical Systems: A Local Linearization Approach. Statistica Sinica, 2, 113-135.
- 24. Sauer, T. (2008) Finance Conference Proceedings. International Conference of Management, Developed and Hosted by the College of Information Sciences and Technology, The Pennsylvania State University.
- 25. Richardson, M. (2009) Stochastic Differential Equations, Case Study. A Working Paper for Mathematical Modelling and Scientific Computing Group, Mathematical Institute, University of Oxford, 1-25.
- 26. Desmond, J.H. (2001) An Algorithmic Introduction to Numerical Simulation of Stochastic Differential Equations. SIAM Review Journal, 43, 525-546.
- 27. Sauer, T. (2013) Computational Solution of Stochastic Differential Equations. Advanced Review Periodicals: Computational Statistics, 5, 362-371. https://doi.org/10.1002/wics.1272
- 28. Merton Robert, C. (1973) Theory of Rational Option Pricing. The Bell Journal of Economics and Management Science, 4, 141-183. https://doi.org/10.2307/3003143
- 29. Brewer, K.D., Feng, Y. and Kwan, C.C.Y. (2012) Geometric Brownian Motion, Option Pricing and Simulation: Some Spreadsheet Based Exercises in Financial Modelling. e-Journal Spreadsheets in Education, 5, Article 4.
- 30. Malliaris, A.G. and Brock, W.A. (1999) Stochastic Methods in Economics and Finance: Advanced Textbooks in Economics. North Holland Publishers, Elsevier, Amsterdam.
- 31. Kunta, H. (1997) Stochastic Flows and Stochastic Differential Equations. Cambridge University Press, Cambridge.
- 32. Gardiner, C.W. (1997) Handbook of Stochastic Methods for Physics, Chemistry and the Natural Sciences. Second Edition, Springer, Berlin.
- 33. Baazaoui, R. and Ouerdiane, H. (2014) A Comparative Study of Numerical Simulation of Stochastic Differential Equations; Application to Stochastic Duffing-Oscillator. International Journal of Mathematical Analysis, 8, 229-245.
- 34. Dunbar Steven, R. (2014) Stochastic Processes and Advanced Mathematical Finance: Stochastic Differential Equations and the Euler-Maruyama Method. A Working Paper, Department of Mathematics, University of Nebraska-Lincoln, Lincoln. http://www.math.unl.edu/sdunbarl
- 35. Maruf, A.R. and Ezepue, P.O. (2016) A Three State Markov Model for Predicting Movements of Asset Returns of a Nigerian Bank. CBN Journal of Applied Statistics, 7, 77-99.
- 36. Nnanwa, C.P., Urama, T.C. and Ezepue, P.O. (2017) Random Matrix Theory Analysis of Cross-Correlation in the Nigerian Stock Exchange. Proceedings of the International Scientific Forum.
- 37. Urama, T.C., Ezepue, P.O. and Nnanwa, P.C. (2017) Analysis of Cross-Correlations in Emerging Markets Using Random Matrix Theory. Journal of Mathematical Finance, 7, 291-301. http://www.scirp.org/journal/jmf https://doi.org/10.4236/jmf.2017.72015
- 38. Urama, T.C., Ezepue, P.O. and Nnanwa, P.C. (2017) Application of Random Matrix Theory in Estimating Realistic Implied Correlation Matrix from Option Prices. Proceedings of 6th Annual International Conference on Computational Mathematics, Computational Geometry & Statistics, (CMCGS), 2017 and 5th annual International Conference on Operations Research and Statistics (ORS) 2017, Singapore.
- 39. Desmond, J.H. (2010) Euler-Maruyama Approximation to Stochastic Differential Equation. A Working Paper, Department of Mathematics and Statistics, University of Strathclyde (Science), Basel.
- 40. Voss, J. (2014) An Introduction to Statistical Computing: A Simulation-Based Approach. Wiley, Hoboken.