• 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.
    JoydeepNinjaTrader 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.
          JoydeepNinjaTrader Customer Service

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by JTizz, Today, 04:56 PM
          0 responses
          6 views
          0 likes
          Last Post JTizz
          by JTizz
           
          Started by Dan_D_Trader, Today, 03:29 PM
          0 responses
          4 views
          0 likes
          Last Post Dan_D_Trader  
          Started by Bsmckm, Today, 02:02 PM
          0 responses
          9 views
          0 likes
          Last Post Bsmckm
          by Bsmckm
           
          Started by markyb0y, Today, 01:55 PM
          0 responses
          4 views
          0 likes
          Last Post markyb0y  
          Started by SlickRick, Today, 11:07 AM
          2 responses
          11 views
          0 likes
          Last Post NinjaTrader_ShawnB  
          Working...
          X