Any feature to check PnL at Set level — Tradetron Community
← Community

Any feature to check PnL at Set level

Strategy 1,214 views

dinesh

Currently PnL keyword works at the whole strategy level. Is there a keyword or feature that I can use at Set level? This will immensely help many traders.

Tradetron Team Tradetron team

Yes. Use Traded Instrument PNL in that set’s Set Exit. It gives the combined P&L of one set, and works while all that set’s positions are still open.

How the P&L keywords split:

  • One set’s combined P&L → Traded Instrument PNL, in Set Exit.
  • One leg’s P&L → Traded Instrument with field pnl.
  • The whole strategy → PNL, in Universal Exit.

Example

Exit Set 1 at a ₹2,000 profit or a ₹1,000 loss (amounts only for illustration):

  • Set 1 Exit: Traded Instrument PNL(<set 1 legs>) >= Number(2000) * Multiplier OR ... <= Number(-1000) * Multiplier.

Multiply rupee amounts by Multiplier so they scale with your deployment. Test in Live Offline.

Examples: "PNL / Target / Stoploss" related keywords: Different Examples of its Uses - #2 by Nelson · Official article: Traded Instrument PNL - Set exit PNL | Tradetron Helpdesk

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