Python & ThinkScript

Picard

Member
I see some discussion in this forum about using Python with ThinkScript. Where can I find out more about interfacing Python with ThinkScript? Also can Python perform functions that ThinkScript cannot? In other words, can Python extend the limits of ThinkScript?
 
Hello everyone,

I'm exploring the possibilities of using Thinkscript, the scripting language for Thinkorswim, in conjunction with other trading platforms, specifically Interactive Brokers. My primary aim is to achieve a more universal application of Thinkscript, stepping outside the confines of Thinkorswim.

The motivation behind this inquiry stems from two main challenges I'm currently facing:

  1. Execution Speed: I've noticed that order fills on TD (now Schwab) are not as rapid as I'd prefer.
  2. Lack of Automation API: To the best of my knowledge, Thinkorswim doesn't offer an API for automating trading strategies, which significantly limits my trading efficiency.
Given these issues, I'm curious if there's a way to leverage Thinkscript through another programming language, like Python, to create a more integrated and automated trading setup that can work seamlessly with platforms like Interactive Brokers.

I would greatly appreciate any insights, experiences, or advice you might have on this topic. Thanks in advance for your help!
 
Self-directed traders had two avenues for interacting with TDA data feeds.

1. The ThinkOrSwim App
2. The Application Programming Interface (API) which allowed communication between TDA and languages such as python.

Schwab has stopped accepting applications for access to the TDA API.
The new Schwab API is thought to be available by the end of the year.
Applications for use of the Schwab API are being accepted but not yet being processed.
i6gHVGe.png


What data can you access through API?
https://beta-developer.schwab.com/products

Read more:
https://beta-developer.schwab.com/user-guides/apis-and-apps/test-in-sandbox
 
Last edited:

Join useThinkScript to post your question to a community of 21,000+ developers and traders.

Similar threads

Not the exact question you're looking for?

Start a new thread and receive assistance from our community.

87k+ Posts
342 Online
Create Post

Similar threads

Similar threads

The Market Trading Game Changer

Join 2,500+ subscribers inside the useThinkScript VIP Membership Club
  • Exclusive indicators
  • Proven strategies & setups
  • Private Discord community
  • ‘Buy The Dip’ signal alerts
  • Exclusive members-only content
  • Add-ons and resources
  • 1 full year of unlimited support

Frequently Asked Questions

What is useThinkScript?

useThinkScript is the #1 community of stock market investors using indicators and other tools to power their trading strategies. Traders of all skill levels use our forums to learn about scripting and indicators, help each other, and discover new ways to gain an edge in the markets.

How do I get started?

We get it. Our forum can be intimidating, if not overwhelming. With thousands of topics, tens of thousands of posts, our community has created an incredibly deep knowledge base for stock traders. No one can ever exhaust every resource provided on our site.

If you are new, or just looking for guidance, here are some helpful links to get you started.

What are the benefits of VIP Membership?
VIP members get exclusive access to these proven and tested premium indicators: Buy the Dip, Advanced Market Moves 2.0, Take Profit, and Volatility Trading Range. In addition, VIP members get access to over 50 VIP-only custom indicators, add-ons, and strategies, private VIP-only forums, private Discord channel to discuss trades and strategies in real-time, customer support, trade alerts, and much more. Learn all about VIP membership here.
How can I access the premium indicators?
To access the premium indicators, which are plug and play ready, sign up for VIP membership here.
Back
Top