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

while in real-time auto trading also trading in Sim account while ...

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

    while in real-time auto trading also trading in Sim account while ...

    As the Strategy is being run in real-time. I am interested in Trading two accounts from one strategy, While running trades on my sim101 account also place trades on my real-time account. I also want to track trade performance of the sim101 account, instead of the real-time trade(s).

    Are there any Specific Procedures / Best Practices / "Simpsons Did It" Events you can point me to?

    #2
    Hello GTBrooks,

    You would need to add two instances of the strategy and select different accounts in the account parameters.

    Each instance of a strategy can only be run on one account at a time.

    Then enable these at the same time.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Originally posted by NinjaTrader_ChelseaB View Post
      Hello GTBrooks,

      You would need to add two instances of the strategy and select different accounts in the account parameters.

      Each instance of a strategy can only be run on one account at a time.

      Then enable these at the same time.
      The goal of them running under the same strategy is to track performance of the sim, and when certain parameters are met the strategy trades real-time; Until it is either there are no real-time positions held, and parameters are no longer met.

      Wouldn't trading in 2 instance of strategies make the reference impossible? Is this an add on question?
      Last edited by GTBrooks; 09-11-2017, 03:49 PM.

      Comment


        #4
        Hello GTBrooks,

        NinjaTrader is not able to track the performance of multiple accounts from a single strategy.

        To accomplish this, you would need to create your own system of having multiple strategies communicate. This could be done by creating a static class that both strategies are able to access that update their performance to a variable.

        This would be outside of the realm of what is supported by NinjaTrader Support.
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by sightcareclickhere, Today, 01:55 PM
        0 responses
        1 view
        0 likes
        Last Post sightcareclickhere  
        Started by Mindset, 05-06-2023, 09:03 PM
        9 responses
        258 views
        0 likes
        Last Post ender_wiggum  
        Started by Mizzouman1, Today, 07:35 AM
        4 responses
        18 views
        0 likes
        Last Post Mizzouman1  
        Started by philmg, Today, 01:17 PM
        1 response
        8 views
        0 likes
        Last Post NinjaTrader_ChristopherJ  
        Started by cre8able, Today, 01:01 PM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Working...
        X