Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Email Share Service From Inside Strategy?

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

    Email Share Service From Inside Strategy?

    Hi all,

    I am trying to have one of our Strategies email trade alerts to a user. When we use the EmailTrades indicator attached below, it seems to work and we get emails sent based on the Share Service configuration we set up in the Tools > Options menu.

    However, when we try to adapt the code to run inside of a Strategy instead of as a standalone indicator, we notice that no emails get triggered. Why is this?
    I am able to authenticate with Gmail successfully and send a test email from within NT8, but when trying to have our Strategy send the email, we get nothing and don't see anything in the log files.

    Any ideas?
    Attached Files
    jaybedreamin
    NinjaTrader Ecosystem Vendor - Zion Trading Algos

    #2
    Hello jaybedreamin,

    We would need to see what code was used in the strategy to get a better idea of what's happening.

    Have you used a print to confirm the condition in the strategy was being called?
    JesseNinjaTrader Customer Service

    Comment


      #3
      Thanks for the quick reply Jesse,

      We ended up figuring out the issue. Need to make sure that the Account object was available during a real-time execution before attempting to send an email. Appreciate your help!

      jaybedreamin
      NinjaTrader Ecosystem Vendor - Zion Trading Algos

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by defa0009, 12-13-2024, 09:19 AM
      21 responses
      209 views
      1 like
      Last Post marcus2300  
      Started by ttrader23, Today, 04:48 PM
      0 responses
      6 views
      0 likes
      Last Post ttrader23  
      Started by wisdomspoon, Today, 03:50 PM
      3 responses
      15 views
      0 likes
      Last Post rockmanx00  
      Started by Mountain_cast, 02-10-2025, 11:14 PM
      2 responses
      19 views
      0 likes
      Last Post Mountain_cast  
      Started by Robotman, Today, 01:06 PM
      2 responses
      37 views
      0 likes
      Last Post Robotman  
      Working...
      X