6b57e6609e
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.
23 lines
513 B
C#
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; }
|
|
}
|
|
}
|