18 using System.Reflection;
36 public static string Api {
get;
set; }
41 public static int UserId {
get;
set; }
71 public static bool LiveMode {
get;
private set; }
80 Version = Assembly.GetExecutingAssembly().GetName().Version.ToString();
82 if (!
string.IsNullOrWhiteSpace(versionid))
87 var cacheLocation =
Config.
Get(
"cache-location");
88 if (!
string.IsNullOrEmpty(cacheLocation) && !cacheLocation.IsDirectoryEmpty())
99 Api =
Config.
Get(
"api-url",
"https://www.quantconnect.com/api/v2/");
106 public const string Cache =
"./cache/data";
111 public static string Version {
get;
private set; }
124 if (result.IsDirectoryEmpty())
126 result = Path.Combine(
DataFolder, relativePath);