I want to store atm ce/pe strike and its price in runtime variable, how to do it?
I want to store atm ce/pe strike and its price in runtime variable, how to do it?
use ATM 0 in runtime variables
Short answer: in the block where you trade, add runtime variables with FX values:
atm_strike = ATM SPOT ( NIFTY 50, 0 ) for spot-based ATM, or ATM for futures-based. A simpler and exact option is Traded Instrument ( Entry, strike, 1,1,1 ).atm_ce_price = Traded Instrument ( Entry, price, 1,1,1 ) for the filled price, or LTP ( Traded Instrument Name ( Entry, 1,1,1 ) ) for the live price at that moment.Notes:
Check values from the deployment’s ⋮ menu → Runtime Data.
Answer written with AI from Tradetron docs (Oct 2026). Original replies are kept above. Spot something wrong? Reply below.
Request received. Pick a time now, or close this and we'll call you to set one up.
The calendar didn't load here. Open the booking page ↗
Booked. The calendar invite is on its way to your email.
Tradetron's AI assistant — pricing, brokers, strategies, anything.
AI can make mistakes. Consider checking important information.
How good was it?
We store the question and the answer with your report so the team can audit it.