Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Problem when the strategy stops

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

    Problem when the strategy stops


    Talking with IB support, once a week they do maintenance of the platform, therefore ninjatrader strategies will be disconnected. By implementing them again as you could do so that your next action is a exit position (If I had previously entered).

    #2
    Hello 7robert, thanks for your post.

    For the strategy startup, you would need to set your start behavior to "Adopt Account Position". This startup behavior requires you to program your strategy such that your orders are handled with Order objects such that GetRealtimeOrder() can be used to get any real account positions that might exist. This startup behavior also requires IsAdoptAccountPositionAware be set to true.

    See this reference sample for an example of using GetRealTimeOrder().

    I look forward to hearing of your results.
    Chris L.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by mattbsea, Today, 05:44 PM
    0 responses
    4 views
    0 likes
    Last Post mattbsea  
    Started by RideMe, 04-07-2024, 04:54 PM
    6 responses
    31 views
    0 likes
    Last Post RideMe
    by RideMe
     
    Started by tkaboris, Today, 05:13 PM
    0 responses
    2 views
    0 likes
    Last Post tkaboris  
    Started by GussJ, 03-04-2020, 03:11 PM
    16 responses
    3,282 views
    0 likes
    Last Post Leafcutter  
    Started by WHICKED, Today, 12:45 PM
    2 responses
    20 views
    0 likes
    Last Post WHICKED
    by WHICKED
     
    Working...
    X