I am requesting a sample script which demonstrates airtight usage of the Account.Submit() method and AddOn trade management in general.
The reason for this is because in the documentation there are a lot of intimidating disclaimers outlining how this method is for advanced programmers and improper usage of it can have serious adverse effects on one's trading account. And I'm starting to believe them! for example, when I implemented this method everything seemed to be working properly, but then I noticed that I had 22 pending orders that the control center wouldn't even allow me to cancel manually.
Any script that demonstrates usage would be great. Or multiple scripts that do different things for that matter, the more demonstration the better. Thank you!
Comment