marketstreet
New member
How can I create the same functionality as the GetDay(), GetWeek(), GetMonth(), or GetYear() functions for other time frames like Hour, Quarter, etc.?
I have tried constructing synthetic aggregation periods (e.g. combining 3 months for one quarter) but nothing plots correctly. Thank you.
Sample code:
I have tried constructing synthetic aggregation periods (e.g. combining 3 months for one quarter) but nothing plots correctly. Thank you.
Sample code:
Code:
def isToday = getDay() == getLastDay();
Last edited: