Automate Watchlist Additions


Category:
0
0

Curious if TOS has their API available to write a script to add scan results to a watchlist. My alerts for my scan only stay on for like 5 minutes before they are removed. I would like to make a static watchlist from these alerts and I do not want to add them manually. Any help greatly appreciated.

Marked as spam
Posted by (Questions: 5, Answers: 1)
Asked on July 12, 2020 9:28 pm
318 views
0
Private answer

I am not aware that the API provided by TD Ameritrade is able to interact with Thinkorswim in any way whatsoever. I may be wrong. But I no virtually nothing about the TD Ameritrade API. There is no API directly servicing Thinkorswim. None that I am aware of.

If you have a dynamic watchlist that is being populated from a running scan then you simply need to adjust your code so that your filter criteria retains the valid signal that put that ticker symbol in the watchlist in the first place. So when condition is true, retain that using a recursive variable and have that reset at the start of each new trading session.

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on July 13, 2020 7:41 am
0
Private answer

I believe you may have your answer here. You have to register for a developer account though. 

https://developer.tdameritrade.com/

Marked as spam
Posted by (Questions: 3, Answers: 4)
Answered on July 25, 2020 7:07 pm