Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NT 8 Runs poorly on VM

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    NT 8 Runs poorly on VM

    I recently converted much of my scripts over to NT 8 on its recent release and found the performance on VM to be unexpectedly very bad.

    1. I have been running the same custom scripts on NT 7 fine on 3 instruments for over a year in my VM (Azure).
    2. I converted them over to NT 8 and cleaned up possible performance issues.
    3. Ran the script in playback on my main server at home and it ran fine.
    4. Put it up to my production VM and it kept abending on the first chart.
      • I doubled the size of the VM to a 2 core 3.5 GB and the chart loaded and ran as expected.
      • Created a second chart and NT froze.

    5. Rebooted VM, did some further minor tweaks to my code and reimported the indicators and got the same results i.e.
      • First chart loaded fine
      • 2nd chart, different instrument froze

    6. Reverted to original size VM, repeated code tweaks in old NT7 version and re-imported indicators
      • All 3 charts (3 different instruments) ran with slight improvement (from old code)

    7. Have checked NT 8 log and trace files - no errors reported



    Can you advise?


    Thanks
    Last edited by cnecorp; 11-20-2016, 01:59 AM.

    #2
    Hello cnecorp

    One major difference between NinjaTrader 7 and NinjaTrader 8 is that NT7 uses GDI+ to render using the CPU. NinjaTrader 8 uses DirectX (SharpDX) to render on the GPU.

    This means, that if your indicator does a lot of custom rendering, the graphics card would need better performance.

    Are you doing much custom rendering in the script?
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hi Chelsea
      The only candidate I can think off is Regression Channel as that is one of my inputs. But I use its calculations, not to render.

      I'll try cutting a version that that does not render and report back. Thanks for the lead.


      Cnecorp.

      Comment


        #4
        Hi Chelsea

        Did some changes and went to remove my custom assemply from my production NT8 and got custom coding errors.
        When I went into a standard indicator (ADX) and compiled it said I have imported infragistics and ninja core twice.

        I know this should be in a different thread but I am trying to get over this issue to test this.

        ps removing the custom assembly by deleting the dll from bin folder crashes NT when you open editor

        Last edited by cnecorp; 11-21-2016, 06:29 PM.

        Comment


          #5
          Hello,

          Thank you for contacting us to report this item.

          Since NinjaTrader is also crashing, I would ask that you contact me by email at PlatformSupport [AT] NinjaTrader [DOT] com. In your message please include a link to this forum thread and a copy of today's trace files. You will find these diagnostic file in the Documents > NinjaTrader 8 > Trace folder. I will need to review a copy of the files which are named 'trace.20161121.XXXXX.txt'.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          68 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          41 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          24 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          27 views
          0 likes
          Last Post TheRealMorford  
          Started by Mindset, 02-28-2026, 06:16 AM
          0 responses
          54 views
          0 likes
          Last Post Mindset
          by Mindset
           
          Working...
          X