Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Orders at Gain

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

    Orders at Gain

    I'm writing a strategy for use with Gain and I have a question about the orders in case NT is disconnected. If I have a position open with a stop and target, are they both associated with the position? Will the other cancel if one is executed?

    #2
    Not if you are disconnected since GAIN does not support native OCO capability.
    RayNinjaTrader Customer Service

    Comment


      #3
      OK, so assuming NT is not able to reconnect, what is the best way to handle being disconnected? Should I only place the stop, and keep the target internal in the code and only send the order if price achieves the target? I'm just trying to prevent a problem if I'm not at the computer or there is something like a power outage, things of that nature.

      Comment


        #4
        Ultimately its what risk you feel most comfortable with. Calling broker is always recommended in a situation when your account is at risk due to any complication in automation.
        RayNinjaTrader Customer Service

        Comment


          #5
          OK, I understand. My last question is: do you know if Gain automatically closes positions and orders if ninjatrader is disconnected for a certain period of time? Thanks for your help.

          Comment


            #6
            Not that I am aware of.
            RayNinjaTrader Customer Service

            Comment

            Latest Posts

            Collapse

            Topics Statistics Last Post
            Started by cmtjoancolmenero, 04-29-2024, 03:40 PM
            11 responses
            37 views
            0 likes
            Last Post NinjaTrader_Jesse  
            Started by ETFVoyageur, Today, 02:08 AM
            3 responses
            28 views
            0 likes
            Last Post ETFVoyageur  
            Started by Felix Reichert, 04-26-2024, 02:12 PM
            2 responses
            33 views
            0 likes
            Last Post Felix Reichert  
            Started by scalp, Today, 01:26 PM
            1 response
            5 views
            0 likes
            Last Post NinjaTrader_ChristopherJ  
            Started by ETFVoyageur, Yesterday, 06:05 PM
            2 responses
            27 views
            0 likes
            Last Post ETFVoyageur  
            Working...
            X