How to get holidays and business days from non-US countries in Financial Toolbox?
13 views (last 30 days)
Show older comments
MathWorks Support Team
on 1 Feb 2016
Edited: MathWorks Support Team
on 14 Sep 2024
How do I get holidays and business days from countries other than the United States in Financial Toolbox?
The 'holidays' function only returns US holidays.
Accepted Answer
MathWorks Support Team
on 14 Sep 2024
Edited: MathWorks Support Team
on 14 Sep 2024
There is no built-in holiday/business day data in MATLAB for countries other than the United States when using the 'holidays' function from Financial Toolbox.
However, you can retrieve non-US "holidays.m" trading calendar data by using the "createholidays" function using data obtained from SwapsMonitor.com and FinancialCalendar.com. This company provides calendars for over 450 markets.
For instructions on using "createholidays", refer to the following link:
0 Comments
More Answers (0)
See Also
Categories
Find more on Calendar in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!