How to get holidays and business days from non-US countries in Financial Toolbox?

13 views (last 30 days)
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
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:

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!