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 TeamTradetron 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.