Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OnOrderUpdate compile error

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

    OnOrderUpdate compile error

    No overload for 'OnOrderUpdate' matches delegate 'System.EventHandler<NinjaTrader.Cbi.OrderEventArg s>' CS0123 353 52

    from Help guide:
    protected override void OnOrderUpdate(Order order, double limitPrice, double stopPrice, int quantity, int filled, double averageFillPrice, OrderState orderState, DateTime time, ErrorCode error, string comment)
    //​

    #2
    Hello kenz987,

    Can you provide more details on what code you used in your script and what type of script is being used?

    If possible please attach a sample of the script so we can see what the problem may be.

    Comment


      #3
      Jesse, Just close this out, I wanted to get fill price for a trailing stop, but this is more time consuming than it is worth, I will just use the Set commands. Thank You.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      43 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      21 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      30 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      50 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      40 views
      0 likes
      Last Post CarlTrading  
      Working...
      X