The "burst" problem was manifesting itself with the market depth
updates in JBookTrader. JArbitrager does not use market depth. It's
just the prices. As it stands right now, one-second prices are used.
We may want to adjust this in the future.
And you'll be updated once every second with 1sec bar. Is that right?
Yes. We can make it a shorter period, but then it would be problematic to backtest, because the shortest bar size with IB historical data is 1 second.
I see. My opinion is you should consider it as the arbitrage opportunity doesn't last long. Could you make a tick based system?
Actually, what makes more sense is bid/ask data. That is, record a new line whenever either the best bid or the best ask changes for either of the two instruments. That is different from the tick data which "ticks" every trade. For example, let's say the bid/ask is 1040.00/1040.25 for the ES. Multiple ticks may occur (i.e, 1...@1040.00, 2...@1040.25), but the bid/ask may not change. For JArbitrager purposes, the ticks are really irrelevant. What matters is the bid/ask for one instrument versus the bid/ask for the other instrument in the pair.
What are "irregular" positions and trades?
Oh, ok, I think you mean "odd lot" orders.
That would probably be an issue for thinly traded securities, just because there may not be enough to buy at the best ask and to sell at the best bid. I don't think there would be an issue with things like ES, SPY, YM, DIA, and such, but yes, we should pay attention to that. It's not really the "odd lot" issue, but a general liquidity issue.