Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Freezing Connecting to Gain

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

    Freezing Connecting to Gain

    I'm trying to connect to my Gain account and NT seems to freeze. The log shows I'm actually connected. The last log entry shows I have a position open and then that's it. I have to kill the process in order to stop NT.

    Log entries:
    default: Verify license
    default: current license
    default: auto trading disabled
    connection: gain: connecting
    connection: gate: rate feed connected
    connection: gain: primary connection connected
    position: instrument: account info and position is here
    Session Break;

    I'm assuming the session break is entered when I kill the NT process.

    Jim

    #2
    Hello:

    Thank you for your post.

    If you are currently in a live position and are having trouble connecting to get out of the trade, please consult your broker right away to have them close out your position, if need be.

    As per your connection issue...

    Can you re-produce? Try disconnecting and shutting down the software.

    Restart NT and attempt to connect again.

    If you cannot get re-connected, please send me a note to support at ninjatrader dot com.

    Do you receive any error messages?

    I can test your login information on my pc and we can verify if it is an issue with your pc or if it could be an issue with your login information.

    Best regards,
    RyanNinjaTrader Customer Service

    Comment


      #3
      Freezing

      As I mentioned in my email, removing the NinajaTrader directory in my documents fixed the problem. I got the error again, and what it seems is that if I have open positions with a strategy when the market closes on friday, I have this problem connecting again when the market reopens. Happened twice now. I know how to fix it now, but it seems like a bug somewhere.

      Comment


        #4
        Thanks for feedback. Please proceed as Ray suggested.

        Comment


          #5
          NT Freezing when connecting to GAIN

          I'm having the same issues. NT freezes when connecting to GAIN.

          Comment


            #6
            Please see post #2. If this fails, please send a note to support at ninjatrader dot com and reference this post.
            RayNinjaTrader Customer Service

            Comment


              #7
              Config.xml is the Problem

              This error just happened to me. If you delete the config.xml file at mydocuments>ninjatrader6>config and then restart NT the gain connection will work.

              Be prepared to re-enter your license key. All of your data will be retained including strategies. My initial startup environment was lost but that appears to be all. Be sure to check that EVERYTHING critical to your trading works properly after the switch.

              For NT Support: If you want a copy of both the good and bad config.xml let me know. If I had more time I could narrow it down to the offending code but I don't.

              Comment


                #8
                Hello coryrh,

                Thank you for your post.

                Deleting the Config file will reset your workspace, which explains the missing initial startup environment and solves the issue connecting to Gain. Thank you for offering the Config files, but at this time it is not necessary.
                JasonNinjaTrader Customer Service

                Comment


                  #9
                  I guess this is an unrelated issue, but since last night, I can't seem to connect to the forex.com demo feed. Error:
                  "Login failed: Failed t o connecto the Rates interface: System.Net.Sockets.SocketException: An exisiting connection was forcibly closed by the remote host at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int3"

                  My connection settings:
                  * Provider: Gain
                  * Use NT server
                  * Mode: Demo

                  This connection worked fine for nearly a month. What changed?

                  -Henry

                  Comment


                    #10
                    Please contact your broker.

                    Comment


                      #11
                      Thank you Dierk.
                      I just got off the phone with forex.com support. They said that if the error is coming from their end, the error message would have said "Gain Capital", so therefore to ask you about this again.

                      Are you sure the error is coming from Gain capital? This is the forex.com DEMO account remember.

                      -Henry

                      Comment


                        #12
                        >> Are you sure the error is coming from Gain capital
                        Yes, or general internet issue (we have the same issue here).

                        Comment


                          #13
                          Hi Dierk,

                          So what about GAIN's assertion that their errors would have "Gain Capital" in it? You say it's their problem, and they say it's your problem. I don't know what to do. If you are also seeing this problem on your end right now (is that what you are saying?), can you work it out with them?

                          Actually, this makes me wonder: the same thing can happen even with a live account connection, so if I can't trade because of the connection problem, how do I know who to contact? Will I be a ping pong ball between the 2 of you even in a live setting?

                          -Henry

                          Comment


                            #14
                            We're in touch with GAIN an let you know as we get an update.

                            Comment


                              #15
                              We can connect to our account again. I suggest you retry.

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by Haiasi, Today, 06:53 PM
                              1 response
                              4 views
                              0 likes
                              Last Post NinjaTrader_Manfred  
                              Started by ScottWalsh, Today, 06:52 PM
                              1 response
                              11 views
                              0 likes
                              Last Post NinjaTrader_Manfred  
                              Started by ScottW, Today, 06:09 PM
                              1 response
                              5 views
                              0 likes
                              Last Post NinjaTrader_Manfred  
                              Started by ftsc2022, 10-25-2022, 12:03 PM
                              5 responses
                              256 views
                              0 likes
                              Last Post KeyonMatthews  
                              Started by Board game geek, 10-29-2023, 12:00 PM
                              14 responses
                              244 views
                              0 likes
                              Last Post DJ888
                              by DJ888
                               
                              Working...
                              X