Update:
I followed some document to download the lean (and Toolbox) locall and install mono to run below dll within Ubuntu
dotnet QuantConnect.ToolBox.dll --app=IBDL --tickers=AAPL --resolution=Daily --from-date=20210422-00:00:00 --to-date=20210521-00:00:00
It seems Yahoodownload for daily data is OK, but IB download not working, below is brief log:
20210523 18:56:03.354 TRACE:: InteractiveBrokersBrokerage.InteractiveBrokersBrokerage(): Host: 127.0.0.1, Port: 4002, Account: XXXXXXXX, AgentDescription: Individual
20210523 18:56:03.360 TRACE:: InteractiveBrokersBrokerage.Connect(): Attempting to connect (1/5) ...
20210523 18:56:05.860 TRACE:: InteractiveBrokersBrokerage.Connect(): calling _client.ClientSocket.eConnect()
20210523 18:56:05.907 TRACE:: InteractiveBrokersBrokerage.HandleConnectAck(): API client connected [Server Version: 157].
20210523 18:56:06.050 TRACE:: InteractiveBrokersBrokerage.DownloadAccount(): Finished account download for XXXXXXXX
20210523 18:56:06.176 TRACE:: InteractiveBrokersBrokerage.HandleAccountSummary(): Request id: 1, Account: XXXXXXXX, Tag: AccountType, Value: INDIVIDUAL, Currency:
20210523 18:56:08.449 TRACE:: InteractiveBrokersBrokerage.Connect(): Restoring data subscriptions...
20210523 18:56:08.485 TRACE:: InteractiveBrokersBrokerage.Connect(): IB message processing thread ended: #16
20210523 18:56:08.491 TRACE:: InteractiveBrokersBrokerage.HandleConnectionClosed(): API client disconnected [Server Version: 0].
20210523 18:56:08.491 TRACE:: InteractiveBrokersBrokerage.Dispose(): Disposing of IB resources.
20210523 18:56:08.491 TRACE:: InteractiveBrokersBrokerage.HandleConnectionClosed(): API client disconnected [Server Version: 0].
It can download my paper account balance (like how much mondy left in my paper account), but cannot download any data (I didn't find the date .zip in data folder).
BTW: The github for IB version is 974, I already changed to 984 since my IB version is 984.1h
Do we know why and can LEAN CLI directly integrate with Toolbox for download daily/minute data etc from IB?
Thanks,
henry