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)




"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
"Excellent datafeed !!!" - Comment from Arely
"You have an excellent product !!!!!!" - Comment from Arely
"This beats the pants off CQG, I am definitely switching to the ProphetX 3.0!" - Comment from Stephen
"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
"Everything is working amazing now. I'm already impressed with the true-tick feed of IQFeed and it's ability to support my 480 symbol layout." - Comment from Tyler 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 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
"You are much better than lawyers or the phone company because you answer the phone when I call! I just love your customer service." - Comment from Isreal
"If someone needs the best quality data and backfill beyond what their broker provides at a rate that is the best in the industry, I highly recommend IQFeed." - Comment from Josh via Public Forum
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 565 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: Thu April 25, 2024 3:39 PM CFBB v1.2.0 8 ms.
© AderSoftware 2002-2003