I understand that Position Details works at Strategy Level and not at individual set level.
I have two short Straddles to be run at e.g. First set at 9:20 am in the morning and 2nd Set at 11:00 am in the morning (having 2 Lots each) = So each set will have abt. 100 qty. for CE & PE put together.
So for two lots the qty. will be 200.
Can the Position Details be set to > -201 only once in Set1. ??
and there is no need to specify this condition at all in Set2 ??
Kiran
Better to make 2 sets
Set#1 - time>0920
Set#2 - time>1100
Sans V K
Thanks. In case each Straddle is for 2 Lots, will the Position Details Number also change for each Set like Set#1 = -100 and Set#2 = -200 ?
Kiran
Just use multiplier on deployed page.
Make strategy for 1x only.
But if u want to do 2 lots, Set#1 will still be 0
Set#2 will be -200 (for nifty 50)
Sans V K
Thank you for your help.
Tradetron TeamTradetron team
Careful: Positions Detail counts all trades in the run counter, including ones already closed, and it is strategy-level, not set-level. So a > -201 check set once in Set 1 will not behave the way you expect after legs exit.
Simpler and safer:
Build each straddle as its own set: Set 1 with Time('NSE') >= Number(920), Set 2 with Time('NSE') >= Number(1100).
Stop each set from entering twice with a runtime-variable guard: initialize s1entry = Number(1), add Get Runtime(s1entry) == Number(1) to Set 1’s entry, and set s1entry = Number(2) in Set 1’s entry runtime. Repeat with s2entry for Set 2.
If you need “what is open right now”, use Open Positions Detail instead; it only counts open positions.
Build the strategy for 1 lot and use the deployment Multiplier for 2 lots, so you never edit quantities in conditions.
Test it in Live Offline before going live.
Answer written with AI from Tradetron docs (Oct 2026). Original replies are kept above. Spot something wrong? Reply below.