- Fixed the bug about “cannot find index in self.end__check__list” by recording all request data.
- Changed version number to string.
- Print out fileName.
- Exit the code after tried to request data for 3 times and failed.
- Fixed the bug about “cannot get real time price because of “No security is found” when init is holding the positions
- Changed the logic to search exchange and primaryExchange from stockList
- Moved some functions to better locations
- Fixed the bug of “Error processing request:-‘bm’ : cause – Duplicate ticker ID for xxx”
- Added a method in data, data.can_trade( ). It always returns True at the moment. It will be extended later.
- Fixed the bug of “missing handle_data”. The handle_data function is not required in IBridgePy.
- Changed default values of open, high, low, close, size to NaN, following Quantopian’s style
- The function of show_real_time_price ( ) returns the current values without extra checking even if the values are NaN. However, show_real_time_price ( ) will guarantee that the bid price and ask price of stocks are positive and the last_traded of indexes are positive.
- Fixed the bug of “duplicated orderId” when re-sending request data
- Fixed the bug of AttributeError: ‘float’ object has no attribute ‘param’ when requesting real time prices
- Fixed the bug related to Ubuntu version and Mac version about file path
- errorCode = 2148 becomes a warning, not a critical error anymore.
- Fixed the bug of getting real time prices of secType = ‘IND’, for example, IND, VIX, USD
- Fixed the bug in Mac and Ubuntu version
- Fixed the bug of repBarFreq = 60
- Fixed the bug of before_tradng_start ( )
- Changed: show_real_time_price will not show any negative number anymore. However, the code will stop if the real time prices are not available for any reasons.
- Fixed the bug of the log file path in Linux.
- Fixed the bug in handle calendar, for example 2017.11.30
- Changed: errorCode = 2105 is a warning message and not a critical error any more.
- Fixed the bug of handle_data in run_like_quantopian mode. It won’t run when the market is close.
- Fixed a print versionNumber when exit with error message.
- Fixed IBridgePy for Ubuntu errorCode = 509
- Fixed the print bug in windows Python 3_64 version
- Added order_value ( ), order_target_percent ( ), order_target_value ( ) and record ( ) , same as in Quantopian.
- Deleted positions from context.portfolio.positions when the quantity of the security is 0. Now it matches what Quantopian does.
- Fixed the example_get_historical_data.py because request_data is deprecated from version 2.20171004.
- Added showing versionNumber when IBridgePy terminates with error messages.
- Fixed the bug in showing latest_profit when printing out positions. It always showed “NA” in the previous versions
- Separated IBridgePy log with the log created by users using the function of record ( ).
- Fixed the bug in get_open_order
- Fixed check_date_rules overnight issue
- Changed to the code related to error messages and terminate the code when needed.
- Added “show sizes” to the function of show_real_time_price
- handle_data is not required anymore. It is optional.
- Changed the default exchange of stock to SMART. The problem related to XIV positions are solved because of the change.
- Started to support order_percent ( ) .
- The bug related to schedule_function is fixed.
- The bug related to handle_calendar is fixed.
- Fixed the bug of print in quantopian.py in python 3.x version
- Changed all_US_Stocks.csv to security_info.csv
- Allowed users to add the security details to security_info.csvt
- The issues related to order_target( ) and positions are fixed because of the above changes.
- Added versionNumber for IBridgePy. The current versionNumber is 1.20170905
- Fixed a bug related to positions[symbol(‘xxx’)].amount, which has impacts on order_target ( )