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

Sample code: Implementing moving average crossover strategy using IBridgePy

Moving average crossover strategy is one of the popular strategies that lots of traders have paid attention to. The details of the strategy is described at Wikipedia. In a short summary of moving average crossover strategy, the trend of

Sample code: place orders and check how many shares in positions

Placing orders and checking how many shares in your account is a common step in algorithm trading programs. This sample code is to provide users an example about placing orders and then checking how many shares of each position in

Tutorial: install IBridgePy and run an examples

  Tutorial: install IBridgePy and run an example There is a risk of loss when trading stocks, futures, forex, options and other financial instruments. Please trade with capital you can afford to lose. Past performance is not necessarily indicative of

New IBridgePy release 2.20171104

Dear IBridgePy users: IBridgePy has a new release 2.20171104 I would like to introduce some changes that a lot of users are interested in. show_real_time_price will not show any negative number anymore. Some users reported strange behaviors of order (