diff --git a/MarketDataLib/Service/MarketDataServiceClient.cs b/MarketDataLib/Service/MarketDataServiceClient.cs index 9b69031..c948b97 100644 --- a/MarketDataLib/Service/MarketDataServiceClient.cs +++ b/MarketDataLib/Service/MarketDataServiceClient.cs @@ -162,8 +162,8 @@ namespace MarketData.Service StringBuilder sb = new StringBuilder(); sb.Append("/api/EconomicIndicators/GetDistinctEconomicIndicators?").Append("token=").Append(accessToken); String json = httpClient.GetStringAsync(sb.ToString()).Result; - List priceIndices = JsonConvert.DeserializeObject>(json); - return new ServiceResult(priceIndices); + List indicatorCodes = JsonConvert.DeserializeObject>(json); + return new ServiceResult(indicatorCodes); } catch (Exception exception) { diff --git a/MarketDataLib/Utility/Utility.cs b/MarketDataLib/Utility/Utility.cs index bce2005..d8de740 100644 --- a/MarketDataLib/Utility/Utility.cs +++ b/MarketDataLib/Utility/Utility.cs @@ -248,7 +248,12 @@ namespace MarketData.Utils public static String FormatNumberConstrain(double value,int places=1,bool commas=false) { String strValue=null; - if(value>=1000000000) + if(value>=1000000000000) + { + value/=1000000000000; + strValue=Utility.FormatNumber(value,places,commas)+"T"; + } + else if(value>=1000000000) { value/=1000000000; strValue=Utility.FormatNumber(value,places,commas)+"B"; diff --git a/Navigator/Views/AboutPage.xaml b/Navigator/Views/AboutPage.xaml index 4d783e5..574746b 100644 --- a/Navigator/Views/AboutPage.xaml +++ b/Navigator/Views/AboutPage.xaml @@ -41,7 +41,7 @@ - +