Hello, First your backfill with IB and 'sec' data will be very limited. What I do is change the database settings to 1 minute and then download data dependent on time back fill needed. Then change back to 'sec' or tick data in my case. On some indexes I follow I also get the message you get and came to the conclusion perhaps IB no saves data!
Now on I do a SetForeign, Restore Price Arrays formula (below) on the these symbols in one of my main charts and at the end of the day ever thing is charted, then save the various symbols by bring up a chart or do a formula scan to save the data. Why you have a diff of 5 sec and 15 sec me do not know. Hope this helps, Jerry SetForeign( "QQQQ-ISLAND", True ); QQQQOpen = TimeFrameGetPrice( "O", inDaily, 1 ); QQQQClose = Foreign( "QQQQ-ISLAND", "close", 1 ); QQQQChange = QQQQClose - QQQQOpen; QQQQPerCentChange = ( QQQQChange / QQQQOpen ) ; RestorePriceArrays(); -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of wang002157 Sent: Thursday, August 06, 2009 8:22 AM To: [email protected] Subject: [amibroker] IB Backfill Problem Hi, I'm using amibroker 5.2 with IB data plugin ver.1.8.4.. I have set the database base time settings to 5 sec. It's very weird that the backfill for HKFE and SEHK symbols have no problem, but there is error reporting for most other symbols and the backfill failed. The erro message as follows: Last Message from TWS: Msg 28, 162, Historical Market Data Service Error Message: HMDS query returned no data: XXXXXXXXXX(symbol name) midpoint However, the backfill for all symbols are OK when time settings changed to 15s or above. I'm not sure if this problem is caused by inproper settings or current uncorrected bug of data plugin. Will anybody with the same problem share your experience with me? Or what shall I do to solve this it? Thank you and waiting for your response. ------------------------------------ **** IMPORTANT PLEASE READ **** This group is for the discussion between users only. This is *NOT* technical support channel. TO GET TECHNICAL SUPPORT send an e-mail directly to SUPPORT {at} amibroker.com TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at http://www.amibroker.com/feedback/ (submissions sent via other channels won't be considered) For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG: http://www.amibroker.com/devlog/ Yahoo! Groups Links
