Using todaily() without holidays
Mostra commenti meno recenti
I am trying to convert a monthly series to daily returns by rolling the monthly return forward until the next available data point. With a fints object I am using todaily() but it is automatically including holidays, i.e.
dailyTS = todaily(monthlyTS,'CalcMethod','v21x')
I dug through the source code but was unable to find an easy way to override this? I would like data to be populated for all weekdays, including holidays. Is this possible with this or another built-in function?
1 Commento
Oleg Komarov
il 10 Ago 2012
I would know how to do it without fints obj, but it's not a builtin function.
Risposta accettata
Più risposte (1)
Walter Roberson
il 11 Ago 2012
0 voti
Pass in the AltHolidays parameter to todaily()
1 Commento
Matthew
il 13 Ago 2012
Categorie
Scopri di più su Holidays / Seasons in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!