Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Closes position on EnterLong() execution

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

    Closes position on EnterLong() execution

    On real time, this system closed a short position (on 9/23 16:45) on EnterLong() execution. Since then, trades seem to be displaced, trades begin on ExitLong/Short() and end on EnterLong/Short() (see trade on 9/26 11:45 - 9/26 12:30).(see attached image)
    Could anyone explain it, please?
    Thank you.
    The system contains something like:
    EnterLong(0,1,"Compra")
    EnterShort(0,1,"Venta")
    ExitLong(0,1,"Cierro compra","Compra")
    ExitShort(0,1,"Cierro venta","Venta")
    Attached Files

    #2
    Hello NoName,

    Welcome to the NinjaTrader forum! Unfortunately real time performance does not pair trades according to the signal names used in a strategy. All trades are paired with FIFO, even if they originate from an automated strategy.
    Ryan M.NinjaTrader Customer Service

    Comment


      #3
      So realized PnL on strategies tab is different from real time performance by clicking right button Performance -> Realtime?

      Comment


        #4
        No, my response was about trade pairing. Generally PnL should be identical. Are you seeing different in your NinjaTrader?
        Ryan M.NinjaTrader Customer Service

        Comment


          #5
          Yes, i'm seeing different realized PnL. You can see the rare operations on the image I sent you. The realized PnL on strategies tab matches the ("CierroCompra" - "Compra") sum while the realized PnL on Performance->Realtime matches the ("Compra" - "CierroCompra") sum

          Comment


            #6
            One explanation for this is that the strategies tab is dynamically updated with each trade, and the real time performance is only updated at the time you request the report. Do they match if you request a new real time performance report?
            Ryan M.NinjaTrader Customer Service

            Comment


              #7
              That's not the problem. I think the problem is induced by 'rare trades'.

              Comment


                #8
                NoName, from your original post it seems more like a syncronization issue as you restart the strategy - with which synching options are you working here?
                BertrandNinjaTrader Customer Service

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by algospoke, Yesterday, 06:40 PM
                2 responses
                19 views
                0 likes
                Last Post algospoke  
                Started by ghoul, Today, 06:02 PM
                3 responses
                14 views
                0 likes
                Last Post NinjaTrader_Manfred  
                Started by jeronymite, 04-12-2024, 04:26 PM
                3 responses
                45 views
                0 likes
                Last Post jeronymite  
                Started by Barry Milan, Yesterday, 10:35 PM
                7 responses
                20 views
                0 likes
                Last Post NinjaTrader_Manfred  
                Started by AttiM, 02-14-2024, 05:20 PM
                10 responses
                181 views
                0 likes
                Last Post jeronymite  
                Working...
                X