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)




"Can I get another account from you? I am tired of ******* going down so often" - Comment from George
"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've been using Neoticker RT with IQFeed for two months, and I'm very happy with both of the products (I've had IQFeed for two years with very few complaints). The service from both companies is exceptional." - 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
"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 like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
"IQ feed works very well, does not have all of the normal interruptions I have grown used to on *******" - Comment from Mark
"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
"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.
"You have an excellent product !!!!!!" - Comment from Arely
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
Viewing User Profile for: Helg37
About Contact
Joined: Jan 4, 2011 04:06 AM
Last Post: Jan 29, 2011 12:45 AM
Last Visit: Mar 20, 2011 02:32 AM
Website:  
Location:
Occupation:
Interests:
AIM:
ICQ:
MSN IM:
Yahoo IM:
Post Statistics
Helg37 has contributed to 6 posts out of 21185 total posts (0.03%) in 4,862 days (0.00 posts per day).

20 Most recent posts:

Hello !
Do not quite understand your question, but issues of implementation of Data Feed processing in my humble opinion is a question a specific developer.
I showed an example, one way of handling a strong Data Feed. Details are already on the accurate implementation of the code by yourself. I do not claim purity of the sample code, but this scheme really works for me. But the code sample may be not optimal.


This is an example of logic that I use for processing Data Feed

using System.Threading;
using System.Collections.Concurrent;

public ConcurrentQueue<Prints> prints;
private EventWaitHandle wh_prints;
Thread worker_print;
static object locker = new object();

prints = new ConcurrentQueue<Prints>();
wh_prints = new AutoResetEvent(false);

worker_print = new Thread(WorkPrint);
worker_print.Start();

Prints pq = null;
GetPrint(pq);
worker_print.Join();
wh_prints.Close();
worker_print.Abort();

public void GetPrint(Prints pq)
{
lock (locker)
{
prints.Enqueue(pq);
wh_prints.Set();
}
}

void WorkPrint()
{
while (true)
{
Prints pq = null;
if (!prints.IsEmpty)
{
if (prints.TryDequeue(out pq))
{
if (pq == null)
{
return;
}
}
else
continue;
}

if (pq != null)
{
lock (locker)
{
………………
}
}
else
wh_prints.WaitOne();
}
}


Hello !
I use queue of "supplier-consumer" ConcurrentQueue.
In queue data is added, and another thread takes them and work.

IQFeed Developer Support » C# samplem with tcp/ip Jan 12, 2011 03:54 PM (Total replies: 45)

please send me an example on С # for TCP / IP

IQFeed Developer Support » Support for 64 bit processors Jan 4, 2011 09:03 AM (Total replies: 4)

thanks

IQFeed Developer Support » Support for 64 bit processors Jan 4, 2011 04:11 AM (Total replies: 4)

Is there a similar restriction for the library NET for x64 for development on C# ?


Time: Fri April 26, 2024 6:51 PM CFBB v1.2.0 7 ms.
© AderSoftware 2002-2003