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)




"It’s so nice to be working with real professionals!" - Comment from Len
"I was on the phone with a friend who uses CQG and right after the Fed announcement, CQG was as much as 30 seconds behind DTN.IQ. Some quotes were off by as much as 15-18 cents. Your feed never missed a beat." - Comment from Roger
"This is an excellent value, the system is generous (allowing for 500 stocks) and stable (and really is tick-by-tick), and the support is fantastic." - Comment from Shirin via Email
"IQ feed is brilliant. The support is mind-bending. What service!" - Comment from Public Forum Post
"You have an excellent feed. Very few spikes for Spot Forex." - Comment from Public Forum Post
"I would just like to say that IQFeed version 4 is running very well and I am very happy with its performance. I would also like to extend a big thanks for the fast and efficient help that I always receive. My questions and concerns are always addressed promptly. Way to go!" - Comment from Josh in CO.
"For anyone considering using DTN.IQ for a data feed, my experience with the quality of data and the tech support has been very positive." - Comment from Public Forum
"Excellent datafeed !!!" - Comment from Arely
"There is no doubt that IQFeed is the best data provider. I am very satisfied with your services. And IQFeed is the only one that I would recommend to my friends. Now, most of them are using your product in China." - Comment from Zhezhe
"I noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
Home  Search  Register  Login  Blogs Recent Posts

Information on DTN's Industries:
DTN Oil & Gas | DTN Trading | DTN Agriculture | DTN Weather
Follow DTN_IQFeed on Twitter
DTN.IQ/IQFeed on Twitter
DTN News and Analysis on Twitter
»Forums Index »IQFeed Developer »IQFeed Developer Support »python proper format to request data
Author Topic: python proper format to request data (3 messages, Page 1 of 1)

ewnike
-Interested User-
Posts: 2
Joined: Dec 19, 2017


Posted: Dec 19, 2017 09:08 AM          Msg. 1 of 3
Hello! I am new to the forum and to DTN API. I am using python. I have successfully connected but I am having trouble getting data. If I want to receive in real time volume bars, I subscribe to port 9400.

How do you format this [],B['C'],[symbol],[DateTime],[Open],[High],[Low],[Last],[CummulativeVolume],[IntervalVolume],[NumberOfTrades] into an acceptable request ?

I am just asking for an simple example (not particularly the one above) so that I can have a pattern to follow.

Thanks!

Eric Winiecke

DTN_Tim Walter
-DTN Guru-
Posts: 1224
Joined: Apr 25, 2006


Posted: Dec 19, 2017 09:46 AM          Msg. 2 of 3
Good morning,

I just replied to your email, so let us know if you have other questions.

Tim

ewnike
-Interested User-
Posts: 2
Joined: Dec 19, 2017


Posted: Dec 19, 2017 11:20 AM          Msg. 3 of 3
Thanks for replying. I have the general idea...just need to explore a little. Thought that you had the magic potion....

Eric Winiecke
 

 

Time: Wed September 19, 2018 1:16 PM CFBB v1.2.0 16 ms.
© AderSoftware 2002-2003