NexusFi: Find Your Edge


Home Menu

 





Option Script


Discussion in ThinkOrSwim

Updated
    1. trending_up 9,510 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?
Iran Airspace Collapses 18 Points to 15.5% While Hormuz …
Prediction Markets & Event Contracts
Sundays Verdict: Lebanon Locked at 99.85% as Iran June 7 …
Prediction Markets & Event Contracts
April CPI Preview: +3.7% YoY Expected at 8:30 AM ET -- C …
Traders Hideout
Strike Pause Holds, Oil Erases Monday Spike -- May CPI W …
Traders Hideout
Iran Peace Expired NO: Ceasefire on Life Support, OPEC a …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
13 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 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: 439


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