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

1 view (last 30 days)
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)

Categories

Find more on Financial Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!