Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Disable/Enable strategy and continuing position

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

    Disable/Enable strategy and continuing position

    Hi,

    I was wondering how Ninjatrader handles the situation in automated trading where it has opened a position, the strategy is disabled for some reason (i might have to restart the server) and then enabled again.

    I think I've seen that Ninjatrader does not pick of where it left off. So the position is still open at the broker, but Ninjatrader doesn't show the open position in the Strategies overview page. I t waits for the position to be cleared and then opening new positions.

    How is the suggested way of working in this case. I can imaging also the situation where the internet connection might be temporarily unavailable. Does strategies get disabled then or just greyed out?

    Any help on this would be appreciated. I'm at the point of going live with my system but would like to know some final issues.

    Thanks

    #2
    Hello siroki,

    The settings at Control Center-->Tools-->Options-->Strategies-->NinjaScript-tab are important in this regard. You can select either 'Wait until flat before executing live' or 'Immediately submit live working historical orders'. Together with the 'Synch account position' (located in the strategy settings when you enable a strategy), it determines how the strategy will behave on startup. Please see the link below for information.


    During a disconnection, the settings under 'On connection loss' are important. Please see the following link under 'Understanding the NinjaScript tab'.
    JasonNinjaTrader Customer Service

    Comment


      #3
      When my NinjaScript strategy is set to submit an ATM strategy, the setting 'Immediately submit live working historical orders' is not submitting an order. But when the strategy is set to submit an unmanaged order and 'Immediately submit live working historical orders' is set, an order is immediately submitted.
      Should 'Immediately submit live working historical orders' have an affect when a strategy is submitting an ATM?
      Thanks,
      Zac
      Last edited by zacwhitesi; 09-08-2014, 01:41 PM.
      zacwhitesi
      NinjaTrader Ecosystem Vendor - Shark Indicators

      Comment


        #4
        Hello zacwhitesi,

        Thank you for your post.

        It should not have a different effect on the behavior either way. However, when you enable the strategy it's ATM Strategy position is not reported for the strategy.So the orders are only going to show on the Orders tab and the positions on the Positions tab.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by bortz, 11-06-2023, 08:04 AM
        47 responses
        1,606 views
        0 likes
        Last Post aligator  
        Started by jaybedreamin, Today, 05:56 PM
        0 responses
        8 views
        0 likes
        Last Post jaybedreamin  
        Started by DJ888, 04-16-2024, 06:09 PM
        6 responses
        18 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by Jon17, Today, 04:33 PM
        0 responses
        4 views
        0 likes
        Last Post Jon17
        by Jon17
         
        Started by Javierw.ok, Today, 04:12 PM
        0 responses
        13 views
        0 likes
        Last Post Javierw.ok  
        Working...
        X