Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Direct event handling

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

    Direct event handling

    Helo.
    Is there an ability for direct event handling in NT?
    For example, i need to process order execution events from outside of the main class( inherited from Strategy).
    Can i use constructions like:
    public void Method(Strategy strategy)
    {
    strategy.OnExecutionEvent += () => { .. } //OnExecutionEvent is only for example
    }
    or i need to call all methods that i need from OnExecution(IExecution execution) method of the main class?

    Please show me the right way :-)

    Thanls for your help.

    #2
    forregg, welcome to our forums here - unfortunately those advanced event concepts would not be supported by us. I would suggest working directly from OnExecution() and our documented approaches found in the helpguide (press F1 in NT to bring it up) or in those reference samples:

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    79 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    45 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    29 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    32 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    66 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X