Plot quarterly options on a chart


Category:
0
0

Is it possible on thinkorswim  to plot the open price for quarterlies for the entire quarter

Marked as spam
Posted by (Questions: 3, Answers: 2)
Asked on November 2, 2017 11:21 pm
87 views
0

One word titles do not provide other viewers with enough information to search for and find your question. The title of a question should be brief but describe the basic context of the question. It seems to me you want to plot a quarterly option on a chart. And that you want to plot the open, implying you want to plot this on a daily chart. If that is the case I suggest a title of “Plot quarterly options on a chart”. Let me know if this is an accurate title for your question and I will change it, along with the url.

( at November 3, 2017 8:07 am)
0

Yes daily or anything time frame

( at November 3, 2017 8:44 am)
0

Thanks

( at November 3, 2017 1:34 pm)
0
Private answer

After testing this out I find that we can indeed plot the open price of an option contract. In fact you can plot the Open, High, Low, Close, Volume and OpenInterest for any option without any code whatsoever. Simply place the OPRA code in the ticker symbol box of any chart.

Here is where we run into trouble. This will only plot data on the chart for days in which there were actual trades that took place on that given OPRA code. So you will see gaps, or sometimes no data at all. Those gaps or missing data are due to the fact that no trades took place on those days.

So if you have an option contract that trades in very high volume every day then you will have a full chart of data. Quarterlies are NOT high volume and not traded every day.

So this code will indeed plot the opening trade price when you place an OPRA code in the optionSymbol user input. But you will only see chart data when actual trades have taken place.

declare lower;
input optionSymbol = ".QQQ171229C153";
plot data = open(symbol = optionSymbol);

Screenshot attached showing this particular contract has only traded 4 days since it’s creation.

Attachments:
Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on November 3, 2017 12:11 pm