Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy Disconnected When Market Data Disconnects

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

    Strategy Disconnected When Market Data Disconnects

    Recently I had a strategy running and it appears like the charts were paused or stopped. When I looked at the IB connection I saw an error so I disconnected to reconnect. Before disconnecting NT warned that I have a running strategy and blah blah. Not knowing any better I disconnected and reconnected. The charts updated and were displaying correctly and the strategy was still in play but it showed "False" under sync. I then noticed that both support orders (target and stop loss) had disappeared (likely cancelled). So I did a "sync all strategies" and all that did was kick me out of the hand. Can anyone explain to me what happened and what should I do the next time I have a problem with the market data connection. What is the best way so that I can close the connection AND/OR NT and still get back to the strategy.

    Thanks

    #2
    Hello bc24fl,

    When a strategy is stopped and re-started it will re-calculate historical data.

    Below is a link to a forum post on start behavior.
    https://ninjatrader.com/support/foru...541#post811541

    If the account has a position and wait until flat, the strategy will start flat and will be out of sync with the account.

    To resume a strategy the immediately submit start behavior should be used, and optionally the synchronize account option.

    For the strategy to calculate the same position it is recommended to have access to historical tick data and to use 1 tick intra-bar granularity.

    Below is a link to a forum post on resuming a strategy.
    https://ninjatrader.com/support/foru...182#post783182
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by robforee2, Today, 01:05 PM
    0 responses
    3 views
    0 likes
    Last Post robforee2  
    Started by Kaalhus, Today, 12:47 PM
    2 responses
    22 views
    0 likes
    Last Post Kaalhus
    by Kaalhus
     
    Started by SpikeLGWG, Today, 12:35 PM
    0 responses
    8 views
    0 likes
    Last Post SpikeLGWG  
    Started by Johnny, Today, 11:55 AM
    3 responses
    20 views
    0 likes
    Last Post NinjaTrader_Spencer  
    Started by MGHORBEL, Today, 10:48 AM
    0 responses
    18 views
    0 likes
    Last Post MGHORBEL  
    Working...
    X