Hi. Using Python. I've been through the DateTime rules section of the website docs as well as the Github algos, but haven't found a way to trade on a day of the month, eg on the 10th of every month, the way I could in Q. Does anyone know how to do this?
In Q it looked like this:
d = get_datetime().day
m = get_datetime().month
w = get_datetime().weekday()
y = get_datetime().year
Then use this code to select a specific day:
if (d==24 or d==25 or d==26 or d==27 or d==28 or d==29 or d==30 or d==31):
#trade instructions
Thanks in advance!