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 techgetgame, Today, 11:42 PM
          0 responses
          7 views
          0 likes
          Last Post techgetgame  
          Started by sephichapdson, Today, 11:36 PM
          0 responses
          1 view
          0 likes
          Last Post sephichapdson  
          Started by bortz, 11-06-2023, 08:04 AM
          47 responses
          1,613 views
          0 likes
          Last Post aligator  
          Started by jaybedreamin, Today, 05:56 PM
          0 responses
          9 views
          0 likes
          Last Post jaybedreamin  
          Started by DJ888, 04-16-2024, 06:09 PM
          6 responses
          19 views
          0 likes
          Last Post DJ888
          by DJ888
           
          Working...
          X