|
Join the 80,000 other DTN customers who enjoy the fastest, most reliable data available. There is no better value than DTN!
(Move your cursor to this area to pause scrolling)
"Just a quick one to say I'm very impressed so far :) The documentation for developers is excellent and I've quickly managed to get an app written to do historical downloads. The system is very robust and pretty quick considering the extent of data that's available. The support guys have been very helpful too, in combination with the forums it's been plain sailing so far!" - Comment from Adam
"I've never had DTN go out on me since switching. ******* would go down a couple times every month when I was using them." - Comment from Bryce in AL.
"I used to have *******, but they are way more money for the same thing. I have had no probs with data from DTN since switching over." - Comment from Public Forum Post
"Previously I was using *******. IQFeed is WAY more economical, and for my charting needs is just as good, if not better." - Comment from Public Forum Post
"I am a hedge fund manager here. It’s funny, I have a Bloomberg terminal and a Bridge feed, but I still like having my DTN feed!" - Comment from Feras
"You are much better than lawyers or the phone company because you answer the phone when I call! I just love your customer service." - Comment from Isreal
"I'm satisfied with IQFeed. It's the most reliable and fastest quote feed I have ever used. Although I'm a resident in China, it's still very fast!" - Comment from Xiaofei
"I will tell others who want to go into trading that DTN ProphetX is an invaluable tool, I don't think anyone can trade without it..." - Comment from Luther
"As a past ******* customer(and not a happy one), IQ Feed by DTN is a much better and cheaper product with great customer support. I have had no problems at all since switching over." - Comment from Public Forum
"My broker in Davenport suggested I give you a try as he uses your service and says its the best." - Comment from Bill via RT Chat
|
|
|
|
Joined: |
Oct 25, 2011 09:23 PM |
Last Post: |
Feb 4, 2024 01:46 PM |
Last Visit: |
Feb 17, 2024 05:34 PM |
Website: |
|
Location: |
|
Occupation: |
|
Interests: |
|
Avatar: |
|
|
|
leoon has contributed to 3 posts out of 21194 total posts
(0.01%) in 4,587 days (0.00 posts per day).
20 Most recent posts:
I tried to use EDS cmd to query the end of day summary for all the future contracts in NYMEX, but I always got the 50007 error. What may I have done wrong? I posted my python code as following:
#################### import socket IQ_PORT_LOOKUP = 9100 IQ_SEC_TYPE_FUTURE = 8 IQ_EXCHANGE_NYMEX = 36
def download_eod_summary(security_type, group_id, date, request_id=""): host = "localhost" port = IQ_PORT_LOOKUP print('start sending cmd to {host},{port}')
# Establish a connection to IQFeed with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: s.connect((host, port))
# Receive data until end message with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s: s.connect((host, port)) s.sendall(b'S,SET PROTOCOL,6.1\n') #s.sendall(bytes('EDS,{security_type},{group_id},{date},' + str(request_id) + '\n', 'ascii')) s.sendall(bytes('EDS,{security_type},{group_id},{date}' + '\r\n', 'ascii')) f = s.makefile() line = f.readline() print("line="+repr(line)) while line.find('!ENDMSG!') < 0: line = f.readline() print("line=" + repr(line)) f.close()
download_eod_summary(security_type=IQ_SEC_TYPE_FUTURE, group_id=IQ_EXCHANGE_NYMEX, date="20240201")
The running debugging message is as following:
start sending cmd to {host},{port} line='S,CURRENT PROTOCOL,6.1\n' line='E,50007,No file available.\n' line='!ENDMSG!,\n'
what could have gone wrong?
Hi Curtis, thanks a lot for the reply. I just check the quote again today and it works well now. Seems it's just take 2 days to process the exchange subscription request? Anyway, it's working now. Thanks a lot~
Hi,
I just opened account and add LEM as feed 2 days ago. But when I opened DTN.IQ for symbol M.CU0 and M.CU3, I can not get any realtime update. Any idea?
THanks,
- leoon
|
|