Using FETCH to Download DATA from FRED

Hi, MATLAB experts
I am trying to download a monthly data from FRED by using fetch function as follows (from Sep 2005 to now):
c = fred('https://research.stlouisfed.org/fred2/');
da = fetch(c,'BAMLH0A0HYM2','P','09/01/2005', [], 'M');
However, it downloads a daily data rather than a monthly one.
Can you please take a look at the code and let me know what is wrong with this??
Best Regards,
Jake

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDownloads についてさらに検索

タグ

質問済み:

2015 年 7 月 15 日

Community Treasure Hunt

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

Start Hunting!

Translated by