Announcement

Collapse
No announcement yet.

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.

    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).

        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.

            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

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by NullPointStrategies, Today, 05:17 AM
              0 responses
              53 views
              0 likes
              Last Post NullPointStrategies  
              Started by argusthome, 03-08-2026, 10:06 AM
              0 responses
              130 views
              0 likes
              Last Post argusthome  
              Started by NabilKhattabi, 03-06-2026, 11:18 AM
              0 responses
              70 views
              0 likes
              Last Post NabilKhattabi  
              Started by Deep42, 03-06-2026, 12:28 AM
              0 responses
              44 views
              0 likes
              Last Post Deep42
              by Deep42
               
              Started by TheRealMorford, 03-05-2026, 06:15 PM
              0 responses
              49 views
              0 likes
              Last Post TheRealMorford  
              Working...
              X