(Theo Price / Last Price) in Options Chain column


Category:
0
0

Hi,

In the Options Chain area of TOS, there’s a Theo Price function that I would like to reference in a column study to automatically calculate the ratio betwen the Theo Price and the last (or mid of bid/ask) price of the respective options contract. The idea is that I would input theoretical values in the Theo Price tool to populate the Theo Price column values, and the study would use those values to calculate the ratios automatically (Theo Price / Last (or Mid) Price). This would help pick out the options with the best risk-reward ratio for active trading at a glance.

Wonder if this is possible?

Thanks

Marked as spam
Posted by (Questions: 1, Answers: 1)
Asked on January 30, 2022 12:46 pm
405 views
0
Private answer

Thinkorswim has a built-in chart study named "TheoreticalOptionPrice":

https://toslc.thinkorswim.com/center/reference/Tech-Indicators/studies-library/T-U/TheoreticalOptionPrice

If we examine the code for that built-in chart study we find they are using a function named "OptionPrice()":

https://toslc.thinkorswim.com/center/reference/thinkScript/Functions/Option-Related/OptionPrice

So we can use that function in your formula and build a custom column for the options chain and this is what it looks like:

plot data = OptionPrice() / (bid + ask) / 2;

Notice this solution uses the mid point between the bid and the ask as the divisor in your formula. Trying to use the last traded price will result in poor and inaccurate results, especially when trading volume for a specific strike price is low.

 

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on January 30, 2022 1:05 pm
0
In the above formula, does the OptionPrice function take into account user inputs in the Theo Price tool that's located in Trade -> All Products -> Option Chain? I ask because I've tried plotting the Theo Price study that references OptionPrice in a price chart and it does not allow for user inputs like the Theo Price tool does.
( at January 30, 2022 2:29 pm)
0
The short answer is no. Answer to your next question is also no. There are no ways to compute a custom theo price that also reacts to those inputs in the same way as the built-in Theo price field.
( at January 30, 2022 2:39 pm)
0
Shame. Would've been a handy tool to have. Thanks for your time
( at January 30, 2022 2:45 pm)