How to find currently open positions preimums — Tradetron Community
← Community

How to find currently open positions preimums

Strategy 891 views

vamsi

I would like to know how to find the premiums of open positions in my strategy. My exact idea of building strategy is… I will take entry conditions and take entry with 2 short positions.1 call and 1 put… Now I want to continously repair them, whenever there is more than half difference between them. Like (140 & 70). So the adjusted position should square off 70 and fetch a premium near to 140 and should continue… This adjustment should do Continously whenever the criteria is met… So could someone help me to finish this strategy…

Thanks in advance…

Tradetron Team Tradetron team

Short answer: read each open leg’s current premium with LTP ( Traded Instrument Name ( Entry, set, condition, leg ) ). Read its entry premium with Traded Instrument ( Entry, price, set, condition, leg ).

Your adjustment (one premium is half the other)

  • Condition: LTP ( PE leg ) <= LTP ( CE leg ) * Number ( 0.5 )
  • Action: exit the PE and sell a new PE near the CE premium. Use Find Strike with the ltp field and the CE’s LTP as the target.
  • Mirror it for the CE side.

For continuous adjustment use Repair Continuous, and make it reset after each fire, e.g. with LastRepairedPrice or Net Quantity. A condition that stays true will loop and the strategy can get Blocked.

Legs added by a repair are addressed with that condition type, e.g. Traded Instrument Name ( Repair Continuous, ... ). Test in Live Offline with small size.

:sparkles: Answer written with AI from Tradetron docs (Oct 2026). Original replies are kept above. Spot something wrong? Reply below.