Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Order Instruction File OIF Question regarding PLACE

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

    Order Instruction File OIF Question regarding PLACE

    Hi,
    I just became aware of the OIF and read through several posts on how to make it work. So in attempting to PLACE an order, I am using the following code:

    file name OIF1.txt in the file: 'PLACE;Sim 101;NQ 12-21;BUY;1;Market;;;DAY;;;;'
    Log shows the following message command parameter "PLACE" is unknown. Can someone explain what is wrong with my text file that NT rejects it?

    #2
    Hello set2win,

    Thanks for your post.

    Do you have AT Interface enabled in the Tools > Options > Automated trading interface tab? This option would need to be enabled to place OIF orders.

    It seems that you are adding a space in 'Sim 101' and not all the characters are capitalized. An example of using PLACE could be found below.

    PLACE;SIM101;NQ 12-21;BUY;1;MARKET;0;0;DAY;;;;

    Note that NinjaTrader 7 contains an OIF Builder that could be used to set up OIF orders and see the code generated for those orders. See the help guide page below.


    Also, see the help guide documentation below for more information.
    OIF: https://ninjatrader.com/support/help..._files_oif.htm
    Commands and Valid Parameters: https://ninjatrader.com/support/help...parameters.htm

    Let us know if we may assist further.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      Thanks, I created the txt file as you wrote it and it fired off. Capitalized everything add the 0,0 and took off the quotes I had. I was just following what someone had posted in another post. Thanks again.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Geovanny Suaza, 02-11-2026, 06:32 PM
      0 responses
      649 views
      0 likes
      Last Post Geovanny Suaza  
      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
      0 responses
      370 views
      1 like
      Last Post Geovanny Suaza  
      Started by Mindset, 02-09-2026, 11:44 AM
      0 responses
      109 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
      0 responses
      574 views
      1 like
      Last Post Geovanny Suaza  
      Started by RFrosty, 01-28-2026, 06:49 PM
      0 responses
      576 views
      1 like
      Last Post RFrosty
      by RFrosty
       
      Working...
      X