WealthLab.Rules and DateRules.IsLastTradingDayOfQuarter
Author: novendeh
Creation Date: 4/26/2011 9:41 PM
profile picture

novendeh

#1
Below is some coding generated using the wizard. I have a question about C# or C.net and the subject line.

Where do I find more info on the above? I searched wiki and this site, pdf manuals, and can't seem to find anything. Am I missing something.


CODE:
Please log in to see this code.
profile picture

Eugene

#2
It's here:

Wealth-Lab WealthScript Programming Guide > WealthLab.Rules Classes > DateRules.
profile picture

changhengyiu

#3
Hi Eugene
I am trying to trade on the last day of week with daily scale setting
I see function IsLastTradingDayOfMonth and IsLastTradingDayOfQuarter but no IsLastTradingDayOfWeek.
How can I do ?
profile picture

Eugene

#4
Hi Hank,

There isn't but you could use the method called TomorrowIsLastTradingDayOfWeek in Community Components:

CODE:
Please log in to see this code.
profile picture

Eugene

#5
Alternative approach:

CODE:
Please log in to see this code.