Hi There,
I was using an older version of CommunityComponents. I understand that the new version no longer supports the function "TradingDaysBetweenDates". What should I use instead? My existing line l0ooks like this:
barsToNextEvent = c.TradingDaysBetweenDates(Date[Bar], fi.Date);
Thank you in advance,
Izzy
Size:
Color:
It's all on the
change log:
6/22/2011 Changed: Calculate.GetWeekNumber/DaysBetweenDates/GetRemainingTradingDays/TradingDaysBetweenDates became obsolete, were moved to DateTimeFunctions. Due to their exclusion in a later release, use their DateTimeFunctions analogues.
Size:
Color:
Hi there,
What is the analogy in DateTimeFunctions for TradingDaysBetweenDates?
Can you please write a one liner sample to replicate the line above?
Thanks,
Izzy
Size:
Color:
Documented with
full example here.
Just instantiate a DateTimeFunctions object and use its TradingDaysBetweenDates method.
Size:
Color:
Thannk you, kindly
Size:
Color: