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 have been using IQFeed now for a few years in MultiCharts and I have zero complaints. Very, very rare to have any data hiccups or anything at all go wrong." - Comment from Public Forum
"Awesome response, as usual. It is a sincere and refreshing pleasure to do business with DTN, compared to your competition." - Comment from Ryan
"Thanks for following up with me. You guys do a great job in tech support." - Comment from Phelps
"IQ feed is brilliant. The support is mind-bending. What service!" - Comment from Public Forum Post
"I just wanted to say how happy I am with your service. I was able to download the API docs last week and I was able to replicate Interactive Brokers historical bar queries and realtime bar queries over the weekend. That was about one of the fastest integrations that I've ever done and it works perfectly!!!!" - Comment from Jason via Email
"Thank you so much - awesome feed, awesome service!" - Comment from Greg via Email
"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
"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'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
"Its working FABULOUSLY for me!! Holy cow...there has been so much I've been missing lately, and with this feed and Linnsoft software...I'm in the game now." - Comment from Chris R.
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 »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: 1238
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: Thu April 9, 2020 5:57 AM CFBB v1.2.0 15 ms.
© AderSoftware 2002-2003