Automated trading 101

July 7, 2007

When coding up an automated trading component for your etrading system, always give it a read only mode. Why ?  Because no matter how many automated tests, simulations and replays of live data you’ve done in your test environment, your code may still have failed to anticipate some anomaly in the live environment. And then you’ll find it trades in the wrong size, or at the wrong price, or on the wrong side etc…

How to avoid this ?  Code so you have a silent mode that doesn’t execute any trades, but does log the trades it would have done, and the market environment at that time. Then get your sponsor on the desk to look through the log, review & sign off. And only then, take a deep breath and push the big red button…

Advertisements

One Response to “Automated trading 101”

  1. JD Long Says:

    That’s a great point… and it sounds like the voice of experience! 😉

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s