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 charlesugo_1, 05-26-2026, 05:03 PM
            0 responses
            68 views
            0 likes
            Last Post charlesugo_1  
            Started by DannyP96, 05-18-2026, 02:38 PM
            1 response
            151 views
            0 likes
            Last Post NinjaTrader_ChelseaB  
            Started by CarlTrading, 05-11-2026, 05:56 AM
            0 responses
            162 views
            0 likes
            Last Post CarlTrading  
            Started by CarlTrading, 05-10-2026, 08:12 PM
            0 responses
            100 views
            0 likes
            Last Post CarlTrading  
            Started by Hwop38, 05-04-2026, 07:02 PM
            0 responses
            288 views
            0 likes
            Last Post Hwop38
            by Hwop38
             
            Working...
            X