Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Cant write OIF.txt to NinjaTrader 8\incoming"

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

    Cant write OIF.txt to NinjaTrader 8\incoming"

    I want to write OIF.txt file to C:\Users\USER\Documents\NinjaTrader 8\incoming, to Automate placing orders.
    When Ninjatrader is open file is not written, no error reported by Python.
    When Ninjatrader is close OIF file is written, orders place, no problem.
    Im using Python to write OIF file.
    Copying OIF file works and orders are placed.
    OS is Windows 10, Home.

    #2
    Hello marwanco,

    That may be how the python script is trying to write the file. I would suggest trying to write the file to a different location and then move the already written file into the directory using a command to see if that allows it to work.

    Comment


      #3
      Problem solved, NT will read and erase OIF file from NinjaTrader 8\incoming, and if trading tab not open, the orders are not visible on the screen.
      Leaving trading tab open fixed my problem.
      Thank you

      Comment

      Latest Posts

      Collapse

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