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 MyrtleMcAlpin, Today, 04:25 AM
    0 responses
    2 views
    0 likes
    Last Post MyrtleMcAlpin  
    Started by fernlicht, Today, 02:38 AM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by b16_aln, Today, 01:48 AM
    1 response
    7 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by james272, Yesterday, 10:50 PM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_Marco  
    Started by vaz21102, Yesterday, 09:22 PM
    2 responses
    10 views
    0 likes
    Last Post vaz21102  
    Working...
    X