Error code: FAILED_TRADE_WINDOW
Ensure the trading desktop program is logged in and running. If it is, then the issue is likely your window name.
Review the Quickstart video at this timestamp: https://youtu.be/GmKpeNb4k64?si=T716mQOCAi6ckfmZ&t=90
When you change the window name ensure that you click Save Settings inside the ATS and then close and restart the software.