Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Email executions, etc

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

    Email executions, etc

    Hi,

    I'm familiar with sendmail for emailing alerts from within a strategy. But what if I want to get email alerts on manually placed limit and stop orders? Alerts for when an execution occurs, or change in position, for example.

    I can't see a way to do this, yet I'd think a lot people need these type of alerts. As far as I'm aware you can't access anything inside a strategy except the orders and positions the strategy created, so can't do it that way.

    Any ideas? Or if Ninja can't do this, what are you guys doing to achieve this type of messaging?

    Thanks.

    #2
    Hello coolmoss,

    Thank you for your post.

    You are correct, there is currently no e-mail setup for manually placed orders.

    I will forward this to our development team as a suggestion for possible implementation in a future release of NinjaTrader.

    Comment


      #3
      Originally posted by coolmoss View Post
      Hi,

      I'm familiar with sendmail for emailing alerts from within a strategy. But what if I want to get email alerts on manually placed limit and stop orders? Alerts for when an execution occurs, or change in position, for example.

      I can't see a way to do this, yet I'd think a lot people need these type of alerts. As far as I'm aware you can't access anything inside a strategy except the orders and positions the strategy created, so can't do it that way.

      Any ideas? Or if Ninja can't do this, what are you guys doing to achieve this type of messaging?

      Thanks.
      Do your mail alert processing in the OnExecution() event handler. Key off the state of the order and send out the necessary information.

      Comment


        #4
        Hi Koganam,

        Not sure I follow you, as I'm not using any strategy. Are you saying there is a way to monitor non-strategy orders within a strategy?

        Comment


          #5
          Originally posted by coolmoss View Post
          Hi Koganam,

          Not sure I follow you, as I'm not using any strategy. Are you saying there is a way to monitor non-strategy orders within a strategy?
          All orders can be accessed from OnExecution(), as it is the event handler that must be called by NT after every execution order. If you look in the NT Help. there is actually an example of how to use OnExecution() for non-specific orders.

          Comment


            #6
            Ah, gotcha. Thanks, that means I can just create an "alert strategy". Thanks much!

            Comment


              #7
              Hello coolmoss,

              Thank you for your suggestion for alerts for manually placed orders. It has been inserted into our tracking system with the unique ID # 218.

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by argusthome, 03-08-2026, 10:06 AM
              0 responses
              69 views
              0 likes
              Last Post argusthome  
              Started by NabilKhattabi, 03-06-2026, 11:18 AM
              0 responses
              42 views
              0 likes
              Last Post NabilKhattabi  
              Started by Deep42, 03-06-2026, 12:28 AM
              0 responses
              24 views
              0 likes
              Last Post Deep42
              by Deep42
               
              Started by TheRealMorford, 03-05-2026, 06:15 PM
              0 responses
              27 views
              0 likes
              Last Post TheRealMorford  
              Started by Mindset, 02-28-2026, 06:16 AM
              0 responses
              54 views
              0 likes
              Last Post Mindset
              by Mindset
               
              Working...
              X