Many thanks Tim.
Little bit of background....!
I have traded full time for over 20 years and really only trade off news events. Now coding up data releases and scheduled events is pretty straightforward and can be set up to trigger automatic buy or sells.
What I want to be able to do is have an algo that can interpret an unscheduled news event and trigger a trade. For example if Obama was to resign, Greece kicked out the Euro, SNB to remove the floor then there would obviously be a huge market reaction. I want to be able to automate this.