Starting time must occur before ending time

10 views
Skip to first unread message

Derek Tishler

unread,
Apr 3, 2019, 10:14:02 AM4/3/19
to IbPy Discuss
When downloading historical 5 sec trade, bid, or ask data from Smart exchange for etf QQQ on the date 6/4/2018 I get the following error. This is only occurring on this specific day since Jan 2018 to April 2019.

<error id=5, errorCode=162, errorMsg=Historical Market Data Service error message:Starting time must occur before ending time>

This is a rather odd error that I have not seen before nor does it seem to be dealt with in current online api docs for error codes(id 5 specifically) or the historical data limitation page. In this request I am attempting to download from 10am to the previous 2 hours. My download system works for the other tested assets over this same period and I did not find any exchange holidays on this Monday back in June 2018.

I am simply skipping this specific day and not seeing trouble otherwise. Any info on this error would be appreciated in case others have dealt with it before. Thanks!
Reply all
Reply to author
Forward
0 new messages