Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Does anybody here use IBridgePy?

I've been trying to code a MACD, RSI strat using IBridgePy and Interactive Broker's API system, however my backtesting is yielding no results as no trades are put through, i believe it's due to my if statement logic. The first part of the code I've written is below, could anyone have any ideas as to why this is?

1 response

Hi, Please check the functions count_positions(). I'm also trying to make work an algorithm from IbridgePy but it has differences in methods, I believe.