Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Sync. Strategy and Account after losing connection to the broker

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

    Sync. Strategy and Account after losing connection to the broker

    Hi,

    I'm using automate strategy that runs for few hours and placing TakeProfit and StopLoss on entry.
    I'm working with PFG Demo account and sometimes I see in the logs that the connection was lost for few seconds and then reestablish and the TakeProfit and StopLoss are not active any more.
    How can I sync. again after the connection is lost?
    Don't the TakeProfit and StopLoss are submitted to the exchange on entry to the position and sit there OCO?

    Thanks in advance!

    #2
    freewind, after you regain connectivity is the strategy then still enabled and running?

    The OCO functionality is local with PFG as provider option - http://www.ninjatrader.com/support/f...ead.php?t=5349

    Comment


      #3
      Yes the strategy continue to run.
      OK I see that OCO functionality is running on my local PC but are the StopLoss and TakeProfit sit on the exchange?

      Comment


        #4
        No, one order is working at the exchange and the other is accepted locally, NinjaTrader will simulate the OCO logic on your PC here and submit / cancel order as needed.

        Comment


          #5
          I don't understand.
          I place an entry order and want to have a stop order at the exchange to be up on the order queue(no OCO) how can I do it?

          Comment


            #6
            Then just don't submit a target, too - protect the position with a stop, so NinjaTrader does not have to do any local OCO order management.

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by argusthome, 03-08-2026, 10:06 AM
            0 responses
            106 views
            0 likes
            Last Post argusthome  
            Started by NabilKhattabi, 03-06-2026, 11:18 AM
            0 responses
            54 views
            0 likes
            Last Post NabilKhattabi  
            Started by Deep42, 03-06-2026, 12:28 AM
            0 responses
            36 views
            0 likes
            Last Post Deep42
            by Deep42
             
            Started by TheRealMorford, 03-05-2026, 06:15 PM
            0 responses
            38 views
            0 likes
            Last Post TheRealMorford  
            Started by Mindset, 02-28-2026, 06:16 AM
            0 responses
            74 views
            0 likes
            Last Post Mindset
            by Mindset
             
            Working...
            X