← sources

Solving for Alpaca's and IB's incompatibility

source: reddit (reddit:algotrading)published 2026-10-26 10:44ingested 2026-10-27 02:40

retained text

Short summary of my current situation: I constructed a trading strategy which took me around 18 months and close to 1000 hours to develop. Most of my weekends and weekday evenings were spent on this. First 500-600 hours were literally just spent looking at charts and observing/documenting what's relevant and what's not. The other 400 - 500 hours were spent putting it on paper, and creating the algorithm + later testing.

Independent backtests via the API connected to IB's paper account were very successful. Tested over several months, accounting for commissions and spreads. Average number of trades was 150 per month or around 7 per day.

Here's the problem: the strategy relies heavily on 1-second data, meaning even a 1-second difference in an entry or exit can have quite a big impact on profits. At 9:30:58 ET, it takes a fixed screener snapshot of NYSE and NASDAQ-listed stocks. That snapshot is evaluated at around 9:31:05 to allow some time for data processing and for candles from 9:30:58 to finalize. Usually, around 50–70 stocks pass the screener each day. All of those stocks then need to be continuously monitored. Execution timing is extremely important, especially for exits.

IB doesn't allow screening that many stocks simultaneously, so I need a different data provider. I tested Alpaca SIP, but the differences compared to IB's historical data for both pricing and volume are substantial. Some of those differences actually change trading signals.

I read that IB's paper trading data is not always the most reliable, but also read about users having negative experiences with Alpaca. Maybe both are not the most reliable tools here. Maybe if I would live test (so not on via Paper trading), then the discrepancies would disappear or become manageable. I'm considering Massive, but fear that I'll run into the same problems which I encountered with Alpaca.

Any suggestions?

document fetched 2026-10-27 00:45 · canonical https://reddit.com/r/algotrading/comments/1xftdmr/solving_for_alpacas_and_ibs_incompatibility