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?

    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 NullPointStrategies, Today, 05:17 AM
      0 responses
      24 views
      0 likes
      Last Post NullPointStrategies  
      Started by argusthome, 03-08-2026, 10:06 AM
      0 responses
      120 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      63 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      41 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      45 views
      0 likes
      Last Post TheRealMorford  
      Working...
      X