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 techzeel, Today, 03:17 AM
          0 responses
          3 views
          0 likes
          Last Post techzeel  
          Started by guillembm, Today, 02:52 AM
          0 responses
          7 views
          0 likes
          Last Post guillembm  
          Started by Chuso, Yesterday, 03:41 AM
          2 responses
          10 views
          0 likes
          Last Post Chuso
          by Chuso
           
          Started by jtrade, 02-05-2009, 03:14 AM
          6 responses
          5,473 views
          0 likes
          Last Post Cocchu
          by Cocchu
           
          Started by XanderT, Today, 01:12 AM
          0 responses
          11 views
          0 likes
          Last Post XanderT
          by XanderT
           
          Working...
          X