Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

whishlist, commandline

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

    whishlist, commandline

    Hello,

    I would apreciate an option to chose the workspace to open from the command line. Example:

    NinjaTrader.exe /workspace: Untitled2

    any plans to to so or are there technical reasons not to?


    True SingleInstance without annoying MessageBox

    When launching a second instance of NinjaTrader (which usually happens by error) could you just exit the second instance without the Message Box (No second instance... NinjaTrader /2) and maybe just activate the controlcenter of the first instance?
    For this SingleInstance type of application there are many good examples on the web on how to do this (usually with a global mutex) and it should be easy to implement.

    #2
    Thanks for your suggestions.

    Comment


      #3
      Zweistein,

      This might help. Not 100%, but pretty close.



      What might work is if you used your utility library to auto load your management strategy, and then have the workspace auto load from there using the link I am referencing.

      Gets you to the place you need to go without waiting for NT to add commandline features or not.



      Originally posted by zweistein View Post
      Hello,

      I would apreciate an option to chose the workspace to open from the command line. Example:

      NinjaTrader.exe /workspace: Untitled2

      any plans to to so or are there technical reasons not to?


      True SingleInstance without annoying MessageBox

      When launching a second instance of NinjaTrader (which usually happens by error) could you just exit the second instance without the Message Box (No second instance... NinjaTrader /2) and maybe just activate the controlcenter of the first instance?
      For this SingleInstance type of application there are many good examples on the web on how to do this (usually with a global mutex) and it should be easy to implement.

      Comment


        #4
        Mulitple Instances Issue

        Zweistein,

        Another idea might be to write a wrapper of somekind and make a shortcut to that for NT. This way it could do the logic checking you want and avoid that message box.

        Just an idea. So you make an application called MyNT or whatever, and it simply loads NT.exe or whatever, but will only do so if it isn't already loaded. If it is loaded, it will just bring you there. If it is not responding, then it will hammer it and try to start it again.

        Also, could you copy your workspace to the default workspace before starting NT? That would be another advantage. You could copy the name of the file you want in your own commandline string, and replace Default.xml or whatever. This would give you the same effect, no?
        Last edited by r2kTrader; 11-19-2009, 09:26 PM.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        600 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        347 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        103 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        558 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        558 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X