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 cre8able, Yesterday, 01:16 PM
          3 responses
          11 views
          0 likes
          Last Post cre8able  
          Started by ChartTourist, Today, 08:22 AM
          0 responses
          4 views
          0 likes
          Last Post ChartTourist  
          Started by LiamTwine, Today, 08:10 AM
          0 responses
          2 views
          0 likes
          Last Post LiamTwine  
          Started by Balage0922, Today, 07:38 AM
          0 responses
          5 views
          0 likes
          Last Post Balage0922  
          Started by JoMoon2024, Today, 06:56 AM
          0 responses
          6 views
          0 likes
          Last Post JoMoon2024  
          Working...
          X