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)




"IQ feed works very well, does not have all of the normal interruptions I have grown used to on *******" - Comment from Mark
"If you want customer service that answers the phone, your best bet is IQFeed. I cannot stop praising them or their technical support. They are always there for you, and they are quick. I have used ****** too but the best value is IQFeed." - Comment from Public Forum
"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
"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
"You are either overstaffed or people just don't have problems with your feed because customer support always answers the phone quickly." - Comment from Jay via Email
"I cannot believe what a difference it makes trading with ProphetX!" - Comment from Bruce in Los Angeles
"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
"I just wanted to let you know how fast and easy I found it to integrate IQFeed into our existing Java code using your JNI client. In my experience, such things almost never go so smoothly - great job!" - Comment from Nate
"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
"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.
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 »NEW IQFEED FORUMS »IQFeed API Questions »Question regarding streaming
Author Topic: Question regarding streaming (4 messages, Page 1 of 1)

aamar
-Interested User-
Posts: 7
Joined: Oct 8, 2021


Posted: Oct 8, 2021 05:36 AM          Msg. 1 of 4
Hi,

I am looking to stream 1 second data for several symbols. I am just testing so i can approach it correctly.

I am using the sample provided in C# to stream EURUSD.FXCM 1 second.

However, I expect to get a bar every second regardless of if there is any price change in that second or not but it seems to send quotes when price changes and gaps of 2-3 seconds before the next quote.

I need to do a calculation based on the number of bars and if there are any missed bars, it will not be accurate.

Is there any option to always stream the quotes per requested interval?

regards
Aamar



File Attached: example.JPG (downloaded 567 times)

DTN_Gary_Stephen
-DTN Guru-
Posts: 394
Joined: Jul 3, 2019


Posted: Oct 8, 2021 08:01 AM          Msg. 2 of 4
If a trade does not occur during a bar, IQFeed API will always omit that bar. There isn't an option to force it to send "placeholder bars" or anything like that. This is just the way IQFeed data works.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist

altmany
-Interested User-
Posts: 73
Joined: Jul 30, 2018

IQML - IQFeed-MATLAB connector


Posted: Oct 8, 2021 08:20 AM          Msg. 3 of 4
In your BW command to start the streaming, set the UpdateInterval field (which is the 11th field after the BW) to any integer value >= 0 (e.g. 1), to specify the max number of seconds before a bar update message is sent from IQFeed, even when no trade has occurred.

Also see http://forums.iqfeed.net/index.cfm?page=topic&topicID=4341

Yair Altman
IQML - IQFeed-MATLAB connector
https://UndocumentedMatlab.com/IQML

I am not a DTN employee; my post reflects my personal opinion

aamar
-Interested User-
Posts: 7
Joined: Oct 8, 2021


Posted: Oct 8, 2021 11:09 AM          Msg. 4 of 4
thanks @altmany. That def. helps.
 

 

Time: Fri April 26, 2024 5:59 AM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003