Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Error on trade log

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

    Error on trade log

    Hello,

    I'm on unmanaged and to enter a long position I use:

    SubmitOrder(0, OrderAction.Buy, OrderType.Limit, EnterQuantity, EnterPrice, 0, "", "");

    I'm checking the trade log on strategy performance and in some trades the entry name sometimes is displayed as buy to cover instead of sumply buy.

    When I right click on the strategy and I select Strategy Performance the data of the trade is correct.

    Is this a bug?

    #2
    Hello,

    What is the strategy or account position directly before this BuyToCover is used? Are you flat before the BuyToCover is placed?

    Are these live or simulation trades? If live, who is your broker?
    MatthewNinjaTrader Product Management

    Comment


      #3
      I just discovered what is the problem and I think this should be considered a bug.

      When I display the trades of the strategy performance right clicking over the strategy on the Strategies tab it displays correctly the trades for all the historical of this strategy.

      The problem comes when I display the trades from the Account Performance tab for a period shorter than the whole period of activity. If the date cuts between the enter and the exit of a position then the data appears wrong. If I display the whole period the data is correct.

      Comment


        #4
        Can you please send me your database file so I can look into this further.

        You can do this by going to the Control Center-> Help-> Mail to Support-> check "Database file"

        Please reference the following thread in the body of the email:

        MatthewNinjaTrader Product Management

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by wzgy0920, 04-20-2024, 06:09 PM
        2 responses
        26 views
        0 likes
        Last Post wzgy0920  
        Started by wzgy0920, 02-22-2024, 01:11 AM
        5 responses
        32 views
        0 likes
        Last Post wzgy0920  
        Started by wzgy0920, Yesterday, 09:53 PM
        2 responses
        49 views
        0 likes
        Last Post wzgy0920  
        Started by Kensonprib, 04-28-2021, 10:11 AM
        5 responses
        191 views
        0 likes
        Last Post Hasadafa  
        Started by GussJ, 03-04-2020, 03:11 PM
        11 responses
        3,230 views
        0 likes
        Last Post xiinteractive  
        Working...
        X