anthonyng2 / ib

Samples code demonstrating how to use IbPy to extract information from Interactive Brokers API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to get working in IPynb

zoakes opened this issue · comments

Hello,

I purchased your udemy course, and greatly enjoyed it -- however upon going to your github I'm unable to get the software to work in Ipynb -- I can get the imports to work, however can't create instances of EWrapper/IBWrapper. Even made a class and extended functionality of IBWrapper/EClient -- still no luck.

Please advise -- and yes the software/twsapi is downloaded, basic tws calls work (requesting data) in pycharm just not able to get your code working in ipynb.

Any help would be greatly appreciated.

Here's the error thrown.

TypeError: Can't instantiate abstract class EWrapper with abstract methods accountDownloadEnd, accountSummary, accountSummaryEnd, bondContractDetails, commissionReport, connectionClosed, contractDetails, contractDetailsEnd, currentTime, deltaNeutralValidation, error, error_0, error_1, execDetails, execDetailsEnd, fundamentalData, historicalData, managedAccounts, marketDataType, nextValidId, openOrder, openOrderEnd, orderStatus, position, positionEnd, realtimeBar, receiveFA, scannerData, scannerDataEnd, scannerParameters, tickEFP, tickGeneric, tickOptionComputation, tickPrice, tickSize, tickSnapshotEnd, tickString, updateAccountTime, updateAccountValue, updateMktDepth, updateMktDepthL2, updateNewsBulletin, updatePortfolio