Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Obtaining Order Status and Times

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

    Obtaining Order Status and Times

    I'm trying to get the Filled time given the OrderId using the NinjaTrader.Client.dll though it doesn't seem like there's any way to get it from what I can see in the documentation.

    I can get the OrderStatus but not the time it was filled.

    Is there a way to achieve this?

    -Kelvin

    #2
    Hello Kelvin,

    Thank you for your post.

    There is no option to pull the time of the order fill however, along with your previous question you could use int ConfirmOrders(int confirm) to not only ensure the orders are communicating to NinjaTrader but to ensure you know what time they were submitted. Unfortunately, you would still need to manually track the time.

    Comment


      #3
      Thanks for the info, Patrick.

      Is there an event that I could subscribe to when a trade is place/executed via the Core.dll?

      Comment


        #4
        Hello Kelvin,

        Thank you for your response.

        There is no event you could subscribe to. However, you could try OrderStatus and Filled, but these would only be called when you call them.

        Comment


          #5
          Thanks again,

          I'll most likely create a new thread and poll the orderId every few seconds

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by alifarahani, 04-19-2024, 09:40 AM
          14 responses
          117 views
          0 likes
          Last Post alifarahani  
          Started by aguison, 06-19-2024, 02:32 PM
          4 responses
          23 views
          0 likes
          Last Post MiCe1999  
          Started by phenqreviews, Today, 12:11 AM
          0 responses
          5 views
          0 likes
          Last Post phenqreviews  
          Started by WHICKED, Yesterday, 08:47 PM
          1 response
          6 views
          0 likes
          Last Post MiCe1999  
          Started by phenqreviews, Today, 12:04 AM
          0 responses
          4 views
          0 likes
          Last Post phenqreviews  
          Working...
          X