Recently I observed something strange related to my strategy execution. Not sure if this is expected or a bug.
I have set1 wherein I enter when time > 9:30 and < 1450. I sell a call and sell a put.
In RO1 - I exit CE leg in set 1 under some conditions
In RO2 - I exit PE leg in set 1 under some conditions
After both RO1 and RO2 execute (typically when SL is hit both sides), I have no position open. At this point, set1 re-enters, i.e one call is sold and one put is sold again.
After some time, RO1 conditions are met again. But , to my surprise, RO1 does not execute.
Is this how it is supposed to be? Should I use RC instead of RO?
please help.
Lion AlgosSolution
Yes that is expected. RO as name says it executes only once. In your case you an use below options to achieve your requirement
use RC instead of RO
OR
-use your squre of code condition in Exit instead of RO
Radhakrishnan N
If we have to make the strategy work again and again even after its exit upto the time of last trading hours since the monring, repair once (or) repair continuous to be chosen??? what about normal set exit conditions? . If such set exit conditions interfere with repair once exit , what will happen to re entry possibilities ?? How many times Repair once condition can be uses , say R1 R2 R3 R4 etc??