Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Documentation Typo

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

    Documentation Typo

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

    The original text reads:

    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:

    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

    #2
    Thanks for bringing this to our attention.
    Josh P.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by mmenigma, Yesterday, 03:25 PM
    1 response
    11 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by kujista, Today, 05:44 AM
    0 responses
    6 views
    0 likes
    Last Post kujista
    by kujista
     
    Started by ZenCortexCLICK, Today, 04:58 AM
    0 responses
    9 views
    0 likes
    Last Post ZenCortexCLICK  
    Started by sidlercom80, 10-28-2023, 08:49 AM
    172 responses
    2,281 views
    0 likes
    Last Post sidlercom80  
    Started by Irukandji, Yesterday, 02:53 AM
    2 responses
    18 views
    0 likes
    Last Post Irukandji  
    Working...
    X