• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Oif closeposition

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

    Oif closeposition

    1) will this command also close ATM positions created by ChartTrader

    or

    2) only positions entered by an active Strategy

    or

    3) only positions entered by the specific Strategy that entered a position

    ALSO

    Does this command cancel any pending orders?

    Thx.

    #2
    Hello Turtle Trader,
    Close Position will close all the positions, created via Chart Trader or via the strategy) for that specific instrument and account.

    Yes, it will cancel the pending orders for that instrument and account.
    Joydeep M.NinjaTrader Customer Service

    Comment


      #3
      reply

      OK, then I have a problem to trace down.

      The OIF file is being written correctly to the Incoming folder...

      I have tried to name it different things:

      oif.txt
      oif2.txt
      oif_CL 12-12.txt

      But they are not being acted upon.

      I suppose they should be deleted once Nnja executes the OIF?

      There are no Ninja Log entries.

      I have MY DOCUMENTS mapped to another drive...it is not the C: drive. Do you suppose that matters?

      The script can find the folder ok...but tell it where...it is on the E: drive, not the C: drive.

      Comment


        #4
        to clarify

        I suppose that Ninja would delete the OIF file when it has executed it....is that true?

        Would there be Ninja Log entries concerning the OIF file?

        Comment


          #5
          Hello Turtle Trader,
          Yes the OIF files gets deleted.

          Please send me your log and trace files for today so that I may look into what occurred.

          You can do this by going to the Control Center-> Help-> Mail to Support.

          Please append Attn:Joydeep in the subject line of the Email and give a reference to this thread in the body of the email.
          Joydeep M.NinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by StevenNelson, Today, 12:29 PM
          0 responses
          5 views
          0 likes
          Last Post StevenNelson  
          Started by anupsoni, Today, 12:23 PM
          1 response
          3 views
          0 likes
          Last Post NinjaTrader_Kate  
          Started by aligator, Yesterday, 12:15 PM
          6 responses
          60 views
          0 likes
          Last Post eDanny
          by eDanny
           
          Started by frankduc, Today, 11:22 AM
          3 responses
          8 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by aslane, Today, 10:53 AM
          1 response
          8 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Working...
          X