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 nandhumca, Today, 08:47 PM
      0 responses
      3 views
      0 likes
      Last Post nandhumca  
      Started by BullyWig Trader, Today, 07:15 PM
      0 responses
      2 views
      0 likes
      Last Post BullyWig Trader  
      Started by ezrollin, Today, 05:13 PM
      1 response
      11 views
      0 likes
      Last Post ezrollin  
      Started by ineuron, Today, 04:29 PM
      0 responses
      8 views
      0 likes
      Last Post ineuron
      by ineuron
       
      Started by topa11, Today, 04:21 PM
      0 responses
      16 views
      0 likes
      Last Post topa11
      by topa11
       
      Working...
      X