Blog Archives

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

Posted in Sample Code

Tutorial: install IBridgePy and run an examples

  Tutorial: install IBridgePy and run an example Step 0: Install Anaconda Python for Windows users Download and install the latest version of Anaconda, 64-bit Python, either 2.7 or 3.6. It will take up to 30 minutes to download and install

Posted in Uncategorized

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 (

Posted in Uncategorized

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 ( ),

Posted in Uncategorized

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 http://www.ibridgepy.com/ibridgepy-documentation/ Other updates: The bug related to schedule_function is fixed. Thanks to jakemoilanen for reporting the bug The bug related to handle_calendar is

Posted in Uncategorized

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

Posted in Uncategorized

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. http://www.ibridgepy.com/release-notes/ . The related release notes will not be

Posted in Uncategorized

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

Posted in Uncategorized

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

Posted in Sample Code

what will happen when broker had issues with their data source?

Question: On 8/16/2017 9:30 EST when market opens, due to some reasons the VIX data paused updating for 10 minutes. As a result all brokers’ VIX value is missing for that time period. I am wondering what the api request

Posted in Uncategorized