Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Command Line options for launching

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

  • NinjaTrader_Jim
    replied
    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.

    Leave a comment:


  • Hyper
    started a topic Command Line options for launching

    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

Latest Posts

Collapse

Topics Statistics Last Post
Started by punkiy2111, Today, 05:22 PM
0 responses
2 views
0 likes
Last Post punkiy2111  
Started by secrettrader, Today, 03:36 PM
0 responses
7 views
0 likes
Last Post secrettrader  
Started by t3chn0, Today, 01:03 PM
1 response
8 views
0 likes
Last Post NinjaTrader_ChrisL  
Started by jleira, Today, 02:27 PM
0 responses
22 views
0 likes
Last Post jleira
by jleira
 
Started by Kreyenhagen, Today, 01:54 PM
2 responses
21 views
0 likes
Last Post Kreyenhagen  
Working...
X