Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Mysterious sim positions

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

    Mysterious sim positions

    While I am trading NT seems to be opening positions in my sim account despite having no sim dom or order entry open. I keep hearing 'stop filled' etc at times when I have no position open which is a bit freaky to put it mildly. At other times I go to exit NT and I am told I have a position open. Thankfully, this is a sim position, but again, it is not something I have opened.

    Any ideas?

    Also, for the past couple of days, I have had a Microsoft .NET error message everytime I try to exit NT.


    #2
    imported post

    Please check your strategy, do you have any auto reverse options enabled? Please check your order panel and see what pending orders are active, check your position tab. Also, please click on the details button when you get the .NET error message and paste the information here.

    Thanks!
    RayNinjaTrader Customer Service

    Comment


      #3
      imported post

      ninjatrader wrote:
      Please check your strategy, do you have any auto reverse options enabled? Please check your order panel and see what pending orders are active, check your position tab. Also, please click on the details button when you get the .NET error message and paste the information here.

      Thanks!
      OK - Doh - in checking for any auto reverse I have found that for some reason I had a shadow strategy loading automatically with my core strategy which no doubt caused the sim positions.

      Will post the error message next time I get it.

      Thanks.

      Comment


        #4
        imported post

        Here's the error message...

        Attached Files

        Comment


          #5
          imported post

          a) There probably is running another instance of NT. Please check by the task manager.
          b) If there is only instance: Can you please provide exacts steps on how to reproduce the problem?

          Thanks

          Comment


            #6
            imported post

            Dierk Droth wrote:
            a) There probably is running another instance of NT. Please check by the task manager.

            - There is only 1 version: 1 control centre, 1 Dom, 1 chart.

            b) If there is only instance: Can you please provide exacts steps on how to reproduce the problem?

            - Every day every time I close a Dom or a chart

            Thanks

            Comment


              #7
              imported post

              What Dierk meant was in Windows Task Manager, CTRL-ALT-DELETE, check the Processes Tab, do you see two instances of NinjaTrader.exe when you get this problem?

              Ray
              RayNinjaTrader Customer Service

              Comment


                #8
                imported post

                Situation seems to have taken a turn for the worse today and has crashed twice in tjhe past 20 mins with the following bug message:

                Task manager shows just one control centre.


                Attached Files

                Comment


                  #9
                  imported post

                  This is a different situation, not the same error message you provided below. What OS are you on?

                  Thanks
                  RayNinjaTrader Customer Service

                  Comment


                    #10
                    imported post

                    I'm on Windows XP.

                    Here is the full text from the most recent .Net error message...

                    See the end of this message for details on invoking
                    just-in-time (JIT) debugging instead of this dialog box.

                    ************** Exception Text **************
                    System.IO.IOException: The process cannot access the file "C:\Program Files\NinjaTrader 5\workspaces\Default.xml" because it is being used by another process.
                    at System.IO.__Error.WinIOError(Int32 errorCode, String str)
                    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean useAsync, String msgPath, Boolean bFromProxy)
                    at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
                    at System.Xml.XmlDocument.Save(String filename)
                    at NinjaTrader.Gui.WorkspaceOptions.SaveForm(Boolean applicationExit)
                    at NinjaTrader.Gui.WorkspaceOptions.WorkspaceOptions_ Closing(Object sender, CancelEventArgs e)
                    at System.ComponentModel.CancelEventHandler.Invoke(Ob ject sender, CancelEventArgs e)
                    at System.Windows.Forms.Form.OnClosing(CancelEventArg s e)
                    at System.Windows.Forms.Form.WmClose(Message& m)
                    at System.Windows.Forms.Form.WndProc(Message& m)
                    at System.Windows.Forms.ControlNativeWindow.OnMessage (Message& m)
                    at System.Windows.Forms.ControlNativeWindow.WndProc(M essage& m)
                    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


                    ************** Loaded Assemblies **************
                    mscorlib
                    Assembly Version: 1.0.5000.0
                    Win32 Version: 1.1.4322.2032
                    CodeBase: file:///c:/windows/microsoft.net/framework/v1.1.4322/mscorlib.dll
                    ----------------------------------------
                    NinjaTrader
                    Assembly Version: 5.1.1.2
                    Win32 Version: 5.1.1.2
                    CodeBase: file:///C:/Program%20Files/NinjaTrader%205/bin/NinjaTrader.exe
                    ----------------------------------------
                    NinjaTrader.Core
                    Assembly Version: 5.1.1.2
                    Win32 Version: 5.1.1.2
                    CodeBase: file:///C:/Program%20Files/NinjaTrader%205/bin/NinjaTrader.Core.DLL
                    ----------------------------------------
                    System.Windows.Forms
                    Assembly Version: 1.0.5000.0
                    Win32 Version: 1.1.4322.2032
                    CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.5000.0__b77a5c561934e089/system.windows.forms.dll
                    ----------------------------------------
                    System
                    Assembly Version: 1.0.5000.0
                    Win32 Version: 1.1.4322.2032
                    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
                    ----------------------------------------
                    System.Xml
                    Assembly Version: 1.0.5000.0
                    Win32 Version: 1.1.4322.2032
                    CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.5000.0__b77a5c561934e089/system.xml.dll
                    ----------------------------------------
                    System.Drawing
                    Assembly Version: 1.0.5000.0
                    Win32 Version: 1.1.4322.2032
                    CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.dll
                    ----------------------------------------
                    WilsonORMapper
                    Assembly Version: 4.2.0.1
                    Win32 Version: 4.2.0.1
                    CodeBase: file:///C:/Program%20Files/NinjaTrader%205/bin/WilsonORMapper.DLL
                    ----------------------------------------
                    System.Data
                    Assembly Version: 1.0.5000.0
                    Win32 Version: 1.1.4322.2032
                    CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.5000.0__b77a5c561934e089/system.data.dll
                    ----------------------------------------
                    tvjtm5wv
                    Assembly Version: 0.0.0.0
                    Win32 Version: 1.1.4322.2032
                    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
                    ----------------------------------------
                    dkiceulq
                    Assembly Version: 0.0.0.0
                    Win32 Version: 1.1.4322.2032
                    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
                    ----------------------------------------
                    NinjaTrader.Custom
                    Assembly Version: 5.1.1.2
                    Win32 Version: 5.1.1.2
                    CodeBase: file:///C:/Program%20Files/NinjaTrader%205/bin/Custom/NinjaTrader.Custom.dll
                    ----------------------------------------
                    System.Data.OracleClient
                    Assembly Version: 1.0.5000.0
                    Win32 Version: 1.1.4322.2032
                    CodeBase: file:///c:/windows/assembly/gac/system.data.oracleclient/1.0.5000.0__b77a5c561934e089/system.data.oracleclient.dll
                    ----------------------------------------
                    vdtxyjdo
                    Assembly Version: 0.0.0.0
                    Win32 Version: 1.1.4322.2032
                    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
                    ----------------------------------------
                    3rkxm3de
                    Assembly Version: 0.0.0.0
                    Win32 Version: 1.1.4322.2032
                    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
                    ----------------------------------------
                    enytrtjl
                    Assembly Version: 0.0.0.0
                    Win32 Version: 1.1.4322.2032
                    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
                    ----------------------------------------
                    ziwcq7-b
                    Assembly Version: 0.0.0.0
                    Win32 Version: 1.1.4322.2032
                    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
                    ----------------------------------------
                    SourceGrid2
                    Assembly Version: 2.2.0.0
                    Win32 Version: 2.2.0.0
                    CodeBase: file:///C:/Program%20Files/NinjaTrader%205/bin/SourceGrid2.DLL
                    ----------------------------------------
                    SourceLibrary
                    Assembly Version: 1.2.3.0
                    Win32 Version: 1.2.3.1
                    CodeBase: file:///C:/Program%20Files/NinjaTrader%205/bin/SourceLibrary.DLL
                    ----------------------------------------
                    System.Design
                    Assembly Version: 1.0.5000.0
                    Win32 Version: 1.1.4322.2032
                    CodeBase: file:///c:/windows/assembly/gac/system.design/1.0.5000.0__b03f5f7f11d50a3a/system.design.dll
                    ----------------------------------------
                    ogulvvoe
                    Assembly Version: 0.0.0.0
                    Win32 Version: 1.1.4322.2032
                    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
                    ----------------------------------------
                    vuan_y5z
                    Assembly Version: 0.0.0.0
                    Win32 Version: 1.1.4322.2032
                    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
                    ----------------------------------------
                    t9z0whjr
                    Assembly Version: 0.0.0.0
                    Win32 Version: 1.1.4322.2032
                    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
                    ----------------------------------------
                    System.Management
                    Assembly Version: 1.0.5000.0
                    Win32 Version: 1.1.4322.2032
                    CodeBase: file:///c:/windows/assembly/gac/system.management/1.0.5000.0__b03f5f7f11d50a3a/system.management.dll
                    ----------------------------------------
                    ymflhnpv
                    Assembly Version: 0.0.0.0
                    Win32 Version: 1.1.4322.2032
                    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
                    ----------------------------------------
                    doj3xcaz
                    Assembly Version: 0.0.0.0
                    Win32 Version: 1.1.4322.2032
                    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
                    ----------------------------------------
                    NinjaTrader.IB
                    Assembly Version: 5.1.1.2
                    Win32 Version: 5.1.1.2
                    CodeBase: file:///C:/Program%20Files/NinjaTrader%205/bin/NinjaTrader.IB.DLL
                    ----------------------------------------
                    7vfy1hxw
                    Assembly Version: 0.0.0.0
                    Win32 Version: 1.1.4322.2032
                    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
                    ----------------------------------------
                    qwlnzn-9
                    Assembly Version: 0.0.0.0
                    Win32 Version: 1.1.4322.2032
                    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
                    ----------------------------------------
                    oeg8iac3
                    Assembly Version: 0.0.0.0
                    Win32 Version: 1.1.4322.2032
                    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
                    ----------------------------------------
                    Accessibility
                    Assembly Version: 1.0.5000.0
                    Win32 Version: 1.1.4322.573
                    CodeBase: file:///c:/windows/assembly/gac/accessibility/1.0.5000.0__b03f5f7f11d50a3a/accessibility.dll
                    ----------------------------------------
                    ht_jcj26
                    Assembly Version: 0.0.0.0
                    Win32 Version: 1.1.4322.2032
                    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
                    ----------------------------------------
                    zmnkrqn9
                    Assembly Version: 0.0.0.0
                    Win32 Version: 1.1.4322.2032
                    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
                    ----------------------------------------
                    a1r0uojj
                    Assembly Version: 0.0.0.0
                    Win32 Version: 1.1.4322.2032
                    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
                    ----------------------------------------
                    amnrlkth
                    Assembly Version: 0.0.0.0
                    Win32 Version: 1.1.4322.2032
                    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
                    ----------------------------------------
                    hfqmova8
                    Assembly Version: 0.0.0.0
                    Win32 Version: 1.1.4322.2032
                    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
                    ----------------------------------------
                    System.Drawing.Design
                    Assembly Version: 1.0.5000.0
                    Win32 Version: 1.1.4322.573
                    CodeBase: file:///c:/windows/assembly/gac/system.drawing.design/1.0.5000.0__b03f5f7f11d50a3a/system.drawing.design.dll
                    ----------------------------------------
                    dunycqve
                    Assembly Version: 0.0.0.0
                    Win32 Version: 1.1.4322.2032
                    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
                    ----------------------------------------
                    pi4iagxs
                    Assembly Version: 0.0.0.0
                    Win32 Version: 1.1.4322.2032
                    CodeBase: file:///c:/windows/assembly/gac/system/1.0.5000.0__b77a5c561934e089/system.dll
                    ----------------------------------------

                    ************** JIT Debugging **************
                    To enable just in time (JIT) debugging, the config file for this
                    application or machine (machine.config) must have the
                    jitDebugging value set in the system.windows.forms section.
                    The application must also be compiled with debugging
                    enabled.

                    For example:

                    <configuration>
                    <system.windows.forms jitDebugging="true" />
                    </configuration>

                    When JIT debugging is enabled, any unhandled exception
                    will be sent to the JIT debugger registered on the machine
                    rather than being handled by this dialog.

                    Comment


                      #11
                      imported post

                      There clearly is a file locking conflict.

                      Please provide exact details on how to reproduce.

                      Thanks

                      Comment


                        #12
                        imported post

                        Dierk Droth wrote:
                        There clearly is a file locking conflict.

                        Please provide exact details on how to reproduce.

                        Thanks
                        I keep saying - it happens every day, every time I close either a Dom or a chart. I have rebooted, reloaded etc many times but every single time I close anything this happens.

                        Comment


                          #13
                          imported post

                          Ok, please try this: Remove file "C:\Program Files\NinjaTrader 5\workspaces\Default.xml" from your harddrive. I suspect, the problem can arise due to inconsistent file.

                          Note: This will remove all your UI settings.

                          Comment


                            #14
                            imported post

                            First signs look good - I did this and re-started NT. I opened and then closed a Dom without the error message. Will let you know how it progresses.

                            Thanks for all your help.

                            Comment


                              #15
                              Similar situation here after a connection outage while having a position in the simulator. Deleted \My Documents\NinjaTrader 6\workspaces\Default.xml seemed to help a little with program stability. However, there is still a x0s position (zero, with a stop loss above, not shown) that cannot be deleted (by X or Flat or Close) and the DOM cannot be scrolled any longer.
                              Is there a way to fix this or will this go away the next day?
                              Please see attached picture:

                              Comment

                              Latest Posts

                              Collapse

                              Topics Statistics Last Post
                              Started by Barry Milan, Yesterday, 10:35 PM
                              4 responses
                              14 views
                              0 likes
                              Last Post Barry Milan  
                              Started by DanielSanMartin, Yesterday, 02:37 PM
                              2 responses
                              13 views
                              0 likes
                              Last Post DanielSanMartin  
                              Started by DJ888, 04-16-2024, 06:09 PM
                              4 responses
                              12 views
                              0 likes
                              Last Post DJ888
                              by DJ888
                               
                              Started by terofs, Today, 04:18 PM
                              0 responses
                              11 views
                              0 likes
                              Last Post terofs
                              by terofs
                               
                              Started by nandhumca, Today, 03:41 PM
                              0 responses
                              8 views
                              0 likes
                              Last Post nandhumca  
                              Working...
                              X