Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Walk Forward freezes

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

    Walk Forward freezes

    Sometimes the WF freezes in the middle of the overall process and I have to force NT closed to get it unlocked.

    I'm running WF on a basket of futures. This seems to happen using any Optimizer (Genetic or Default). It also always freezes on the last instrument in the basket.

    When I look at TaskManager NT is usually using about 13% of the CPU(s) and memory usage is stable.

    I have code in OnTerminate that stores xml in the UserData for the Instrument. Adding this to my strategy seems to be when this freeze started happening, but I'm not sure.

    Any ideas on what might be causing this?
    daqu40
    NinjaTrader Ecosystem Vendor - QTradez

    #2
    daqu40,

    I am happy to assist you.

    Backtesting/Optimization runs multi-threaded, as such it can cause issues when you attempt to access files because more than one strategy is attempting to access a file at the same time. There are a couple solutions to this outlined in the following thread :

    http://www.ninjatrader.com/support/f...ad.php?t=45777

    Please let me know if I may assist further.
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      Thanks for the link Adam,

      I'll take a look. However I'm not accessing a file. Unless adding working with Instrument.MasterInstrument.UserData is actually a file access. I'll see about making a semaphor before doing any write operations to the UserData.
      daqu40
      NinjaTrader Ecosystem Vendor - QTradez

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by mattdowns1234, Today, 06:57 PM
      0 responses
      12 views
      0 likes
      Last Post mattdowns1234  
      Started by dgee949, Today, 06:26 PM
      0 responses
      19 views
      0 likes
      Last Post dgee949
      by dgee949
       
      Started by dgee949, Today, 05:58 PM
      0 responses
      27 views
      0 likes
      Last Post dgee949
      by dgee949
       
      Started by thepcmd, Today, 05:14 PM
      0 responses
      31 views
      0 likes
      Last Post thepcmd
      by thepcmd
       
      Started by xmess777, Today, 04:58 PM
      0 responses
      22 views
      0 likes
      Last Post xmess777  
      Working...
      X