I’m trying to write exit conditions that either closes the position at close if it is profitable OR closes the positions after N days. How would that look in code?
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok