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)




"I am very pleased with the DTNIQ system for quotes and news." - Comment from Larry
"I just wanted to let u know that your data feed/service is by far the best!!! Your unfiltered tick data is excellent for reading order flow and none of your competitors delivers this quality of data!" - Comment from Peter via Email
"I "bracket trade" all major news releases and I have not found one lag or glitch with DTN.IQ feed. I am very comfortable with their feed under all typical news conditions (Fed releases, employment numbers, etc)." - Comment from Public Forum
"I've been using Neoticker RT with IQFeed for two months, and I'm very happy with both of the products (I've had IQFeed for two years with very few complaints). The service from both companies is exceptional." - Comment from Public Forum
"And by the way, have to say this. I love the IQFeed software. It's rock solid and it has a really nice API." - Comment from Thomas via RT Chat
"I have to tell you though that using the IQFeed API is about the easiest and cleanest I have seen for some time." - Comment from Jim
"It’s so nice to be working with real professionals!" - Comment from Len
"Thanks for the great product and support. During this week of high volume trading, my QuoteTracker + IQ Feed setup never missed a beat. Also, thanks for your swiftness in responding to data issues. I was on ******* for a few years before I made the switch over early this year, and wish I had done it a long time ago." - Comment from Ken
"IQ feed is brilliant. The support is mind-bending. What service!" - Comment from Public Forum Post
"Can I get another account from you? I am tired of ******* going down so often" - Comment from George
Home  Search  Register  Login  Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTNMarkets on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »Archive (2017 and earlier) »DTN.IQ Client Software Support »streaming socket protocol?
Author Topic: streaming socket protocol? (2 messages, Page 1 of 1)

akolonin
-Interested User-
Posts: 1
Joined: Feb 25, 2009


Posted: Feb 25, 2009 11:40 AM          Msg. 1 of 2
In the old code, we used the following format to get the historical data:

"HM"+(char)5+symbol+(char)5+days+(char)5+interval+(char)6
or
"HD"+(char)5+symbol+(char)5+days+(char)6

it does not work now.

I have changed it to

"HID"+(char)5+symbol+(char)5+days+(char)5+interval+(char)6
or
"HDX"+(char)5+symbol+(char)5+days+(char)6

but it is still not working - hangs up at socket reading.

If there is a change in protocol delimiters or something else?

At the same time, DDE link and all IQLink diagnostics work just fine.
Edited by akolonin on Feb 25, 2009 at 11:43 AM

DTN_Steve_S
-DTN Guru-
Posts: 2093
Joined: Nov 21, 2005


Posted: Feb 25, 2009 11:47 AM          Msg. 2 of 2
It sounds like you are confused about which commands to send to which ports.

The commands you posted are for retrieving historical data and should be sent to the Lookup Port.

If you want those commands to work, take a look at the top of the "Historical via TCP/IP" documentation for setting up to retrieve historical data.

If you are looking for streaming data (as your post title indicates), take a look at the documentation for "Initialzing for TCP/IP" and "Level 1 via TCP/IP".

Let me know if you have additional questions.
 

 

Time: Sat May 4, 2024 2:32 AM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003