Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

ConnectionLossHandling:Will Ninja Trader flatten Account Positions upon reconnection

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

    ConnectionLossHandling:Will Ninja Trader flatten Account Positions upon reconnection

    Hello,
    In “ConnectionLossHandling” it states that: https://ninjatrader.com/support/help...sshandling.htm
    ---------------
    When using ConnectionLossHandling.Recalculate, recalculations will only occur if the strategy was stopped based on the conditions below. Should the connection be reestablished before the strategy was stopped, the strategy will continue running without recalculating as if no disconnect occurred.
    1. If data feed disconnects for longer than the time specified in DisconnectDelaySeconds, the strategy is stopped.
    2. If the order feed disconnects and the strategy places an order action while disconnected, the strategy is stopped.
    3. If both the data and order feeds disconnect for longer than the time specified in DisconnectDelaySeconds, the strategy is stopped.
    --------------
    1) For the first and third cases, after the strategy is stopped, and when both the data and order feeds connections resume,
    Q1) can I assume that any outstanding Account positions at the brokerage will be flattened automatically by Ninja Trader Platform?
    Q2) If so, is it possible that Ninja Trader Platform may encounter order rejection when trying to flatten the positions upon reconnection? Or should we flatten those positions manually, either via Ninja Trader Platform or calling Brokerage directly?

    2) For the second case, if the order rejection is for closing an open Account Position,
    Q3) will the Ninja Trader Platform
    attempts to flatten the open Account Position when the order feed connection is back? Or do we need to flatten the positions manually?

    Thanks,
    Ben (lorien)

    #2
    Hello lorien,

    Thanks for your post.

    When a strategy is disabled due to a disconnection, the strategy will cancel entry orders and exit orders when the strategy is disabled only if you have enabled the 'Cancel entry orders when a strategy is disabled' and 'Cancel exit orders when a strategy is disabled' options in the Control Center > Tools > Options > Strategies tab.

    If you want entry and exit orders to be canceled when a strategy is disabled, please go to Control Center > Tools > Options > Strategies tab and ensure those options are checked (enabled).

    Note that if your inquiry has to do with live orders, please always reach out to your broker's Orders Desk immediately to confirm and manage your live orders and positions.

    If your trades are with NinjaTrader Brokerage, you can contact NinjaTrader Brokerage Order Desk here:
    • Email: orders[AT]ninjatrader.com
    ​Let me know if I may assist further.
    Brandon H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by ageeholdings, Today, 07:43 AM
    0 responses
    2 views
    0 likes
    Last Post ageeholdings  
    Started by pibrew, Today, 06:37 AM
    0 responses
    4 views
    0 likes
    Last Post pibrew
    by pibrew
     
    Started by rbeckmann05, Yesterday, 06:48 PM
    1 response
    14 views
    0 likes
    Last Post bltdavid  
    Started by llanqui, Today, 03:53 AM
    0 responses
    6 views
    0 likes
    Last Post llanqui
    by llanqui
     
    Started by burtoninlondon, Today, 12:38 AM
    0 responses
    12 views
    0 likes
    Last Post burtoninlondon  
    Working...
    X