Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

A very Stubborn Error

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

    A very Stubborn Error

    • What is the correct method signature for OnExecutionUpdate in NinjaTrader 8?
    • Has the method changed in recent versions, requiring an adjustment?
    • Are there any missing using directives or settings that might cause this?
    Starts
    02-10-2025
    Ends
    02-10-2025

    #2
    Hello Spooz333,

    Welcome to the NinjaTrader forums!

    "What is the correct method signature for OnExecutionUpdate in NinjaTrader 8?"

    The overload signature for the OnExecutionUpdate override method is provided in the Desktop SDK documentation.
    Join the official NinjaScript Developer Community for comprehensive resources, documentation, and community support. Build custom indicators and automated strategies for the NinjaTrader platforms with our extensive guides and APIs.


    From the documentation:
    Code:
    protected override void OnExecutionUpdate(Execution execution, string executionId, double price, int quantity, MarketPosition marketPosition, string orderId, DateTime time)
    "Has the method changed in recent versions, requiring an adjustment?"

    There has been no changes to this method signature in any version of NinjaTrader 8 that I am aware of.

    "Are there any missing using directives or settings that might cause this?"

    What is the 'this' you are referring to?

    If you are asking for help with an error, please provide the full error message.
    (Ctrl + c to copy a highlighted error, Ctrl + v to paste in your post)
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    52 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    130 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    70 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    44 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    49 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X