Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Get last order

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

    Get last order

    Hello,

    I want get the last order accepted.
    Can you help me please ?


    Thanks you.

    #2
    Hello jodu49,

    Thank you for your post.

    Can you clarify a little what exactly you're looking for? Are you wanting to obtain the most recently submitted working order (prior to it filling) or are you wanting to get the most recently filled order? What information are you wanting to retrieve regarding said order? The more information you can provide, the better guidance I can give.

    Thanks in advance; I look forward to assisting you further.
    Kate W.NinjaTrader Customer Service

    Comment


      #3
      Hello,

      I managed to find. It was simple but I was stuck. The solution was:

      LastOrder=Account.Orders[Account.Orders.Count-1];

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by chrischongpdx, Today, 09:39 PM
      0 responses
      7 views
      0 likes
      Last Post chrischongpdx  
      Started by Mountain_cast, Today, 12:41 PM
      2 responses
      9 views
      0 likes
      Last Post Mountain_cast  
      Started by dontpanic, 04-07-2015, 04:42 AM
      4 responses
      1,322 views
      0 likes
      Last Post BeachTrader11807  
      Started by algospoke, Today, 07:54 PM
      0 responses
      5 views
      0 likes
      Last Post algospoke  
      Started by Rxxar, Today, 06:26 PM
      0 responses
      10 views
      0 likes
      Last Post Rxxar
      by Rxxar
       
      Working...
      X