FirstTradingDateOfTheWeek doesn't know about holiday
Author: kelvinyip
Creation Date: 2/18/2021 1:01 PM
profile picture

kelvinyip

#1
2/15/2021 is a holiday in USA, this method FirstTradingDateOfTheWeek returns 2/15/2021... is there anyway to make it return the prior day ? or am I using the wrong method ?
profile picture

Eugene

#2
This will help "fix" the method magically:

U.S. market holiday 2/15/2021
profile picture

kelvinyip

#3
I changed it and restarted the apps, still getting the same date 2/25/2021 as 1st trading day of the week.

It is here right ?
C:\Users\k\AppData\Roaming\Fidelity Investments\WealthLabDev\1.0.0.0\Data
profile picture

Eugene

#4
No it's not there. Follow the link referred to in my post for the correct location:

https://www.wealth-lab.com/Forum/Posts/Bars-MarketInfo-Holidays-is-Incomplete-33776
profile picture

kelvinyip

#5
found it C:\Program Files\MS123\Wealth-Lab Developer 6\Data\Markets.xml and changed it

thx
profile picture

Eugene

#6
Good to know.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).