Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Canel or Close

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

    Canel or Close

    NT has accepted my automated order and I am checking the PUF file. For some reason, I now want to stop running the strategy. Not sure if I should use a Cancel or a Close. Does it depend on whether or not the the entry order has been filled. It would seem that if the Avg Entry price is still 0 (therefore order not yet filled) I would want to send a Cancel. But if entry order has been filled, avg. entry price not 0, then I would want to send a Close. Do I have this correct?



    In NT, I use the Cancel Pending Positon Strategy to cancel my unfilled order. What is the equivalent NT/Automated command?



    Thanks,

    #2
    imported post

    Your understanding is correct, when zero, issue cancel.txt, when > 0, send close.txt. That is the equivalent AT command(s).
    RayNinjaTrader Customer Service

    Comment


      #3
      imported post

      But it doesn't hurt to issue CANCEL first anyways ..... correct ?

      NT ought remove the file once done..... whether a real cancel or fake cancel.

      Just to make sure, for automated trading, one ought be sure.

      Do I make sense ...

      Ray, your feedback would be appreciated, thanks.

      Comment


        #4
        imported post

        Correct.
        RayNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Waxavi, Today, 02:10 AM
        0 responses
        6 views
        0 likes
        Last Post Waxavi
        by Waxavi
         
        Started by TradeForge, Today, 02:09 AM
        0 responses
        11 views
        0 likes
        Last Post TradeForge  
        Started by Waxavi, Today, 02:00 AM
        0 responses
        2 views
        0 likes
        Last Post Waxavi
        by Waxavi
         
        Started by elirion, Today, 01:36 AM
        0 responses
        4 views
        0 likes
        Last Post elirion
        by elirion
         
        Started by gentlebenthebear, Today, 01:30 AM
        0 responses
        5 views
        0 likes
        Last Post gentlebenthebear  
        Working...
        X