r/algotrading
Solving for Alpaca's and IB's incompatibility
- upvotes
- 5
- comments
- 31
Post
Highlighted: the lines this signal was extracted from
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...
Keep reading with a free account
The rest of this post, and every signal for Interactive Brokers, is in your free account.
Also quoted as evidence
I read that IB's paper trading data is not always the most reliable, but also read about users having negative experiences with Alpaca.
From the post