What's fomula(ADV and HISTVOL) in MathWorks

1 view (last 30 days)
Cedric Yuan
Cedric Yuan on 23 Aug 2018
Commented: Cedric Yuan on 9 Oct 2018
In Excel Add In, I use the below formula to retrieve the data, but what's the same function in MatLab? Thanks.
1. get the ADV of last 4 weeks =HistoricalData("IBM","Average Daily Volume Last 4 Week","04/04/2018","04/04/2018","Daily")
2. Get HISVOL of 30 days =HistoricalData("IBM","HISTVOL (30)","04/04/2018","04/04/2018","Daily", "RemoveArrayHeaders=True")

Answers (1)

Andrew Borghesani
Andrew Borghesani on 9 Oct 2018
Please look at the documentation located here:
https://www.mathworks.com/help/datafeed/retrieve-current-and-historical-money-net-data.html
I hope this helps
  1 Comment
Cedric Yuan
Cedric Yuan on 9 Oct 2018
Hi Andrew, Thanks for your documentation, but I tried to use below parameters to retrieve Average Daily Volume Last 4 weeks, variable( Average Volume) still could not be recognized by MatLab, and the Average Volume variable found from https://www.money.net/datafeed#historic
Do you have any advise? Thanks a lot
--------------------------------------------
s = 'IBM';
date = [datetime('08-Oct-2018') datetime('08-Oct-2018')];
interval = '1D';
f = {'Average Volume'};
d = timeseries(c,s,date,interval,f);

Sign in to comment.

Products

Community Treasure Hunt

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

Start Hunting!