How to select strike based on Bid Ask Difference — Tradetron Community
← Community

How to select strike based on Bid Ask Difference

Strategy 1,205 views

Raja Santhanam

How do I design this below Entry condition?
I need to Sell an OTM(lets say 10% away of spot) CE of next month’s expiry only if the Bid Ask price difference is less than Rs.2. If the difference is not within that I need to step away 1 tick until i get difference of Rs.2. I am able to choose the value of the OTM CE & the expiry, But how do I tell that the Bid-Ask must be less than Rs.2 in the Position Strike’s Formula Builder?
Basically i want to trade only on narrow price spread and not wide price spread.

Any help/direction in this regard is much appreciated. Thanks.

Tradetron Team Tradetron team

Use the Bid Ask Diff keyword on the option in the entry condition:

Bid Ask Diff(<option instrument>) < Number(2)

Limits to know:

  • It returns 0 when bid/ask did not change since the last tick, so add a second check (for example LTP > 0) or test carefully.
  • The Position builder cannot loop “1 strike further until spread < 2”. You can only check a fixed set of strikes (for example two sets: 10% OTM, and one strike further), or write custom Python.
  • Bid/ask keywords cannot be backtested; test in Live Offline.

Keyword reference: Keyword Documentation — Tradetron

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