Repair continuous taking double the entry quantity — Tradetron Community
← Community

Repair continuous taking double the entry quantity

Strategy 1,555 views

Shaurya Pratap

I have an entry condition where the number of lots is decided like (10000 / Ltp) - This works fine
But when my repair continuous condition is met the quantity is taken as 2X of entry quantity
I am using quantity from traded instrument

Can anyone help me what i am doing wrong here?

Tradetron Team Tradetron team

Likely cause: Traded Instrument with the quantity field returns the filled quantity in units (shares/contracts), not lots. If that value, or a formula built on it, is placed in the Lots field, the platform multiplies it by the lot size again. That gives a different size from your entry.

What to try:

  1. In the Repair Continuous leg, use the same lots formula as the entry (e.g. 10000 / LTP), instead of reading the entry quantity back.
  2. If you need to copy the entry size, convert units to lots by dividing by the Lot Size keyword.
  3. Make sure the Repair Continuous condition resets after each fire, e.g. compare against LastRepairedPrice. Otherwise it can fire on consecutive checks and stack quantity.
  4. Test with a small size in Live Offline and check the Notification Logs to see the computed lots.

If the size is still doubled after this, share the SID with support (chat on tradetron.tech).

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