Hello,
Exit will not work as exit does not have legs and thus not cannot be referred in Traded Instrument keyword.
Then how can I fetch Entry and Exit price of an instrument that is already squared off?
Use repair instead of exit and Exit when the repair is executed.
amitkrnandi - yes. It gives exit price.
Short answer: no. Traded Instrument (Exit, price, ...) will not work. Exit blocks have no legs, so Traded Instrument cannot point at them. Its condition type must be Entry, Repair Once or Repair Continuous.
Traded Instrument ( Repair Once, price, NIFTY BANK, set, condition, leg ).exit_px = LTP ( the instrument ). It is written right after the block’s leg is taken, so it is close to the exit fill. Read it later with Get Runtime Number.Traded Instrument ( Entry, price, NIFTY BANK, 1, 1, 2 ) still works after the leg is squared off.
Field names are lowercase (price, strike, pnl). Test in Live Offline and check the Notification Log for the returned values.
Recommended structure: Recomended Structure for Get runtime, Traded instrument, Traded instrument name keyword. | Tradetron Helpdesk
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.