It's been an interesting week. There was a missed trade both Monday and this morning, where local low was exactly the price the algo was waiting for. However, since the algo polls the market only every so often, it missed the ticks and never entered.
My first thought was, well, there's always going to be a boundary where you'll just miss a trade for one reason or another.
I still think that's a valid point. However, I also think a better design is to have the prices *inform the trading algo* when the level of interest is touched. In other words, use callbacks instead of polling.