How do I change MatLab's internal table of holidays (BUS/252)?
이전 댓글 표시
Hi!
I am working with MatLab's Financial Instruments Toolbox to calculate interest rates for the Brazilian Bond Market (day count basis = BUS/252).
In spite of having the BUS/252 option for the calculations I need, MatLab's default calendar is NYSE based so my results will be wrong if I use this business calendar as it is provided.
I already have a vector of serial date numbers corresponding to all holidays and nontrading days that apply to the Brazilian market but I found no way of changing MatLab´s internal table of holidays.
Can someone please let me know how to change MatLab's internal table of holidays?
Thanks in advance.
Fernando
(*) I found out that there is a http://www.FinancialCalendar.com paying option to create a file holidays.m file. Is this the only way? I already have the data required. Do I have to pay this company to get the same data in another format? http://www.mathworks.com/help/finance/createholidays.html
채택된 답변
추가 답변 (2개)
Luiz Fernando Carnot R de Almeida
2013년 11월 4일
0 개 추천
Luiz Fernando Carnot R de Almeida
2013년 11월 5일
0 개 추천
댓글 수: 2
Sean de Wolski
2013년 11월 5일
Glad to hear it!
Kazim
2024년 10월 30일
Hi Fernando, How did you solve this issue exaclty? I can't understand from the comments above. TIA!
카테고리
도움말 센터 및 File Exchange에서 Calendar에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!