♥ 0 |
Hello Peter, I’ve tried to search this with no luck, wonder if it possible to create a custom column in the watchlist to show the current spread from a specific option, it would be the difference between the options price ASK – BID = spread : hope its understood, many thanks in advance for the help. RESOLVED
Marked as spam
|
Private answer
There is a previous solution which is very close. So I will include a link to that previous post because I created the solution to your request by modifying the solution to that previous post: https://www.hahn-tech.com/ans/bid-ask-spread-column-in-options-chain/ In order to modify that solution to fit your request, I merely removed the line of code which read the price of the underlying stock. Then I updated the plot statement to compute the difference between the bid and ask. You can apply this solution to a custom watchlist column as well as a custom column in the options chain.
This only works when the column is set to an intraday time frame, because this bid and ask prices are not available from a daily time frame or higher. Since we are in the after hours session at the time of this post, I have also set the column to include extended hours. (Why? Thinkorswim does not retain historical data for bid and ask, so we can only read the current bid and ask).
Marked as spam
|
Please log in to post questions.