Joined: |
Feb 1, 2007 08:05 PM |
Last Post: |
Jul 12, 2007 09:33 AM |
Last Visit: |
Aug 29, 2007 02:09 PM |
Website: |
|
Location: |
|
Occupation: |
|
Interests: |
|
|
AIM: |
|
ICQ: |
|
MSN IM: |
|
Yahoo IM: |
|
|
APIer has contributed to 13 posts out of 21251 total posts
(0.06%) in 6,463 days (0.00 posts per day).
20 Most recent posts:
Update: Last night, 357 nasdaq stocks took from 9:00 PM to 9:49 PM. I think I was on 66.112.156.229..... Edited by APIer on Jul 12, 2007 at 10:14 AM
Thanks for your response.
Here's my log file. I also had trouble connecting as you can see. It is always pretty slow, however last night was the slowest I've ever seen it. In the past (on 05/03/07), 1 day has taken from 8:34 to 9:15 PM just as an example. I do not run the same batch every night, I pull up a list of stocks based on criteria & run it when I have time that day (always after 7PM):
7/10/2007 9:47:33 PM S,SERVER CONNECTED 7/10/2007 9:47:33 PM S,CUST,real_time,66.112.156.227 7/10/2007 9:47:33 PM S,KEYOK 7/10/2007 10:11:17 PM Invalid symbol. 7/10/2007 10:11:48 PM download failed for BRCDD 7/10/2007 10:22:40 PM Unable to connect to tick history socket 7/10/2007 10:22:50 PM download failed for CRUS 7/10/2007 10:23:11 PM Unable to connect to tick history socket 7/10/2007 10:23:21 PM download failed for CSCO 7/10/2007 10:43:53 PM 7/10/2007 10:44:24 PM download failed for IDCC
Hello. I downloaded 360 symbols, intraday tick data for 2 days last night. I started at 9:53 PM, and it didn't finish until 11:47 PM. Nothing was wrong w/my internet connection; it was fast. Any idea why downloading historical data is so slow?
I have resolved the backwards history issue (I haven't seen it since I re-wrote my code to use the historylookup2)...thanks again for your help.
I am still having issues w/connecting to the History Socket though. This happens almost every time I try to pull history on at least 1 symbol out of 200 or so. There doesn't seem to be a common time or symbol pattern...it appears to be random. I am using the new developer build.
Here's an example from my log today (EST time):
3/12/2007 7:17:11 PM Unable to connect to minute history socket 3/12/2007 7:17:21 PM download failed for BRCM
Thanks for offering such a wonderful product & for taking the time to continue to improve it! It would be great to have the following features:
1. The ability to watch symbols in minute bar intervals (1,5,10,etc.) instead of having to compress the tick data from w/in my program.
Thanks! Edited by APIer on Apr 15, 2007 at 05:35 PM
So this is the IHistoryLookup2 then? And it will be supported in all future releases?
Thanks for your help....
How can I modify my app to use the newer interface? Is this a different method I need to call? That would be great until the new release comes out....
I really don't have a set time...it's usually anywhere from 5:30 EST to 1 AM EST. Are there certain times I should avoid?
I do have some logging in my app; here are some recent examples (EST Time) (my internet is connected at the time it can't connect to the history server, i can log in to IQFeed just fine..):
1/29/2007 7:56:00 PM Unable to connect to minute history socket
1/29/2007 10:27:54 PM Unable to connect to minute history socket 1/29/2007 11:02:52 PM Unable to connect to minute history socket 1/29/2007 11:55:12 PM Unable to connect to minute history socket 1/29/2007 11:55:13 PM Unable to connect to minute history socket
1/30/2007 5:37:42 PM Unable to connect to minute history socket 1/30/2007 5:38:03 PM Unable to connect to minute history socket
1/30/2007 8:05:16 PM Unable to connect to minute history socket 1/30/2007 8:09:22 PM Unable to connect to minute history socket 1/30/2007 8:09:22 PM Unable to connect to minute history socket
1/31/2007 4:09:13 PM Unable to connect to minute history socket 1/31/2007 4:09:13 PM Unable to connect to minute history socket
1/31/2007 8:50:45 PM Unable to connect to minute history socket
2/1/2007 1:44:09 AM Unable to connect to minute history socket 2/1/2007 1:44:09 AM Unable to connect to minute history socket 2/1/2007 1:44:09 AM Unable to connect to minute history socket
2/1/2007 9:03:06 PM Unable to connect to minute history socket 2/1/2007 9:07:41 PM Unable to connect to minute history socket 2/1/2007 9:11:45 PM Unable to connect to minute history socket
It seems like it happens when I'm having trouble connecting to the history socket....would that push me to a different server where I would get the older reversed data?
I run request every day after 4 PM for a certain set of stocks that meet my volume & price criteria. The list doesn't change that often since I'm dealing w/high volume stocks. It's always 1 min...not tick data or anything else.
Here's a sample:
AAUK ACAS ADCT ADSK ADTN AFFX AGIX AINV ALGN ALKS AMKR AMLN AMMD ANDW APCC APOL APPB AQNT ARRS ATHR BBBY BEBE BIIB BLUD BMET BMRN BOBJ CAKE CBST CECO CELL CHINA CHKP CHRS CIEN CKFR COGN CONR CORS CREE CVTX CWTR CYMI DBRN DISCA DISH DLTR DPTR EAGL ENDP ENER ENTG EPEX ERIC EXPD EXPE EZPW FAST FITB GLBL GMKT GNTX GRMN GROW HANS HAWK HBAN HGSI HOTT HYSL IACI ILMN ILSE IMCL INFA ISIL ISIS JBHT JOYG KOMG LBTYA LGND LINTA LOGI MCHP MDCO MEDI MEDX MENT MOLX MPEL MSCC NBIX NDAQ NFLX NITE NKTR NTES NTLI NTRI NUAN ONXX OSIP OVTI PAAS PAYX PDLI PEIX PETM PLCM PLXS PMTC PPCO PPDI PSUN QSFT RACK RNWK ROST SBAC SGMS SIGM SIMG SINA SIRF SLAB SMTC SNPS SPSN STEC STLD SVNT SWFT SYNA THQI TRID TROW TTWO TWTC URBN USIH USPI VCLK VPHM VRSN VRTX VSEA WBSN WEBX WFMI XING XRAY YRCW
It is the Beta version...
It's version 4.2.0.3.
I have an array of symbols. I loop though each & request the history. I wait until it's done w/one, then pause my app for 200 milliseconds (this seemed to help). Then, I call the next symbol & so on. It's usually about 153 symbols total.
Thanks for your response. I am using Build 865.7 from 12/21/06.
I declare the following: Public WithEvents hlookup As DTNHISTORYLOOKUPLib.HistoryLookup
Then call: hlookup.RequestMinuteHistory("AAPL", 1, 1)
Then I process the bar data in this event: Private Sub hlookup_MinuteCompleted(ByVal lMinutesLoaded As Integer, ByVal aTime As Object, ByVal aOpen As Object, _ ByVal aClose As Object, ByVal aHigh As Object, ByVal aLow As Object, ByVal aVolume As Object, ByVal aIntVolume As Object) Handles hlookup.MinuteCompleted
Hello,
Once and a while when I pull data from the History socket it comes back reversed. My code is EXACTLY the same, this only happens maybe once a week. I've also been having trouble connecting lately, and receive the following error in my log file "Unable to connect to minute history socket". Below is an example of the reversed data - any idea why this is happening?:
1/31/2007 4:01:00 PM,10.63,10.63,10.62,10.62,82646,0,0 1/31/2007 4:00:00 PM,10.63,10.71,10.62,10.62,48431,0,0 1/31/2007 3:59:00 PM,10.7,10.71,10.61,10.63,43117,0,0 1/31/2007 3:58:00 PM,10.72,10.73,10.69,10.71,41740,0,0 1/31/2007 3:57:00 PM,10.73,10.73,10.72,10.73,17004,0,0 1/31/2007 3:56:00 PM,10.73,10.73,10.7,10.72,32659,0,0 1/31/2007 3:55:00 PM,10.75,10.76,10.74,10.74,17700,0,0 1/31/2007 3:54:00 PM,10.77,10.77,10.76,10.76,27548,0,0 1/31/2007 3:53:00 PM,10.76,10.77,10.76,10.77,1328,0,0 1/31/2007 3:52:00 PM,10.76,10.77,10.76,10.76,5786,0,0 1/31/2007 3:51:00 PM,10.76,10.77,10.76,10.77,7049,0,0 1/31/2007 3:50:00 PM,10.7618,10.77,10.7618,10.77,3200,0,0 1/31/2007 3:49:00 PM,10.76,10.77,10.76,10.76,3400,0,0 1/31/2007 3:48:00 PM,10.77,10.77,10.76,10.77,3200,0,0 1/31/2007 3:47:00 PM,10.76,10.77,10.76,10.77,4024,0,0 1/31/2007 3:46:00 PM,10.76,10.77,10.76,10.77,800,0,0 1/31/2007 3:45:00 PM,10.76,10.77,10.76,10.7699,3838,0,0 1/31/2007 3:44:00 PM,10.77,10.77,10.77,10.77,1400,0,0 1/31/2007 3:43:00 PM,10.77,10.77,10.76,10.76,4050,0,0 1/31/2007 3:42:00 PM,10.77,10.77,10.76,10.77,7427,0,0 1/31/2007 3:41:00 PM,10.75,10.77,10.75,10.77,14620,0,0 1/31/2007 3:40:00 PM,10.77,10.77,10.76,10.76,23850,0,0
|
|