As far as tools for automation, there are alot of choices. You can try OpenQuant, NeoTicker, I think LinnSoft does it. As far as the computer's security getting compromised on the internet, the risk is pretty high. For that you can use ZoneAlarm or a similar software that has a firewalling...