NinjaTrader Support Forum  

Go Back   NinjaTrader Support Forum > Application Technical Support > Miscellaneous Support > Historical NinjaTrader 6.5 Archive > Historical NinjaTrader 6.5 Beta Threads

 
 
Thread Tools Display Modes
Old 01-11-2008, 07:58 PM   #1
CashCache
Member
 
Join Date: Aug 2007
Posts: 90
Thanks: 0
Thanked 0 times in 0 posts
Default Documentation Typo

I belive the 6.5 beta has a documentaion typo regarding the OnOrderUpdate() method.

The original text reads:

Quote:
As an example, the NinjaTrader core may have received "Working" and then "Part Filled" order state change events back from the broker API on thread "B" and at some point in time (milliseconds later) the NinjaTrader core will take these events and trigger the OnOrderUpdate() method in the strategy on thread "A". Thus, when the strategy receives the first "Working" state for an order, the IOrder object passed in will reflect the "Working" state although the actual order is really in a state of "Part Filled" which is truly reflected in the original IOrder object returned in any of the order methods such as EnterLong(). Of course, the OnOrderUpdate() method will subsequently receive the event for "Working" state.
I believe it should be:

Quote:
As an example, the NinjaTrader core may have received "Working" and then "Part Filled" order state change events back from the broker API on thread "B" and at some point in time (milliseconds later) the NinjaTrader core will take these events and trigger the OnOrderUpdate() method in the strategy on thread "A". Thus, when the strategy receives the first "Working" state for an order, the IOrder object passed in will reflect the "Working" state although the actual order is really in a state of "Part Filled" which is truly reflected in the original IOrder object returned in any of the order methods such as EnterLong(). Of course, the OnOrderUpdate() method will subsequently receive the event for "Part Filled" state.
It's not a big deal, but I thought I would mention it.

Thanks,

-Scott
CashCache is offline  
Old 01-12-2008, 02:12 AM   #2
NinjaTrader_Josh
NinjaTrader Product Manager
 
NinjaTrader_Josh's Avatar
 
Join Date: May 2007
Location: Denver, CO
Posts: 17,458
Thanks: 1
Thanked 107 times in 70 posts
Default

Thanks for bringing this to our attention.
NinjaTrader_Josh is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
NinjaScript LowestBar & HighestBar Documentation KBJ General Programming 3 06-11-2012 03:02 PM


All times are GMT -6. The time now is 07:33 AM.