Exclusive 22% OFF All Quantra by QuantInsti Courses for IBridgePy Users Master algorithmic trading from beginner to advanced — Python for trading, machine learning strategies, options trading, and more.
HUI22 Use HUI22 for 22% off
HUI7 Stack HUI7 for an additional 7% off
Browse Courses →
← Back to Blog

Great News: Run Quantopian algorithms using IBridgePy

July 8, 2017

Run Quantopian algorithms live with IBridgePy and execute your strategies through Interactive Brokers. This powerful algorithmic trading solution lets you use familiar Quantopian functions like initialize, handle_data, and schedule_function to trade real money through the IB API.

Run Quantopian algorithms live with IBridgePy

Dear IBridgePy users,

We are very excited to tell everyone that IBridgePy can run Quantopian algorithms with NO or minimum changes. Many of you may have noticed that the IBridgePy documentation have been updated with many functions that behave very similar to those functions bearing same names at Quantopian.

Quantopian Functions Supported to Run Quantopian Algorithms

The Quantopian algorithms using the following functions can be run at IBridgePy without any change:

To run Quantopian algorithm at IBridgePy is very simple. You just need to put your IB account code in RUN_ME.py and set runMode=’run_list_quantopian’. and then, run the algorithms in Spyder or other Python IDE. In this mode, the initialize function will be run once at the beginning of the algorithm and handle_data function will be run every minute, just like how they perform at Quantopian.

Please don’t hesitate to contact with us at IBridgePy@gmail.com if you have any quantions when you run Quantopian algorithms at IBridgePy. We will try our best to solve the issues as soon as possible.

Thanks for your time and your interest in IBridgePy.

IBridgePy team

Getting Started

If you're new to transitioning your strategies, start by testing in a paper trading environment. Verify that all your function calls behave as expected before deploying to live trading accounts.

 

Learn more from Python official documentation.