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 inanazsocial, Today, 01:15 AM
    1 response
    6 views
    0 likes
    Last Post NinjaTrader_Jason  
    Started by rocketman7, Today, 02:12 AM
    0 responses
    10 views
    0 likes
    Last Post rocketman7  
    Started by dustydbayer, Today, 01:59 AM
    0 responses
    2 views
    0 likes
    Last Post dustydbayer  
    Started by trilliantrader, 04-18-2024, 08:16 AM
    5 responses
    23 views
    0 likes
    Last Post trilliantrader  
    Started by Davidtowleii, Today, 12:15 AM
    0 responses
    3 views
    0 likes
    Last Post Davidtowleii  
    Working...
    X