• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Testing and Tracking a Portfolio of Strategies

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

    Testing and Tracking a Portfolio of Strategies

    I've implemented several independent strategies in NinjaTrader.

    I'm wanting to combine strategies and run them as a portfolio of strategies. The reason for this is that I want to track the recent backtest performance for each individual strategy and then rank the strategies so that I can trade only the ones that are performing well at the moment.

    The problem I seem to have is that I want to track things like "Win Rate" from the Historical backtest for each strategy. But unless I'm actually trading that strategy in the backtest I don't have the simulated trades from which to calculate a win rate.

    It seems like what I want is a Master strategy that can instantiate and execute child strategies wherein the child strategies can each run independently, but the master can still see their independent performance metrics to decide which strategy signal to take and which to ignore. The child strategies would not actually trade live, we only need their simulated results?

    What would be the best approach in NinjaTrader to enabled something like this?
    Last edited by BarzTrading; 09-08-2018, 05:39 PM.

    #2
    Hello BarzTrading,

    I'm not aware of any way to achieve this with code. You would need to run the tests and compare the results manually.

    If they are all meant to be trading simultaneously the same instrument and same account in real-time you could likely write the logic for all of them in one strategy.
    Running multiple independent scripts at the same time is not recommended.
    https://ninjatrader.com/support/foru...090#post513090

    I have submitted a feature request on your behalf for the ability to run a test of several strategies and combine the results.
    Once I have an ID for this I will post in this thread for future reference.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Thanks for submitting my request.


      Can something like this be done in an AddOn? Can I instantiate and run Strategies independently from an AddOn? I envision something like Strategy Analyzer but with some additional ability to rollup and compare results from multiple backtests, multiple strategies, etc. This wouldn't need to run in real time and the backtests could all be run sequentially even. I just need to be able to generate a set of results every day.

      Comment


        #4
        Hello BarzTrading,

        I am not aware of any way (supported or unsupported) to enable strategies programmatically.
        Chelsea B.NinjaTrader Customer Service

        Comment


          #5
          Hello BarzTrading,

          I have received tracking ID #SFT-1141 for your request to combine the backtest results of multiple strategies.

          Please note it is up to the NinjaTrader Development to decide if or when any request will be implemented.

          We appreciate you taking the time to provide feedback.
          Chelsea B.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by PLeary, Today, 06:25 AM
          0 responses
          3 views
          0 likes
          Last Post PLeary
          by PLeary
           
          Started by sergey_z, Today, 06:17 AM
          0 responses
          1 view
          0 likes
          Last Post sergey_z  
          Started by nikkk, Today, 06:14 AM
          1 response
          2 views
          0 likes
          Last Post NinjaTrader_PatrickG  
          Started by chazyang, Today, 02:01 AM
          2 responses
          10 views
          0 likes
          Last Post NinjaTrader_PatrickG  
          Started by tonynt, Today, 01:20 AM
          1 response
          22 views
          0 likes
          Last Post NinjaTrader_PaulH  
          Working...
          X