Some questions about capability of ThinkScrpt

skybasu

New member
Hi All,

I am new in the forum and looking forward to some meaningful discussions here.

Though I am using ThinkOrSwim as trading platform for the last few years, I have not used ThinkScript yet. Now I am interested to use it to automate some of the trading processes. I have pretty good understanding of programming. I have some questions before I commit my time and effort in learning ThinkScript. I'll really appreciate if I can get some clarity on these questions.

  1. Does ThinkScript allow call to external REST API function calls?
  2. Does ThinkScript allow exposing any of its user defined function as REST API for an external application to call?
  3. Does ThinkScript allow to get ask/ bid prices in real time for options for a given symbol, expiration, strike and type (call/ put)?
  4. Does ThinkScript allow to get historical ask/ bid prices for options for a given symbol, historical date/time, expiration, strike and type (call/ put)?
  5. Does ThinkScript allow submitting open and close orders at a particular day/ time any day?
  6. Is there a built-in database support in ThinkScript?
  7. Is there a built-in Excel (alternativel CSV) support in ThinkScript? I am looking for more than export to Excel functionality that ThinkOrSwim supports.
Regards

Sky Basu
 
Solution
Hi All,

I am new in the forum and looking forward to some meaningful discussions here.

Though I am using ThinkOrSwim as trading platform for the last few years, I have not used ThinkScript yet. Now I am interested to use it to automate some of the trading processes. I have pretty good understanding of programming. I have some questions before I commit my time and effort in learning ThinkScript. I'll really appreciate if I can get some clarity on these questions.

  1. Does ThinkScript allow call to external REST API function calls?
  2. Does ThinkScript allow exposing any of its user defined function as REST API for an external application to call?
  3. Does ThinkScript allow to get ask/ bid prices in real time for options for a...
Hi All,

I am new in the forum and looking forward to some meaningful discussions here.

Though I am using ThinkOrSwim as trading platform for the last few years, I have not used ThinkScript yet. Now I am interested to use it to automate some of the trading processes. I have pretty good understanding of programming. I have some questions before I commit my time and effort in learning ThinkScript. I'll really appreciate if I can get some clarity on these questions.

  1. Does ThinkScript allow call to external REST API function calls?
  2. Does ThinkScript allow exposing any of its user defined function as REST API for an external application to call?
  3. Does ThinkScript allow to get ask/ bid prices in real time for options for a given symbol, expiration, strike and type (call/ put)?
  4. Does ThinkScript allow to get historical ask/ bid prices for options for a given symbol, historical date/time, expiration, strike and type (call/ put)?
  5. Does ThinkScript allow submitting open and close orders at a particular day/ time any day?
  6. Is there a built-in database support in ThinkScript?
  7. Is there a built-in Excel (alternativel CSV) support in ThinkScript? I am looking for more than export to Excel functionality that ThinkOrSwim supports.
Regards
Sky Basu

hello,
1.no
2.no
3.yes
4.yes
5.no
6.no
7.no

thinkscript can't import or export. it can't place orders. some code can be manually added as rules in an order.
tradingview pine has an areay function. thinkscript doesn't have array or database capabilities.

i haven't used the TD API. it may be able to do what you want.


https://tlc.thinkorswim.com/center/reference/thinkScript/tutorials

https://developer.tdameritrade.com/apis
 
Solution
hello,
1.no
2.no
3.yes
4.yes
5.no
6.no
7.no

thinkscript can't import or export. it can't place orders. some code can be manually added as rules in an order.
tradingview pine has an areay function. thinkscript doesn't have array or database capabilities.

i haven't used the TD API. it may be able to do what you want.


https://tlc.thinkorswim.com/center/reference/thinkScript/tutorials

https://developer.tdameritrade.com/apis
Hi @halcyonguy, thank you for your prompt response. Based on your response about the functionality of ThinkScript, its primary usage is to create various technical indicator not to automate trading.

You mentioned TradingView Pine scripting. By any chance, do you know the answers to these questions for Pine? Or any other programmable platform which has answer to these questions as 'Yes'?

Once again really appreciate your help and support.
 
Hi @halcyonguy, thank you for your prompt response. Based on your response about the functionality of ThinkScript, its primary usage is to create various technical indicator not to automate trading.

You mentioned TradingView Pine scripting. By any chance, do you know the answers to these questions for Pine? Or any other programmable platform which has answer to these questions as 'Yes'?

Once again really appreciate your help and support.

regarding pine, i do not know what it is capable of. i haven't used it. it is the only other language i have looked at, having converted some pine scripts to thinkscript.
 

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
488 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