MATLAB Answers

How to get the monthly trading date starting from any day?

3 views (last 30 days)
Juniper Sohn
Juniper Sohn on 30 Jul 2019
Commented: Akira Agata on 31 Jul 2019
Hi all, I have a matrix of trading dates starting from November 6th, 2012, and I have to get a monthly trading date starting from November 6th, 2012.
So, I basically need a function that helps me to pick a trading date that is 6th (if the 6th is a non-trading datem then I want 5th or 4th).
Please explain to me what kind of function and how to use it.
Thank you!

  1 Comment

Akira Agata
Akira Agata on 31 Jul 2019
Did you check the holiday function in Financial Toolbox? It returns holidays and special nontrading days for the New York Stock Exchange.

Sign in to comment.

Answers (0)


Translated by