IBridgePy update information on 3/9/2017

IBridgePy Update Functions and New Features

This IBridgePy update information introduces powerful new functions that enhance your algorithmic trading capabilities. The latest release includes advanced order management tools and improved data handling for Python traders using the IB API.

IBridgePy update information for algorithmic trading

Key Features in This Release

  • Add a few easy-to-use functions:
    1. superSymbol( secType, symbol, currency, exchange, primaryExchange, expiry, strike, right, multiplier) Specify a security by more parameters
    2. reqHistParam(security, barSize, goBack, endTime, whatToShow, useRTH, formatDate): Specify a historical data request by more parameters
    3. calculate_profit(a_security): Calculate profit of a position.
    4. create_order(action, amount, security, orderDetails, ocaGroup, ocaType, transmit, parentId): Create orders with more parameters. It can be used to place combination orders, take profit orders, stop loss orders and etc.
    5. place_order_with_TP_SL(parentOrder, tpOrder, slOrder) : Place orders with takeprofit orders and stoploss orders.
    6. place_combination_orders(legList): Place combination orders with legs.
    7. show_nextId( ): Show the next valid ID. The major usage is to put it in ocaGroup when creating orders.
    8. hold_any_position( ) : Return True if holding any positions. Return False if there is no any positions in the account.
  • Fix the bug of showing an error when internet disconnection happens: IBridgePy.IBAccountManager::search_in_end_check_list: cannot find any in self.end_check_list
  • Rewrite other critical functions
EXCLUSIVE OFFER

Extra 7% OFF All Quantra Courses

Level up your quant trading skills with courses from Quantra by QuantInsti — Python for trading, machine learning strategies, options trading, and more.

HUI7 Browse Courses → Use code HUI7 at checkout
EXCLUSIVE OFFER

Extra 7% OFF All Quantra Courses

Level up your quant trading skills with courses from Quantra by QuantInsti — Python for trading, machine learning strategies, options trading, and more.

HUI7 Browse Courses → Use code HUI7 at checkout

Ready to Automate Your Trading?

Download IBridgePy free or let our coders build your strategy.

Download Free Hire a Coder