IBrokers icon indicating copy to clipboard operation
IBrokers copied to clipboard

reqHistoricalData seems broken?

Open JohannesEmm opened this issue 6 months ago • 0 comments

Description

reqHistoricalData seems broken

Expected behavior

reqHistoricalData hould give the historial data, but instead throws this error: Error in if (curMsg == .twsIncomingMSG$TICK_PRICE) { : argument is of length zero

Minimal, reproducible example

contract <- twsEquity('QQQQ','SMART','ISLAND')
# by default retreives 30 days of daily data
reqHistoricalData(tws, Contract=contract)

JohannesEmm avatar Sep 04 '24 07:09 JohannesEmm