Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How exactly the REVERSEPOSITION command work?

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

    How exactly the REVERSEPOSITION command work?

    Let's say I have a long possition with a strategy (one stop and one target orders). If I submit REVERSEPOSITION command with another strategy, what will happend? Will current strategy be closed (stop and targets orders cancelled)?

    Thanks!

    #2
    imported post

    Your understanding is correct.
    RayNinjaTrader Customer Service

    Comment


      #3
      imported post

      It looks like REVERSEPOSITION and Closeposition don't work at all...

      Comment


        #4
        imported post

        I just tested and it works. Please take a look at your code to ensure that the function is being called. Check the log file for any errors.
        RayNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by f.saeidi, Today, 11:02 AM
        1 response
        2 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by geotrades1, Today, 10:02 AM
        4 responses
        12 views
        0 likes
        Last Post geotrades1  
        Started by rajendrasubedi2023, Today, 09:50 AM
        3 responses
        16 views
        0 likes
        Last Post NinjaTrader_BrandonH  
        Started by lorem, Today, 09:18 AM
        2 responses
        11 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by geddyisodin, Today, 05:20 AM
        4 responses
        30 views
        0 likes
        Last Post geddyisodin  
        Working...
        X