/// <summary>
 /// Send a algorithm status update to the user of the algorithms running state.
 /// </summary>
 /// <param name="status">Status enum of the algorithm.</param>
 /// <param name="message">Optional string message describing reason for status change.</param>
 public void SendStatusUpdate(AlgorithmStatus status, string message = "")
 {
     var msg = status + (string.IsNullOrEmpty(message) ? string.Empty : message);
     Log.Trace("LiveTradingResultHandler.SendStatusUpdate(): " + msg);
     var packet = new AlgorithmStatusPacket(_job.AlgorithmId, _job.ProjectId, status, message);
     Messages.Enqueue(packet);
 }
 /// <summary>
 /// Send a algorithm status update to the user of the algorithms running state.
 /// </summary>
 /// <param name="algorithmId">String Id of the algorithm.</param>
 /// <param name="status">Status enum of the algorithm.</param>
 /// <param name="message">Optional string message describing reason for status change.</param>
 public void SendStatusUpdate(string algorithmId, AlgorithmStatus status, string message = "")
 {
     Log.Trace("LiveTradingResultHandler.SendStatusUpdate(): " + status);
     var packet = new AlgorithmStatusPacket(algorithmId, status, message);
     Messages.Enqueue(packet);
 }