Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Obtain open position after restarting scripts

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

    Obtain open position after restarting scripts

    If scripts restart for any reasons, such as lost internet, power cycles etc, how to get previous open positions?

    Could I get these infor directly from the stock account such as TDAmeritrade instead of storing the infor locally?

    Thanks.

    #2
    In this case you would want to change your submit settings for the strategy so that it can recognize previously placed orders.

    Most likely you'd want the Immediately submit sync = false option.

    For accessing the menu with these settings go to tools -> options -> Strategies tab -> NinjaScript: http://www.ninjatrader.com/support/h...tegies_tab.htm

    For a video detailing the different options: http://www.youtube.com/watch?v=US9cKUwLMOA

    For written documentation: http://www.ninjatrader.com/support/h..._positions.htm

    Let me know if I can further assist.
    LanceNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by ageeholdings, Today, 07:43 AM
    0 responses
    7 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