Primitives

dayOfWeek

DayOfWeekAlgo is a model that allows trading only on specific days of the week.

dayOfWeek (all)

DayOfWeekAlgo is a model that allows trading only on specific days of the week.

Input parameters

PropTypeDefaultDescription
excludestringComma-separated list of days to exclude (e.g., "Sat,Sun")
instringComma-separated list of days to include (e.g., "Mon,Tue")

SQL example

IF dayOfWeek exclude="Sat,Sun"
        IF dayOfWeek in="Mon,Tue,Wed,Thu,Fri"

On this page