diff --git a/build.gradle b/build.gradle index c63225d6..38cc35c9 100644 --- a/build.gradle +++ b/build.gradle @@ -12,21 +12,198 @@ apply plugin: 'java' // Apply the application plugin to add support for building an application apply plugin: 'application' +apply plugin: 'eclipse' + +apply plugin: 'jsonschema2pojo' + +buildscript { + repositories { + mavenCentral() + } + + dependencies { + // this plugin + classpath 'org.jsonschema2pojo:jsonschema2pojo-gradle-plugin:0.5.1' + // add additional dependencies here if you wish to reference instead of generate them (see example directory) + } +} + + // In this section you declare where to find the dependencies of your project repositories { // Use jcenter for resolving your dependencies. // You can declare any Maven/Ivy/file repository here. jcenter() + maven { url "http://mvnrepository.com/artifact" } } dependencies { // This dependency is found on compile classpath of this component and consumers. compile 'com.google.guava:guava:20.0' + compile "com.mashape.unirest:unirest-java:1.4.9" + compile "com.google.code.gson:gson:2.8.5" + compile "commons-lang:commons-lang:2.6" // Use JUnit test framework testCompile 'junit:junit:4.12' } +// Each configuration is set to the default value +jsonSchema2Pojo { + + // Whether to allow 'additional' properties to be supported in classes by adding a map to + // hold these. This is true by default, meaning that the schema rule 'additionalProperties' + // controls whether the map is added. Set this to false to globabally disable additional properties. + includeAdditionalProperties = true + + // Whether to generate builder-style methods of the form withXxx(value) (that return this), + // alongside the standard, void-return setters. + generateBuilders = false + + // Whether to use primitives (long, double, boolean) instead of wrapper types where possible + // when generating bean properties (has the side-effect of making those properties non-null). + usePrimitives = true + + // Location of the JSON Schema file(s). This may refer to a single file or a directory of files. + source = files("${sourceSets.main.output.resourcesDir}/json/") + + // Target directory for generated Java source files. The plugin will add this directory to the + // java source set so the compiler will find and compile the newly generated source files. + targetDirectory = file("${project.buildDir}/generated-sources/js2p") + + // Package name used for generated Java classes (for types where a fully qualified name has not + // been supplied in the schema using the 'javaType' property). + targetPackage = 'com.mainstringargs.yahoo.domain' + + // The characters that should be considered as word delimiters when creating Java Bean property + // names from JSON property names. If blank or not set, JSON properties will be considered to + // contain a single word when creating Java Bean property names. + propertyWordDelimiters = [] as char[] + + // Whether to use the java type long (or Long) instead of int (or Integer) when representing the + // JSON Schema type 'integer'. + useLongIntegers = true + + // Whether to use the java type BigInteger when representing the JSON Schema type 'integer'. Note + // that this configuration overrides useLongIntegers + useBigIntegers = false + + // Whether to use the java type double (or Double) instead of float (or Float) when representing + // the JSON Schema type 'number'. + useDoubleNumbers = false + + // Whether to use the java type BigDecimal when representing the JSON Schema type 'number'. Note + // that this configuration overrides useDoubleNumbers + useBigDecimals = true + + // Whether to include hashCode and equals methods in generated Java types. + includeHashcodeAndEquals = true + + // Whether to include a toString method in generated Java types. + includeToString = true + + // The style of annotations to use in the generated Java types. Supported values: + // - jackson (alias of jackson2) + // - jackson2 (apply annotations from the Jackson 2.x library) + // - jackson1 (apply annotations from the Jackson 1.x library) + // - gson (apply annotations from the Gson library) + // - moshi1 (apply annotations from the Moshi 1.x library) + // - none (apply no annotations at all) + annotationStyle = 'gson' + + // A fully qualified class name, referring to a custom annotator class that implements + // org.jsonschema2pojo.Annotator and will be used in addition to the one chosen + // by annotationStyle. If you want to use the custom annotator alone, set annotationStyle to none. + customAnnotator = 'org.jsonschema2pojo.NoopAnnotator' + + // Whether to include JSR-303/349 annotations (for schema rules like minimum, maximum, etc) in + // generated Java types. Schema rules and the annotation they produce: + // - maximum = @DecimalMax + // - minimum = @DecimalMin + // - minItems,maxItems = @Size + // - minLength,maxLength = @Size + // - pattern = @Pattern + // - required = @NotNull + // Any Java fields which are an object or array of objects will be annotated with @Valid to + // support validation of an entire document tree. + includeJsr303Annotations = false + + // The type of input documents that will be read. Supported values: + // - jsonschema (schema documents, containing formal rules that describe the structure of JSON data) + // - json (documents that represent an example of the kind of JSON data that the generated Java types + // will be mapped to) + // - yamlschema (JSON schema documents, represented as YAML) + // - yaml (documents that represent an example of the kind of YAML (or JSON) data that the generated Java types + // will be mapped to) + sourceType = 'json' + + // Whether to empty the target directory before generation occurs, to clear out all source files + // that have been generated previously. Be warned, when activated this option + // will cause jsonschema2pojo to indiscriminately delete the entire contents of the target + // directory (all files and folders) before it begins generating sources. + removeOldOutput = false + + // The character encoding that should be used when writing the generated Java source files + outputEncoding = 'UTF-8' + + // Whether to use {@link org.joda.time.DateTime} instead of {@link java.util.Date} when adding + // date type fields to generated Java types. + useJodaDates = false + + // Whether to add JsonFormat annotations when using Jackson 2 that cause format "date", "time", and "date-time" + // fields to be formatted as yyyy-MM-dd, HH:mm:ss.SSS and yyyy-MM-dd'T'HH:mm:ss.SSSZ respectively. To customize these + // patterns, use customDatePattern, customTimePattern, and customDateTimePattern config options or add these inside a + // schema to affect an individual field + formatDateTimes = true + formatDates = true + formatTimes = true + + // Whether to initialize Set and List fields as empty collections, or leave them as null. + initializeCollections = true + + // Whether to add a prefix to generated classes. + classNamePrefix = "" + + // Whether to add a suffix to generated classes. + classNameSuffix = "" + + // An array of strings that should be considered as file extensions and therefore not included in class names. + fileExtensions = [] as String[] + + // Whether to generate constructors or not. + includeConstructors = false + + // **EXPERIMENTAL** Whether to make the generated types Parcelable for Android + parcelable = false + + // Whether to make the generated types Serializable + serializable = false + + // Whether to include getters or to omit these accessor methods and create public fields instead. + includeGetters = false + + // Whether to include setters or to omit these accessor methods and create public fields instead. + includeSetters = false + + // Whether to include dynamic getters, setters, and builders or to omit these methods. + includeDynamicAccessors = false + + // Whether to include dynamic getters or to omit these methods. + includeDynamicGetters = false + + // Whether to include dynamic setters or to omit these methods. + includeDynamicSetters = false + + // Whether to include dynamic builders or to omit these methods. + includeDynamicBuilders = false + + // What type to use instead of string when adding string properties of format "date" to Java types + dateType = "java.time.LocalDate" + + // What type to use instead of string when adding string properties of format "date-time" to Java types + dateTimeType = "java.time.LocalDateTime" +} + // Define the main class for the application -mainClassName = 'App' +mainClassName = 'Example' diff --git a/eclipse-java-google-style.xml b/eclipse-java-google-style.xml new file mode 100644 index 00000000..7bb6804e --- /dev/null +++ b/eclipse-java-google-style.xml @@ -0,0 +1,337 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/java/App.java b/src/main/java/App.java deleted file mode 100644 index bd9132ea..00000000 --- a/src/main/java/App.java +++ /dev/null @@ -1,12 +0,0 @@ -/* - * This Java source file was generated by the Gradle 'init' task. - */ -public class App { - public String getGreeting() { - return "Hello world."; - } - - public static void main(String[] args) { - System.out.println(new App().getGreeting()); - } -} diff --git a/src/main/java/Example.java b/src/main/java/Example.java new file mode 100644 index 00000000..b7fedf3b --- /dev/null +++ b/src/main/java/Example.java @@ -0,0 +1,29 @@ +import com.mainstringargs.yahoo.YahooFinanceData; +import com.mainstringargs.yahoo.YahooFinanceModules; +import com.mainstringargs.yahoo.YahooFinanceRequest; +import com.mainstringargs.yahoo.YahooFinanceUrlBuilder; + +public class Example { + + public static void main(String[] args) { + + if (args.length == 0) { + args = new String[] {"fb", "amzn", "baba"}; + } + + for (String symbol : args) { + + YahooFinanceUrlBuilder builder = + new YahooFinanceUrlBuilder().modules(YahooFinanceModules.values()).symbol(symbol); + + YahooFinanceRequest request = new YahooFinanceRequest(); + + YahooFinanceData financeData = request.getFinanceData(request.invoke(builder)); + + + if (financeData.getFinancialData() != null) + System.out.println(symbol + ": recMean " + + financeData.getFinancialData().getRecommendationMean().getRaw()); + } + } +} diff --git a/src/main/java/com/mainstringargs/yahoo/YahooFinanceData.java b/src/main/java/com/mainstringargs/yahoo/YahooFinanceData.java new file mode 100644 index 00000000..e9019eff --- /dev/null +++ b/src/main/java/com/mainstringargs/yahoo/YahooFinanceData.java @@ -0,0 +1,132 @@ +package com.mainstringargs.yahoo; + +import java.util.List; +import com.mainstringargs.yahoo.domain.AssetProfile; +import com.mainstringargs.yahoo.domain.BalanceSheetHistory; +import com.mainstringargs.yahoo.domain.CalendarEvents; +import com.mainstringargs.yahoo.domain.CashflowStatementHistory; +import com.mainstringargs.yahoo.domain.DefaultKeyStatistics; +import com.mainstringargs.yahoo.domain.EarningsHistory; +import com.mainstringargs.yahoo.domain.EarningsTrend; +import com.mainstringargs.yahoo.domain.FinanceData; +import com.mainstringargs.yahoo.domain.FinancialData; +import com.mainstringargs.yahoo.domain.IncomeStatementHistory; +import com.mainstringargs.yahoo.domain.IndustryTrend; +import com.mainstringargs.yahoo.domain.RecommendationTrend; +import com.mainstringargs.yahoo.domain.Result; +import com.mainstringargs.yahoo.domain.UpgradeDowngradeHistory; + +public class YahooFinanceData { + + private FinanceData financeData; + private AssetProfile assetProfile; + private BalanceSheetHistory balanceSheetHistory; + private CalendarEvents calendarOfEvents; + private CashflowStatementHistory cashFlowStatementHistory; + private DefaultKeyStatistics defaultKeyStatistics; + private EarningsHistory earningsHistory; + private EarningsTrend earningsTrend; + private FinancialData financialData; + private IncomeStatementHistory incomeStatementHistory; + private IndustryTrend industryTrend; + private RecommendationTrend recommendationTrend; + private UpgradeDowngradeHistory upgradeDowngradeHistory; + + public YahooFinanceData(FinanceData financeData) { + this.financeData = financeData; + + if (financeData.getQuoteSummary() != null) { + List results = financeData.getQuoteSummary().getResult(); + + if (results != null & results.size() > 0) { + Result result = results.get(0); + + if (result.getAssetProfile() != null) { + assetProfile = result.getAssetProfile(); + } + if (result.getBalanceSheetHistory() != null) { + balanceSheetHistory = result.getBalanceSheetHistory(); + } + if (result.getCalendarEvents() != null) { + calendarOfEvents = result.getCalendarEvents(); + } + if (result.getCashflowStatementHistory() != null) { + cashFlowStatementHistory = result.getCashflowStatementHistory(); + } + if (result.getDefaultKeyStatistics() != null) { + defaultKeyStatistics = result.getDefaultKeyStatistics(); + } + if (result.getEarningsHistory() != null) { + earningsHistory = result.getEarningsHistory(); + } + if (result.getEarningsTrend() != null) { + earningsTrend = result.getEarningsTrend(); + } + if (result.getFinancialData() != null) { + financialData = result.getFinancialData(); + } + if (result.getIncomeStatementHistory() != null) { + incomeStatementHistory = result.getIncomeStatementHistory(); + } + if (result.getIndustryTrend() != null) { + industryTrend = result.getIndustryTrend(); + } + if (result.getRecommendationTrend() != null) { + recommendationTrend = result.getRecommendationTrend(); + } + if (result.getUpgradeDowngradeHistory() != null) { + upgradeDowngradeHistory = result.getUpgradeDowngradeHistory(); + } + } + } + } + + public AssetProfile getAssetProfile() { + return assetProfile; + } + + public BalanceSheetHistory getBalanceSheetHistory() { + return balanceSheetHistory; + } + + public CalendarEvents getCalendarOfEvents() { + return calendarOfEvents; + } + + public CashflowStatementHistory getCashFlowStatementHistory() { + return cashFlowStatementHistory; + } + + public DefaultKeyStatistics getDefaultKeyStatistics() { + return defaultKeyStatistics; + } + + public EarningsHistory getEarningsHistory() { + return earningsHistory; + } + + public EarningsTrend getEarningsTrend() { + return earningsTrend; + } + + public FinancialData getFinancialData() { + return financialData; + } + + public IncomeStatementHistory getIncomeStatementHistory() { + return incomeStatementHistory; + } + + public IndustryTrend getIndustryTrend() { + return industryTrend; + } + + public RecommendationTrend getRecommendationTrend() { + return recommendationTrend; + } + + public UpgradeDowngradeHistory getUpgradeDowngradeHistory() { + return upgradeDowngradeHistory; + } + +} diff --git a/src/main/java/com/mainstringargs/yahoo/YahooFinanceModules.java b/src/main/java/com/mainstringargs/yahoo/YahooFinanceModules.java new file mode 100644 index 00000000..7ed6e9af --- /dev/null +++ b/src/main/java/com/mainstringargs/yahoo/YahooFinanceModules.java @@ -0,0 +1,30 @@ +package com.mainstringargs.yahoo; + +public enum YahooFinanceModules { + + ASSET_PROFILE("assetProfile"), + BALANCE_SHEET_HISTORY("balanceSheetHistory"), + CALENDAR_EVENTS("calendarEvents"), + CASH_FLOW_STATEMENT_HISTORY("cashFlowStatementHistory"), + DEFAULT_KEY_STATISTICS("defaultKeyStatistics"), + EARNINGS_HISTORY("earningsHistory"), + EARNINGS_TREND("earningsTrend"), + FINANCIAL_DATA("financialData"), + INCOME_STATEMENT_HISTORY("incomeStatementHistory"), + INDUSTRY_TREND("industryTrend"), + RECOMMENDATION_TREND("recommendationTrend"), + UPGRADE_DOWNGRADE_HISTORY("upgradeDowngradeHistory"); + + private String moduleToken; + + YahooFinanceModules(String moduleToken) { + this.moduleToken = moduleToken; + } + + + public String getModuleToken() { + return moduleToken; + } + + +} diff --git a/src/main/java/com/mainstringargs/yahoo/YahooFinanceRequest.java b/src/main/java/com/mainstringargs/yahoo/YahooFinanceRequest.java new file mode 100644 index 00000000..d393daf0 --- /dev/null +++ b/src/main/java/com/mainstringargs/yahoo/YahooFinanceRequest.java @@ -0,0 +1,66 @@ +package com.mainstringargs.yahoo; + +import java.io.BufferedReader; +import java.io.IOException; +import java.io.InputStreamReader; +import java.io.Reader; +import com.google.gson.Gson; +import com.google.gson.GsonBuilder; +import com.google.gson.JsonIOException; +import com.google.gson.JsonSyntaxException; +import com.mainstringargs.yahoo.domain.FinanceData; +import com.mashape.unirest.http.HttpResponse; +import com.mashape.unirest.http.JsonNode; +import com.mashape.unirest.http.Unirest; +import com.mashape.unirest.http.exceptions.UnirestException; + +public class YahooFinanceRequest { + + private static final String USER_AGENT_KEY = "user-agent"; + private String userAgentValue = + "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36"; + + public String getUserAgentValue() { + return userAgentValue; + } + + public void setUserAgentValue(String userAgentValue) { + this.userAgentValue = userAgentValue; + } + + public HttpResponse invoke(YahooFinanceUrlBuilder builder) { + HttpResponse getRequest = null; + try { + getRequest = Unirest.get(builder.getURL()).header(USER_AGENT_KEY, userAgentValue).asJson(); + } catch (UnirestException e) { + e.printStackTrace(); + } + + return getRequest; + } + + public JsonNode getJson(HttpResponse jsonNode) { + return jsonNode.getBody(); + } + + + public YahooFinanceData getFinanceData(HttpResponse jsonNode) { + + GsonBuilder gsonBuilder = new GsonBuilder(); + gsonBuilder.setLenient(); + Gson gson = gsonBuilder.create(); + + FinanceData rawFinanceData; + try { + BufferedReader br = new BufferedReader(new InputStreamReader(jsonNode.getRawBody())); + rawFinanceData = gson.fromJson(br, FinanceData.class); + br.close(); + } catch (Exception e) { + e.printStackTrace(); + rawFinanceData = new FinanceData(); + } + + + return new YahooFinanceData(rawFinanceData); + } +} diff --git a/src/main/java/com/mainstringargs/yahoo/YahooFinanceUrlBuilder.java b/src/main/java/com/mainstringargs/yahoo/YahooFinanceUrlBuilder.java new file mode 100644 index 00000000..1135ccb8 --- /dev/null +++ b/src/main/java/com/mainstringargs/yahoo/YahooFinanceUrlBuilder.java @@ -0,0 +1,129 @@ +package com.mainstringargs.yahoo; + +import java.util.Arrays; +import java.util.HashSet; + +public class YahooFinanceUrlBuilder { + + + private StringBuilder builder; + + + private String baseUrl = "https://query2.finance.yahoo.com/v10/finance/quoteSummary/"; + private boolean formatted = true; + private String crumb = "swg7qs5y9UP"; + private String lang = "en-US"; + private String region = "US"; + private String symbol = "AMZN"; + private HashSet moduleSet; + private String corsDomain = "finance.yahoo.com"; + + + public YahooFinanceUrlBuilder() { + builder = new StringBuilder(baseUrl); + } + + public YahooFinanceUrlBuilder baseUrl(String baseUrl) { + this.baseUrl = baseUrl; + return this; + } + + public YahooFinanceUrlBuilder formatted(boolean formatted) { + this.formatted = formatted; + return this; + } + + public YahooFinanceUrlBuilder crumb(String crumb) { + this.crumb = crumb; + return this; + } + + public YahooFinanceUrlBuilder lang(String lang) { + this.lang = lang; + return this; + } + + public YahooFinanceUrlBuilder region(String region) { + this.region = region; + return this; + } + + public YahooFinanceUrlBuilder symbol(String symbol) { + this.symbol = symbol; + return this; + } + + public YahooFinanceUrlBuilder modules(YahooFinanceModules... financeModule) { + this.moduleSet = new HashSet(Arrays.asList(financeModule)); + return this; + } + + public YahooFinanceUrlBuilder corsDomain(String corsDomain) { + this.corsDomain = corsDomain; + return this; + } + + private String getModulesParameter() { + StringBuilder moduleParameter = new StringBuilder(); + + if (moduleSet != null) { + YahooFinanceModules[] modulesArray = moduleSet.toArray(new YahooFinanceModules[] {}); + + for (int i = 0; i < modulesArray.length; i++) { + YahooFinanceModules yahooFinanceModule = modulesArray[i]; + + moduleParameter.append(yahooFinanceModule.getModuleToken()); + if (i < modulesArray.length - 1) { + moduleParameter.append(","); + } + } + } + + + return moduleParameter.toString(); + } + + public String getURL() { + + + builder.append(symbol); + builder.append("?"); + builder.append("formatted"); + builder.append("="); + builder.append(formatted); + builder.append("&"); + builder.append("crumb"); + builder.append("="); + builder.append(crumb); + builder.append("&"); + builder.append("lang"); + builder.append("="); + builder.append(lang); + builder.append("&"); + builder.append("region"); + builder.append("="); + builder.append(region); + + builder.append("&"); + builder.append("modules"); + builder.append("="); + builder.append(getModulesParameter()); + + builder.append("&"); + builder.append("corsDomain"); + builder.append("="); + builder.append(corsDomain); + + + return builder.toString(); + } + + @Override + public String toString() { + return "YahooFinanceUrlBuilder [baseUrl=" + baseUrl + ", builder=" + builder + ", formatted=" + + formatted + ", crumb=" + crumb + ", lang=" + lang + ", region=" + region + ", symbol=" + + symbol + ", moduleSet=" + moduleSet + ", corsDomain=" + corsDomain + "]"; + } + + +} diff --git a/src/main/resources/json/financeData.json b/src/main/resources/json/financeData.json new file mode 100644 index 00000000..ccc00c4d --- /dev/null +++ b/src/main/resources/json/financeData.json @@ -0,0 +1,2910 @@ +{ + "quoteSummary":{ + "result":[ + { + "assetProfile":{ + "zip":"311121", + "country":"China", + "website":"http://www.alibabagroup.com", + "address2":"Yu Hang District", + "city":"Hangzhou", + "address1":"969 West Wen Yi Road", + "companyOfficers":[ + { + "unexercisedValue":{ + "raw":0, + "longFmt":"0", + "fmt":null + }, + "maxAge":1, + "name":"Mr. Yun Ma", + "yearBorn":1964, + "exercisedValue":{ + "raw":0, + "longFmt":"0", + "fmt":null + }, + "title":"Founder and Exec. Chairman", + "age":53 + }, + { + "unexercisedValue":{ + "raw":0, + "longFmt":"0", + "fmt":null + }, + "maxAge":1, + "name":"Mr. Daniel Yong Zhang", + "yearBorn":1972, + "exercisedValue":{ + "raw":0, + "longFmt":"0", + "fmt":null + }, + "title":"Chief Exec. Officer", + "age":45 + }, + { + "unexercisedValue":{ + "raw":0, + "longFmt":"0", + "fmt":null + }, + "maxAge":1, + "name":"Mr. Chung Tsai", + "yearBorn":1964, + "exercisedValue":{ + "raw":0, + "longFmt":"0", + "fmt":null + }, + "title":"Exec. Vice Chairman", + "age":53 + }, + { + "unexercisedValue":{ + "raw":0, + "longFmt":"0", + "fmt":null + }, + "maxAge":1, + "name":"Mr. J. Michael Evans", + "yearBorn":1958, + "exercisedValue":{ + "raw":0, + "longFmt":"0", + "fmt":null + }, + "title":"Pres & Director", + "age":59 + }, + { + "unexercisedValue":{ + "raw":0, + "longFmt":"0", + "fmt":null + }, + "maxAge":1, + "name":"Mr. Jianhang Jin", + "yearBorn":1970, + "exercisedValue":{ + "raw":0, + "longFmt":"0", + "fmt":null + }, + "title":"Pres", + "age":47 + } + ], + "industry":"Specialty Retail", + "fullTimeEmployees":66421, + "industrySymbol":"h850", + "longBusinessSummary":"Alibaba Group Holding Limited, through its subsidiaries, operates as an online and mobile commerce company in the People's Republic of China and internationally. The company operates in four segments: Core Commerce, Cloud Computing, Digital Media and Entertainment, and Innovation Initiatives and Others. It operates Taobao Marketplace, a mobile commerce destination; Tmall, a third-party platform for brands and retailers; Rural Taobao program that enables rural residents and businesses to sell agricultural products to urban consumers; Juhuasuan, a sales and marketing platform for flash sales; Alibaba.com, an online wholesale marketplace; Alitrip, an online travel booking platform; 1688.com, an online wholesale marketplace; AliExpress, a consumer marketplace; and Hema, a proprietary grocery retail format. The company also provides pay-for-performance and display marketing services through its Alimama marketing technology platform; and Taobao Ad Network and Exchange, a real-time bidding online marketing exchange in China. In addition, it offers cloud computing services, including elastic computing, database, storage and content delivery network, large scale computing, security, and management and application services, as well as big data analytics and a machine learning platform through its Alibaba Cloud Computing platform; Web hosting and domain name registration services; and payment and escrow services, as well as develops and operates mobile Web browsers. The company provides its solutions primarily for businesses. Alibaba Group Holding Limited has strategic collaborations with Driscoll's and Thai Union/Chicken of the Sea to launch their food products to China; and a collaboration agreement with The Hong Kong Polytechnic University. The company was founded in 1999 and is based in Hangzhou, the People's Republic of China.", + "phone":"86 571 8502 2077", + "maxAge":86400, + "sector":"Consumer Cyclical" + }, + "recommendationTrend":{ + "trend":[ + { + "period":"0m", + "buy":29, + "sell":0, + "strongSell":0, + "strongBuy":18, + "hold":1 + }, + { + "period":"-1m", + "buy":29, + "sell":0, + "strongSell":0, + "strongBuy":18, + "hold":1 + }, + { + "period":"-2m", + "buy":29, + "sell":0, + "strongSell":0, + "strongBuy":17, + "hold":0 + }, + { + "period":"-3m", + "buy":27, + "sell":0, + "strongSell":0, + "strongBuy":16, + "hold":2 + } + ], + "maxAge":86400 + }, + "cashflowStatementHistory":{ + "maxAge":86400, + "cashflowStatements":[ + { + "endDate":{ + "raw":1522454400, + "fmt":"2018-03-31" + }, + "capitalExpenditures":{ + "raw":-66134000000, + "longFmt":"-66,134,000,000", + "fmt":"-66.13B" + }, + "totalCashFromOperatingActivities":{ + "raw":125171000000, + "longFmt":"125,171,000,000", + "fmt":"125.17B" + }, + "investments":{ + "raw":-52726000000, + "longFmt":"-52,726,000,000", + "fmt":"-52.73B" + }, + "changeInCash":{ + "raw":55573000000, + "longFmt":"55,573,000,000", + "fmt":"55.57B" + }, + "maxAge":1, + "effectOfExchangeRate":{ + "raw":-6067000000, + "longFmt":"-6,067,000,000", + "fmt":"-6.07B" + }, + "totalCashflowsFromInvestingActivities":{ + "raw":-83890000000, + "longFmt":"-83,890,000,000", + "fmt":"-83.89B" + }, + "netIncome":{ + "raw":64093000000, + "longFmt":"64,093,000,000", + "fmt":"64.09B" + }, + "otherCashflowsFromFinancingActivities":{ + "raw":20359000000, + "longFmt":"20,359,000,000", + "fmt":"20.36B" + }, + "otherCashflowsFromInvestingActivities":{ + "raw":34970000000, + "longFmt":"34,970,000,000", + "fmt":"34.97B" + }, + "totalCashFromFinancingActivities":{ + "raw":20359000000, + "longFmt":"20,359,000,000", + "fmt":"20.36B" + }, + "changeToNetincome":{ + "raw":45169000000, + "longFmt":"45,169,000,000", + "fmt":"45.17B" + }, + "changeToLiabilities":{ + "raw":0, + "longFmt":"0", + "fmt":null + }, + "depreciation":{ + "raw":15909000000, + "longFmt":"15,909,000,000", + "fmt":"15.91B" + } + }, + { + "salePurchaseOfStock":{ + "raw":14607000000, + "longFmt":"14,607,000,000", + "fmt":"14.61B" + }, + "endDate":{ + "raw":1490918400, + "fmt":"2017-03-31" + }, + "capitalExpenditures":{ + "raw":-17546000000, + "longFmt":"-17,546,000,000", + "fmt":"-17.55B" + }, + "totalCashFromOperatingActivities":{ + "raw":80326000000, + "longFmt":"80,326,000,000", + "fmt":"80.33B" + }, + "investments":{ + "raw":-27813000000, + "longFmt":"-27,813,000,000", + "fmt":"-27.81B" + }, + "changeInCash":{ + "raw":36918000000, + "longFmt":"36,918,000,000", + "fmt":"36.92B" + }, + "netBorrowings":{ + "raw":29333000000, + "longFmt":"29,333,000,000", + "fmt":"29.33B" + }, + "maxAge":1, + "changeToOperatingActivities":{ + "raw":-2050000000, + "longFmt":"-2,050,000,000", + "fmt":"-2.05B" + }, + "effectOfExchangeRate":{ + "raw":2042000000, + "longFmt":"2,042,000,000", + "fmt":"2.04B" + }, + "totalCashflowsFromInvestingActivities":{ + "raw":-78364000000, + "longFmt":"-78,364,000,000", + "fmt":"-78.36B" + }, + "netIncome":{ + "raw":43675000000, + "longFmt":"43,675,000,000", + "fmt":"43.67B" + }, + "otherCashflowsFromFinancingActivities":{ + "raw":2156000000, + "longFmt":"2,156,000,000", + "fmt":"2.16B" + }, + "otherCashflowsFromInvestingActivities":{ + "raw":199000000, + "longFmt":"199,000,000", + "fmt":"199M" + }, + "totalCashFromFinancingActivities":{ + "raw":32914000000, + "longFmt":"32,914,000,000", + "fmt":"32.91B" + }, + "changeToNetincome":{ + "raw":15100000000, + "longFmt":"15,100,000,000", + "fmt":"15.1B" + }, + "changeToLiabilities":{ + "raw":4611000000, + "longFmt":"4,611,000,000", + "fmt":"4.61B" + }, + "depreciation":{ + "raw":14185000000, + "longFmt":"14,185,000,000", + "fmt":"14.19B" + } + }, + { + "salePurchaseOfStock":{ + "raw":693000000, + "longFmt":"693,000,000", + "fmt":"693M" + }, + "endDate":{ + "raw":1459382400, + "fmt":"2016-03-31" + }, + "capitalExpenditures":{ + "raw":-10845000000, + "longFmt":"-10,845,000,000", + "fmt":"-10.85B" + }, + "totalCashFromOperatingActivities":{ + "raw":56836000000, + "longFmt":"56,836,000,000", + "fmt":"56.84B" + }, + "investments":{ + "raw":-36162000000, + "longFmt":"-36,162,000,000", + "fmt":"-36.16B" + }, + "changeInCash":{ + "raw":-1375000000, + "longFmt":"-1,375,000,000", + "fmt":"-1.38B" + }, + "netBorrowings":{ + "raw":2478000000, + "longFmt":"2,478,000,000", + "fmt":"2.48B" + }, + "maxAge":1, + "changeToOperatingActivities":{ + "raw":3366000000, + "longFmt":"3,366,000,000", + "fmt":"3.37B" + }, + "effectOfExchangeRate":{ + "raw":466000000, + "longFmt":"466,000,000", + "fmt":"466M" + }, + "totalCashflowsFromInvestingActivities":{ + "raw":-42831000000, + "longFmt":"-42,831,000,000", + "fmt":"-42.83B" + }, + "netIncome":{ + "raw":71460000000, + "longFmt":"71,460,000,000", + "fmt":"71.46B" + }, + "otherCashflowsFromFinancingActivities":{ + "raw":778000000, + "longFmt":"778,000,000", + "fmt":"778M" + }, + "otherCashflowsFromInvestingActivities":{ + "raw":781000000, + "longFmt":"781,000,000", + "fmt":"781M" + }, + "totalCashFromFinancingActivities":{ + "raw":-15846000000, + "longFmt":"-15,846,000,000", + "fmt":"-15.85B" + }, + "changeToNetincome":{ + "raw":-28625000000, + "longFmt":"-28,625,000,000", + "fmt":"-28.62B" + }, + "changeToLiabilities":{ + "raw":2350000000, + "longFmt":"2,350,000,000", + "fmt":"2.35B" + }, + "depreciation":{ + "raw":6977000000, + "longFmt":"6,977,000,000", + "fmt":"6.98B" + } + }, + { + "dividendsPaid":{ + "raw":-104000000, + "longFmt":"-104,000,000", + "fmt":"-104M" + }, + "salePurchaseOfStock":{ + "raw":61831000000, + "longFmt":"61,831,000,000", + "fmt":"61.83B" + }, + "endDate":{ + "raw":1427760000, + "fmt":"2015-03-31" + }, + "capitalExpenditures":{ + "raw":-7705000000, + "longFmt":"-7,705,000,000", + "fmt":"-7.71B" + }, + "totalCashFromOperatingActivities":{ + "raw":41217000000, + "longFmt":"41,217,000,000", + "fmt":"41.22B" + }, + "investments":{ + "raw":-35322000000, + "longFmt":"-35,322,000,000", + "fmt":"-35.32B" + }, + "changeInCash":{ + "raw":75148000000, + "longFmt":"75,148,000,000", + "fmt":"75.15B" + }, + "netBorrowings":{ + "raw":26044000000, + "longFmt":"26,044,000,000", + "fmt":"26.04B" + }, + "maxAge":1, + "changeToOperatingActivities":{ + "raw":-1168000000, + "longFmt":"-1,168,000,000", + "fmt":"-1.17B" + }, + "effectOfExchangeRate":{ + "raw":-112000000, + "longFmt":"-112,000,000", + "fmt":"-112M" + }, + "totalCashflowsFromInvestingActivities":{ + "raw":-53454000000, + "longFmt":"-53,454,000,000", + "fmt":"-53.45B" + }, + "netIncome":{ + "raw":24261000000, + "longFmt":"24,261,000,000", + "fmt":"24.26B" + }, + "otherCashflowsFromFinancingActivities":{ + "raw":-4000000, + "longFmt":"-4,000,000", + "fmt":"-4M" + }, + "otherCashflowsFromInvestingActivities":{ + "raw":1099000000, + "longFmt":"1,099,000,000", + "fmt":"1.1B" + }, + "totalCashFromFinancingActivities":{ + "raw":87497000000, + "longFmt":"87,497,000,000", + "fmt":"87.5B" + }, + "changeToNetincome":{ + "raw":10898000000, + "longFmt":"10,898,000,000", + "fmt":"10.9B" + }, + "changeToLiabilities":{ + "raw":1317000000, + "longFmt":"1,317,000,000", + "fmt":"1.32B" + }, + "depreciation":{ + "raw":4455000000, + "longFmt":"4,455,000,000", + "fmt":"4.46B" + } + } + ] + }, + "calendarEvents":{ + "earnings":{ + "revenueLow":{ + "raw":12395000000, + "longFmt":"12,395,000,000", + "fmt":"12.39B" + }, + "revenueAverage":{ + "raw":12993600000, + "longFmt":"12,993,600,000", + "fmt":"12.99B" + }, + "earningsLow":{ + "raw":1.08, + "fmt":"1.08" + }, + "earningsHigh":{ + "raw":1.69, + "fmt":"1.69" + }, + "revenueHigh":{ + "raw":13696600000, + "longFmt":"13,696,600,000", + "fmt":"13.7B" + }, + "earningsDate":[ + { + "raw":1534291200, + "fmt":"2018-08-15" + }, + { + "raw":1534723200, + "fmt":"2018-08-20" + } + ], + "earningsAverage":{ + "raw":1.37, + "fmt":"1.37" + } + }, + "dividendDate":{ + + }, + "maxAge":1, + "exDividendDate":{ + + } + }, + "upgradeDowngradeHistory":{ + "maxAge":86400, + "history":[ + { + "firm":"Susquehanna", + "toGrade":"Positive", + "fromGrade":"", + "action":"init", + "epochGradeDate":1512518400 + }, + { + "firm":"Atlantic Equities", + "toGrade":"Overweight", + "fromGrade":"Neutral", + "action":"up", + "epochGradeDate":1503360000 + }, + { + "firm":"SunTrust Robinson Humphrey", + "toGrade":"Buy", + "fromGrade":"", + "action":"init", + "epochGradeDate":1502841600 + }, + { + "firm":"Standpoint Research", + "toGrade":"Reduce", + "fromGrade":"", + "action":"down", + "epochGradeDate":1492646400 + }, + { + "firm":"Benchmark", + "toGrade":"Buy", + "fromGrade":"", + "action":"init", + "epochGradeDate":1492473600 + }, + { + "firm":"Barclays", + "toGrade":"Overweight", + "fromGrade":"", + "action":"init", + "epochGradeDate":1490659200 + }, + { + "firm":"Bernstein", + "toGrade":"Outperform", + "fromGrade":"", + "action":"init", + "epochGradeDate":1484092800 + }, + { + "firm":"Standpoint Research", + "toGrade":"Accumulate", + "fromGrade":"", + "action":"up", + "epochGradeDate":1483920000 + }, + { + "firm":"Raymond James", + "toGrade":"Strong Buy", + "fromGrade":"", + "action":"up", + "epochGradeDate":1470960000 + }, + { + "firm":"Macquarie", + "toGrade":"Outperform", + "fromGrade":"", + "action":"up", + "epochGradeDate":1470960000 + }, + { + "firm":"Standpoint Research", + "toGrade":"Hold", + "fromGrade":"", + "action":"down", + "epochGradeDate":1470009600 + }, + { + "firm":"Needham", + "toGrade":"Buy", + "fromGrade":"", + "action":"init", + "epochGradeDate":1460678400 + }, + { + "firm":"Standpoint Research", + "toGrade":"Buy", + "fromGrade":"", + "action":"up", + "epochGradeDate":1453334400 + }, + { + "firm":"Baird", + "toGrade":"Outperform", + "fromGrade":"", + "action":"init", + "epochGradeDate":1452038400 + }, + { + "firm":"Standpoint Research", + "toGrade":"Hold", + "fromGrade":"", + "action":"down", + "epochGradeDate":1446076800 + }, + { + "firm":"Standpoint Research", + "toGrade":"Buy", + "fromGrade":"", + "action":"init", + "epochGradeDate":1440374400 + }, + { + "firm":"Atlantic Equities", + "toGrade":"Neutral", + "fromGrade":"", + "action":"down", + "epochGradeDate":1439424000 + }, + { + "firm":"Wedbush", + "toGrade":"Neutral", + "fromGrade":"", + "action":"down", + "epochGradeDate":1439337600 + }, + { + "firm":"Bernstein", + "toGrade":"Outperform", + "fromGrade":"", + "action":"init", + "epochGradeDate":1432166400 + }, + { + "firm":"TH Capital", + "toGrade":"Hold", + "fromGrade":"", + "action":"init", + "epochGradeDate":1430870400 + }, + { + "firm":"Summit Research Partners", + "toGrade":"Buy", + "fromGrade":"", + "action":"init", + "epochGradeDate":1429488000 + }, + { + "firm":"Stifel Nicolaus", + "toGrade":"Buy", + "fromGrade":"", + "action":"up", + "epochGradeDate":1426550400 + }, + { + "firm":"Axiom Capital", + "toGrade":"Buy", + "fromGrade":"", + "action":"init", + "epochGradeDate":1425859200 + }, + { + "firm":"Stifel Nicolaus", + "toGrade":"Hold", + "fromGrade":"", + "action":"down", + "epochGradeDate":1422489600 + }, + { + "firm":"Tigress Financial", + "toGrade":"Buy", + "fromGrade":"", + "action":"init", + "epochGradeDate":1421971200 + }, + { + "firm":"HSBC", + "toGrade":"Overweight", + "fromGrade":"", + "action":"init", + "epochGradeDate":1415750400 + }, + { + "firm":"Oppenheimer", + "toGrade":"Outperform", + "fromGrade":"", + "action":"init", + "epochGradeDate":1415577600 + }, + { + "firm":"Oppenheimer", + "toGrade":"Outperform", + "fromGrade":"", + "action":"init", + "epochGradeDate":1415059200 + }, + { + "firm":"Topeka", + "toGrade":"", + "fromGrade":"", + "action":"init", + "epochGradeDate":1414540800 + }, + { + "firm":"Morgan Stanley", + "toGrade":"Overweight", + "fromGrade":"", + "action":"init", + "epochGradeDate":1414540800 + }, + { + "firm":"Nomura", + "toGrade":"Buy", + "fromGrade":"", + "action":"init", + "epochGradeDate":1414540800 + }, + { + "firm":"Deutsche Bank", + "toGrade":"Buy", + "fromGrade":"", + "action":"init", + "epochGradeDate":1414540800 + }, + { + "firm":"RBC Capital", + "toGrade":"Outperform", + "fromGrade":"", + "action":"init", + "epochGradeDate":1414540800 + }, + { + "firm":"SunTrust Robinson Humphrey", + "toGrade":"Buy", + "fromGrade":"", + "action":"init", + "epochGradeDate":1414540800 + }, + { + "firm":"Wells Fargo", + "toGrade":"Outperform", + "fromGrade":"", + "action":"init", + "epochGradeDate":1414540800 + }, + { + "firm":"Evercore Partners", + "toGrade":"Buy", + "fromGrade":"", + "action":"init", + "epochGradeDate":1414540800 + }, + { + "firm":"Raymond James", + "toGrade":"Outperform", + "fromGrade":"", + "action":"init", + "epochGradeDate":1414540800 + }, + { + "firm":"JP Morgan", + "toGrade":"Overweight", + "fromGrade":"", + "action":"init", + "epochGradeDate":1414454400 + }, + { + "firm":"Pacific Crest", + "toGrade":"Outperform", + "fromGrade":"", + "action":"init", + "epochGradeDate":1414454400 + }, + { + "firm":"Citigroup", + "toGrade":"Buy", + "fromGrade":"", + "action":"init", + "epochGradeDate":1414454400 + }, + { + "firm":"Jefferies", + "toGrade":"Buy", + "fromGrade":"", + "action":"init", + "epochGradeDate":1414368000 + }, + { + "firm":"BMO Capital", + "toGrade":"Outperform", + "fromGrade":"", + "action":"init", + "epochGradeDate":1414108800 + }, + { + "firm":"Barclays", + "toGrade":"Overweight", + "fromGrade":"", + "action":"init", + "epochGradeDate":1414022400 + }, + { + "firm":"Brean Capital", + "toGrade":"Buy", + "fromGrade":"", + "action":"init", + "epochGradeDate":1413504000 + }, + { + "firm":"UBS", + "toGrade":"Buy", + "fromGrade":"", + "action":"init", + "epochGradeDate":1413244800 + }, + { + "firm":"Bank of America", + "toGrade":"Buy", + "fromGrade":"", + "action":"init", + "epochGradeDate":1413244800 + }, + { + "firm":"Macquarie", + "toGrade":"Neutral", + "fromGrade":"", + "action":"init", + "epochGradeDate":1412812800 + }, + { + "firm":"Susquehanna", + "toGrade":"Positive", + "fromGrade":"", + "action":"init", + "epochGradeDate":1411948800 + }, + { + "firm":"MKM Partners", + "toGrade":"Buy", + "fromGrade":"", + "action":"init", + "epochGradeDate":1411344000 + }, + { + "firm":"Cantor Fitzgerald", + "toGrade":"Buy", + "fromGrade":"", + "action":"init", + "epochGradeDate":1411084800 + }, + { + "firm":"CRT Capital", + "toGrade":"Buy", + "fromGrade":"", + "action":"init", + "epochGradeDate":1410998400 + }, + { + "firm":"Wedbush", + "toGrade":"Outperform", + "fromGrade":"", + "action":"init", + "epochGradeDate":1410480000 + }, + { + "firm":"Wedbush", + "toGrade":"Outperform", + "fromGrade":"", + "action":"init", + "epochGradeDate":1410393600 + }, + { + "firm":"Atlantic Equities", + "toGrade":"Overweight", + "fromGrade":"", + "action":"init", + "epochGradeDate":1410134400 + } + ] + }, + "earningsHistory":{ + "maxAge":86400, + "history":[ + { + "epsActual":{ + "raw":1.25, + "fmt":"1.25" + }, + "period":"-4q", + "epsEstimate":{ + "raw":0.98, + "fmt":"0.98" + }, + "maxAge":1, + "surprisePercent":{ + "raw":0.276, + "fmt":"27.60%" + }, + "epsDifference":{ + "raw":0.27, + "fmt":"0.27" + }, + "quarter":{ + "raw":1498780800, + "fmt":"2017-06-30" + } + }, + { + "epsActual":{ + "raw":1.35, + "fmt":"1.35" + }, + "period":"-3q", + "epsEstimate":{ + "raw":1.08, + "fmt":"1.08" + }, + "maxAge":1, + "surprisePercent":{ + "raw":0.25, + "fmt":"25.00%" + }, + "epsDifference":{ + "raw":0.27, + "fmt":"0.27" + }, + "quarter":{ + "raw":1506729600, + "fmt":"2017-09-30" + } + }, + { + "epsActual":{ + "raw":1.67, + "fmt":"1.67" + }, + "period":"-2q", + "epsEstimate":{ + "raw":1.67, + "fmt":"1.67" + }, + "maxAge":1, + "surprisePercent":{ + "raw":0, + "fmt":"0.00%" + }, + "epsDifference":{ + "raw":0, + "fmt":"0" + }, + "quarter":{ + "raw":1514678400, + "fmt":"2017-12-31" + } + }, + { + "epsActual":{ + "raw":0.9, + "fmt":"0.9" + }, + "period":"-1q", + "epsEstimate":{ + "raw":0.86, + "fmt":"0.86" + }, + "maxAge":1, + "surprisePercent":{ + "raw":0.047, + "fmt":"4.70%" + }, + "epsDifference":{ + "raw":0.04, + "fmt":"0.04" + }, + "quarter":{ + "raw":1522454400, + "fmt":"2018-03-31" + } + } + ] + }, + "defaultKeyStatistics":{ + "enterpriseValue":{ + "raw":519251492864, + "longFmt":"519,251,492,864", + "fmt":"519.25B" + }, + "totalAssets":{ + + }, + "SandP52WeekChange":{ + "raw":0.13295507, + "fmt":"13.30%" + }, + "floatShares":{ + "raw":1225139200, + "longFmt":"1,225,139,200", + "fmt":"1.23B" + }, + "trailingEps":{ + "raw":3.83, + "fmt":"3.830" + }, + "heldPercentInsiders":{ + "raw":0.53146, + "fmt":"53.15%" + }, + "threeYearAverageReturn":{ + + }, + "revenueQuarterlyGrowth":{ + + }, + "lastDividendValue":{ + + }, + "fiveYearAverageReturn":{ + + }, + "profitMargins":{ + "raw":0.2561, + "fmt":"25.61%" + }, + "earningsQuarterlyGrowth":{ + "raw":-0.28, + "fmt":"-28.00%" + }, + "lastSplitFactor":null, + "lastCapGain":{ + + }, + "pegRatio":{ + "raw":41.41, + "fmt":"41.41" + }, + "mostRecentQuarter":{ + "raw":1522454400, + "fmt":"2018-03-31" + }, + "forwardEps":{ + "raw":8.65, + "fmt":"8.65" + }, + "yield":{ + + }, + "annualReportExpenseRatio":{ + + }, + "sharesOutstanding":{ + "raw":2569479936, + "longFmt":"2,569,479,936", + "fmt":"2.57B" + }, + "enterpriseToEbitda":{ + "raw":38.767, + "fmt":"38.77" + }, + "beta":{ + "raw":2.681369, + "fmt":"2.68" + }, + "nextFiscalYearEnd":{ + "raw":1585612800, + "fmt":"2020-03-31" + }, + "bookValue":{ + "raw":22.329, + "fmt":"22.33" + }, + "morningStarOverallRating":{ + + }, + "priceToSalesTrailing12Months":{ + + }, + "legalType":null, + "lastFiscalYearEnd":{ + "raw":1522454400, + "fmt":"2018-03-31" + }, + "shortPercentOfFloat":{ + + }, + "lastSplitDate":{ + + }, + "netIncomeToCommon":{ + "raw":9998296064, + "longFmt":"9,998,296,064", + "fmt":"10B" + }, + "forwardPE":{ + "raw":23.975954, + "fmt":"23.98" + }, + "sharesShort":{ + "raw":126303794, + "longFmt":"126,303,794", + "fmt":"126.3M" + }, + "enterpriseToRevenue":{ + "raw":13.278, + "fmt":"13.28" + }, + "maxAge":1, + "52WeekChange":{ + "raw":0.4913602, + "fmt":"49.14%" + }, + "priceHint":{ + "raw":3, + "longFmt":"3", + "fmt":"3" + }, + "shortRatio":{ + "raw":6.66, + "fmt":"6.66" + }, + "fundInceptionDate":{ + + }, + "ytdReturn":{ + + }, + "beta3Year":{ + + }, + "annualHoldingsTurnover":{ + + }, + "sharesShortPriorMonth":{ + "raw":126280815, + "longFmt":"126,280,815", + "fmt":"126.28M" + }, + "category":null, + "morningStarRiskRating":{ + + }, + "priceToBook":{ + "raw":9.288011, + "fmt":"9.29" + }, + "heldPercentInstitutions":{ + "raw":0.40456, + "fmt":"40.46%" + }, + "fundFamily":null + }, + "balanceSheetHistory":{ + "maxAge":86400, + "balanceSheetStatements":[ + { + "shortTermInvestments":{ + "raw":10901000000, + "longFmt":"10,901,000,000", + "fmt":"10.9B" + }, + "totalAssets":{ + "raw":717124000000, + "longFmt":"717,124,000,000", + "fmt":"717.12B" + }, + "endDate":{ + "raw":1522454400, + "fmt":"2018-03-31" + }, + "otherCurrentLiab":{ + "raw":48617000000, + "longFmt":"48,617,000,000", + "fmt":"48.62B" + }, + "capitalSurplus":{ + "raw":186764000000, + "longFmt":"186,764,000,000", + "fmt":"186.76B" + }, + "totalCurrentLiabilities":{ + "raw":135810000000, + "longFmt":"135,810,000,000", + "fmt":"135.81B" + }, + "totalStockholderEquity":{ + "raw":365822000000, + "longFmt":"365,822,000,000", + "fmt":"365.82B" + }, + "otherCurrentAssets":{ + "raw":46645000000, + "longFmt":"46,645,000,000", + "fmt":"46.65B" + }, + "otherLiab":{ + "raw":25351000000, + "longFmt":"25,351,000,000", + "fmt":"25.35B" + }, + "netTangibleAssets":{ + "raw":166831000000, + "longFmt":"166,831,000,000", + "fmt":"166.83B" + }, + "otherStockholderEquity":{ + "raw":4559000000, + "longFmt":"4,559,000,000", + "fmt":"4.56B" + }, + "totalLiab":{ + "raw":280686000000, + "longFmt":"280,686,000,000", + "fmt":"280.69B" + }, + "longTermInvestments":{ + "raw":177892000000, + "longFmt":"177,892,000,000", + "fmt":"177.89B" + }, + "retainedEarnings":{ + "raw":176731000000, + "longFmt":"176,731,000,000", + "fmt":"176.73B" + }, + "cash":{ + "raw":199309000000, + "longFmt":"199,309,000,000", + "fmt":"199.31B" + }, + "shortLongTermDebt":{ + "raw":125553000000, + "longFmt":"125,553,000,000", + "fmt":"125.55B" + }, + "otherAssets":{ + "raw":16897000000, + "longFmt":"16,897,000,000", + "fmt":"16.9B" + }, + "totalCurrentAssets":{ + "raw":256855000000, + "longFmt":"256,855,000,000", + "fmt":"256.86B" + }, + "longTermDebt":{ + "raw":119525000000, + "longFmt":"119,525,000,000", + "fmt":"119.53B" + }, + "treasuryStock":{ + "raw":2326000000, + "longFmt":"2,326,000,000", + "fmt":"2.33B" + }, + "goodWill":{ + "raw":162149000000, + "longFmt":"162,149,000,000", + "fmt":"162.15B" + }, + "maxAge":1, + "intangibleAssets":{ + "raw":36842000000, + "longFmt":"36,842,000,000", + "fmt":"36.84B" + }, + "commonStock":{ + "raw":1000000, + "longFmt":"1,000,000", + "fmt":"1M" + }, + "propertyPlantEquipment":{ + "raw":66489000000, + "longFmt":"66,489,000,000", + "fmt":"66.49B" + }, + "minorityInterest":{ + "raw":70616000000, + "longFmt":"70,616,000,000", + "fmt":"70.62B" + } + }, + { + "shortTermInvestments":{ + "raw":7065000000, + "longFmt":"7,065,000,000", + "fmt":"7.07B" + }, + "totalAssets":{ + "raw":506812000000, + "longFmt":"506,812,000,000", + "fmt":"506.81B" + }, + "endDate":{ + "raw":1490918400, + "fmt":"2017-03-31" + }, + "otherCurrentLiab":{ + "raw":47611000000, + "longFmt":"47,611,000,000", + "fmt":"47.61B" + }, + "capitalSurplus":{ + "raw":164585000000, + "longFmt":"164,585,000,000", + "fmt":"164.59B" + }, + "totalCurrentLiabilities":{ + "raw":93771000000, + "longFmt":"93,771,000,000", + "fmt":"93.77B" + }, + "totalStockholderEquity":{ + "raw":278799000000, + "longFmt":"278,799,000,000", + "fmt":"278.8B" + }, + "otherCurrentAssets":{ + "raw":6777000000, + "longFmt":"6,777,000,000", + "fmt":"6.78B" + }, + "otherLiab":{ + "raw":15077000000, + "longFmt":"15,077,000,000", + "fmt":"15.08B" + }, + "netTangibleAssets":{ + "raw":134580000000, + "longFmt":"134,580,000,000", + "fmt":"134.58B" + }, + "otherStockholderEquity":{ + "raw":4398000000, + "longFmt":"4,398,000,000", + "fmt":"4.4B" + }, + "totalLiab":{ + "raw":185683000000, + "longFmt":"185,683,000,000", + "fmt":"185.68B" + }, + "deferredLongTermLiab":{ + "raw":167000000, + "longFmt":"167,000,000", + "fmt":"167M" + }, + "longTermInvestments":{ + "raw":152256000000, + "longFmt":"152,256,000,000", + "fmt":"152.26B" + }, + "retainedEarnings":{ + "raw":112638000000, + "longFmt":"112,638,000,000", + "fmt":"112.64B" + }, + "cash":{ + "raw":143736000000, + "longFmt":"143,736,000,000", + "fmt":"143.74B" + }, + "shortLongTermDebt":{ + "raw":91732000000, + "longFmt":"91,732,000,000", + "fmt":"91.73B" + }, + "otherAssets":{ + "raw":7615000000, + "longFmt":"7,615,000,000", + "fmt":"7.62B" + }, + "totalCurrentAssets":{ + "raw":182516000000, + "longFmt":"182,516,000,000", + "fmt":"182.52B" + }, + "longTermDebt":{ + "raw":76835000000, + "longFmt":"76,835,000,000", + "fmt":"76.83B" + }, + "treasuryStock":{ + "raw":1575000000, + "longFmt":"1,575,000,000", + "fmt":"1.57B" + }, + "netReceivables":{ + "raw":21550000000, + "longFmt":"21,550,000,000", + "fmt":"21.55B" + }, + "goodWill":{ + "raw":125420000000, + "longFmt":"125,420,000,000", + "fmt":"125.42B" + }, + "deferredLongTermAssetCharges":{ + "raw":386000000, + "longFmt":"386,000,000", + "fmt":"386M" + }, + "maxAge":1, + "intangibleAssets":{ + "raw":18799000000, + "longFmt":"18,799,000,000", + "fmt":"18.8B" + }, + "commonStock":{ + "raw":1000000, + "longFmt":"1,000,000", + "fmt":"1M" + }, + "propertyPlantEquipment":{ + "raw":20206000000, + "longFmt":"20,206,000,000", + "fmt":"20.21B" + }, + "minorityInterest":{ + "raw":42330000000, + "longFmt":"42,330,000,000", + "fmt":"42.33B" + } + }, + { + "shortTermInvestments":{ + "raw":8878000000, + "longFmt":"8,878,000,000", + "fmt":"8.88B" + }, + "totalAssets":{ + "raw":364245000000, + "longFmt":"364,245,000,000", + "fmt":"364.25B" + }, + "endDate":{ + "raw":1459382400, + "fmt":"2016-03-31" + }, + "otherCurrentLiab":{ + "raw":28759000000, + "longFmt":"28,759,000,000", + "fmt":"28.76B" + }, + "capitalSurplus":{ + "raw":132206000000, + "longFmt":"132,206,000,000", + "fmt":"132.21B" + }, + "totalCurrentLiabilities":{ + "raw":52039000000, + "longFmt":"52,039,000,000", + "fmt":"52.04B" + }, + "totalStockholderEquity":{ + "raw":216987000000, + "longFmt":"216,987,000,000", + "fmt":"216.99B" + }, + "otherCurrentAssets":{ + "raw":5235000000, + "longFmt":"5,235,000,000", + "fmt":"5.24B" + }, + "otherLiab":{ + "raw":9405000000, + "longFmt":"9,405,000,000", + "fmt":"9.4B" + }, + "netTangibleAssets":{ + "raw":127096000000, + "longFmt":"127,096,000,000", + "fmt":"127.1B" + }, + "otherStockholderEquity":{ + "raw":2784000000, + "longFmt":"2,784,000,000", + "fmt":"2.78B" + }, + "totalLiab":{ + "raw":114706000000, + "longFmt":"114,706,000,000", + "fmt":"114.71B" + }, + "deferredLongTermLiab":{ + "raw":332000000, + "longFmt":"332,000,000", + "fmt":"332M" + }, + "longTermInvestments":{ + "raw":120853000000, + "longFmt":"120,853,000,000", + "fmt":"120.85B" + }, + "retainedEarnings":{ + "raw":81996000000, + "longFmt":"81,996,000,000", + "fmt":"82B" + }, + "cash":{ + "raw":106818000000, + "longFmt":"106,818,000,000", + "fmt":"106.82B" + }, + "shortLongTermDebt":{ + "raw":57566000000, + "longFmt":"57,566,000,000", + "fmt":"57.57B" + }, + "otherAssets":{ + "raw":5837000000, + "longFmt":"5,837,000,000", + "fmt":"5.84B" + }, + "totalCurrentAssets":{ + "raw":134035000000, + "longFmt":"134,035,000,000", + "fmt":"134.03B" + }, + "longTermDebt":{ + "raw":53262000000, + "longFmt":"53,262,000,000", + "fmt":"53.26B" + }, + "treasuryStock":{ + "raw":2784000000, + "longFmt":"2,784,000,000", + "fmt":"2.78B" + }, + "netReceivables":{ + "raw":11862000000, + "longFmt":"11,862,000,000", + "fmt":"11.86B" + }, + "goodWill":{ + "raw":81645000000, + "longFmt":"81,645,000,000", + "fmt":"81.64B" + }, + "deferredLongTermAssetCharges":{ + "raw":30000000, + "longFmt":"30,000,000", + "fmt":"30M" + }, + "maxAge":1, + "intangibleAssets":{ + "raw":8246000000, + "longFmt":"8,246,000,000", + "fmt":"8.25B" + }, + "commonStock":{ + "raw":1000000, + "longFmt":"1,000,000", + "fmt":"1M" + }, + "propertyPlantEquipment":{ + "raw":13629000000, + "longFmt":"13,629,000,000", + "fmt":"13.63B" + }, + "minorityInterest":{ + "raw":32552000000, + "longFmt":"32,552,000,000", + "fmt":"32.55B" + } + }, + { + "shortTermInvestments":{ + "raw":17806000000, + "longFmt":"17,806,000,000", + "fmt":"17.81B" + }, + "totalAssets":{ + "raw":255434000000, + "longFmt":"255,434,000,000", + "fmt":"255.43B" + }, + "endDate":{ + "raw":1427760000, + "fmt":"2015-03-31" + }, + "otherCurrentLiab":{ + "raw":24157000000, + "longFmt":"24,157,000,000", + "fmt":"24.16B" + }, + "capitalSurplus":{ + "raw":117142000000, + "longFmt":"117,142,000,000", + "fmt":"117.14B" + }, + "totalCurrentLiabilities":{ + "raw":39672000000, + "longFmt":"39,672,000,000", + "fmt":"39.67B" + }, + "totalStockholderEquity":{ + "raw":145439000000, + "longFmt":"145,439,000,000", + "fmt":"145.44B" + }, + "otherCurrentAssets":{ + "raw":4762000000, + "longFmt":"4,762,000,000", + "fmt":"4.76B" + }, + "otherLiab":{ + "raw":7746000000, + "longFmt":"7,746,000,000", + "fmt":"7.75B" + }, + "netTangibleAssets":{ + "raw":93826000000, + "longFmt":"93,826,000,000", + "fmt":"93.83B" + }, + "otherStockholderEquity":{ + "raw":739000000, + "longFmt":"739,000,000", + "fmt":"739M" + }, + "totalLiab":{ + "raw":98021000000, + "longFmt":"98,021,000,000", + "fmt":"98.02B" + }, + "deferredLongTermLiab":{ + "raw":460000000, + "longFmt":"460,000,000", + "fmt":"460M" + }, + "longTermInvestments":{ + "raw":48488000000, + "longFmt":"48,488,000,000", + "fmt":"48.49B" + }, + "retainedEarnings":{ + "raw":27557000000, + "longFmt":"27,557,000,000", + "fmt":"27.56B" + }, + "cash":{ + "raw":108193000000, + "longFmt":"108,193,000,000", + "fmt":"108.19B" + }, + "shortLongTermDebt":{ + "raw":52593000000, + "longFmt":"52,593,000,000", + "fmt":"52.59B" + }, + "otherAssets":{ + "raw":4085000000, + "longFmt":"4,085,000,000", + "fmt":"4.08B" + }, + "totalCurrentAssets":{ + "raw":142109000000, + "longFmt":"142,109,000,000", + "fmt":"142.11B" + }, + "longTermDebt":{ + "raw":50603000000, + "longFmt":"50,603,000,000", + "fmt":"50.6B" + }, + "treasuryStock":{ + "raw":739000000, + "longFmt":"739,000,000", + "fmt":"739M" + }, + "netReceivables":{ + "raw":10915000000, + "longFmt":"10,915,000,000", + "fmt":"10.91B" + }, + "goodWill":{ + "raw":41933000000, + "longFmt":"41,933,000,000", + "fmt":"41.93B" + }, + "deferredLongTermAssetCharges":{ + "raw":157000000, + "longFmt":"157,000,000", + "fmt":"157M" + }, + "maxAge":1, + "intangibleAssets":{ + "raw":9680000000, + "longFmt":"9,680,000,000", + "fmt":"9.68B" + }, + "commonStock":{ + "raw":1000000, + "longFmt":"1,000,000", + "fmt":"1M" + }, + "propertyPlantEquipment":{ + "raw":9139000000, + "longFmt":"9,139,000,000", + "fmt":"9.14B" + }, + "minorityInterest":{ + "raw":11974000000, + "longFmt":"11,974,000,000", + "fmt":"11.97B" + } + } + ] + }, + "industryTrend":{ + "symbol":null, + "peRatio":{ + + }, + "pegRatio":{ + + }, + "maxAge":1, + "estimates":[ + + ] + }, + "earningsTrend":{ + "trend":[ + { + "period":"0q", + "revenueEstimate":{ + "high":{ + "raw":13696600000, + "longFmt":"13,696,600,000", + "fmt":"13.7B" + }, + "avg":{ + "raw":12993600000, + "longFmt":"12,993,600,000", + "fmt":"12.99B" + }, + "numberOfAnalysts":{ + "raw":26, + "longFmt":"26", + "fmt":"26" + }, + "yearAgoRevenue":{ + "raw":7919040000, + "longFmt":"7,919,040,000", + "fmt":"7.92B" + }, + "low":{ + "raw":12395000000, + "longFmt":"12,395,000,000", + "fmt":"12.39B" + }, + "growth":{ + "raw":0.641, + "fmt":"64.10%" + } + }, + "maxAge":1, + "endDate":"2018-06-30", + "epsTrend":{ + "current":{ + "raw":1.37, + "fmt":"1.37" + }, + "60daysAgo":{ + "raw":1.45, + "fmt":"1.45" + }, + "90daysAgo":{ + "raw":1.5, + "fmt":"1.5" + }, + "30daysAgo":{ + "raw":1.37, + "fmt":"1.37" + }, + "7daysAgo":{ + "raw":1.37, + "fmt":"1.37" + } + }, + "epsRevisions":{ + "upLast7days":{ + "raw":0, + "longFmt":"0", + "fmt":null + }, + "downLast30days":{ + "raw":0, + "longFmt":"0", + "fmt":null + }, + "upLast30days":{ + "raw":4, + "longFmt":"4", + "fmt":"4" + }, + "downLast90days":{ + + } + }, + "earningsEstimate":{ + "high":{ + "raw":1.69, + "fmt":"1.69" + }, + "avg":{ + "raw":1.37, + "fmt":"1.37" + }, + "numberOfAnalysts":{ + "raw":27, + "longFmt":"27", + "fmt":"27" + }, + "yearAgoEps":{ + "raw":1.25, + "fmt":"1.25" + }, + "low":{ + "raw":1.08, + "fmt":"1.08" + }, + "growth":{ + "raw":0.096, + "fmt":"9.60%" + } + }, + "growth":{ + "raw":0.096, + "fmt":"9.60%" + } + }, + { + "period":"+1q", + "revenueEstimate":{ + "high":{ + "raw":14919500000, + "longFmt":"14,919,500,000", + "fmt":"14.92B" + }, + "avg":{ + "raw":14335300000, + "longFmt":"14,335,300,000", + "fmt":"14.34B" + }, + "numberOfAnalysts":{ + "raw":24, + "longFmt":"24", + "fmt":"24" + }, + "yearAgoRevenue":{ + "raw":8698250000, + "longFmt":"8,698,250,000", + "fmt":"8.7B" + }, + "low":{ + "raw":13749300000, + "longFmt":"13,749,300,000", + "fmt":"13.75B" + }, + "growth":{ + "raw":0.648, + "fmt":"64.80%" + } + }, + "maxAge":1, + "endDate":"2018-09-30", + "epsTrend":{ + "current":{ + "raw":1.41, + "fmt":"1.41" + }, + "60daysAgo":{ + "raw":1.5, + "fmt":"1.5" + }, + "90daysAgo":{ + "raw":1.5, + "fmt":"1.5" + }, + "30daysAgo":{ + "raw":1.43, + "fmt":"1.43" + }, + "7daysAgo":{ + "raw":1.42, + "fmt":"1.42" + } + }, + "epsRevisions":{ + "upLast7days":{ + "raw":0, + "longFmt":"0", + "fmt":null + }, + "downLast30days":{ + "raw":0, + "longFmt":"0", + "fmt":null + }, + "upLast30days":{ + "raw":8, + "longFmt":"8", + "fmt":"8" + }, + "downLast90days":{ + + } + }, + "earningsEstimate":{ + "high":{ + "raw":1.62, + "fmt":"1.62" + }, + "avg":{ + "raw":1.41, + "fmt":"1.41" + }, + "numberOfAnalysts":{ + "raw":25, + "longFmt":"25", + "fmt":"25" + }, + "yearAgoEps":{ + "raw":1.35, + "fmt":"1.35" + }, + "low":{ + "raw":0.99, + "fmt":"0.99" + }, + "growth":{ + "raw":0.044, + "fmt":"4.40%" + } + }, + "growth":{ + "raw":0.044, + "fmt":"4.40%" + } + }, + { + "period":"0y", + "revenueEstimate":{ + "high":{ + "raw":64070800000, + "longFmt":"64,070,800,000", + "fmt":"64.07B" + }, + "avg":{ + "raw":62905400000, + "longFmt":"62,905,400,000", + "fmt":"62.91B" + }, + "numberOfAnalysts":{ + "raw":42, + "longFmt":"42", + "fmt":"42" + }, + "yearAgoRevenue":{ + "raw":39492000000, + "longFmt":"39,492,000,000", + "fmt":"39.49B" + }, + "low":{ + "raw":50792400000, + "longFmt":"50,792,400,000", + "fmt":"50.79B" + }, + "growth":{ + "raw":0.593, + "fmt":"59.30%" + } + }, + "maxAge":1, + "endDate":"2019-03-31", + "epsTrend":{ + "current":{ + "raw":6.46, + "fmt":"6.46" + }, + "60daysAgo":{ + "raw":6.7, + "fmt":"6.7" + }, + "90daysAgo":{ + "raw":6.72, + "fmt":"6.72" + }, + "30daysAgo":{ + "raw":6.49, + "fmt":"6.49" + }, + "7daysAgo":{ + "raw":6.46, + "fmt":"6.46" + } + }, + "epsRevisions":{ + "upLast7days":{ + "raw":0, + "longFmt":"0", + "fmt":null + }, + "downLast30days":{ + "raw":0, + "longFmt":"0", + "fmt":null + }, + "upLast30days":{ + "raw":21, + "longFmt":"21", + "fmt":"21" + }, + "downLast90days":{ + + } + }, + "earningsEstimate":{ + "high":{ + "raw":7.26, + "fmt":"7.26" + }, + "avg":{ + "raw":6.46, + "fmt":"6.46" + }, + "numberOfAnalysts":{ + "raw":39, + "longFmt":"39", + "fmt":"39" + }, + "yearAgoEps":{ + "raw":5.19, + "fmt":"5.19" + }, + "low":{ + "raw":5.04, + "fmt":"5.04" + }, + "growth":{ + "raw":0.245, + "fmt":"24.50%" + } + }, + "growth":{ + "raw":0.245, + "fmt":"24.50%" + } + }, + { + "period":"+1y", + "revenueEstimate":{ + "high":{ + "raw":95872200000, + "longFmt":"95,872,200,000", + "fmt":"95.87B" + }, + "avg":{ + "raw":86564400000, + "longFmt":"86,564,400,000", + "fmt":"86.56B" + }, + "numberOfAnalysts":{ + "raw":40, + "longFmt":"40", + "fmt":"40" + }, + "yearAgoRevenue":{ + "raw":62905400000, + "longFmt":"62,905,400,000", + "fmt":"62.91B" + }, + "low":{ + "raw":66952800000, + "longFmt":"66,952,800,000", + "fmt":"66.95B" + }, + "growth":{ + "raw":0.376, + "fmt":"37.60%" + } + }, + "maxAge":1, + "endDate":"2020-03-31", + "epsTrend":{ + "current":{ + "raw":8.65, + "fmt":"8.65" + }, + "60daysAgo":{ + "raw":8.71, + "fmt":"8.71" + }, + "90daysAgo":{ + "raw":8.65, + "fmt":"8.65" + }, + "30daysAgo":{ + "raw":8.66, + "fmt":"8.66" + }, + "7daysAgo":{ + "raw":8.65, + "fmt":"8.65" + } + }, + "epsRevisions":{ + "upLast7days":{ + "raw":0, + "longFmt":"0", + "fmt":null + }, + "downLast30days":{ + "raw":0, + "longFmt":"0", + "fmt":null + }, + "upLast30days":{ + "raw":20, + "longFmt":"20", + "fmt":"20" + }, + "downLast90days":{ + + } + }, + "earningsEstimate":{ + "high":{ + "raw":10.97, + "fmt":"10.97" + }, + "avg":{ + "raw":8.65, + "fmt":"8.65" + }, + "numberOfAnalysts":{ + "raw":39, + "longFmt":"39", + "fmt":"39" + }, + "yearAgoEps":{ + "raw":6.46, + "fmt":"6.46" + }, + "low":{ + "raw":6.98, + "fmt":"6.98" + }, + "growth":{ + "raw":0.33900002, + "fmt":"33.90%" + } + }, + "growth":{ + "raw":0.33900002, + "fmt":"33.90%" + } + }, + { + "period":"+5y", + "revenueEstimate":{ + "high":{ + + }, + "avg":{ + + }, + "numberOfAnalysts":{ + + }, + "yearAgoRevenue":{ + + }, + "low":{ + + }, + "growth":{ + + } + }, + "maxAge":1, + "endDate":null, + "epsTrend":{ + "current":{ + + }, + "60daysAgo":{ + + }, + "90daysAgo":{ + + }, + "30daysAgo":{ + + }, + "7daysAgo":{ + + } + }, + "epsRevisions":{ + "upLast7days":{ + + }, + "downLast30days":{ + + }, + "upLast30days":{ + + }, + "downLast90days":{ + + } + }, + "earningsEstimate":{ + "high":{ + + }, + "avg":{ + + }, + "numberOfAnalysts":{ + + }, + "yearAgoEps":{ + + }, + "low":{ + + }, + "growth":{ + + } + }, + "growth":{ + "raw":0.048600003, + "fmt":"4.86%" + } + }, + { + "period":"-5y", + "revenueEstimate":{ + "high":{ + + }, + "avg":{ + + }, + "numberOfAnalysts":{ + + }, + "yearAgoRevenue":{ + + }, + "low":{ + + }, + "growth":{ + + } + }, + "maxAge":1, + "endDate":null, + "epsTrend":{ + "current":{ + + }, + "60daysAgo":{ + + }, + "90daysAgo":{ + + }, + "30daysAgo":{ + + }, + "7daysAgo":{ + + } + }, + "epsRevisions":{ + "upLast7days":{ + + }, + "downLast30days":{ + + }, + "upLast30days":{ + + }, + "downLast90days":{ + + } + }, + "earningsEstimate":{ + "high":{ + + }, + "avg":{ + + }, + "numberOfAnalysts":{ + + }, + "yearAgoEps":{ + + }, + "low":{ + + }, + "growth":{ + + } + }, + "growth":{ + "raw":0.31276, + "fmt":"31.28%" + } + } + ], + "maxAge":1 + }, + "incomeStatementHistory":{ + "maxAge":86400, + "incomeStatementHistory":[ + { + "operatingIncome":{ + "raw":69808000000, + "longFmt":"69,808,000,000", + "fmt":"69.81B" + }, + "netIncomeFromContinuingOps":{ + "raw":61412000000, + "longFmt":"61,412,000,000", + "fmt":"61.41B" + }, + "endDate":{ + "raw":1522454400, + "fmt":"2018-03-31" + }, + "ebit":{ + "raw":69808000000, + "longFmt":"69,808,000,000", + "fmt":"69.81B" + }, + "discontinuedOperations":{ + + }, + "costOfRevenue":{ + "raw":107044000000, + "longFmt":"107,044,000,000", + "fmt":"107.04B" + }, + "researchDevelopment":{ + "raw":22754000000, + "longFmt":"22,754,000,000", + "fmt":"22.75B" + }, + "nonRecurring":{ + + }, + "totalOperatingExpenses":{ + "raw":180458000000, + "longFmt":"180,458,000,000", + "fmt":"180.46B" + }, + "interestExpense":{ + "raw":-3566000000, + "longFmt":"-3,566,000,000", + "fmt":"-3.57B" + }, + "effectOfAccountingCharges":{ + + }, + "incomeBeforeTax":{ + "raw":79611000000, + "longFmt":"79,611,000,000", + "fmt":"79.61B" + }, + "sellingGeneralAdministrative":{ + "raw":43540000000, + "longFmt":"43,540,000,000", + "fmt":"43.54B" + }, + "maxAge":1, + "extraordinaryItems":{ + + }, + "totalOtherIncomeExpenseNet":{ + "raw":9803000000, + "longFmt":"9,803,000,000", + "fmt":"9.8B" + }, + "netIncomeApplicableToCommonShares":{ + "raw":63985000000, + "longFmt":"63,985,000,000", + "fmt":"63.98B" + }, + "incomeTaxExpense":{ + "raw":18199000000, + "longFmt":"18,199,000,000", + "fmt":"18.2B" + }, + "netIncome":{ + "raw":64093000000, + "longFmt":"64,093,000,000", + "fmt":"64.09B" + }, + "minorityInterest":{ + "raw":70616000000, + "longFmt":"70,616,000,000", + "fmt":"70.62B" + }, + "totalRevenue":{ + "raw":250266000000, + "longFmt":"250,266,000,000", + "fmt":"250.27B" + }, + "otherItems":{ + + }, + "grossProfit":{ + "raw":143222000000, + "longFmt":"143,222,000,000", + "fmt":"143.22B" + }, + "otherOperatingExpenses":{ + + } + }, + { + "operatingIncome":{ + "raw":48912000000, + "longFmt":"48,912,000,000", + "fmt":"48.91B" + }, + "netIncomeFromContinuingOps":{ + "raw":41226000000, + "longFmt":"41,226,000,000", + "fmt":"41.23B" + }, + "endDate":{ + "raw":1490918400, + "fmt":"2017-03-31" + }, + "ebit":{ + "raw":48912000000, + "longFmt":"48,912,000,000", + "fmt":"48.91B" + }, + "discontinuedOperations":{ + + }, + "costOfRevenue":{ + "raw":58626000000, + "longFmt":"58,626,000,000", + "fmt":"58.63B" + }, + "researchDevelopment":{ + "raw":17060000000, + "longFmt":"17,060,000,000", + "fmt":"17.06B" + }, + "nonRecurring":{ + + }, + "totalOperatingExpenses":{ + "raw":109361000000, + "longFmt":"109,361,000,000", + "fmt":"109.36B" + }, + "interestExpense":{ + "raw":-2671000000, + "longFmt":"-2,671,000,000", + "fmt":"-2.67B" + }, + "effectOfAccountingCharges":{ + + }, + "incomeBeforeTax":{ + "raw":55002000000, + "longFmt":"55,002,000,000", + "fmt":"55B" + }, + "sellingGeneralAdministrative":{ + "raw":28553000000, + "longFmt":"28,553,000,000", + "fmt":"28.55B" + }, + "maxAge":1, + "extraordinaryItems":{ + + }, + "totalOtherIncomeExpenseNet":{ + "raw":6090000000, + "longFmt":"6,090,000,000", + "fmt":"6.09B" + }, + "netIncomeApplicableToCommonShares":{ + "raw":43675000000, + "longFmt":"43,675,000,000", + "fmt":"43.67B" + }, + "incomeTaxExpense":{ + "raw":13776000000, + "longFmt":"13,776,000,000", + "fmt":"13.78B" + }, + "netIncome":{ + "raw":43675000000, + "longFmt":"43,675,000,000", + "fmt":"43.67B" + }, + "minorityInterest":{ + "raw":42330000000, + "longFmt":"42,330,000,000", + "fmt":"42.33B" + }, + "totalRevenue":{ + "raw":158273000000, + "longFmt":"158,273,000,000", + "fmt":"158.27B" + }, + "otherItems":{ + + }, + "grossProfit":{ + "raw":99647000000, + "longFmt":"99,647,000,000", + "fmt":"99.65B" + }, + "otherOperatingExpenses":{ + + } + }, + { + "operatingIncome":{ + "raw":29557000000, + "longFmt":"29,557,000,000", + "fmt":"29.56B" + }, + "netIncomeFromContinuingOps":{ + "raw":71289000000, + "longFmt":"71,289,000,000", + "fmt":"71.29B" + }, + "endDate":{ + "raw":1459382400, + "fmt":"2016-03-31" + }, + "ebit":{ + "raw":29557000000, + "longFmt":"29,557,000,000", + "fmt":"29.56B" + }, + "discontinuedOperations":{ + + }, + "costOfRevenue":{ + "raw":34355000000, + "longFmt":"34,355,000,000", + "fmt":"34.35B" + }, + "researchDevelopment":{ + "raw":13788000000, + "longFmt":"13,788,000,000", + "fmt":"13.79B" + }, + "nonRecurring":{ + + }, + "totalOperatingExpenses":{ + "raw":71586000000, + "longFmt":"71,586,000,000", + "fmt":"71.59B" + }, + "interestExpense":{ + "raw":-1946000000, + "longFmt":"-1,946,000,000", + "fmt":"-1.95B" + }, + "effectOfAccountingCharges":{ + + }, + "incomeBeforeTax":{ + "raw":79738000000, + "longFmt":"79,738,000,000", + "fmt":"79.74B" + }, + "sellingGeneralAdministrative":{ + "raw":20512000000, + "longFmt":"20,512,000,000", + "fmt":"20.51B" + }, + "maxAge":1, + "extraordinaryItems":{ + + }, + "totalOtherIncomeExpenseNet":{ + "raw":50181000000, + "longFmt":"50,181,000,000", + "fmt":"50.18B" + }, + "netIncomeApplicableToCommonShares":{ + "raw":71460000000, + "longFmt":"71,460,000,000", + "fmt":"71.46B" + }, + "incomeTaxExpense":{ + "raw":8449000000, + "longFmt":"8,449,000,000", + "fmt":"8.45B" + }, + "netIncome":{ + "raw":71460000000, + "longFmt":"71,460,000,000", + "fmt":"71.46B" + }, + "minorityInterest":{ + "raw":32552000000, + "longFmt":"32,552,000,000", + "fmt":"32.55B" + }, + "totalRevenue":{ + "raw":101143000000, + "longFmt":"101,143,000,000", + "fmt":"101.14B" + }, + "otherItems":{ + + }, + "grossProfit":{ + "raw":66788000000, + "longFmt":"66,788,000,000", + "fmt":"66.79B" + }, + "otherOperatingExpenses":{ + + } + }, + { + "operatingIncome":{ + "raw":23310000000, + "longFmt":"23,310,000,000", + "fmt":"23.31B" + }, + "netIncomeFromContinuingOps":{ + "raw":24320000000, + "longFmt":"24,320,000,000", + "fmt":"24.32B" + }, + "endDate":{ + "raw":1427760000, + "fmt":"2015-03-31" + }, + "ebit":{ + "raw":23310000000, + "longFmt":"23,310,000,000", + "fmt":"23.31B" + }, + "discontinuedOperations":{ + + }, + "costOfRevenue":{ + "raw":23834000000, + "longFmt":"23,834,000,000", + "fmt":"23.83B" + }, + "researchDevelopment":{ + "raw":10658000000, + "longFmt":"10,658,000,000", + "fmt":"10.66B" + }, + "nonRecurring":{ + + }, + "totalOperatingExpenses":{ + "raw":52894000000, + "longFmt":"52,894,000,000", + "fmt":"52.89B" + }, + "interestExpense":{ + "raw":-2750000000, + "longFmt":"-2,750,000,000", + "fmt":"-2.75B" + }, + "effectOfAccountingCharges":{ + + }, + "incomeBeforeTax":{ + "raw":30736000000, + "longFmt":"30,736,000,000", + "fmt":"30.74B" + }, + "sellingGeneralAdministrative":{ + "raw":16313000000, + "longFmt":"16,313,000,000", + "fmt":"16.31B" + }, + "maxAge":1, + "extraordinaryItems":{ + + }, + "totalOtherIncomeExpenseNet":{ + "raw":7426000000, + "longFmt":"7,426,000,000", + "fmt":"7.43B" + }, + "netIncomeApplicableToCommonShares":{ + "raw":24149000000, + "longFmt":"24,149,000,000", + "fmt":"24.15B" + }, + "incomeTaxExpense":{ + "raw":6416000000, + "longFmt":"6,416,000,000", + "fmt":"6.42B" + }, + "netIncome":{ + "raw":24261000000, + "longFmt":"24,261,000,000", + "fmt":"24.26B" + }, + "minorityInterest":{ + "raw":11974000000, + "longFmt":"11,974,000,000", + "fmt":"11.97B" + }, + "totalRevenue":{ + "raw":76204000000, + "longFmt":"76,204,000,000", + "fmt":"76.2B" + }, + "otherItems":{ + + }, + "grossProfit":{ + "raw":52370000000, + "longFmt":"52,370,000,000", + "fmt":"52.37B" + }, + "otherOperatingExpenses":{ + + } + } + ] + }, + "financialData":{ + "quickRatio":{ + "raw":1.548, + "fmt":"1.55" + }, + "financialCurrency":"CNY", + "targetMedianPrice":{ + "raw":233.25, + "fmt":"233.25" + }, + "freeCashflow":{ + "raw":7380042752, + "longFmt":"7,380,042,752", + "fmt":"7.38B" + }, + "profitMargins":{ + "raw":0.2561, + "fmt":"25.61%" + }, + "ebitdaMargins":{ + "raw":0.3425, + "fmt":"34.25%" + }, + "recommendationMean":{ + "raw":1.7, + "fmt":"1.70" + }, + "totalCash":{ + "raw":32847415296, + "longFmt":"32,847,415,296", + "fmt":"32.85B" + }, + "totalCashPerShare":{ + "raw":12.831, + "fmt":"12.83" + }, + "totalRevenue":{ + "raw":39106564096, + "longFmt":"39,106,564,096", + "fmt":"39.11B" + }, + "targetLowPrice":{ + "raw":191.44, + "fmt":"191.44" + }, + "currentRatio":{ + "raw":1.891, + "fmt":"1.89" + }, + "grossProfits":{ + "raw":143222000000, + "longFmt":"143,222,000,000", + "fmt":"143.22B" + }, + "revenueGrowth":{ + "raw":0.605, + "fmt":"60.50%" + }, + "operatingMargins":{ + "raw":0.27894, + "fmt":"27.89%" + }, + "numberOfAnalystOpinions":{ + "raw":46, + "longFmt":"46", + "fmt":"46" + }, + "earningsGrowth":{ + "raw":-0.301, + "fmt":"-30.10%" + }, + "totalDebt":{ + "raw":19618912256, + "longFmt":"19,618,912,256", + "fmt":"19.62B" + }, + "returnOnAssets":{ + "raw":0.07129, + "fmt":"7.13%" + }, + "currentPrice":{ + "raw":207.392, + "fmt":"207.39" + }, + "ebitda":{ + "raw":13394138112, + "longFmt":"13,394,138,112", + "fmt":"13.39B" + }, + "operatingCashflow":{ + "raw":19559221248, + "longFmt":"19,559,221,248", + "fmt":"19.56B" + }, + "grossMargins":{ + "raw":0.57228, + "fmt":"57.23%" + }, + "targetHighPrice":{ + "raw":307.3, + "fmt":"307.30" + }, + "recommendationKey":"buy", + "debtToEquity":{ + "raw":28.768, + "fmt":"28.77" + }, + "maxAge":86400, + "targetMeanPrice":{ + "raw":238.07, + "fmt":"238.07" + }, + "returnOnEquity":{ + "raw":0.16213, + "fmt":"16.21%" + }, + "revenuePerShare":{ + "raw":15.318, + "fmt":"15.32" + } + } + } + ], + "error":null + } +} \ No newline at end of file diff --git a/src/test/java/AppTest.java b/src/test/java/AppTest.java deleted file mode 100644 index e611fc74..00000000 --- a/src/test/java/AppTest.java +++ /dev/null @@ -1,12 +0,0 @@ -/* - * This Java source file was generated by the Gradle 'init' task. - */ -import org.junit.Test; -import static org.junit.Assert.*; - -public class AppTest { - @Test public void testAppHasAGreeting() { - App classUnderTest = new App(); - assertNotNull("app should have a greeting", classUnderTest.getGreeting()); - } -}