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 PaulMohn, Today, 05:00 AM
        0 responses
        7 views
        0 likes
        Last Post PaulMohn  
        Started by ZenCortexAuCost, Today, 04:24 AM
        0 responses
        6 views
        0 likes
        Last Post ZenCortexAuCost  
        Started by ZenCortexAuCost, Today, 04:22 AM
        0 responses
        3 views
        0 likes
        Last Post ZenCortexAuCost  
        Started by SantoshXX, Today, 03:09 AM
        0 responses
        16 views
        0 likes
        Last Post SantoshXX  
        Started by DanielTynera, Today, 01:14 AM
        0 responses
        5 views
        0 likes
        Last Post DanielTynera  
        Working...
        X