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 tony_28217, Today, 07:04 PM
              0 responses
              3 views
              0 likes
              Last Post tony_28217  
              Started by flybuzz, Today, 10:33 AM
              1 response
              9 views
              0 likes
              Last Post flybuzz
              by flybuzz
               
              Started by spencerp92, 10-10-2023, 09:56 AM
              4 responses
              304 views
              0 likes
              Last Post flybuzz
              by flybuzz
               
              Started by samish18, Yesterday, 10:13 AM
              1 response
              25 views
              0 likes
              Last Post NinjaTrader_Eduardo  
              Started by Austiner87, Today, 05:02 PM
              0 responses
              7 views
              0 likes
              Last Post Austiner87  
              Working...
              X