NexusFi: Find Your Edge


Home Menu

 





Option Script


Discussion in ThinkOrSwim

Updated
    1. trending_up 9,444 views
    2. thumb_up 0 thanks given
    3. group 2 followers
    1. forum 2 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
bobp
Boise+Idaho/USA
 
Posts: 1 since Jun 2012
Thanks Given: 0
Thanks Received: 0

Hi All,
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.
Thanks!
Bob


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Trump Lands in Beijing on CPI Day: Iran Peace Expires To …
Prediction Markets & Event Contracts
Sundays Verdict: Lebanon Locked at 99.85% as Iran June 7 …
Prediction Markets & Event Contracts
Friday Update: Markets Now Pricing Fed Rate HIKES as Sta …
Traders Hideout
Thanks Mike. Godspeed.
The Elite Circle
El Clasico Draws $9.2M in Prediction Market Action -- Bi …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Big Mike in Ecuador
205 thanks
Sober Journey With S&P
21 thanks
30 Sessions
20 thanks
Volume Indicators
8 thanks
Thanks Mike. Godspeed.
7 thanks
  #2 (permalink)
 
ericbrown's Avatar
 ericbrown 
Tulsa, OK
 
Experience: Advanced
Platform: Tradestation, TOS, Python
Broker: IQFeed, Tradestation, TOS
Trading: ES, SPY, Options
Posts: 201 since Jan 2011
Thanks Given: 339
Thanks Received: 258

Hi Bob -

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.


Follow me on X Reply With Quote
  #3 (permalink)
 
rmejia's Avatar
 rmejia 
Puerto Rico
 
Experience: Intermediate
Platform: thinkorswim
Broker: TD Ameritrade
Trading: Options
Posts: 379 since Oct 2010
Thanks Given: 3,614
Thanks Received: 441


Bit late but I think the bid & ask can be accessed for a Custom Quote Formula:

ask ? Resource Center

bid ? Resource Center


Reply With Quote




Last Updated on August 7, 2012


© 2026 NexusFi®, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Downloads - Top
no new posts