Can the “expiry” selection for setting up webhook alerts be enabled for Future’s scripts. For eg: Near, Next & Far. This can help in selecting the expiry automatically depending on the time when the set alert gets triggered.
The same for options as well - current week, current month so on and so forth.
Also, for setting up Options webhook, can you also enable the strike selection as ATM, ATM + n or ATM - n (for automatic strike price selection).
Great to know that you are exploring webhooks for trading! To answer your questions:
We will be adding expiry selection for Futures as well, but will have to evaluate if Near, Next & Far options can be added.
For options, since the expiries are each week, it doesn’t make sense to add it in this format. Furthermore, TradingView themselves don’t have options contract, so becomes hard for us to map directly (which might be possible in case of Futures)
This is something we have been evaluating. It is a difficult implementation as the logic needs to be written on backend and we want to ship products which are extremely reliable at scale. You can actually write this logic already if you use Pinescript with Webhooks.