What's fomula(ADV and HISTVOL) in MathWorks

1 visualizzazione (ultimi 30 giorni)
Cedric Yuan
Cedric Yuan il 23 Ago 2018
Commentato: Cedric Yuan il 9 Ott 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")

Risposte (1)

Andrew Borghesani
Andrew Borghesani il 9 Ott 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 Commento
Cedric Yuan
Cedric Yuan il 9 Ott 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);

Accedi per commentare.

Categorie

Scopri di più su Mathematics in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by