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 AttiM, 02-14-2024, 05:20 PM
          12 responses
          211 views
          0 likes
          Last Post DrakeiJosh  
          Started by cre8able, 02-11-2023, 05:43 PM
          3 responses
          236 views
          0 likes
          Last Post rhubear
          by rhubear
           
          Started by frslvr, 04-11-2024, 07:26 AM
          8 responses
          114 views
          1 like
          Last Post NinjaTrader_BrandonH  
          Started by stafe, 04-15-2024, 08:34 PM
          10 responses
          47 views
          0 likes
          Last Post stafe
          by stafe
           
          Started by rocketman7, Today, 09:41 AM
          3 responses
          11 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Working...
          X