- I run it in the evening, and the market was open that day, I expect that date
- I run it during the day and the market is open then I expect that date
- I run it any time the market is not open I expect the last date the market was open
Is there any reasonably elegant way to do that?
Thanks,
EV
Comment