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)




"Interactive Brokers tick data was inconsistent, so I have switched to using DTN exclusively. It is great to no longer have to worry about my datafeed all day long." - Comment from Philippe
"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
"After all the anxiety I had with my previous data provider it is a relief not to have to worry about data speed and integrity." - Comment from Eamonn
"With HUGE volume on AAPL and RIMM for 2 days, everyone in a trading room was whining about freezes, crashes and lag with *******, RealTick, TS and Cyber. InvestorRT with IQFeed was rock solid. I mean SOLID!" - Comment from Public IRC Chat
"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.
"I noticed that ******* quotes locked up shortly after the interest rate announcement yesterday while yours stayed stable." - Comment from Ron in Utah
"Can I get another account from you? I am tired of ******* going down so often" - Comment from George
"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 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
"Version 4.0.0.2 has been working well for me and I appreciate that it is now a much tighter client to work with. I feel I can go to press with my own application and rely on a stable platform" - Comment from David in IA.
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 »Archive (2017 and earlier) »IQFeed Developer Support »Is it possible to stream real time quotes to my app?
Author Topic: Is it possible to stream real time quotes to my app? (3 messages, Page 1 of 1)

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


Posted: Oct 27, 2021 08:15 AM          Msg. 1 of 3
Hi,

I am making an APP and I want to stream real time quotes to do calculations. Current command I am using is
BW,EURUSD.FXCM,1,,1,1,,,,s,,0

I want to match it with NinjaTrader. If I connect NinjaTrader to same IQFeed, I can see the price changes much frequent than the messages I am getting.

I have also tried tick
BW,EURUSD.FXCM,1,,1,1,,,,t,,0 - this doesn't work
BW,EURUSD.FXCM,2,,1,1,,,,t,,0 - this does work better than 1 second interval but it still doesn't match with NT.

I want to get the message on price change

Is that possible?

I have tried to run sample app IQSnapQuote that also updates with price change so it must be possible.

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


Posted: Oct 27, 2021 09:07 AM          Msg. 2 of 3
First, the BW command will always have the label at the end. This means that the bar called 9:00 represents 8:59 to 9:00, not 9:00 to 9:01. Third-party software, and even the historical lookup commands within the IQFeed API, let you customize whether you want the label at the beginning or end.

If NinjaTrader is showing more frequent ticks than IQFeed is, this may be because NinjaTrader is including things that aren't included in the IQFeed interval bars calculation. This can be either (a) non-last-eligible trades, which are ignored in a bar calculation because they cannot set a high/low/open/close, or (b) bid/ask updates only, which can be ignored in Level 1 watches. (Extended/FormT trades are not ignored, so that BW can continue to create bars for after-hours trading).

On a lesser note, it is possible for streaming interval bars to be updated. If a trade correction occurs (because a tick was initially reported incorrectly), then the interval bar it effects will re-calculated to reflect the changed totals. This will appear as a message starting with BU. This is pretty infrequent, though.

I hope this information helps. Beyond that, I'd need to know more of the mismatched details.

Sincerely,
Gary Stephen
DTN IQFeed Implementation Support Specialist

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


Posted: Oct 27, 2021 11:55 AM          Msg. 3 of 3
Thanks for the reply.

I have recorded a video to show what I am trying to say. I created a small indicator in NT and it writes the current bar on the outout screen and I have used the sample IQ app to stream the prices and SnapQuote app.

In the video at several points, you can see there more updates on NT than what you see in the IQFeed APP. They both using the same connection. NT output matches with the SnapQuote APP which is what I need.

https://www.loom.com/share/5ba4756578e84d36ada6d5d26c82b98f

Any guidance on that?
 

 

Time: Thu May 2, 2024 4:01 AM CFBB v1.2.0 14 ms.
© AderSoftware 2002-2003