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

Is there a way to get simulated trades in a strategy?

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

    Is there a way to get simulated trades in a strategy?

    i.e. complete trade setups that execute against a simulated account, not against the market?

    Assumption: My strategy has a high hit rate under good market conditions. Und wrong ones, i get a series of total wipes.

    I would like to move it to sim ater a wipeout until I get a positive trade again.

    Seems impossible. Just checking.

    #2
    NetTecture, for you would need to start the strategy on the Sim101 account then and monitor when it would be approriate to start it on the live account then. You can perhaps work something out where the strategy is continuously run in Sim and then you write a live trade flag to a txt file and access this as filter in the live version then.
    BertrandNinjaTrader Customer Service

    Comment


      #3
      ok, lets get really crazy.

      How do you run strategies? I assume in separate appdomains. Any trust issue?

      Because... if I am not limited here, I could use one of the nice inter pricess communication features of .net to get some shared memory style behavior for a variable. THere are some constructs available in .NET that work with named elements that are unique per machine (and I can easily set a GUID + symbol for that).

      This actually is a working idea Not one I like too much, but a workng setup.

      Comment


        #4
        You can certainly run multiple strategies simultaneously, while cross strategy communication is not supported offically, some people have found success working with this idea (our forums contain threads on this).
        BertrandNinjaTrader Customer Service

        Comment


          #5
          Thanks. I will do some playing around with that

          Adding "virtual positions" may be something to add

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by DawnTreader, 05-08-2024, 05:58 PM
          22 responses
          82 views
          0 likes
          Last Post DawnTreader  
          Started by Mathias79, Today, 03:44 PM
          0 responses
          17 views
          0 likes
          Last Post Mathias79  
          Started by Austiner87, Today, 03:42 PM
          0 responses
          11 views
          0 likes
          Last Post Austiner87  
          Started by lorem, 04-25-2024, 09:18 AM
          19 responses
          83 views
          0 likes
          Last Post NinjaTrader_ChelseaB  
          Started by joselube001, 05-10-2024, 12:17 PM
          6 responses
          29 views
          0 likes
          Last Post joselube001  
          Working...
          X