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

Run Multi Strategy On the Same Instrument

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

    Run Multi Strategy On the Same Instrument

    SORRY WHAT I MEANT TO SAY IS SAME STRATEGY (ONE CODE BASE THAT OPERATES ON THE SAME INSTRUMENT)
    I'd like to backtest a multi strategy on market replay using the same instrument (like if i had 2 separate accounts to place orders on the same instrument). What i'd like to do is Go Long and Go Short simultaneously. I tried copying the files in market replay and renaming them to an unused symbol but ninjatrader reports an error about an invalid instrument. Any ideas how i can test this?
    Last edited by bc24fl; 08-16-2019, 07:13 AM.

    #2
    Hello bc24fl,

    Thanks for your post.

    I also ran into the same issue when trying your approach. We recommend that you run replay in your case on the one instrument with one strategy and repaet as needed for you various strategies.

    I will create a feature request on your behalf to allow the platform to provide multiple playback accounts which would be the best solution.

    I will update this thread when i have further information on the feature request.
    Paul H.NinjaTrader Customer Service

    Comment


      #3
      ok good idea. What about going live on 2 separate accounts. Can i do it on one code base or do i need multiple strategy's?

      Comment


        #4
        Hello bc24fl,

        Thanks for your reply.

        With live data you can create multiple simulation accounts. When you apply the strategy, you can then select the account for the strategy to use, so you can use the same strategy and when you apply it NinjaTrader actually creates an instance (copy) of it for use adjusted according to the settings you apply in the UI (such as account).
        Paul H.NinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_PaulH View Post
          Hello bc24fl,

          Thanks for your reply.

          With live data you can create multiple simulation accounts. When you apply the strategy, you can then select the account for the strategy to use, so you can use the same strategy and when you apply it NinjaTrader actually creates an instance (copy) of it for use adjusted according to the settings you apply in the UI (such as account).
          This will require to separate strategies correct (2 different code bases)?

          Comment


            #6
            Hello bc24fl ,

            Thanks for your reply.

            You can use the same strategy as many times as you wish because when you apply the strategy you are applying a copy (instance) of that strategy. Each copy would be independent if that helps clarify.
            Paul H.NinjaTrader Customer Service

            Comment


              #7
              Hello bc24fl,

              Thanks for your patience.

              The feature request to allow for multiple playback accounts already exists and your vote was added to it.

              The feature request is identified as SFT-1688 for future reference.

              If implemented in the future, it would be listed in the release notes of the version first released in.

              You can find all release notes here: https://ninjatrader.com/support/help...ease_notes.htm
              Paul H.NinjaTrader Customer Service

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by bortz, 11-06-2023, 08:04 AM
              47 responses
              1,606 views
              0 likes
              Last Post aligator  
              Started by jaybedreamin, Today, 05:56 PM
              0 responses
              8 views
              0 likes
              Last Post jaybedreamin  
              Started by DJ888, 04-16-2024, 06:09 PM
              6 responses
              18 views
              0 likes
              Last Post DJ888
              by DJ888
               
              Started by Jon17, Today, 04:33 PM
              0 responses
              4 views
              0 likes
              Last Post Jon17
              by Jon17
               
              Started by Javierw.ok, Today, 04:12 PM
              0 responses
              13 views
              0 likes
              Last Post Javierw.ok  
              Working...
              X