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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    105 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    146 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    71 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    125 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    79 views
    0 likes
    Last Post PaulMohn  
    Working...
    X