simulate stock prices using standard normal distribution

Hi all,
I am new to MATLAB and I want to simulate market index and
company stock prices using normal distribution in MATLAB.Company prices should be linked to market through correlation.simulate stock prices
Any help will be appreciated.

回答(1 个)

Following link illustrate a method to simulate equity prices.
As stocks generally refers to traded Equity. So, the provided workflow may be used to simulate stock prices as well.
While creating a sde object change the Simulation property to Normal Distribution, which is by default simByEuler.
To get a function_handle for Normal Distribution use normpdf.

1 个评论

My supervisor don't want me to use packages so I want a simple method to simulate prices.I want to simulate market prices first and my company prices should then be created from market prices using correlation coefficient.I meant to say my market simulated prices should be related to company simulated prices thorugh correlation.
Does it make sense ?

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Financial Toolbox 的更多信息

提问:

2019-8-23

评论:

2019-8-27

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by