Backtest using any historical data

IBridgePy can backtest algo trading strategies using historical data not only from Interactive Brokers but any other data providers. The basic idea is to save historical data from any data providers to local csv files and then supply them to

Raise log level to help debug

Debugging a code is frustrating. We understand it and we are here to help you. When you post debugging questions at community and send email to, please follow this guideline so that we can help you solve the issues

IBridgePy starts to support Python 3.7 !

Starting from V 5.0.8 released on July 8th 2019, IBridgePy supports Python 3.7 and will support other Python versions in the future as needed. Windows: Anaconda Python 2.7 32-bit, Anaconda Python 2.7, Anaconda Python 3.6 and Anaconda Python 3.7 Mac: Python 2.7,

Backtest strategies on IBridgePy

We are very pleased to announce that IBridgePy Backtester is released from V 5.0.1. The main feature of IBridgePy Backtester is to backtest strategies using historical data that are retrieved from Interactive Brokers or other data providers. The backtester supports

multiple strategies on multiple accounts

This is a sample code to demonstrate how IBridgePy for Multi Account implement different trading strategies on multiple accounts. The sample code assumes that two IB accounts (accountCode1 and accountCode2) are linked to one login credential. For the accountCode1, the

Manage multiple IB accounts using IBridgePy

A new feature is recently released for IBridgePy Community version. This feature will enable users who have multiple linked Interactive Brokers (IB) trading accounts to manage any one of these accounts using this community version. This feature is developed responding to high customer demands.

Debug IBridgePy on Mac

It is very common to see the following error when IBridgePy runs on Mac. from IBridgePy import IBCpp ImportError: dynamic module does not define module export function (PyInit_IBCpp) The following steps will be helpful to solve the issue. Step 1.

Set up a virtual server for IBridgePy at Amazon EC2

Many users want to set up a dedicated server for algorithm trading and it is definitely highly recommended because any other services at the same server that runs IBridgePy may adversely affect implementing your pre-defined trading strategies. For example, excessive

It is easy to place order with stop loss and take profit on IBridgePy

Many traders like to manage the risks to their positions by attaching a stop loss order (S/L order) and a take profit order (T/P order) to the main order. If the security rises to the take-profit point, the T/P order

IBridgePy starts to support Trailing Stop Limit order

A trailing stop limit order is designed to allow an investor to specify a limit on the maximum possible loss, without setting a limit on the maximum possible gain. For more details about trailing stop limit order, please refer to the introduction