How do I get a text-to-speech API to work with a Tos script


0
0

Hey, so recently I’ve created a Tos script with alert functions. I trade with a few fellow colleagues and I find myself giving verbal cues all day long to other traders. I want to make this process a bit more autonomous by getting a text-to-speech API to tell us these alerts through an audio mp3 file.

 

I know Tos doesn’t limit the mp3 files you can import, but I truthfully don’t even know where to start? convert the code to python and try to get it to work through a juypter notebook? I’m semi new to thinkscripts and appreciate any feedback.

 

-Dre

Marked as spam
Posted by (Questions: 1, Answers: 0)
Asked on June 14, 2019 12:10 pm
88 views
0
Private answer

You actually have two questions. First you have:

How do I get a text-to-speech API to work with a Tos

The answer to that question is quick and easy. You can't. There are no components in the language used by Thinkorswim that would permit you to build any interface. That's ANY interface. None whatsoever. Be it text to speech API or anything else. There are no "handles" included in the language.

The second is this:

I know Tos doesn’t limit the mp3 files you can import, but I truthfully don’t even know where to start?

That's it. That is all you have. You can import custom mp3 files. Nothing more. And this will only be available for Study Alerts. This will not work for Chart Based Alerts.

Marked as spam
Posted by (Questions: 37, Answers: 4118)
Answered on June 15, 2019 8:04 am