I just opened a new account with TOS. I was wondering on writing a script on option spreads. Is there a way to access option bid and ask prices in a a script?
I'm trying to write a script that can show the option (regardless of the stock, strike price or spread as a percentage of the cost of the stock. And then sort this in an ascending order....might be too much to be asking But if anyone has suggestions I'd greatly appreciate it.
I don't know if the exact info you need/want is available in TOS scripts, but I'd suggest the best place to start is ThinkScripter.com. I found an Option Spread Viewer on there (Option Spread Viewer | ThinkScripter) but don't know if that's close to what you want.
ThinkScripter is a great place to find TOS scripts, etc.