Joined: |
Jun 28, 2013 05:54 PM |
Last Post: |
Jul 25, 2013 03:39 PM |
Last Visit: |
Mar 20, 2015 04:36 PM |
Website: |
http://www.pracplay.com |
Location: |
|
Occupation: |
|
Interests: |
|
|
AIM: |
|
ICQ: |
|
MSN IM: |
|
Yahoo IM: |
|
|
ppsupport has contributed to 15 posts out of 21191 total posts
(0.07%) in 3,964 days (0.00 posts per day).
20 Most recent posts:
not sure what happened, didn't see a dupe process but closing it and retrying it worked.
sorry for stupid question, i mainly wanted to make sure the guest account was the same. thanks for clarification.
hello i was given a temporary account to complete some testing.
i had no problems using the previous trial account, but with the guest account my socket connects are rejected.
is this a problem with the account setup? nothing has changed on the software side.
here is the error i get, the api logs in but it refuses socket connects.
144720: IQFeed not running, attempting to start... 144721: Connected. 144722: LEVEL ONE ERROR: No connection could be made because the target machine actively refused it 127.0.0.1:5009 144722: System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 127.0.0.1:5009 at IQFeedBroker.IQFeedHelper.ConnectToLevelOne() 144722: Attempting to connect to historical feed at: 127.0.0.1:9100 144723: historical connect failed. 144723: No connection could be made because the target machine actively refused it 127.0.0.1:9100 at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.Connect(EndPoint remoteEP) at IQFeedBroker.IQFeedHelper.ConnectHist() 144824: Exception sending barrequest: WAG CustomTime_300 20070926 -> 5 635103604296857707 144824: A request to send or receive data was disallowed because the socket is not connected and (when sending on a datagram socket using a sendto call) no address was supplied at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 size, SocketFlags socketFlags) at IQFeedBroker.IQFeedHelper.RequestBars(BarRequest br)
any help appreciated
ah, well that's great to hear.
i got it from your c# example for histsockets.
i see that the main documentation now reflects what you saying, thanks again.
i think maybe you're mixing up two requests, because history interval timeframe doesn't support max datapoints.
// HIT,SYMBOL,INTERVAL,BEGINDATE BEGINTIME,ENDDATE ENDTIME,,BEGINFILTERTIME,ENDFILTERTIME,DIRECTION,REQUESTID,DATAPOINTSPERSEND,INTERVALTYPE<CR><LF>
that's sort of the reason for my question because the requests that support maxdatapoints don't support start and end times, and vice verca. be nice to see this in a future version (supporting reference dates on 'maxdatapoint' allowing commands)
at least for volume bars i could request 1min time bars using the dates and reconstruct the volume.
but to reconstruct tick bars i'd have to get ticks, which is limiting as you point out. (i guess you're doing something similiar internally if they all have the same limit)
when using historical lookup, how would I best acheive the following?
if I have a strategy that uses say 10k tick (or volume) bars, and it needs 50 of these bars to bootstrap itself.... how would I request this number of bars relative to an arbitrary date (eg if I'm booting in a simulation that runs from last year).
the only way i can think is to request 50 bars back from today, and look at the date of the oldest bar and start counting all older bars (and requesting more) until I get 50. this is really inefficient though. i could leave it up to the user, but that's error prone.
is there a better way w/iqfeed?
yes it was a buffering problem, when a bar packet was split between two async packet buffers on windows and the request id happened to not be in the buffer.
was able to troubleshoot it quickly comparing the output from my software above to your tester tools. working now.
thanks again
yes it does seem to be random in terms of when and what bars are missed.
however this combined with the duplicate bar and your confirmation that your servers return this data probably means our buffer is occasionally being missed or read twice.
thanks for your help and analysis
I am able to request historical lookup data just fine.
However, when using HIX and HDX history lookups to request specific bars back.... I frequently get slightly more or slightly fewer bars than I request.
I receive no errors back from iqfeed and I'm only requesting 100 days back of daily and 20 bars back of 5min and 2hr which should be available.... so I'm wondering what causes this?
Here are my requests :
hist requested: IBM watch: HDX,IBM,100,1,635089079681622668,2500 for: IBM 86400 -> 100 635089079681622668 hist requested: IBM watch: HIX,IBM,300,100,1,635089079681622669,2500,s for: IBM 300 -> 100 635089079681622669 hist requested: IBM watch: HIX,IBM,3600,20,1,635089079681622670,2500,s for: IBM 3600 -> 20 635089079681622670 hist requested: GOOG watch: HDX,GOOG,100,1,635089079681622671,2500 for: GOOG 86400 -> 100 635089079681622671 hist requested: GOOG watch: HIX,GOOG,300,100,1,635089079681622672,2500,s for: GOOG 300 -> 100 635089079681622672 hist requested: GOOG watch: HIX,GOOG,3600,20,1,635089079681622673,2500,s for: GOOG 3600 -> 20 635089079681622673 hist requested: QQQ watch: HDX,QQQ,100,1,635089079681622674,2500 for: QQQ 86400 -> 100 635089079681622674 hist requested: QQQ watch: HIX,QQQ,300,100,1,635089079681622675,2500,s for: QQQ 300 -> 100 635089079681622675 hist requested: QQQ watch: HIX,QQQ,3600,20,1,635089079681622676,2500,s for: QQQ 3600 -> 20 635089079681622676
Here is what I get in response... (I don't observe any pattern to why less data is sent sometimes, more others) :
error: IBM86400 expected: 100 got: 101 error: IBM300 expected: 100 got: 99 IBM tracking 3600 bars, count: 20 GOOG tracking 86400 bars, count: 100 error: GOOG300 expected: 100 got: 99 GOOG tracking 3600 bars, count: 20 error: QQQ300 expected: 100 got: 99 error: QQQ86400 expected: 100 got: 99 QQQ tracking 3600 bars, count: 20 (ok)
Here are the raw responses :
error: IBM86400 expected: 100 got: 101 raw bars: OHLC (20130213/0) 200.65,200.95,199.57,200.09 OHLC (20130214/0) 199.73,200.32,199.26,199.65 OHLC (20130215/0) 199.98,201.25,199.82,200.98 OHLC (20130219/0) 200.60,201.89,200.22,200.32 OHLC (20130220/0) 200.62,201.72,198.86,199.31 OHLC (20130221/0) 198.63,199.07,198.11,198.33 OHLC (20130222/0) 199.23,201.09,198.84,201.09 OHLC (20130225/0) 201.67,202.49,197.51,197.51 OHLC (20130226/0) 198.63,199.90,197.84,199.14 OHLC (20130227/0) 198.89,202.75,198.60,202.33 OHLC (20130228/0) 202.18,203.12,200.79,200.83 OHLC (20130301/0) 200.65,202.94,199.36,202.91 OHLC (20130304/0) 202.59,205.19,202.55,205.19 OHLC (20130305/0) 205.86,207.70,205.69,206.53 OHLC (20130306/0) 207.03,208.49,206.66,208.38 OHLC (20130307/0) 208.29,209.60,208.24,209.42 OHLC (20130308/0) 209.85,210.74,209.43,210.38 OHLC (20130311/0) 210.04,210.20,209.04,210.08 OHLC (20130312/0) 209.40,210.73,209.09,210.55 OHLC (20130313/0) 210.20,212.36,209.77,212.06 OHLC (20130314/0) 212.15,215.86,212.15,215.80 OHLC (20130315/0) 215.38,215.90,213.41,214.92 OHLC (20130318/0) 212.90,214.50,212.64,213.21 OHLC (20130319/0) 214.13,215.12,211.83,213.44 OHLC (20130320/0) 214.76,215.82,214.30,215.06 OHLC (20130321/0) 212.96,213.00,210.11,212.26 OHLC (20130322/0) 212.21,213.17,211.62,212.08 OHLC (20130325/0) 212.54,212.81,210.05,210.74 OHLC (20130326/0) 211.77,212.50,211.50,212.36 OHLC (20130327/0) 210.96,212.16,210.10,210.89 OHLC (20130328/0) 209.83,213.44,209.74,213.30 OHLC (20130401/0) 212.80,213.50,211.25,212.38 OHLC (20130402/0) 212.92,214.71,211.57,214.36 OHLC (20130403/0) 214.32,214.89,212.63,212.66 OHLC (20130404/0) 212.77,212.93,210.04,211.31 OHLC (20130405/0) 209.10,209.84,206.34,209.41 OHLC (20130408/0) 209.07,209.32,207.33,209.32 OHLC (20130409/0) 209.56,210.00,208.61,209.22 OHLC (20130410/0) 211.86,212.51,210.47,212.00 OHLC (20130411/0) 211.50,213.09,210.85,212.92 OHLC (20130412/0) 210.79,211.49,209.78,211.38 OHLC (20130415/0) 210.44,211.69,209.26,209.26 OHLC (20130416/0) 210.84,212.00,209.20,212.00 OHLC (20130417/0) 210.53,211.09,209.50,209.67 OHLC (20130418/0) 210.11,210.25,206.15,207.15 OHLC (20130419/0) 195.74,196.50,189.76,190.00 OHLC (20130422/0) 191.15,191.38,187.68,187.83 OHLC (20130423/0) 189.27,192.56,188.61,191.61 OHLC (20130424/0) 192.16,192.50,191.09,191.71 OHLC (20130425/0) 192.69,195.17,192.32,193.95 OHLC (20130426/0) 194.16,194.71,193.25,194.31 OHLC (20130429/0) 194.78,199.68,194.65,199.15 OHLC (20130430/0) 199.13,202.59,197.35,202.54 OHLC (20130501/0) 201.87,202.17,199.20,199.63 OHLC (20130502/0) 200.12,202.43,199.75,202.39 OHLC (20130503/0) 203.94,205.32,203.75,204.51 OHLC (20130506/0) 203.79,203.99,201.52,202.78 OHLC (20130507/0) 202.81,203.73,201.65,203.63 OHLC (20130508/0) 202.94,204.85,202.51,204.82 OHLC (20130509/0) 204.69,205.00,202.72,203.24 OHLC (20130510/0) 203.37,204.53,202.82,204.47 OHLC (20130513/0) 204.18,204.47,202.22,202.47 OHLC (20130514/0) 202.09,203.67,202.08,203.21 OHLC (20130515/0) 202.25,203.68,202.04,203.32 OHLC (20130516/0) 204.00,206.59,204.00,204.69 OHLC (20130517/0) 205.25,209.50,204.99,208.44 OHLC (20130520/0) 208.02,209.15,207.42,207.60 OHLC (20130521/0) 207.24,209.48,207.00,208.65 OHLC (20130522/0) 208.50,210.15,206.12,206.99 OHLC (20130523/0) 205.48,208.61,205.13,206.16 OHLC (20130524/0) 204.69,206.43,204.42,205.72 OHLC (20130528/0) 207.44,208.59,207.16,207.78 OHLC (20130529/0) 206.22,208.42,206.04,207.92 OHLC (20130530/0) 206.97,210.99,206.97,209.36 OHLC (20130531/0) 208.59,211.98,208.02,208.02 OHLC (20130603/0) 208.25,210.05,207.33,208.95 OHLC (20130604/0) 208.60,209.00,205.08,206.19 OHLC (20130605/0) 205.16,206.29,202.40,202.74 OHLC (20130606/0) 203.00,204.20,201.47,203.80 OHLC (20130607/0) 204.85,206.35,204.11,206.35 OHLC (20130610/0) 206.97,206.98,204.90,205.02 OHLC (20130611/0) 203.17,205.95,202.51,203.98 OHLC (20130612/0) 204.59,205.23,200.51,201.20 OHLC (20130613/0) 201.01,204.40,200.34,203.77 OHLC (20130614/0) 203.97,204.75,201.81,202.20 OHLC (20130617/0) 203.44,205.17,202.55,203.04 OHLC (20130618/0) 203.02,206.09,202.87,204.87 OHLC (20130619/0) 204.44,205.03,201.93,201.94 OHLC (20130620/0) 200.67,201.70,197.28,197.35 OHLC (20130621/0) 198.50,198.52,193.54,195.46 OHLC (20130624/0) 193.99,194.91,191.34,193.54 OHLC (20130625/0) 195.31,195.59,193.15,194.98 OHLC (20130626/0) 195.97,196.23,194.50,194.86 OHLC (20130627/0) 196.05,196.90,195.29,195.65 OHLC (20130628/0) 191.73,192.66,188.41,191.11 OHLC (20130701/0) 192.15,193.80,191.12,191.28 OHLC (20130702/0) 190.78,193.23,190.26,191.50 OHLC (20130703/0) 190.98,194.22,190.51,193.25 OHLC (20130705/0) 194.49,195.16,192.35,194.93 OHLC (20130708/0) 195.60,195.78,194.61,194.98 OHLC (20130708/0) 195.60,195.78,194.61,194.98 error: IBM300 expected: 100 got: 99 raw bars: OHLC (20130705/153500) 194.51,194.70,194.47,194.69 OHLC (20130705/154000) 194.70,194.80,194.63,194.78 OHLC (20130705/154500) 194.78,194.88,194.75,194.85 OHLC (20130705/155000) 194.85,194.86,194.66,194.78 OHLC (20130705/155500) 194.80,195.00,194.76,194.86 OHLC (20130705/160000) 194.87,195.00,194.82,194.95 OHLC (20130705/160500) 194.93,194.93,194.93,194.93 OHLC (20130705/161500) 194.90,194.90,194.90,194.90 OHLC (20130705/163500) 194.90,194.90,194.90,194.90 OHLC (20130705/164500) 194.51,194.51,194.45,194.45 OHLC (20130705/172000) 195.00,195.00,195.00,195.00 OHLC (20130705/195500) 195.01,195.01,195.01,195.01 OHLC (20130705/200000) 195.01,195.01,195.01,195.01 OHLC (20130708/70000) 196.21,196.21,196.21,196.21 OHLC (20130708/75500) 195.86,195.86,195.86,195.86 OHLC (20130708/80500) 195.50,195.75,195.50,195.75 OHLC (20130708/81500) 195.57,195.57,195.57,195.57 OHLC (20130708/92000) 195.50,195.50,195.45,195.45 OHLC (20130708/93000) 195.36,195.36,195.36,195.36 OHLC (20130708/93500) 195.61,195.65,195.00,195.19 OHLC (20130708/94000) 195.24,195.47,195.03,195.22 OHLC (20130708/94500) 195.23,195.42,195.15,195.38 OHLC (20130708/95000) 195.38,195.49,195.27,195.42 OHLC (20130708/95500) 195.42,195.75,195.38,195.51 OHLC (20130708/100000) 195.51,195.75,195.46,195.68 OHLC (20130708/100500) 195.59,195.78,195.50,195.50 OHLC (20130708/101000) 195.53,195.55,195.26,195.40 OHLC (20130708/101500) 195.41,195.46,195.14,195.36 OHLC (20130708/102000) 195.36,195.45,195.21,195.24 OHLC (20130708/102500) 195.25,195.42,195.09,195.25 OHLC (20130708/103000) 195.33,195.42,195.14,195.23 OHLC (20130708/103500) 195.23,195.42,195.23,195.29 OHLC (20130708/104000) 195.27,195.54,195.22,195.50 OHLC (20130708/104500) 195.50,195.59,195.29,195.54 OHLC (20130708/105000) 195.54,195.65,195.47,195.65 OHLC (20130708/105500) 195.67,195.67,195.35,195.36 OHLC (20130708/110000) 195.35,195.48,195.20,195.40 OHLC (20130708/110500) 195.40,195.45,195.30,195.39 OHLC (20130708/111000) 195.35,195.46,195.32,195.46 OHLC (20130708/111500) 195.45,195.46,195.25,195.30 OHLC (20130708/112000) 195.32,195.32,195.04,195.14 OHLC (20130708/112500) 195.12,195.12,194.87,194.88 OHLC (20130708/113000) 194.94,195.02,194.90,195.01 OHLC (20130708/113500) 195.00,195.06,194.90,194.97 OHLC (20130708/114000) 194.95,195.01,194.89,195.00 OHLC (20130708/114500) 194.98,195.03,194.91,194.99 OHLC (20130708/115000) 195.00,195.01,194.89,195.00 OHLC (20130708/115500) 194.99,194.99,194.78,194.78 OHLC (20130708/120000) 194.77,194.77,194.63,194.68 OHLC (20130708/120500) 194.67,194.79,194.65,194.79 OHLC (20130708/121000) 194.76,194.80,194.68,194.80 OHLC (20130708/121500) 194.81,194.88,194.67,194.67 OHLC (20130708/122000) 194.65,194.87,194.61,194.87 OHLC (20130708/122500) 194.87,194.94,194.81,194.82 OHLC (20130708/123000) 194.87,194.98,194.86,194.92 OHLC (20130708/123500) 194.90,195.00,194.88,194.95 OHLC (20130708/124000) 194.94,195.14,194.91,194.98 OHLC (20130708/124500) 194.99,195.00,194.85,194.94 OHLC (20130708/125000) 194.94,194.97,194.84,194.89 OHLC (20130708/125500) 194.87,195.16,194.84,195.13 OHLC (20130708/130000) 195.16,195.18,194.94,194.96 OHLC (20130708/130500) 194.96,195.01,194.94,194.98 OHLC (20130708/131000) 194.98,195.03,194.95,194.95 OHLC (20130708/131500) 194.97,195.02,194.95,195.00 OHLC (20130708/132000) 195.00,195.01,194.82,194.94 OHLC (20130708/132500) 194.94,194.99,194.81,194.93 OHLC (20130708/133000) 194.93,195.03,194.91,194.95 OHLC (20130708/133500) 194.95,195.07,194.95,195.06 OHLC (20130708/134000) 195.06,195.14,194.97,195.06 OHLC (20130708/134500) 195.07,195.11,194.94,195.02 OHLC (20130708/135000) 195.03,195.25,195.03,195.21 OHLC (20130708/135500) 195.22,195.27,195.19,195.19 OHLC (20130708/140000) 195.20,195.23,195.04,195.13 OHLC (20130708/140500) 195.14,195.18,195.03,195.12 OHLC (20130708/141000) 195.12,195.15,194.99,194.99 OHLC (20130708/141500) 194.99,195.01,194.89,194.91 OHLC (20130708/142000) 194.95,195.03,194.93,194.98 OHLC (20130708/142500) 194.92,194.97,194.81,194.87 OHLC (20130708/143000) 194.88,194.90,194.71,194.73 OHLC (20130708/143500) 194.75,194.92,194.74,194.89 OHLC (20130708/144000) 194.89,194.98,194.89,194.97 OHLC (20130708/144500) 194.98,195.01,194.92,194.97 OHLC (20130708/145000) 194.97,195.01,194.92,194.96 OHLC (20130708/145500) 194.97,195.01,194.95,195.00 OHLC (20130708/150000) 195.00,195.00,194.94,194.96 OHLC (20130708/150500) 194.99,195.00,194.85,194.96 OHLC (20130708/151000) 194.96,195.01,194.95,194.95 OHLC (20130708/151500) 194.97,195.01,194.77,195.00 OHLC (20130708/152000) 195.00,195.03,194.93,194.95 OHLC (20130708/153000) 194.79,194.92,194.78,194.79 OHLC (20130708/153500) 194.82,194.98,194.72,194.98 OHLC (20130708/154000) 194.97,195.01,194.90,194.97 OHLC (20130708/154500) 194.98,195.01,194.95,194.96 OHLC (20130708/155000) 194.98,195.06,194.90,194.92 OHLC (20130708/155500) 194.92,194.95,194.79,194.85 OHLC (20130708/160000) 194.88,195.01,194.88,194.97 OHLC (20130708/160500) 194.98,195.17,194.98,194.98 OHLC (20130708/161000) 195.11,195.11,195.11,195.11 OHLC (20130708/161500) 194.89,194.89,194.89,194.89 IBM tracking 3600 bars, count: 20 GOOG tracking 86400 bars, count: 100 error: GOOG300 expected: 100 got: 99 raw bars: OHLC (20130708/75000) 897.12,897.12,897.12,897.12 OHLC (20130708/75500) 897.17,897.17,897.17,897.17 OHLC (20130708/80500) 897.32,898.85,897.00,897.10 OHLC (20130708/81500) 897.00,897.10,896.52,897.00 OHLC (20130708/83000) 897.00,897.50,897.00,897.50 OHLC (20130708/83500) 897.48,897.50,896.41,897.08 OHLC (20130708/84500) 897.00,897.00,897.00,897.00 OHLC (20130708/90000) 897.00,897.00,897.00,897.00 OHLC (20130708/90500) 897.00,897.00,897.00,897.00 OHLC (20130708/91500) 897.24,897.60,897.24,897.60 OHLC (20130708/92000) 897.74,897.84,897.74,897.84 OHLC (20130708/92500) 897.80,897.80,897.60,897.60 OHLC (20130708/93000) 898.00,898.65,898.00,898.65 OHLC (20130708/93500) 898.80,899.87,897.09,897.47 OHLC (20130708/94000) 897.49,901.36,897.08,900.89 OHLC (20130708/94500) 900.99,901.00,899.39,900.20 OHLC (20130708/95000) 900.23,904.05,900.10,902.96 OHLC (20130708/95500) 903.10,903.67,902.37,903.50 OHLC (20130708/100000) 903.25,904.12,902.57,904.10 OHLC (20130708/100500) 904.15,906.27,903.81,904.82 OHLC (20130708/101000) 904.87,905.35,904.11,905.08 OHLC (20130708/101500) 905.08,905.50,903.40,903.41 OHLC (20130708/102000) 903.55,904.40,903.55,904.01 OHLC (20130708/102500) 904.01,904.45,903.50,904.10 OHLC (20130708/103000) 904.10,904.70,903.76,904.44 OHLC (20130708/103500) 904.48,905.28,904.15,905.13 OHLC (20130708/104000) 905.13,905.22,903.53,903.60 OHLC (20130708/104500) 903.51,903.56,901.64,903.39 OHLC (20130708/105000) 903.36,903.80,903.00,903.41 OHLC (20130708/105500) 903.38,903.83,902.52,902.64 OHLC (20130708/110000) 902.57,903.11,902.00,902.77 OHLC (20130708/110500) 902.80,904.25,902.80,903.86 OHLC (20130708/111000) 903.94,905.00,903.71,904.37 OHLC (20130708/111500) 904.26,904.43,903.29,903.29 OHLC (20130708/112000) 903.64,903.67,902.38,902.86 OHLC (20130708/112500) 902.91,903.48,902.00,902.56 OHLC (20130708/113000) 902.17,902.46,901.50,902.46 OHLC (20130708/113500) 902.54,902.54,901.70,902.00 OHLC (20130708/114000) 902.49,903.23,902.20,902.68 OHLC (20130708/114500) 902.93,903.76,902.76,903.50 OHLC (20130708/115000) 903.36,903.70,902.95,903.00 OHLC (20130708/115500) 903.02,903.48,902.81,903.27 OHLC (20130708/120000) 903.22,903.37,902.28,902.68 OHLC (20130708/120500) 902.65,903.31,902.30,903.31 OHLC (20130708/121000) 903.32,903.32,901.11,901.69 OHLC (20130708/121500) 901.95,902.87,901.48,902.12 OHLC (20130708/122000) 902.10,902.66,901.99,902.31 OHLC (20130708/122500) 902.37,902.99,902.31,902.31 OHLC (20130708/123000) 902.06,902.51,901.40,901.40 OHLC (20130708/123500) 901.10,902.50,901.10,902.26 OHLC (20130708/124000) 902.20,903.61,902.05,903.18 OHLC (20130708/124500) 903.06,903.15,902.52,902.66 OHLC (20130708/125000) 902.80,902.91,902.16,902.85 OHLC (20130708/125500) 902.66,903.54,902.17,903.54 OHLC (20130708/130000) 903.56,903.56,902.63,902.86 OHLC (20130708/130500) 903.07,903.25,902.20,902.59 OHLC (20130708/131000) 902.81,903.66,902.81,902.84 OHLC (20130708/131500) 903.37,903.48,902.91,903.36 OHLC (20130708/132000) 903.12,903.47,902.50,903.05 OHLC (20130708/132500) 902.89,902.89,901.85,902.12 OHLC (20130708/133000) 902.50,902.62,901.99,902.22 OHLC (20130708/133500) 902.11,902.60,902.11,902.29 OHLC (20130708/134000) 902.45,902.63,902.14,902.48 OHLC (20130708/134500) 902.45,902.57,902.20,902.20 OHLC (20130708/135000) 902.39,903.30,902.20,903.26 OHLC (20130708/135500) 903.30,903.40,902.89,903.40 OHLC (20130708/140000) 903.45,904.07,903.00,903.24 OHLC (20130708/140500) 903.24,903.88,903.15,903.88 OHLC (20130708/141000) 903.87,904.95,903.70,904.27 OHLC (20130708/141500) 904.41,904.84,904.08,904.18 OHLC (20130708/142500) 904.65,905.49,904.65,905.14 OHLC (20130708/143000) 905.23,905.31,904.26,904.79 OHLC (20130708/143500) 904.84,905.50,904.46,904.78 OHLC (20130708/144000) 904.78,905.20,904.45,905.20 OHLC (20130708/144500) 905.29,905.44,904.74,905.11 OHLC (20130708/145000) 905.09,905.21,904.61,905.04 OHLC (20130708/145500) 905.03,905.58,904.73,905.58 OHLC (20130708/150000) 905.37,906.00,905.05,905.99 OHLC (20130708/150500) 906.00,906.17,905.33,905.83 OHLC (20130708/151000) 905.67,905.78,905.38,905.51 OHLC (20130708/151500) 905.51,905.70,905.19,905.55 OHLC (20130708/152000) 905.24,905.99,905.21,905.50 OHLC (20130708/152500) 905.43,905.43,904.56,904.72 OHLC (20130708/153000) 904.74,905.50,904.30,904.31 OHLC (20130708/153500) 904.64,905.24,903.83,905.24 OHLC (20130708/154000) 905.23,905.59,904.22,904.31 OHLC (20130708/154500) 904.45,904.79,904.07,904.10 OHLC (20130708/155000) 904.31,905.39,904.08,905.10 OHLC (20130708/155500) 905.27,905.59,903.11,904.23 OHLC (20130708/160000) 904.26,905.09,904.09,905.09 OHLC (20130708/160500) 905.09,905.40,903.28,903.28 OHLC (20130708/161000) 905.10,905.10,905.10,905.10 OHLC (20130708/161500) 903.40,905.50,903.40,905.09 OHLC (20130708/162000) 905.09,905.09,905.09,905.09 OHLC (20130708/162500) 905.09,905.09,905.09,905.09 OHLC (20130708/163500) 905.09,905.09,905.09,905.09 OHLC (20130708/170000) 906.15,906.17,906.08,906.17 OHLC (20130708/170500) 906.20,906.20,906.20,906.20 OHLC (20130708/172000) 905.09,905.09,905.09,905.09 GOOG tracking 3600 bars, count: 20 error: QQQ86400 expected: 100 got: 99 raw bars: OHLC (20130213/0) 67.93,68.23,67.77,67.97 OHLC (20130214/0) 67.64,68.05,67.62,67.95 OHLC (20130215/0) 67.95,68.11,67.56,67.75 OHLC (20130219/0) 67.89,68.26,67.86,68.24 OHLC (20130220/0) 68.24,68.25,67.18,67.19 OHLC (20130221/0) 66.96,67.01,66.23,66.47 OHLC (20130222/0) 66.84,67.15,66.59,67.14 OHLC (20130225/0) 67.60,67.81,66.25,66.31 OHLC (20130226/0) 66.42,66.68,65.96,66.56 OHLC (20130227/0) 66.57,67.65,66.47,67.24 OHLC (20130228/0) 67.24,67.74,67.09,67.10 OHLC (20130301/0) 66.86,67.50,66.54,67.38 OHLC (20130304/0) 67.19,67.69,67.07,67.68 OHLC (20130305/0) 68.10,68.77,68.08,68.68 OHLC (20130306/0) 68.89,68.91,68.42,68.51 OHLC (20130307/0) 68.57,68.80,68.45,68.69 OHLC (20130308/0) 68.93,69.02,68.50,68.77 OHLC (20130311/0) 68.68,68.99,68.47,68.97 OHLC (20130312/0) 68.79,68.93,68.39,68.72 OHLC (20130313/0) 68.80,68.89,68.39,68.63 OHLC (20130314/0) 68.87,69.01,68.71,68.86 OHLC (20130315/0) 68.75,68.79,68.34,68.51 OHLC (20130318/0) 67.89,68.64,67.73,68.36 OHLC (20130319/0) 68.54,68.70,67.62,68.23 OHLC (20130320/0) 68.74,68.86,68.39,68.71 OHLC (20130321/0) 68.09,68.25,67.77,67.93 OHLC (20130322/0) 68.21,68.64,68.13,68.59 OHLC (20130325/0) 68.81,68.96,68.01,68.34 OHLC (20130326/0) 68.60,68.73,68.45,68.71 OHLC (20130327/0) 68.25,68.85,68.14,68.80 OHLC (20130328/0) 68.81,69.06,68.64,68.97 OHLC (20130401/0) 69.01,69.09,68.31,68.50 OHLC (20130402/0) 68.81,69.27,68.77,69.04 OHLC (20130403/0) 69.08,69.18,68.24,68.41 OHLC (20130404/0) 68.41,68.60,68.06,68.43 OHLC (20130405/0) 67.35,67.96,67.19,67.86 OHLC (20130408/0) 67.88,68.24,67.69,68.22 OHLC (20130409/0) 68.42,68.96,68.09,68.68 OHLC (20130410/0) 68.89,70.17,68.88,70.02 OHLC (20130411/0) 69.84,70.15,69.77,69.99 OHLC (20130412/0) 69.85,69.99,69.41,69.94 OHLC (20130415/0) 69.68,69.79,68.48,68.56 OHLC (20130416/0) 68.99,69.55,68.81,69.47 OHLC (20130417/0) 68.84,68.89,67.71,68.12 OHLC (20130418/0) 68.33,68.33,66.88,67.17 OHLC (20130419/0) 67.31,68.23,67.20,68.09 OHLC (20130422/0) 68.33,69.04,68.08,68.79 OHLC (20130424/0) 69.26,69.67,69.12,69.42 OHLC (20130425/0) 69.63,70.05,69.59,69.79 OHLC (20130426/0) 69.62,69.77,69.27,69.57 OHLC (20130429/0) 69.78,70.48,69.76,70.21 OHLC (20130430/0) 70.29,70.73,70.04,70.72 OHLC (20130501/0) 70.71,70.85,70.25,70.39 OHLC (20130502/0) 70.51,71.43,70.45,71.28 OHLC (20130503/0) 71.94,72.34,71.91,72.12 OHLC (20130506/0) 72.25,72.51,72.19,72.40 OHLC (20130507/0) 72.50,72.57,72.09,72.36 OHLC (20130508/0) 72.31,72.77,72.20,72.71 OHLC (20130509/0) 72.55,73.10,72.47,72.61 OHLC (20130510/0) 72.73,73.08,72.63,73.05 OHLC (20130513/0) 72.93,73.32,72.86,73.14 OHLC (20130514/0) 73.13,73.74,73.13,73.52 OHLC (20130515/0) 73.38,73.74,73.20,73.67 OHLC (20130516/0) 73.77,74.10,73.55,73.59 OHLC (20130517/0) 73.95,74.33,73.73,74.30 OHLC (20130520/0) 74.09,74.43,73.89,74.19 OHLC (20130521/0) 74.18,74.54,73.89,74.27 OHLC (20130522/0) 74.36,74.95,73.24,73.62 OHLC (20130523/0) 72.95,73.70,72.83,73.45 OHLC (20130524/0) 72.96,73.43,72.76,73.41 OHLC (20130528/0) 74.25,74.54,73.66,73.89 OHLC (20130529/0) 73.59,73.80,73.12,73.54 OHLC (20130530/0) 73.57,74.28,73.55,73.93 OHLC (20130531/0) 73.65,74.21,73.17,73.25 OHLC (20130603/0) 73.31,73.40,72.43,73.38 OHLC (20130604/0) 73.52,73.82,72.70,73.00 OHLC (20130605/0) 72.77,73.04,71.99,72.05 OHLC (20130606/0) 72.15,72.41,71.47,72.40 OHLC (20130607/0) 72.73,73.47,72.52,73.39 OHLC (20130610/0) 73.55,73.76,73.26,73.42 OHLC (20130611/0) 72.67,73.34,72.44,72.69 OHLC (20130612/0) 73.12,73.14,71.74,71.85 OHLC (20130613/0) 71.76,72.92,71.55,72.76 OHLC (20130614/0) 72.76,72.84,72.17,72.28 OHLC (20130617/0) 72.88,73.40,72.60,72.98 OHLC (20130618/0) 73.07,73.72,73.06,73.58 OHLC (20130619/0) 73.57,73.68,72.68,72.76 OHLC (20130620/0) 71.92,72.16,70.79,71.03 OHLC (20130621/0) 70.78,70.97,69.84,70.43 OHLC (20130624/0) 69.84,70.27,69.15,69.73 OHLC (20130625/0) 70.41,70.52,69.81,70.24 OHLC (20130626/0) 70.82,71.00,70.59,70.87 OHLC (20130627/0) 71.22,71.62,71.13,71.17 OHLC (20130628/0) 70.92,71.69,70.79,71.27 OHLC (20130701/0) 71.76,72.30,71.64,71.71 OHLC (20130702/0) 71.68,72.18,71.35,71.74 OHLC (20130703/0) 71.48,72.37,71.42,72.03 OHLC (20130705/0) 72.45,72.61,71.86,72.58 OHLC (20130708/0) 72.94,72.99,72.38,72.65 error: QQQ300 expected: 100 got: 99 raw bars: OHLC (20130708/93000) 72.91,72.94,72.89,72.94 OHLC (20130708/93500) 72.94,72.99,72.89,72.90 OHLC (20130708/94000) 72.89,72.93,72.86,72.87 OHLC (20130708/94500) 72.87,72.88,72.75,72.83 OHLC (20130708/95000) 72.82,72.94,72.81,72.93 OHLC (20130708/95500) 72.93,72.97,72.88,72.89 OHLC (20130708/100000) 72.88,72.88,72.79,72.82 OHLC (20130708/100500) 72.82,72.97,72.82,72.90 OHLC (20130708/101000) 72.90,72.94,72.84,72.87 OHLC (20130708/101500) 72.87,72.91,72.78,72.79 OHLC (20130708/102000) 72.80,72.85,72.78,72.81 OHLC (20130708/102500) 72.82,72.88,72.76,72.82 OHLC (20130708/103000) 72.84,72.90,72.79,72.82 OHLC (20130708/103500) 72.81,72.84,72.77,72.77 OHLC (20130708/104000) 72.77,72.78,72.71,72.72 OHLC (20130708/104500) 72.72,72.79,72.68,72.75 OHLC (20130708/105000) 72.76,72.77,72.69,72.76 OHLC (20130708/105500) 72.75,72.75,72.62,72.63 OHLC (20130708/110000) 72.63,72.65,72.58,72.62 OHLC (20130708/110500) 72.62,72.69,72.62,72.68 OHLC (20130708/111000) 72.69,72.71,72.68,72.70 OHLC (20130708/111500) 72.70,72.71,72.64,72.70 OHLC (20130708/112000) 72.69,72.70,72.61,72.65 OHLC (20130708/112500) 72.64,72.65,72.55,72.56 OHLC (20130708/113000) 72.57,72.59,72.54,72.58 OHLC (20130708/113500) 72.58,72.58,72.52,72.53 OHLC (20130708/114000) 72.54,72.56,72.52,72.54 OHLC (20130708/114500) 72.55,72.59,72.54,72.57 OHLC (20130708/115000) 72.58,72.59,72.57,72.59 OHLC (20130708/115500) 72.59,72.59,72.52,72.53 OHLC (20130708/120000) 72.53,72.53,72.48,72.50 OHLC (20130708/120500) 72.49,72.53,72.48,72.52 OHLC (20130708/121000) 72.52,72.52,72.42,72.46 OHLC (20130708/121500) 72.46,72.49,72.44,72.44 OHLC (20130708/122000) 72.44,72.52,72.43,72.51 OHLC (20130708/122500) 72.51,72.51,72.48,72.48 OHLC (20130708/123000) 72.48,72.49,72.42,72.42 OHLC (20130708/123500) 72.42,72.50,72.42,72.47 OHLC (20130708/124000) 72.47,72.55,72.47,72.53 OHLC (20130708/124500) 72.53,72.53,72.47,72.48 OHLC (20130708/125000) 72.48,72.50,72.38,72.43 OHLC (20130708/125500) 72.43,72.48,72.38,72.47 OHLC (20130708/130000) 72.47,72.47,72.41,72.42 OHLC (20130708/130500) 72.42,72.46,72.41,72.46 OHLC (20130708/131000) 72.45,72.52,72.44,72.47 OHLC (20130708/131500) 72.48,72.51,72.47,72.51 OHLC (20130708/132500) 72.48,72.49,72.38,72.43 OHLC (20130708/133000) 72.44,72.47,72.42,72.44 OHLC (20130708/133500) 72.43,72.48,72.42,72.47 OHLC (20130708/134000) 72.47,72.51,72.46,72.49 OHLC (20130708/134500) 72.49,72.54,72.49,72.54 OHLC (20130708/135000) 72.54,72.59,72.53,72.58 OHLC (20130708/135500) 72.58,72.59,72.54,72.55 OHLC (20130708/140000) 72.56,72.58,72.54,72.55 OHLC (20130708/140500) 72.55,72.58,72.52,72.56 OHLC (20130708/141000) 72.56,72.58,72.55,72.55 OHLC (20130708/141500) 72.55,72.56,72.51,72.51 OHLC (20130708/142000) 72.51,72.53,72.50,72.50 OHLC (20130708/142500) 72.50,72.53,72.49,72.53 OHLC (20130708/143000) 72.53,72.53,72.46,72.47 OHLC (20130708/143500) 72.48,72.52,72.48,72.50 OHLC (20130708/144000) 72.50,72.50,72.47,72.49 OHLC (20130708/144500) 72.50,72.54,72.50,72.52 OHLC (20130708/145000) 72.52,72.53,72.50,72.51 OHLC (20130708/145500) 72.51,72.61,72.51,72.61 OHLC (20130708/150000) 72.61,72.62,72.58,72.59 OHLC (20130708/150500) 72.60,72.61,72.54,72.56 OHLC (20130708/151000) 72.57,72.59,72.56,72.58 OHLC (20130708/151500) 72.57,72.59,72.54,72.57 OHLC (20130708/152000) 72.56,72.59,72.55,72.57 OHLC (20130708/152500) 72.58,72.58,72.52,72.53 OHLC (20130708/153000) 72.53,72.56,72.50,72.51 OHLC (20130708/153500) 72.51,72.56,72.47,72.56 OHLC (20130708/154000) 72.55,72.60,72.53,72.53 OHLC (20130708/154500) 72.53,72.58,72.53,72.55 OHLC (20130708/155000) 72.55,72.61,72.55,72.60 OHLC (20130708/155500) 72.60,72.61,72.54,72.56 OHLC (20130708/160000) 72.56,72.65,72.56,72.64 OHLC (20130708/160500) 72.64,72.67,72.63,72.66 OHLC (20130708/161000) 72.67,72.69,72.66,72.66 OHLC (20130708/161500) 72.66,72.75,72.65,72.66 OHLC (20130708/162000) 72.64,72.65,72.52,72.64 OHLC (20130708/162500) 72.66,72.66,72.66,72.66 OHLC (20130708/163000) 72.66,72.66,72.66,72.66 OHLC (20130708/163500) 72.66,72.70,72.66,72.70 OHLC (20130708/164000) 72.71,72.71,72.71,72.71 OHLC (20130708/164500) 72.70,72.70,72.50,72.50 OHLC (20130708/165500) 72.71,72.71,72.70,72.70 OHLC (20130708/170000) 72.71,72.71,72.70,72.70 OHLC (20130708/170500) 72.71,72.71,72.71,72.71 OHLC (20130708/171000) 72.70,72.70,72.70,72.70 OHLC (20130708/171500) 72.70,72.71,72.70,72.71 OHLC (20130708/172500) 72.70,72.70,72.69,72.69 OHLC (20130708/173500) 72.67,72.67,72.65,72.65 OHLC (20130708/174500) 72.65,72.65,72.64,72.65 OHLC (20130708/175500) 72.65,72.65,72.65,72.65 OHLC (20130708/180000) 72.65,72.65,72.65,72.65 OHLC (20130708/180500) 72.66,72.66,72.66,72.66 OHLC (20130708/192000) 72.66,72.66,72.66,72.66 QQQ tracking 3600 bars, count: 20
again no errors are received.
ok but I understand the intention of the protocol is to allow backwards compatibility.... backwards compatbility for 4.9 won't work if you can't say your app is designed for 4.9.
unless backwards compat only works for 5 and beyond, if that's true please lmk.
Steve thanks the delimiter issue was it, i knew it had to be something stupid.
However perhaps I found a bug, cause immediately after fixing this I got the following error setting the protocol on the history port :
hist recv: 32 bytes E,4.9 is not a valid protocol
i got this in response to the following after connect :
S,SET PROTOCOL,4.9\r\n
which is correct according to S,SET PROTOCOL,[VERSION]<CR><LF> ( http://www.iqfeed.net/dev/api/docs/HistoricalviaTCPIP.cfm )
If I remove the set protocol command (or change it to 5.0) I start getting history bars again.
Here is my iqconnect info :
Found : IQConnect.exe Version: 5.0.0.14 Release: 5.0.0.14
Found : IQFeedY.ocx Version: 5.0.0.14 Release: 5.0.0.14
Found : DTNOptionChainLookup.dll Version: 5.0.0.14 Release: 5.0.0.14
Found : DTNSymbolLookup.dll Version: 5.0.0.14 Release: 5.0.0.14
Found : DTNNewsLookup.dll Version: 5.0.0.14 Release: 5.0.0.14
Found : DTNLevel2Lookup.dll Version: 5.0.0.14 Release: 5.0.0.14
Found : DTNIQFeedCOM.dll Version: 5.0.0.14 Release: 5.0.0.14
for whatever it's worth... here is an example what I was getting yesterday (iow what the old code log output produced yesterday, but not today :( )
historical connected. Requested historical bars for: IBM Requested historical bars for: IBM Requested historical bars for: IBM Requested historical bars for: GOOG Requested historical bars for: GOOG Requested historical bars for: GOOG Requested historical bars for: YUM Requested historical bars for: YUM Requested historical bars for: YUM hist non-bar length: 3 data: E,Invalid number of parameters., hist non-bar length: 2 data: !ENDMSG!, hist sent 300 bar: OHLC (20130627/91500) 195.96,196.00,195.96,196.00 from data: 635079508933368640,2013-06-27 09:15:00,196.0000,195.9600,195.9600,196.0000,1430,700, hist sent 300 bar: OHLC (20130627/93000) 196.49,196.50,196.49,196.50 from data: 635079508933368640,2013-06-27 09:30:00,196.5000,196.4900,196.4900,196.5000,1730,300, hist sent 300 bar: OHLC (20130627/93500) 196.05,196.30,195.37,195.72 from data: 635079508933368640,2013-06-27 09:35:00,196.3000,195.3700,196.0500,195.7200,102932,98076, hist sent 300 bar: OHLC (20130627/94000) 195.62,195.93,195.53,195.85 from data: 635079508933368640,2013-06-27 09:40:00,195.9300,195.5300,195.6200,195.8450,166643,63711, hist sent 300 bar: OHLC (20130627/94500) 195.90,196.00,195.52,195.52 from data: 635079508933368640,2013-06-27 09:45:00,196.0000,195.5200,195.9000,195.5200,207647,41004, hist sent 300 bar: OHLC (20130627/95000) 195.57,195.98,195.57,195.74 from data: 635079508933368640,2013-06-27 09:50:00,195.9800,195.5700,195.5700,195.7400,240018,32371, hist sent 300 bar: OHLC (20130627/95500) 195.74,195.97,195.71,195.95 from data: 635079508933368640,2013-06-27 09:55:00,195.9700,195.7100,195.7399,195.9500,289494,49276, hist sent 300 bar: OHLC (20130627/100000) 195.97,196.57,195.94,196.25 from data: 635079508933368640,2013-06-27 10:00:00,196.5700,195.9400,195.9696,196.2500,344286,54792, hist sent 300 bar: OHLC (20130627/100500) 196.27,196.45,196.00,196.00 from data: 635079508933368640,2013-06-27 10:05:00,196.4500,196.0000,196.2700,196.0000,387759,43473, hist sent 300 bar: OHLC (20130627/101000) 196.05,196.39,195.95,196.29 from data: 635079508933368640,2013-06-27 10:10:00,196.3900,195.9500,196.0459,196.2900,414545,26786, hist sent 300 bar: OHLC (20130627/101500) 196.29,196.32,196.10,196.13 from data: 635079508933368640,2013-06-27 10:15:00,196.3200,196.1000,196.2899,196.1250,453563,39018, hist sent 300 bar: OHLC (20130627/102000) 196.15,196.28,195.95,196.16 from data: 635079508933368640,2013-06-27 10:20:00,196.2800,195.9500,196.1500,196.1625,512848,59285, hist sent 300 bar: OHLC (20130627/102500) 196.20,196.28,196.10,196.20 from data: 635079508933368640,2013-06-27 10:25:00,196.2800,196.1000,196.2000,196.2000,581898,69050, hist sent 300 bar: OHLC (20130627/103000) 196.22,196.26,196.08,196.10 from data: 635079508933368640,2013-06-27 10:30:00,196.2599,196.0800,196.2200,196.1000,613360,31462, hist sent 300 bar: OHLC (20130627/103500) 196.13,196.30,196.13,196.27 from data: 635079508933368640,2013-06-27 10:35:00,196.3000,196.1300,196.1300,196.2700,665159,51699, hist sent 300 bar: OHLC (20130627/104000) 196.30,196.35,196.09,196.11 from data: 635079508933368640,2013-06-27 10:40:00,196.3500,196.0900,196.3000,196.1100,710357,44898, hist sent 300 bar: OHLC (20130627/104500) 196.14,196.25,196.07,196.15 from data: 635079508933368640,2013-06-27 10:45:00,196.2528,196.0700,196.1400,196.1499,737090,26733, hist sent 300 bar: OHLC (20130627/105000) 196.14,196.20,195.96,196.12 from data: 635079508933368640,2013-06-27 10:50:00,196.2000,195.9600,196.1400,196.1200,781635,44545, hist sent 300 bar: OHLC (20130627/105500) 196.12,196.34,196.12,196.22 from data: 635079508933368640,2013-06-27 10:55:00,196.3400,196.1200,196.1200,196.2200,807526,25891, hist sent 300 bar: OHLC (20130627/110000) 196.22,196.46,196.20,196.20 from data: 635079508933368640,2013-06-27 11:00:00,196.4570,196.2000,196.2200,196.2000,883935,76409, hist sent 300 bar: OHLC (20130627/110500) 196.20,196.27,196.19,196.25 from data: 635079508933368640,2013-06-27 11:05:00,196.2700,196.1900,196.2000,196.2500,914814,30879, hist sent 300 bar: OHLC (20130627/111000) 196.21,196.25,195.95,195.96 from data: 635079508933368640,2013-06-27 11:10:00,196.2500,195.9500,196.2100,195.9600,962791,47977, hist sent 300 bar: OHLC (20130627/111500) 195.96,196.05,195.85,195.95 from data: 635079508933368640,2013-06-27 11:15:00,196.0500,195.8500,195.9600,195.9479,998860,36069, hist sent 300 bar: OHLC (20130627/112000) 195.94,196.02,195.88,195.94 from data: 635079508933368640,2013-06-27 11:20:00,196.0200,195.8800,195.9400,195.9400,1015638,16578, hist sent 300 bar: OHLC (20130627/112500) 195.89,196.01,195.64,195.74 from data: 635079508933368640,2013-06-27 11:25:00,196.0050,195.6420,195.8900,195.7400,1054016,38378, hist sent 300 bar: OHLC (20130627/113000) 195.76,195.81,195.72,195.73 from data: 635079508933368640,2013-06-27 11:30:00,195.8100,195.7200,195.7600,195.7300,1084794,30778, hist sent 300 bar: OHLC (20130627/113500) 195.70,195.70,195.41,195.48 from data: 635079508933368640,2013-06-27 11:35:00,195.7000,195.4100,195.7000,195.4750,1118681,33887, hist sent 300 bar: OHLC (20130627/114000) 195.41,195.45,195.29,195.43 from data: 635079508933368640,2013-06-27 11:40:00,195.4500,195.2900,195.4100,195.4300,1140589,21908, hist sent 300 bar: OHLC (20130627/114500) 195.42,195.46,195.33,195.38 from data: 635079508933368640,2013-06-27 11:45:00,195.4600,195.3300,195.4200,195.3800,1171058,30469, hist sent 300 bar: OHLC (20130627/115000) 195.39,195.50,195.37,195.46 from data: 635079508933368640,2013-06-27 11:50:00,195.4990,195.3700,195.3900,195.4560,1184730,13672,
[clipped]
regarding changes.... I was actually just updating the product code, and adding more debugging and cleaning up some errors.
However like I said even when I reverted these changes back to the many year old code that was working up until ~2pm yesterday... still don't get interval history.
Another idea I tried was your 4.x->5.x idea, so I tried forcing the protocol to 4.9 and it had no effect.
it's super odd because aside from some errors it was working fine yesterday.
I've poured over the documentation and examples (your c# examples have errors in them btw), as far as I can tell I'm doing everything right.
I get history data in the history tab of the iqdiagnostics app, but iqdiagnostics history appears to be tick history, not the interval intraday/daily data I'm having issues with.
Here is what happens when I turn on iqconnect logging (the 10057 errors also show up in the iqdiagnostics test).
STATUS Information 0 2013-06-28 19:19:30 Login Success. STATUS Information 0 2013-06-28 19:19:30 Connecting to Level 2 server STATUS Information 0 2013-06-28 19:19:30 Login Initiated without IQ32.dll STATUS Information 0 2013-06-28 19:19:30 Cleaning up Login Socket STATUS L1Error 0 2013-06-28 19:19:30 Unable to receive from server. Error:10057 - 65535 - 0 STATUS L1Error 0 2013-06-28 19:19:30 Unable to receive from server. Error:10057 - 65535 - 0 STATUS L1Error 0 2013-06-28 19:19:30 Unable to receive from server. Error:10057 - 65535 - 0 STATUS L1Error 0 2013-06-28 19:19:30 Unable to receive from server. Error:10057 - 65535 - 0 STATUS L1Error 0 2013-06-28 19:19:30 Unable to receive from server. Error:10057 - 65535 - 0 STATUS L1Error 0 2013-06-28 19:19:30 Unable to receive from server. Error:10057 - 65535 - 0 STATUS L1Error 0 2013-06-28 19:19:30 Unable to receive from server. Error:10057 - 65535 - 0 STATUS L1Error 0 2013-06-28 19:19:30 Unable to receive from server. Error:10057 - 65535 - 0 STATUS Information 0 2013-06-28 19:19:31 LEVEL1 SOCKET ACCEPTED STATUS Information 4104 2013-06-28 19:19:31 LOOKUP SOCKET ACCEPTED TO CLIENT L1Data 0 2013-06-28 19:19:31 S,KEY,5328 S,SERVER CONNECTED S,IP,66.112.156.181 60004,66.112.156.216 60002,66.112.156.213 60009,66.112.156.210 60001,66.112.156.210 60005,66.112.156.212 60012,66.112.156.200 60003,66.112.156.209 60015,66.112.156.215 60050,66.112.156.210 60014,66.112.156.213 60016,66.112.156.209 60018 S,CUST,real_time,66.112.156.229,60002,KM6uOEHkgvdZAs,5.0.0.13,0, ,,500,QT_API,,
TO CLIENT Admin 5868 2013-06-28 19:19:31 S,STATS,66.112.156.229,60002,500,0,3,1,0,0,Jun 28 7:19PM,Jun 28 7:19PM,Connected,5.0.0.14,XXXXX,0.06,0.06,0.06,0.57,0.10,0.57,
TO CLIENT L1Data 0 2013-06-28 19:19:31 T,20130628 19:19:11
TO CLIENT Admin 5868 2013-06-28 19:19:32 S,STATS,66.112.156.229,60002,500,0,3,1,0,0,Jun 28 7:19PM,Jun 28 7:19PM,Connected,5.0.0.14,XXXXX,0.08,0.02,0.04,0.71,0.49,0.36,
TO CLIENT L1Data 0 2013-06-28 19:19:32 T,20130628 19:19:12
TO CLIENT Admin 5868 2013-06-28 19:19:33 S,STATS,66.112.156.229,60002,500,0,3,1,0,0,Jun 28 7:19PM,Jun 28 7:19PM,Connected,5.0.0.14,XXXXX,0.10,0.02,0.03,0.86,0.31,0.29,
TO CLIENT L1Data 0 2013-06-28 19:19:33 T,20130628 19:19:13
TO CLIENT Admin 5868 2013-06-28 19:19:34 S,STATS,66.112.156.229,60002,500,0,3,1,0,0,Jun 28 7:19PM,Jun 28 7:19PM,Connected,5.0.0.14,XXXXX,0.12,0.02,0.03,1.00,0.26,0.25,
TO CLIENT L1Data 0 2013-06-28 19:19:34 T,20130628 19:19:14
TO CLIENT Admin 5868 2013-06-28 19:19:35 S,STATS,66.112.156.229,60002,500,0,3,1,0,0,Jun 28 7:19PM,Jun 28 7:19PM,Connected,5.0.0.14,XXXXX,0.15,0.02,0.03,1.15,0.23,0.23,
TO CLIENT L1Data 0 2013-06-28 19:19:35 T,20130628 19:19:15
Here is a sample request log for my problem above.... no matter how long I wait I never receive a response.
It doesn't matter how much data/symbols or intervals I request either.
connecting to admin at: 127.0.0.1:9300 admin connected. admin registering. admin recv: S,REGISTER CLIENT APP COMPLETED, admin received: S,CURRENT PROTOCOL,5.0, connecting to l1 at: 127.0.0.1:5009 l1 connected. Attempting to connect to historical feed. historical connected. l1 system: S,CUST,real_time,66.112.156.220,60002,XXXXXXXX,5.0.0.13,0, ,,500,QT_API,, l1 system: S,IP,66.112.156.180 60004,66.112.156.217 60002,66.112.156.210 60009,66.112.156.210 60001,66.112.156.213 60005,66.112.156.210 60012,66.112.156.200 60003,66.112.156.209 60015,66.112.156.216 60050,66.112.156.210 60014,66.112.156.211 60016,66.112.156.208 60018 l1 system: S,SERVER DISCONNECTED l1 system: S,KEY,XXXXX server ok server ok no client client ok iqfeed started. ***** IQFeedBroker.TestIQFeed.HistoricalBarRequest server ok client ok connection ok hist requested: IBM watch: HDX,IBM,100,1,635080407739440095,2500 hist requested: IBM watch: HIT,IBM,300,20130628 100617,20130628 182617,,,,1,635080407739440096,2500,s hist requested: IBM watch: HIT,IBM,3600,20130627 222618,20130628 182618,,,,1,635080407739440097,2500,s hist requested: GOOG watch: HDX,GOOG,100,1,635080407739440098,2500 hist requested: GOOG watch: HIT,GOOG,300,20130628 100618,20130628 182618,,,,1,635080407739440099,2500,s hist requested: GOOG watch: HIT,GOOG,3600,20130627 222618,20130628 182618,,,,1,635080407739440100,2500,s hist requested: QQQ watch: HDX,QQQ,100,1,635080407739440101,2500 hist requested: QQQ watch: HIT,QQQ,300,20130628 100618,20130628 182618,,,,1,635080407739440102,2500,s hist requested: QQQ watch: HIT,QQQ,3600,20130627 222618,20130628 182618,,,,1,635080407739440103,2500,s
I'm suddenly unable to receive history data via the socket interface.
I can still receive level1 data w/no issue.
This code has been used for 3+ years to receive both l1 and history data, so I'm a bit perplexed.
I can request history data with no issues, I just never receive a response. In the past with bad history requests I would receive an E,'error' message... in this case that does not happen.
I've tried reverting the code and still no luck... I get level1 but no history.
Any suggestions for common culprit, other things to look at?
This seems like I'm missing something pretty simple.
|
|