|
You might want to clarify your definition of "real time".
For some of us that means within a few microseconds. For others it means within a few milliseconds.
IMHO when you include the terms "fetch data" and "internet" then "real time" is not even approachable.
Just sayin'
|
|
|
|
|
Additionally, can you query past data for any you missed or is it a matter of having only one chance to get it then it's gone?
|
|
|
|
|
I find a intersesting thread on this .
diligent hands rule....
|
|
|
|
|
Real-time in manager-speak translates to roughly 10 seconds actual.
|
|
|
|
|
for me, 5ms is good enough to cycle through my list to refresh data...
diligent hands rule....
|
|
|
|
|
As others have indicated, you are probably on the wrong approach, although it will be an interesting experience for you.
1) Windows is not a real-time operating system, no matter how you try to finagle it, whether that is through the long-term servicing branch or the kiosk system. You will never get rid of all the other preemptive multitasking timeslices taken up by other processes. You may be able to reduce them, but never eliminate them.
2) Ping the website of the data broker you are dealing with for your 'real-time' results. You have already lost that amount of time compared to traders at the broker's end. Here's an old article on high-speed trading: Stock Traders Find Speed Pays, in Milliseconds. I cannot find it now, but I once read an article that said serious players put their data centers as close as possible to the shore (or incoming position) where the (trunk lines?) that pull the stock market information from overseas, because the microseconds compared to those further in made a difference.
3) As long as you are dealing with an internet connection from an Internet Provider, that routes your traffic from another IP, you will never compete with those traders who have dedicated themselves to the incoming, and main feeds of the various markets.
4) If your computer's clock speed is orders of magnitude faster than your internet speed, making your system a real-time operating system to capture packets as they come in is a waste of time.
In spite of these issues, have fun with your endeavor!
|
|
|
|
|
Relating to 2) I am pretty sure I read somewhere that to prevent unfair competition some of those brokers have their connection speed deliberately slowed down.
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
|
|
|
|
|
|
That's true, but one thing is they should and other thing is they do...
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
your link is great
diligent hands rule....
|
|
|
|
|
|
For starters, you could go with Windows Core Server. As no stuff running as possible.
Well, there's still the Nano Server, but it's so minimalistic, it can't even run on real hardware being a container-only OS.
|
|
|
|
|
I will check out Windows CORE server. thanks for the input!
diligent hands rule....
|
|
|
|
|
do you mean "Windows CORE server" is Windows 2019 server in CORE mode?
if so, I will obtain a Windows 2019 server software to install it on a i7 8th generation CPU machine.
diligent hands rule....
|
|
|
|
|
I don't remember from the top of my head. https://en.wikipedia.org/wiki/Server_Core or https://docs.microsoft.com/en-us/windows-server/administration/server-core/what-is-server-core should provide this information
|
|
|
|
|
Here's an idea: don't do that.
If you want a minimalistic system to fetch real-time data streams, don't use a developer and consumer oriented OS.
In my professional opinion, it's not worth the effort, specifically due to security constraints.
If you want to go down that path regardless, perhaps because you already have an extensive security infrastructure in place that relies on provisioning updates to Windows-based machines, use Windows IoT and don't strip anything update, internet or security related. If the previous iterations of Windows Embedded are anything to go by, it will still be a large amount of work for no tangible gains.
Just use Linux instead.
|
|
|
|
|
Excel has a function that does this. Maybe you can tap into that somehow? My brother and I use it for stock predictions and charting recent price history.
|
|
|
|
|
Windows in Kiosk Mode.
By all means run some tests to see if the response time is adequate for your use case.
|
|
|
|
|
it is great idea to run some testing: I plan to use a machine with i7 8th CPU with 4-core to see how fast it is...
diligent hands rule....
|
|
|
|
|
Premature optimization.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it.
― Confucian Analects: Rules of Confucius about his food
|
|
|
|
|
Here is a link to a 14 min NPR Pod Cast about Music and our Brain
Listen to get the idea about this question
Earworm neuroscience: why some songs stick in our brains : Short Wave : NPR[^]
Now for the relationship of all this to coding
In Nov 2019 I wrote a JavaFX project that used a DataGrid
if you have used this control you all know that setting the width
and adjusting for the vertical scrollbar takes some finesse
To overcome this issue at the time I just added a small blank column at the end
I have not been coding till this month.
Slow forward to today I am writing the same project in VB.Net and trying to
deal with the DataGridView issue with the scrollbar. Then I remembered what I did
when working with JavaFX. What trigered that memory?
So do any of you listen to music as you code ?
And if so when coding what triggers a memory of what you did in another language?
Yes I know just look back at the older project code.
I have a Code Bank application to store novel code snippets so that is my solution.
|
|
|
|
|
Oh, I get it!
"Music, coding, and our brain"
:juke step left, move into interpersonal space:
|
|
|
|
|
Choroid wrote: So do any of you listen to music as you code ? Well, no. That's distracting.
for (int up = 0; i <= 0; i++)
using Reflection;
To be fair, there was a radio in the office, and sometimes I would absentlyminded sing along. Not my most productive environment.
At home I close the shutters, so no outside lights. No phone. No big clock. No distractions. Just this one thing that exists
Bastard Programmer from Hell
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
I like music but agree listening while coding takes away from the joy of the music
and is a distraction to codding
I am a little slow on the uptake but the C# looks like the product of listening to music
and coding It has taken a while to learn this but walking away from the problem you are
trying to solve and think about it with NO Screen or Keyboard is very productive for me
vb.net
If problem LIKE veryBig Then
Just Walkaway RENE = True
ElseIF problem < verBig Then
Hello RENE = True
End If
|
|
|
|
|
I mostly get PTSD when listening to music while coding.
Honestly, I've seen so much code it all just blends together in matrix-like data streams, and I rely on IntelliSense to translate what I'm typing into the right language.
In all seriousness, yes, any pattern that gets stored in brain can be clustered with useful information.
But because we're bio-mechanical logic engines enslaved to a cabal of gut-bacteria getting consistent high fidelity is typically an issue. Don't think about it too much.
You can increase fidelity to useable levels by training your rote-memory on a finite data-set, and piggy backing on that as an encoding scheme instead.
|
|
|
|