|
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)
"Boy, probably spent a thousand hours trying to get ******* API to work right. And now two hours to have something running with IQFeed. Hmmm, guess I was pretty stupid to fight rather than switch all this time. And have gotten more customer service from you guys already than total from them… in five years." - Comment from Jim
"It’s so nice to be working with real professionals!" - Comment from Len
"This beats the pants off CQG, I am definitely switching to the ProphetX 3.0!" - Comment from Stephen
"I like you guys better than *******...much more stable and a whole lot fewer issues." - Comment from Philip
"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
"I've never had DTN go out on me since switching. ******* would go down a couple times every month when I was using them." - Comment from Bryce in AL.
"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
"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.
"Thank you so much - awesome feed, awesome service!" - Comment from Greg via Email
"I started a trial a few weeks back before the market went wild. DTN.IQ didn’t miss anything and beat my other provider. I decided to stay with you because of the great service through all the volatility." - Comment from Mike
|
|
|
|
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: |
|
|
Helg37 has contributed to 6 posts out of 21175 total posts
(0.03%) in 4,833 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.
please send me an example on С # for TCP / IP
thanks
Is there a similar restriction for the library NET for x64 for development on C# ?
|
|