Can't get notifications.playsound to work
            
                 21 Nov 2012, 02:03
            
                    
I can't get the notifications.playsound to work? I tested it out like so, below:
using System;
 using cAlgo.API;
 using cAlgo.API.Indicators;
 using cAlgo.Indicators;
 
 namespace cAlgo.Robots
 {
     [Robot]
     public class NewRobot : Robot
     {
         protected override void OnStart()
         {
             Notifications.PlaySound(@"C:\Users\lcespedes\Documents\cAlgo\Sources\Robots\test.mp3");
         }
 
         protected override void OnTick()
         {
             // Put your core logic here
         }
 
         protected override void OnStop()
         {
             // Put your deinitialization logic here
         }
     }
 }

lec0456
21 Nov 2012, 08:42
RE: It seems notifications only work live.
So when backtesting notifications, I could not get them to work. But when I ran the robot live it played the sound and emailed successfully. I think the notifications should also work while backtesting, just my opinion
@lec0456