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 (

More Quantopian functions are supported by IBridgePy !

Dear IBridgePy users, We know that migrating from Quantopian to IBridgePy is not an easy task so that we work very hard to support as many Quantopian functions as possible. From IBridgePy version 2.20171012, order_value ( ), order_target_percent ( ),

IBridgePy starts to support order_percent in Quantopian now

Dear IBridgePy users, IBridgePy starts to support order_percent(security, amount, style=OrderType) now for version 1.20170920 For details, please check out Other updates: The bug related to schedule_function is fixed. Thanks to jakemoilanen for reporting the bug The bug related to handle_calendar is

Free debug serivce

Dear IBridgePy users, Due to increased number of users who are willing to migrating from Quantopian to IBridgePy, we are glad to offer FREE debug services to make the migration process easier. The scope of this free debug services are

Release note and version number

Dear IBridgePy users, We really appreciate thomas2004ch for his/her comments on missing release notes and version number. To address this issue, we have built a dedicated webpage to announce release notes about IBridgePy. . The related release notes will not be

Tutorial: Migrating from Quantopian to IBridgePy

Migrating from Quantopian to IBridgePy can be very easy in some cases even without making any code changes. In this thread, I am going to talk about how to make the migration as smooth as possible. In the following, I

A sample code to show how to get historical data for VIX

The following sample code is to get historical data for VIX from Interactive Brokers if the user has the subscription to VIX at IB. The function of superSymbol ( ) is to define the security. data.history ( ) has the same