What's fomula(ADV and HISTVOL) in MathWorks

1 Ansicht (letzte 30 Tage)
Cedric Yuan
Cedric Yuan am 23 Aug. 2018
Kommentiert: Cedric Yuan am 9 Okt. 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")

Antworten (1)

Andrew Borghesani
Andrew Borghesani am 9 Okt. 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 Kommentar
Cedric Yuan
Cedric Yuan am 9 Okt. 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);

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Mathematics finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by