Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Command Line options for launching

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

    Command Line options for launching

    Hi. I know that, these days, everything is a GUI and most users
    have no idea what the command line really is...

    But in case of an issue with NinjaTrader startup; due, for example,
    to faulty indicator, I'd like to be able to start the platform without
    any user defined Charts or Indicators.

    Here's how I always start NinjaTrader:

    REM kill an existing process
    taskkill /f /IM ninjatrader.exe
    start "" /D "C:\ninja/bin64" "NinjaTrader.exe"

    In case of an urgent need to start NinjaTrader in what we could call
    a "safe mode" it could be:

    start "" /D "C:\ninja/bin64" "NinjaTrader.exe /safemode"

    But these command line options would have to be developed.

    The reason for this would be, for example; when it was URGENT
    to get the platform back up; say, to CLOSE out positions in a hurry.

    hyperscalper

    #2
    Hello Hyperscalper,

    There is no command line argument for starting in Safe Mode. Since we start in Safe Mode when the Ctrl key is pressed, you could consider emulating key presses with a PowerShell script, or simply holding the Ctrl key when you submit the command.

    I found a publicly available resource that discusses emulating key presses with PowerShell, but you may just want to hold Ctrl.

    https://superuser.com/questions/9925...e-command-line

    We typically advise calling the broker's Order Desk immediately if there is an issue with the platform where you cannot use it to manage your positions.

    We look forward to assisting.
    JimNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Johnny, Today, 11:55 AM
    0 responses
    13 views
    0 likes
    Last Post Johnny
    by Johnny
     
    Started by MGHORBEL, Today, 10:48 AM
    0 responses
    17 views
    0 likes
    Last Post MGHORBEL  
    Started by daven, Today, 09:49 AM
    7 responses
    27 views
    0 likes
    Last Post daven
    by daven
     
    Started by omermirza, 01-15-2021, 01:15 PM
    14 responses
    123 views
    0 likes
    Last Post omermirza  
    Started by Island_Boy_Trading, Today, 07:39 AM
    2 responses
    18 views
    0 likes
    Last Post Island_Boy_Trading  
    Working...
    X