Files
quantconnect--lean/Common/API/LiveLog.cs
Andrew Hart 6b57e6609e Added methods to get logs of a live algorithm
Expanded the IApi interface to include a method for getting the logs of a live running algorithm.  Implemented this method in the implementation of the IApi interface. A new class was added that is used to hold the logs returned from the API.
2016-09-19 16:43:45 -04:00

23 lines
513 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
using QuantConnect.Api;
namespace QuantConnect.API
{
/// <summary>
/// Logs from a live algorithm
/// </summary>
public class LiveLog : RestResponse
{
/// <summary>
/// List of logs from the live algorithm
/// </summary>
[JsonProperty(PropertyName = "LiveLogs")]
public List<string> Logs { get; set; }
}
}