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
    BertrandNinjaTrader Customer Service

    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.
        BertrandNinjaTrader Customer Service

        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.
            BertrandNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by FrancisMorro, Today, 03:24 AM
            0 responses
            1 view
            0 likes
            Last Post FrancisMorro  
            Started by Segwin, 05-07-2018, 02:15 PM
            10 responses
            1,770 views
            0 likes
            Last Post Leafcutter  
            Started by Rapine Heihei, 04-23-2024, 07:51 PM
            2 responses
            31 views
            0 likes
            Last Post Max238
            by Max238
             
            Started by Shansen, 08-30-2019, 10:18 PM
            24 responses
            944 views
            0 likes
            Last Post spwizard  
            Started by Max238, Today, 01:28 AM
            0 responses
            11 views
            0 likes
            Last Post Max238
            by Max238
             
            Working...
            X