Stock seems illiquid, price is 0, wont take trade — Tradetron Community
← Community

Stock seems illiquid, price is 0, wont take trade

Strategy 1,189 views

Sri

I have 3-4 stocks on my list but the strategy is stopped(saying error condition) from running due to one of the stocks being illiquid, is there any way that I can handle this error without affecting the strategy execution, is there a way to skip the instrument/stock in such cases?

Error message from log:
“Instrument OPTSTK_ONGC_28MAR2024_PE_282.5 seems illiquid, price is 0, won’t take trade”

huzefa kudrati Tradetron team

Hi,
If a stock options is illiquid the price is set to 0 by the exchange. Tradetron system has a check before placing an order to allow only trades in instruments where price is > 0

Add a condition as LTP (instrument name ( select your list) ) > number 0
This will ensure that the LTP of that instrument is not zero and thus allow a trade in only liquid stock options.

Sri

@huzefakudrati ,Thanks for the response.

I already had LTP (instrument name ( select your list) ) >= number 1 in my condition builder, but I still had the issue which I mentioned, can you guess what could be the issue?.

image

Tradetron Team Tradetron team

Your condition checks the LTP of the stock in the list, but the illiquid one is the option (ONGC 282.5 PE). The stock price is fine, so your check passes, and the order then fails because that option has no trades (price 0). Tradetron skips such an option on purpose.

Fix: check the option itself before entering

Add a condition that reads the same option the leg will trade (same list, expiry, CE/PE and strike formula):
LTP(<list>, Current Month, PE, <same strike as the leg>) > Number(0)

You can also use the option’s Volume (day volume so far) as a liquidity filter, e.g. > Number(1000).

Other ways to reduce it

  • Choose strikes nearer the money. Deep OTM stock options often have no trades for long stretches.
  • Remove thinly traded stocks from the list.
  • Stock options are not supported in backtests, so test changes in Live Offline.

If one stock’s error still stops the whole list strategy, share the SID and the log line 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.