Hello,

I was wondering how to close a position after precisely 1 hour. I have a similar strategy in the below algorithm, but for days. When I switch (self.Time - self.current).days to (self.Time - self.current).hours, its throws an error. How do if fix that?

Ive attached two algorithms in the thread. Thanks in advance for your help. Thanks :)