Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Automation Initilization Methods

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

    Strategy Automation Initilization Methods

    Currently, when you enable a strategy (for real-time trading) that includes historical bars, you need to sync the market position based on the position the strategy has determined based on historical bars.

    I would like to request to change or preferably add another method of strategy initialization: When you enable a strategy for real-time trading, the historical signals are dis-regarded and you always start the strategy in a flat position. This way you dont need to manually or programatically sync your market position when you enable a strategy.

    #2
    thinking about it a little more, maybe add a vertical line where the (real-time) strategy was initialized. Or some other type of visual queue of where the historical strategy ends. Maybe just remove all the historical signal arrows all together once the strategy goes in to real-time mode.

    Comment


      #3
      I will forward your suggestions to our development team and ask them if they can add this to the list of future considerations for the software.

      Thank you for taking time and post your feedback.
      JasonNinjaTrader Customer Service

      Comment


        #4
        You can use the following statement at the top of OnBarUpdate():

        if (Historical) return;

        This ensures the strategy that runs in real-time will begin flat. However, this does not guarantee the account is flat as well.
        JasonNinjaTrader Customer Service

        Comment


          #5
          Originally posted by NinjaTrader_Jason View Post
          You can use the following statement at the top of OnBarUpdate():

          if (Historical) return;

          This ensures the strategy that runs in real-time will begin flat. However, this does not guarantee the account is flat as well.
          Well that is good enough for me. Thanks Jason.

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by jclose, Today, 09:37 PM
          0 responses
          4 views
          0 likes
          Last Post jclose
          by jclose
           
          Started by WeyldFalcon, 08-07-2020, 06:13 AM
          10 responses
          1,413 views
          0 likes
          Last Post Traderontheroad  
          Started by firefoxforum12, Today, 08:53 PM
          0 responses
          10 views
          0 likes
          Last Post firefoxforum12  
          Started by stafe, Today, 08:34 PM
          0 responses
          10 views
          0 likes
          Last Post stafe
          by stafe
           
          Started by sastrades, 01-31-2024, 10:19 PM
          11 responses
          169 views
          0 likes
          Last Post NinjaTrader_Manfred  
          Working...
          X