Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

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.
    Brandon H.NinjaTrader Customer Service

    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 andrewtrades, Today, 04:57 PM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_Manfred  
      Started by chbruno, Today, 04:10 PM
      0 responses
      3 views
      0 likes
      Last Post chbruno
      by chbruno
       
      Started by josh18955, 03-25-2023, 11:16 AM
      6 responses
      436 views
      0 likes
      Last Post Delerium  
      Started by FAQtrader, Today, 03:35 PM
      0 responses
      7 views
      0 likes
      Last Post FAQtrader  
      Started by rocketman7, Today, 09:41 AM
      5 responses
      19 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Working...
      X