Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Unknown OIF file type.

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

    Unknown OIF file type.

    I am getting this error in the log when the strategy tries to place an order.

    Unknown OIF file type 'C:Program FilesNinjaTrader 5incomingcommand.txt'

    The entire command is shown below:

    FileAppend("crogram filesninjatrader 5incomingcommand.txt",
    "PLACE;SIM101;ER2 06-06;BUY;2;LIMIT;"+numtostr(close[0]-EntryAdjNin,1)+";0;GTC;;;ER surge 2c stop 1;");

    In NT4 I use to use order.txt but with NT5 I read one uses COMMAND.TXT.

    Using TS 2000i and NT5 5.1.1000.2

    Please advise,

    Zardoz




    #2
    imported post

    OIFs must be written to the <NinjaTrader Installation Folder>\Incoming folder and be named oif*.txt.
    RayNinjaTrader Customer Service

    Comment


      #3
      imported post

      Thanks for the quick reply. Will try it. You should be aware however that in your knowledge base doc under ATI you have the following as an example of "GOOD" code. no oif*.txt here:


      Good:
      ...
      FileAppend("C:\Program Files\NinjaTrader 5\incoming\command.txt","PLACE;SIM101;ES 03-06;Buy;1;LIMIT;1283.25;0;GTC;;;TEST1;" + NewLine + "PLACE;SIM101;ES 03-06;Buy;1;LIMIT;1283.75;0;GTC;;;TEST2);




      thx

      Comment


        #4
        imported post

        Thanks for pointing this out, sorry for your inconvenience. Will make the change shortly.

        Ray
        RayNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Mestor, 03-10-2023, 01:50 AM
        16 responses
        388 views
        0 likes
        Last Post z.franck  
        Started by rtwave, 04-12-2024, 09:30 AM
        4 responses
        31 views
        0 likes
        Last Post rtwave
        by rtwave
         
        Started by yertle, Yesterday, 08:38 AM
        7 responses
        29 views
        0 likes
        Last Post yertle
        by yertle
         
        Started by bmartz, 03-12-2024, 06:12 AM
        2 responses
        22 views
        0 likes
        Last Post bmartz
        by bmartz
         
        Started by funk10101, Today, 12:02 AM
        0 responses
        7 views
        0 likes
        Last Post funk10101  
        Working...
        X