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 andrewtrades, Today, 04:57 PM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_Manfred  
    Started by chbruno, Today, 04:10 PM
    0 responses
    6 views
    0 likes
    Last Post chbruno
    by chbruno
     
    Started by josh18955, 03-25-2023, 11:16 AM
    6 responses
    436 views
    0 likes
    Last Post Delerium  
    Started by FAQtrader, Today, 03:35 PM
    0 responses
    9 views
    0 likes
    Last Post FAQtrader  
    Started by rocketman7, Today, 09:41 AM
    5 responses
    20 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Working...
    X