"SimulatedStock.mat" for Candlestick chart

7 views (last 30 days)
Hello!
I want to try the example on Candlestick chart that is available here, However, I have no such file "SimulatedStock.mat" in my mat directory. I google to see if I can download this file, but not available. Anyone knows here how can I find/download this file.
Matlab R2016a,

Accepted Answer

Steven Lord
Steven Lord on 22 Jul 2018
From reviewing the documentation page in release R2017b it appears that example, and the data file it uses, were both introduced in release R2018a. I believe that was when the candle function was enhanced to support table and timetable inputs. The example doesn't appear in the R2017b version of the candle documentation.
To run that example you will need to use the release R2018a (or later) versions of MATLAB and Financial Toolbox.
  3 Comments
Gabor
Gabor on 8 Jan 2021
I guess I did not find it because it is built in. So it is a load command to get it: load SimulatedStock.mat
Steven Lord
Steven Lord on 8 Jan 2021
It is part of Financial Toolbox. If you have release R2018a or later and Financial Toolbox you have access to it.

Sign in to comment.

More Answers (0)

Categories

Find more on Downloads in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!