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 johnMoss, Yesterday, 08:56 PM
      2 responses
      19 views
      0 likes
      Last Post johnMoss  
      Started by michelz, Yesterday, 08:30 AM
      6 responses
      36 views
      0 likes
      Last Post MiCe1999  
      Started by ntbone, Yesterday, 01:50 AM
      13 responses
      54 views
      0 likes
      Last Post MiCe1999  
      Started by gyilaoliver, Today, 10:30 AM
      1 response
      6 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by Irukandji, Yesterday, 04:24 PM
      2 responses
      27 views
      0 likes
      Last Post NinjaTrader_LuisH  
      Working...
      X