Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OIF Formatting

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

    OIF Formatting

    According to the help guide, an OIF place order should contain these elements:
    PLACE COMMAND
    PLACE;<ACCOUNT>;<INSTRUMENT>;<ACTION>;<QTY>;<ORDER TYPE>;[LIMIT PRICE];[STOP PRICE];<TIF>;[OCO ID];[ORDER ID];[STRATEGY];[STRATEGY ID]

    My take on what that should look like is:
    "PLACE;Sim101;ES 09-23;Buy;1;Market;"

    My OIF orders are being received, but the log says:
    ...has invalid number of parameters, is 6 but should be 13

    What does a properly formatted OIF text line look like?


    #2
    Hello Atomic,

    You will need a semicolon for the unused parameters as well.

    PLACE;Sim101;ES 09-23;Buy;1;Market;;;;;;;

    Below is a link to the help guide.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Never mind. I got it. I had added a line feed to my order string.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Option Whisperer, Today, 09:55 AM
      1 response
      11 views
      0 likes
      Last Post bltdavid  
      Started by port119, Today, 02:43 PM
      0 responses
      1 view
      0 likes
      Last Post port119
      by port119
       
      Started by Philippe56140, Today, 02:35 PM
      0 responses
      3 views
      0 likes
      Last Post Philippe56140  
      Started by 00nevest, Today, 02:27 PM
      0 responses
      2 views
      0 likes
      Last Post 00nevest  
      Started by Jonafare, 12-06-2012, 03:48 PM
      5 responses
      3,988 views
      0 likes
      Last Post rene69851  
      Working...
      X