Good luck, god speed.
Regardless of the whole premise and more to the point of your question, with that type of activity you need to rely on very well tested code. I would really discourage using the common retail trading platforms like NT/MC, they are not made for what you are trying to do...