This can do MO only executions for both buy and sell. The algorithm at
this stage is giving positive returns for both buying and selling for 50
tickers for jun 30 2010 and for jan 29 2014. 
Algorithm needs more testing in the order execution part.
Trying thresholds on error rates