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 AaronKoRn, Today, 09:49 PM
              0 responses
              11 views
              0 likes
              Last Post AaronKoRn  
              Started by carnitron, Today, 08:42 PM
              0 responses
              10 views
              0 likes
              Last Post carnitron  
              Started by strategist007, Today, 07:51 PM
              0 responses
              11 views
              0 likes
              Last Post strategist007  
              Started by StockTrader88, 03-06-2021, 08:58 AM
              44 responses
              3,980 views
              3 likes
              Last Post jhudas88  
              Started by rbeckmann05, Today, 06:48 PM
              0 responses
              9 views
              0 likes
              Last Post rbeckmann05  
              Working...
              X