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 llanqui, Today, 03:53 AM
          0 responses
          4 views
          0 likes
          Last Post llanqui
          by llanqui
           
          Started by burtoninlondon, Today, 12:38 AM
          0 responses
          10 views
          0 likes
          Last Post burtoninlondon  
          Started by AaronKoRn, Yesterday, 09:49 PM
          0 responses
          15 views
          0 likes
          Last Post AaronKoRn  
          Started by carnitron, Yesterday, 08:42 PM
          0 responses
          11 views
          0 likes
          Last Post carnitron  
          Started by strategist007, Yesterday, 07:51 PM
          0 responses
          14 views
          0 likes
          Last Post strategist007  
          Working...
          X