Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. is it possible to configure Windows 10 to do this?

is it possible to configure Windows 10 to do this?

Scheduled Pinned Locked Moved The Lounge
c++question
35 Posts 14 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Southmountain

    I need to run a C++ application to fetch data from Internet for real time financial data stream. I want to configure a Windows 10 machine with minimum system service running, this machine is dedicated to run this application. any ideas to share?

    diligent hands rule....

    K Offline
    K Offline
    Keefer S
    wrote on last edited by
    #26

    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.

    1 Reply Last reply
    0
    • K KateAshman

      Real-time in manager-speak translates to roughly 10 seconds actual. ;P

      S Offline
      S Offline
      Southmountain
      wrote on last edited by
      #27

      for me, 5ms is good enough to cycle through my list to refresh data...

      diligent hands rule....

      1 Reply Last reply
      0
      • D David ONeil

        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](https://www.nytimes.com/2009/07/24/business/24trading.html). 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!

        The Science of King David's Court | Object Oriented Programming with C++

        S Offline
        S Offline
        Southmountain
        wrote on last edited by
        #28

        your link is great:)

        diligent hands rule....

        1 Reply Last reply
        0
        • M Member 9167057

          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.

          S Offline
          S Offline
          Southmountain
          wrote on last edited by
          #29

          I will check out Windows CORE server. thanks for the input!

          diligent hands rule....

          1 Reply Last reply
          0
          • D David ONeil

            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](https://www.nytimes.com/2009/07/24/business/24trading.html). 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!

            The Science of King David's Court | Object Oriented Programming with C++

            J Offline
            J Offline
            jlongo
            wrote on last edited by
            #30

            Excellent analysis

            1 Reply Last reply
            0
            • S Southmountain

              I need to run a C++ application to fetch data from Internet for real time financial data stream. I want to configure a Windows 10 machine with minimum system service running, this machine is dedicated to run this application. any ideas to share?

              diligent hands rule....

              C Offline
              C Offline
              Carlos Perez Chavez
              wrote on last edited by
              #31

              Windows in Kiosk Mode. By all means run some tests to see if the response time is adequate for your use case.

              S 1 Reply Last reply
              0
              • C Carlos Perez Chavez

                Windows in Kiosk Mode. By all means run some tests to see if the response time is adequate for your use case.

                S Offline
                S Offline
                Southmountain
                wrote on last edited by
                #32

                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....

                1 Reply Last reply
                0
                • M Member 9167057

                  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.

                  S Offline
                  S Offline
                  Southmountain
                  wrote on last edited by
                  #33

                  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....

                  M 1 Reply Last reply
                  0
                  • S Southmountain

                    I need to run a C++ application to fetch data from Internet for real time financial data stream. I want to configure a Windows 10 machine with minimum system service running, this machine is dedicated to run this application. any ideas to share?

                    diligent hands rule....

                    L Offline
                    L Offline
                    Lost User
                    wrote on last edited by
                    #34

                    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

                    1 Reply Last reply
                    0
                    • S Southmountain

                      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....

                      M Offline
                      M Offline
                      Member 9167057
                      wrote on last edited by
                      #35

                      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

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups