• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Confused - Syncing Account Positions

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

    Confused - Syncing Account Positions

    Hi,

    https://ninjatrader.com/support/help..._positions.htm
    I went through this many times, and I tested all different options and I am not getting what I want.

    NT crashed on me many times and when I restart, it doesn't recognize previous account positions generated by strategy.

    All I want is have my strategy continue where it was left i.e. if account positon was 1 before crashing, account and strategy position would 1 and 1, and SYNC = true.

    I don't want NT to close previous positions, nor open a newer one, so I end up with 2L.

    Is there a way to achieve this?

    I have "keep running" in >> option >> startegies >> connection loss.

    #2
    Hello YakusaTrader,

    Thank you for your note.

    If you did not want NinjaTrader to close previous position upon an error you could set RealtimeErrorHandling to IgnoreAllErrors rather than Stopcancelclose.

    See,
    https://ninjatrader.com/support/help...orhandling.htm

    How the strategy performs on startup would depend on your Start Behavior, please see,
    https://ninjatrader.com/support/help...rtbehavior.htm

    Regarding the crash, please send an email to platformsupport[at]ninjatrader[dot]com with Attn: Alan P in the Subject line. Also within the email please include a link to this thread, and attach the log and trace files for the day in subject which you can find in My Documents>NinjaTrader8>Log and My Documents>NinjaTrader8/Trace folders.

    I look forward to your email.
    Alan P.NinjaTrader Customer Service

    Comment


      #3
      It actually crashes because I overload it, I use the analyzer at the same time as active strategies.

      I do have IgnoreAllErrors, and Immediately submit. I also have "keep running" for connection loss.
      My order action, order type, quantity, limit price, and stop price are identical.

      Unfortunately it ignores the already opened position in the account, and it opens new ones based on strategy position. At the end, I have 2L, and sync = false

      If I close NT, is there a way to open it, then enable strategy then continue as it was left prior to closing NT?

      Comment


        #4
        Hello YakusaTrader,

        Yes it is possible.

        Please see the following post,
        https://ninjatrader.com/support/foru...332#post499332

        Please let us know if you need further assistance.
        Alan P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by SAILIKITY, 05-22-2019, 05:41 PM
        1 response
        5 views
        0 likes
        Last Post NinjaTrader_PaulH  
        Started by rmillar, 01-09-2019, 06:02 PM
        6 responses
        62 views
        1 like
        Last Post eDanny
        by eDanny
         
        Started by mlarocco, Today, 11:39 AM
        4 responses
        20 views
        0 likes
        Last Post mlarocco  
        Started by roblogic, Today, 11:19 AM
        4 responses
        21 views
        0 likes
        Last Post roblogic  
        Started by saeed, Today, 10:17 AM
        8 responses
        53 views
        0 likes
        Last Post NinjaTrader_Kate  
        Working...
        X