Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Is there a faster way to reload and test strategy

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

    Is there a faster way to reload and test strategy

    Hi, what I do now is:
    edit code in Visual studio
    save
    switch to chart
    open strategy window
    click active strat
    click remove
    click apply
    click strat from list
    click add
    click enable
    click ok

    That's a lot of steps for a test run. Am I doing it wrong?/Is there a faster way?
    Thanks a bunch.

    #2
    I find I can just:
    save VS
    re-enable strat without remove and re-add
    then apply, it would still work.

    Is there a way to default enabled to checked, to just save a few more clicks?

    Comment


      #3
      What specific parts of your strategy are you trying to test?

      If you're just testing the code & logic of your strategy,
      I'd suggest using the Strategy Analyzer. Add a bunch
      of Prints, or use a log file -- then run it under SA to
      create your debugging output.

      If you're testing the PnL performance of your strategy,
      ... using real-time data or the Playback Connection,
      ... either on a chart or via the Strategy tab in Control Center,
      you'll always have to enable it -- this is a manual process,
      and I suspect it is manual on purpose and by design.

      Comment


        #4
        Originally posted by bltdavid View Post
        What specific parts of your strategy are you trying to test?

        If you're just testing the code & logic of your strategy,
        I'd suggest using the Strategy Analyzer. Add a bunch
        of Prints, or use a log file -- then run it under SA to
        create your debugging output.

        If you're testing the PnL performance of your strategy,
        ... using real-time data or the Playback Connection,
        ... either on a chart or via the Strategy tab in Control Center,
        you'll always have to enable it -- this is a manual process,
        and I suspect it is manual on purpose and by design.
        I am still rooting out bugs of the code. But with your advice, I now have started to use strategy analyzer, which just needs 1 click to test the strat. It speeds things up a lot.
        Thank you for showing me new and helpful things!

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by hazylizard, Today, 08:38 AM
        1 response
        8 views
        0 likes
        Last Post NinjaTrader_Erick  
        Started by geddyisodin, Today, 05:20 AM
        2 responses
        17 views
        0 likes
        Last Post geddyisodin  
        Started by Max238, Today, 01:28 AM
        5 responses
        45 views
        0 likes
        Last Post Max238
        by Max238
         
        Started by giulyko00, Yesterday, 12:03 PM
        3 responses
        13 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by habeebft, Today, 07:27 AM
        1 response
        16 views
        0 likes
        Last Post NinjaTrader_ChristopherS  
        Working...
        X