mikemoewill
New member
How can I pull back option data for a stock that falls within the range of specific delta price? For instance, Looking at SPY after 45 minutes from the opening bell if the price crosses above 562, what is the call option closest to .15 delta within the range of .10 and .14 delta? I want to print this value on the chart but only when both conditions are meet.
So far I only see the following functions: Delta, GetATMOption, GetNextITMOption, GetNextOTMOption, OptionPrice.
I am looking for similar functionality of what the user is describing here:
https://usethinkscript.com/threads/...used-in-thinkorswim.13822/page-14#post-144456
How can I pull back option data that matches a specific delta criteria. I am testing this in the OnDemand feature in TOS. For example, looking at SPX, for August 28, 2024 from the opening bell, I am looking to find the first OTM option call with a delta between .9 and .15 not including the endpoints.
I know how to get the current ATM call option and the Next OTM call option, but am looking for a for loop that can iterate up the option ladder to find an option that meets the delta criteria. Currently, I have not found a way to use Delta to pull back the data for the ATM call option or Next OTM call option to compare the results and traverse through the loop.
Any help would be appreciated.
-------------
MOD edit
did you mean this link #273
https://usethinkscript.com/threads/...used-in-thinkorswim.13822/page-14#post-143763
So far I only see the following functions: Delta, GetATMOption, GetNextITMOption, GetNextOTMOption, OptionPrice.
I am looking for similar functionality of what the user is describing here:
https://usethinkscript.com/threads/...used-in-thinkorswim.13822/page-14#post-144456
How can I pull back option data that matches a specific delta criteria. I am testing this in the OnDemand feature in TOS. For example, looking at SPX, for August 28, 2024 from the opening bell, I am looking to find the first OTM option call with a delta between .9 and .15 not including the endpoints.
I know how to get the current ATM call option and the Next OTM call option, but am looking for a for loop that can iterate up the option ladder to find an option that meets the delta criteria. Currently, I have not found a way to use Delta to pull back the data for the ATM call option or Next OTM call option to compare the results and traverse through the loop.
Any help would be appreciated.
-------------
MOD edit
did you mean this link #273
https://usethinkscript.com/threads/...used-in-thinkorswim.13822/page-14#post-143763
Last edited by a moderator: