17 using System.Collections.Generic;
19 using Newtonsoft.Json;
53 Dictionary<string, object> settings,
54 string version =
"-1",
55 Dictionary<string, object> dataProviders =
null,
56 Dictionary<string, string> parameters =
null,
57 Dictionary<
string, List<string>> notification =
null)
65 var quantConnectDataProvider =
new Dictionary<string, string>
67 {
"id",
"QuantConnectBrokerage" },
70 DataProviders = dataProviders ??
new Dictionary<string, object>()
72 {
"QuantConnectBrokerage", quantConnectDataProvider },
75 Parameters = parameters ??
new Dictionary<string, string>();
76 Notification = notification ??
new Dictionary<string, List<string>>();
83 [JsonProperty(PropertyName =
"versionId")]
89 [JsonProperty(PropertyName =
"projectId")]
95 [JsonProperty(PropertyName =
"compileId")]
101 [JsonProperty(PropertyName =
"nodeId")]
102 public string NodeId {
get;
private set; }
107 [JsonProperty(PropertyName =
"signature")]
114 [JsonProperty(PropertyName =
"automaticRedeploy")]
120 [JsonProperty(PropertyName =
"brokerage")]
121 public Dictionary<string, object>
Brokerage {
get;
private set; }
126 [JsonProperty(PropertyName =
"dataProviders")]
132 [JsonProperty(PropertyName =
"parameters")]
133 public Dictionary<string, string>
Parameters {
get;
private set; }
138 [JsonProperty(PropertyName =
"notification")]
139 public Dictionary<string, List<string>>
Notification {
get;
private set; }