• 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 zweistein, 11-14-2017, 03:24 PM
          2 responses
          1,476 views
          0 likes
          Last Post woodie1
          by woodie1
           
          Started by Newtrader101, Today, 04:50 AM
          3 responses
          18 views
          0 likes
          Last Post NinjaTrader_ChrisL  
          Started by utilizator, Today, 06:31 AM
          3 responses
          13 views
          0 likes
          Last Post NinjaTrader_Jesse  
          Started by digibob, Today, 01:13 AM
          3 responses
          14 views
          0 likes
          Last Post digibob
          by digibob
           
          Started by calebsandfort, Yesterday, 05:16 PM
          2 responses
          11 views
          0 likes
          Last Post NinjaTrader_PaulH  
          Working...
          X