Nice.
I have automated GUIs in the past, but that was via
AutoIT or
PyAutoGUI, and I used those to save time versus manually
web site scraping or
game-leveling. Looking at this thread, I like the quite literally "outside-the-box" approach of automating the GUI via an external program. I had this idea too, but what I couldn't figure out was a stable way to access the information from ThinkOrSwim at a specific point on screen that I could use a screen-reader against,,
but you cleared that hurdle by using the LABELS --- using the label as a spot on the screen that doesn't change positions, and then using that to send commands to the external program that is watching the screen. Also, I really like how you communicate the numbers to the external system via
BINARY labeling system.
Because I didn't get that idea to use the Labels, I already went down the rabbit hole of figuring out how to use the TD API via python to send orders (
PartTimeLarry has some great Youtube videos), but that's still not quite ready for prime time yet. Since my studies/strategies are already in Thinkscript to start, it'd be a lot easier to try to automate that via something I already understand (PyAutoGUI) and then I can take more time to work on the dream of the automation server in the cloud.
Questions:
#1.
Is anyone putting real money on the line? I see that some of you are just testing this out via Paper Trading.
I wish that TD API supported paper trading (it doesn't, so I'm using small quantity for testing purposes.)
#2.
In the binary label, why are more than two different colors used?
#3.
Related to this topic, has anyone devised a GUI automation solution for conditional orders? (the current problem with conditional orders is that they must be
manually re-submitted. Just wondering if someone had already made a
GUI automation for re-applying conditional order templates. (whether that template be saved within ToS, or it's in a text file sitting in the OS somewhere.)
https://usethinkscript.com/threads/why-doesnt-a-conditional-order-continue-to-run.3586/
https://tlc.thinkorswim.com/center/...Order-Types/thinkScript-in-Conditional-Orders