Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

GAIN Order activity suspended

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

    GAIN Order activity suspended

    I have a strategy that modifies stop loss orders as data arrives.
    For the most part it works well. However, I have an issue where if the order is modified after the day rolls over into a new day, GAIN rejects the order modification and my strategy is cancelled and the position closed. My strategy is designed to monitor a position for a number of days if necessary, so it needs to be able to continuously update the orders.
    I have attached the last few entries of the log. It can be seen that prior to 1:30am the orders a modified ok. after 1:30, it is rejected saying "New order activity suspended".

    Is there any way around this issue?

    btw, 'Exit on Close' is set to false.
    Attached Files
    Last edited by yimbot; 01-09-2008, 03:02 AM.

    #2
    This seems to be an error from GAIN. The market closes at 1:30AM? If that is the case then that may be why GAIN does not let you submit orders. To sidestep this maybe you can try limiting your chart/strategy to have session end at 1:30AM. This way your strategy won't submit orders past 1:30 anyways.
    Josh P.NinjaTrader Customer Service

    Comment


      #3
      I am not really sure why 1:30, but it has happened a couple of times now. I am trading FX and it was a Tuesday night, so there shoud be no difference.
      Is there any known reason why GAIN woud post that message?

      Comment


        #4
        You will have to ask GAIN why they suspended trading. They do this regularly during news events.
        RayNinjaTrader Customer Service

        Comment


          #5
          Thanks,
          Is there any code I can add to my strategy to allow for this kind of interruption? I have been closed out of a couple of good winning trades because of this...

          Comment


            #6
            Unfortunately not, we are not even warned through the API when trading is disabled.
            RayNinjaTrader Customer Service

            Comment


              #7
              Didn't want to start another thread and thought this thread was the best fit.

              I had an error with my orders last night with Forex.com and not entirely sure why. I have attached a screen print from the log file.
              Please can someone explain why the order didn't work so I can prevent it happening again.

              Kind regards
              Attached Files

              Comment


                #8
                Hello samuelhogg,

                The error indicates the order could not be modified due to a changed order type. Are you aware of any changes in regards to order type?

                Am I correct the order was held overnight?

                I suggest to contact your broker as well regarding this error message for clarification.
                JasonNinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by algospoke, 04-17-2024, 06:40 PM
                6 responses
                49 views
                0 likes
                Last Post algospoke  
                Started by arvidvanstaey, Today, 02:19 PM
                4 responses
                11 views
                0 likes
                Last Post arvidvanstaey  
                Started by samish18, 04-17-2024, 08:57 AM
                16 responses
                61 views
                0 likes
                Last Post samish18  
                Started by jordanq2, Today, 03:10 PM
                2 responses
                9 views
                0 likes
                Last Post jordanq2  
                Started by traderqz, Today, 12:06 AM
                10 responses
                21 views
                0 likes
                Last Post traderqz  
                Working...
                X