Algorithmic trading software safety guards

Posted by Adal on Stack Overflow See other posts from Stack Overflow or by Adal
Published on 2010-05-20T15:23:47Z Indexed on 2010/05/21 8:20 UTC
Read the original article Hit count: 314

I'm working on an automatic trading system. What sorts of safe-guards should I have in place?

The main idea I have is to have multiple pieces checking each other.

I will have a second independent little process which will also connect to the same trading account and monitor simple things, like ensuring the total net position does not go over a certain limit, or that there are no more than N orders in 10 minutes for example, or more than M positions open simultaneously. You can also check that the actual open positions correspond to what the strategy process thinks it actually holds. As a bonus I could run this checker process on a different machine/network provider.

Besides the checks in the main strategy, this will ensure that whatever weird bug occurs, nothing really bad can happen.

Any other things I should monitor and be aware of?

© Stack Overflow or respective owner

Related posts about monitoring

Related posts about finance