Author name: ibridge

IBridgePy update on 7/13/2017

The IBridgePy has been updated on 7/13/2017. The major updates include: Fixed the bug of  KeyError: ‘last_price’ Updated data.current: The sequence of securities in the output pandas Series/DataFrame is same as the input sequence of securities, which is in line with Quantopian’s data.current Updated data.history: The sequence of securities in the output pandas Series/DataFrame/ panel […]

IBridgePy update on 7/13/2017 Read More »

Great News: Run Quantopian algorithms using IBridgePy

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. Dear IBridgePy users, We are very excited to tell everyone that IBridgePy can run Quantopian algorithms with NO

Great News: Run Quantopian algorithms using IBridgePy Read More »

Export historical data and save them to csv files

Export historical data from Interactive Brokers and save them to CSV files easily with IBridgePy. Unlike Quantopian or zipline, IBridgePy lets you retrieve historical data with custom datetime ranges perfect for backtesting trading strategies. Apparently, you cannot do it using Quantopian or zipline. But you can get historical data from Interactive Brokers and save them

Export historical data and save them to csv files Read More »

Is it possible to ignore or block error messages?

Learning to ignore or block error messages in IBridgePy should be approached carefully as these messages are crucial for algorithmic trading debugging. While possible to ignore block error notifications, keeping error messages visible helps you troubleshoot issues with the IB API connection and order execution. It is possible to ignore or block error messages in

Is it possible to ignore or block error messages? Read More »

How to retrieve the whole option chains from IB using IBridgePy?

Retrieving option chains with IBridgePy is essential for options trading strategies. This guide shows how to use the IB API through IBridgePy to get complete option chain data including strikes, expiries, and contract details for any underlying security. As an example, the following code can be used to know the available futures of E-mini S&P

How to retrieve the whole option chains from IB using IBridgePy? Read More »

Great News: IBridgePy on Python 3 is available !

IBridgePy Python 3 support brings modern Python compatibility to your algorithmic trading platform. This update makes IBridgePy the easiest Python 3 available tool to trade with Interactive Brokers using the latest Python 3 features. Dear IBridgePy users, Thank you very much for your interest in IBridgePy. We are working very hard to make IBridgePy the

Great News: IBridgePy on Python 3 is available ! Read More »

Do you have any feature for scheduling? Which would be similar to Quantopian schedule_function?

Scheduling function features in IBridgePy give you full control over when your algorithm trading strategies execute. Unlike platforms limited to US equities, IBridgePy supports custom scheduling for any security or commodity with different trading hours across global markets. No. The main products that quantopian trades are US equities and they have clear market open and

Do you have any feature for scheduling? Which would be similar to Quantopian schedule_function? Read More »

Example of requesting historical data

Requesting historical data in IBridgePy is straightforward using the request_data function. This Python stock trading tool supports various timeframes from 1-second to daily bars, making it ideal for backtesting trading strategies with real market data from Interactive Brokers. Request_data for Historical Data request_data(historyData= None, realTimePrice = None, contractDetails= None, marketSnapShot=None, waitForFeedbackinSeconds=30,repeat=3) historyData: a list of

Example of requesting historical data Read More »