Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

How do I test strategy on live data

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

    How do I test strategy on live data

    I have written a strategy and have tested it using historical data.

    What needs to change in the code so that it can be tested on live data?

    #2
    Why do you think something needed to be changed in your strategy before you run it live?

    Comment


      #3
      I just dont know how to do it

      Originally posted by NinjaTrader_Dierk View Post
      Why do you think something needed to be changed in your strategy before you run it live?
      Hi

      Thank for the quick response

      No. I dont think anything has to change. Its just that I dont know how to attach a strategy that I have developed to a feed. I dont have a real live feed yet. But would like to test it with the simulated feed

      Comment


        #4
        You can run your strategy live (including sim feed) on chart or on the strategies tab on the control center. There is a wealth of info available on that matter in the help guide (just press F1 in NT).

        Comment


          #5
          how do i delete part of the simulated history

          Originally posted by NinjaTrader_Dierk View Post
          You can run your strategy live (including sim feed) on chart or on the strategies tab on the control center. There is a wealth of info available on that matter in the help guide (just press F1 in NT).
          Thanks again

          I managed to get it going I think - no trades yet.

          I made a mistake by not changing the SIM feed start price. So it started at one - while the last price in my historical data was at 207. I then changed the SIM feed start price to 207. But now when I look at the chart it goes from 207 to 1 and then back to 207. Is there a way that I can delete the wrong piece i.e. start again?

          Comment


            #6
            Just restart NT

            Comment


              #7
              Dierk

              Originally posted by NinjaTrader_Dierk View Post
              Just restart NT
              Thank you Dierk

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by OllieFeraher, 05-09-2024, 11:14 AM
              5 responses
              16 views
              0 likes
              Last Post MisterTee  
              Started by jackiegils, Yesterday, 11:05 PM
              1 response
              9 views
              0 likes
              Last Post marcus2300  
              Started by Skifree, Today, 02:50 PM
              0 responses
              8 views
              0 likes
              Last Post Skifree
              by Skifree
               
              Started by owen5819, Today, 02:24 PM
              1 response
              11 views
              0 likes
              Last Post owen5819  
              Started by Skifree, 05-07-2024, 11:38 PM
              2 responses
              28 views
              1 like
              Last Post Skifree
              by Skifree
               
              Working...
              X