Author name: ibridge

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. Before this release, users receives an error message when IBridgePy receives information from multiple IB

Manage multiple IB accounts using IBridgePy Read More »

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. Understand what IBridgePy you have downloaded. As of 20190817, there are three IBridgePy versions: IBridgePy_Mac_Anaconda27_64:

Debug IBridgePy on Mac Read More »

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 internet traffic during streaming a Netflix movie will take the resources of communication between IBridgePy

Set up a virtual server for IBridgePy at Amazon EC2 Read More »

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 of this type of order at https://www.interactivebrokers.com/en/index.php?f=606 IBridgePy from version 2.20180324 starts to support placing trailing

IBridgePy starts to support Trailing Stop Limit order Read More »

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. https://en.wikipedia.org/wiki/Moving_average_crossover In a short summary of moving average crossover strategy, the trend of the security is going up when the fast moving average line cross over the slow

Sample code: Implementing moving average crossover strategy using IBridgePy Read More »

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 future results. Nothing in this computer program/code is intended to be a recommendation, explicitly or implicitly,

Tutorial: install IBridgePy and run an examples Read More »