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)




"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
"I started a trial a few weeks back before the market went wild. DTN.IQ didn’t miss anything and beat my other provider. I decided to stay with you because of the great service through all the volatility." - Comment from Mike
"Thank God for your Data Feed as the only Zippers I see are on my pants (LOL), and no more 200 pip spikes to mess up charts." - Comment from Spiro via Email
"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 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
"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
"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
"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 had always used ******* but for the past 2 weeks have been trying DTN IQFeed. Customer support has been extraordinary. They call just to make sure your problem hasn't recurred." - Comment from Public Forum
"I just wanted to tell you what a fine job you have been doing. While *******, from what I hear, has been down and out, off and on, IQ feed has held like a champ this week." - Comment from Shirin
Home  Search  Register  Login  Blogs Recent Posts

Information on Various DTN Products:
DTN IQFeed | DTN ProphetX | DTN Ag | NxCore
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: 1102
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 January 17, 2018 2:52 AM CFBB v1.2.0 31 ms.
© AderSoftware 2002-2003