Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OnExecutionUpdate no override method found

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

    OnExecutionUpdate no override method found

    In the NT8 help guide it says I must override, but when I try I get an error that says that no method is found to override. Any help?

    #2
    Originally posted by Lumbeezl View Post
    In the NT8 help guide it says I must override, but when I try I get an error that says that no method is found to override. Any help?
    Well, post your code.

    Chances are pretty close to 100% that you did something wrong.

    The exact syntax and signature of OnExecutionUpdate is here,



    Investigate the types of each argument in your code, make sure they are exact same as what the help guide dictates.

    In fact, just copy & paste from the help guide into your code, that should help guarantee correctness.

    Comment


      #3
      Hello Lumbeezl,

      Thanks for your post.

      As member bltdavid advised, you can pretty much copy the example from the helpguide.
      Reference: https://ninjatrader.com/support/help...tionupdate.htm

      Please make sure that you are not trying to create this within another method such as OnBarUpdate() and that you are creating this within a strategy.
      Paul H.NinjaTrader Customer Service

      Comment


        #4
        Just needed to pass all the arguments even if I wasn't using all the objects....rookie mistake.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by sidlercom80, 10-28-2023, 08:49 AM
        170 responses
        2,271 views
        0 likes
        Last Post sidlercom80  
        Started by Irukandji, Yesterday, 02:53 AM
        2 responses
        17 views
        0 likes
        Last Post Irukandji  
        Started by adeelshahzad, Today, 03:54 AM
        0 responses
        3 views
        0 likes
        Last Post adeelshahzad  
        Started by CortexZenUSA, Today, 12:53 AM
        0 responses
        3 views
        0 likes
        Last Post CortexZenUSA  
        Started by CortexZenUSA, Today, 12:46 AM
        0 responses
        1 view
        0 likes
        Last Post CortexZenUSA  
        Working...
        X