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 GussJ, 03-04-2020, 03:11 PM
        16 responses
        3,281 views
        0 likes
        Last Post Leafcutter  
        Started by WHICKED, Today, 12:45 PM
        2 responses
        19 views
        0 likes
        Last Post WHICKED
        by WHICKED
         
        Started by Tim-c, Today, 02:10 PM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by Taddypole, Today, 02:47 PM
        0 responses
        5 views
        0 likes
        Last Post Taddypole  
        Started by chbruno, 04-24-2024, 04:10 PM
        4 responses
        53 views
        0 likes
        Last Post chbruno
        by chbruno
         
        Working...
        X