private async Task <IndexComposition> GetIndexCompositionFromResponseAsync(HttpResponseMessage response)
 {
     return(IndexComposition.FromJson(await response.Content.ReadAsStringAsync()));
 }
 private IndexComposition GetIndexCompositionFromResponse(HttpResponseMessage response)
 {
     return(IndexComposition.FromJson(response.Content.ReadAsStringAsync().Result));
 }
 public static string ToJson(this IndexComposition self) => JsonConvert.SerializeObject(self, EODHistoricalData.NET.ConverterIndexComposition.Settings);