rterp / SumZeroTrading

A Java API for Developing Automated Trading Applications for the Equity, Futures, and Currency Markets
http://rterp.github.io/SumZeroTrading/
Other
145 stars 47 forks source link

Interactive Brokers HMDS query returned no data #43

Open rterp opened 7 years ago

rterp commented 7 years ago

Properly handle error message from IB: Quote engine error: id='43' errorCode='162' message='Historical Market Data Service error message:HMDS query returned no data: GOOGL@SMART Trades'

Currently the call to request the historical data will continue to block as it doesn't recognize this is an error condition. The call should throw an exception back to the caller, and the caller can decide if they want to query for the historical data again.

stimoumi commented 4 years ago

Hello, was it solved? I am having this issue. I get an error as there are no historical data for the contract I am asking. But I would like my code running and to not stop. Any solutions?