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 rhyminkevin, Today, 04:58 PM
        3 responses
        47 views
        0 likes
        Last Post Anfedport  
        Started by iceman2018, Today, 05:07 PM
        0 responses
        5 views
        0 likes
        Last Post iceman2018  
        Started by lightsun47, Today, 03:51 PM
        0 responses
        7 views
        0 likes
        Last Post lightsun47  
        Started by 00nevest, Today, 02:27 PM
        1 response
        14 views
        0 likes
        Last Post 00nevest  
        Started by futtrader, 04-21-2024, 01:50 AM
        4 responses
        50 views
        0 likes
        Last Post futtrader  
        Working...
        X