diff --git a/schema.json b/schema.json index 62bc63e0..b3a9fcd9 100644 --- a/schema.json +++ b/schema.json @@ -2760,7 +2760,10 @@ "yahooFinanceType": "number" }, "shortName": { - "type": "string" + "type": [ + "null", + "string" + ] }, "symbol": { "type": "string" @@ -5031,7 +5034,10 @@ "type": "string" }, "shortName": { - "type": "string" + "type": [ + "null", + "string" + ] }, "symbol": { "type": "string" diff --git a/src/modules/quoteSummary-iface.ts b/src/modules/quoteSummary-iface.ts index 3584b316..9c390ed9 100644 --- a/src/modules/quoteSummary-iface.ts +++ b/src/modules/quoteSummary-iface.ts @@ -669,7 +669,7 @@ export interface Price { symbol: string; underlyingSymbol: null; - shortName: string; + shortName: null | string; longName: null | string; lastMarket: null | string; @@ -691,7 +691,7 @@ export interface QuoteType { quoteType: string; symbol: string; underlyingSymbol: string; - shortName: string; + shortName: null | string; longName: null | string; firstTradeDateEpochUtc: null | Date; timeZoneFullName: string; diff --git a/tests/http/autoc-ORSTED.CO.json b/tests/http/autoc-ORSTED.CO.json new file mode 100644 index 00000000..adc25ca3 --- /dev/null +++ b/tests/http/autoc-ORSTED.CO.json @@ -0,0 +1,75 @@ +{ + "request": { + "url": "https://autoc.finance.yahoo.com/autoc?region=1&lang=en&query=ORSTED.CO" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "x-content-type-options": [ + "nosniff" + ], + "x-yahoo-request-id": [ + "3e12n1lgbeb8t" + ], + "cache-control": [ + "public, max-age=300, stale-while-revalidate=30, stale-if-error=3600" + ], + "content-encoding": [ + "gzip" + ], + "content-type": [ + "application/json;charset=utf-8" + ], + "content-length": [ + "135" + ], + "date": [ + "Wed, 02 Jun 2021 07:02:53 GMT" + ], + "age": [ + "0" + ], + "strict-transport-security": [ + "max-age=31536000" + ], + "server": [ + "ATS" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "public-key-pins-report-only": [ + "max-age=2592000; pin-sha256=\"2fRAUXyxl4A1/XHrKNBmc8bTkzA7y4FB/GLJuNAzCqY=\"; pin-sha256=\"I/Lt/z7ekCWanjD0Cvj5EqXls2lOaThEA0H2Bg4BT/o=\"; pin-sha256=\"K87oWBWM9UZfyddvDfoxL+8lpNyoUB2ptGtn0fv6G2Q=\"; pin-sha256=\"Wd8xe/qfTwq3ylFNd3IpaqLHZbh2ZNCLluVzmeNkcpw=\"; pin-sha256=\"WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18=\"; pin-sha256=\"cGuxAXyFXFkWm61cF4HPWX8S0srS9j0aSqN0k4AP+4A=\"; pin-sha256=\"dolnbtzEBnELx/9lOEQ22e6OZO/QNb6VSSX2XHA3E7A=\"; pin-sha256=\"i7WTqTvh0OioIruIfFR4kMPnBqrS2rdiVPl/s2uC/CY=\"; pin-sha256=\"r/mIkG3eEpVdm+u/ko/cwxzOMo1bk4TyHIlByibiA5E=\"; pin-sha256=\"uUwZgwDOxcBXrQcntwu+kYFpkiVkOaezL0WYEZ3anJc=\"; includeSubdomains; report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-hpkp-report-only\"" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "connection": [ + "close" + ] + }, + "bodyJson": { + "ResultSet": { + "Query": "ORSTED.CO", + "Result": [ + { + "symbol": "ORSTED.CO", + "name": "Ørsted A/S", + "exch": "CPH", + "type": "S", + "exchDisp": "Copenhagen", + "typeDisp": "Equity" + } + ] + } + } + } +} \ No newline at end of file diff --git a/tests/http/historical-ORSTED.CO-2020-01-01-to-2020-01-03.json b/tests/http/historical-ORSTED.CO-2020-01-01-to-2020-01-03.json new file mode 100644 index 00000000..6c20ac03 --- /dev/null +++ b/tests/http/historical-ORSTED.CO-2020-01-01-to-2020-01-03.json @@ -0,0 +1,73 @@ +{ + "request": { + "url": "https://query1.finance.yahoo.com/v7/finance/download/ORSTED.CO?interval=1d&events=history&includeAdjustedClose=true&period1=1577836800&period2=1578009600" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-disposition": [ + "attachment; filename=ORSTED.CO.csv" + ], + "content-type": [ + "text/csv;charset=utf-8" + ], + "cache-control": [ + "private, max-age=10, stale-while-revalidate=20" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "3n1kr1lgbeb8t" + ], + "x-yahoo-request-id": [ + "3n1kr1lgbeb8t" + ], + "x-request-id": [ + "789d1956-ed3c-41a2-9c27-b68ae0ca4ce8" + ], + "content-length": [ + "114" + ], + "x-envoy-upstream-service-time": [ + "15" + ], + "date": [ + "Wed, 02 Jun 2021 07:02:52 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-chart-api--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "1" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "body": "Date,Open,High,Low,Close,Adj Close,Volume\n2020-01-02,685.799988,688.400024,677.200012,681.000000,663.206848,340491" + } +} \ No newline at end of file diff --git a/tests/http/insights-ORSTED.CO.json b/tests/http/insights-ORSTED.CO.json new file mode 100644 index 00000000..1ba20aa8 --- /dev/null +++ b/tests/http/insights-ORSTED.CO.json @@ -0,0 +1,83 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/ws/insights/v2/finance/insights?lang=en-US®ion=US&getAllResearchReports=true&reportsCount=2&symbol=ORSTED.CO" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "cache-control": [ + "public, max-age=300, stale-while-revalidate=120" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "y-rid": [ + "bfhuj2pgbeb8t" + ], + "x-yahoo-request-id": [ + "bfhuj2pgbeb8t" + ], + "x-request-id": [ + "7c645616-0e63-485e-88c9-ed103f32434a" + ], + "content-length": [ + "175" + ], + "x-envoy-upstream-service-time": [ + "5" + ], + "date": [ + "Wed, 02 Jun 2021 07:02:52 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-market-analytics-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "1" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "finance": { + "result": { + "symbol": "ORSTED.CO", + "sigDevs": [ + { + "headline": "Ørsted And Hofor Enter Agreement On Green Power For Hydrogen Project", + "date": "2021-05-31" + } + ] + }, + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quote-ORSTED.CO.json b/tests/http/quote-ORSTED.CO.json new file mode 100644 index 00000000..277edcc0 --- /dev/null +++ b/tests/http/quote-ORSTED.CO.json @@ -0,0 +1,146 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v7/finance/quote?symbols=ORSTED.CO" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "6e3bcqdgbeb8t" + ], + "x-yahoo-request-id": [ + "6e3bcqdgbeb8t" + ], + "x-request-id": [ + "376a4114-7fd6-4ee6-8ebb-6f07ad28e3f1" + ], + "content-encoding": [ + "gzip" + ], + "content-length": [ + "921" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 02 Jun 2021 07:02:53 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-quote-api--mtls-baseline-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "0" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteResponse": { + "result": [ + { + "language": "en-US", + "region": "US", + "quoteType": "EQUITY", + "quoteSourceName": "Free Realtime Quote", + "triggerable": true, + "currency": "DKK", + "marketState": "REGULAR", + "exchange": "CPH", + "longName": "Ørsted A/S", + "messageBoardId": "finmb_6492833", + "exchangeTimezoneName": "Europe/Copenhagen", + "exchangeTimezoneShortName": "CEST", + "gmtOffSetMilliseconds": 7200000, + "market": "dk_market", + "regularMarketChange": 8.200012, + "regularMarketChangePercent": 0.88572174, + "regularMarketTime": 1622617371, + "regularMarketPrice": 934, + "regularMarketDayHigh": 936.4, + "regularMarketDayRange": "924.8 - 936.4", + "regularMarketDayLow": 924.8, + "regularMarketVolume": 17816, + "regularMarketPreviousClose": 925.8, + "bid": 934.2, + "ask": 935.8, + "bidSize": 0, + "askSize": 0, + "fullExchangeName": "Copenhagen", + "financialCurrency": "DKK", + "regularMarketOpen": 925.8, + "averageDailyVolume3Month": 703158, + "averageDailyVolume10Day": 492580, + "fiftyTwoWeekLowChange": 206.79999, + "fiftyTwoWeekLowChangePercent": 0.2843784, + "fiftyTwoWeekRange": "727.2 - 1400.5", + "fiftyTwoWeekHighChange": -466.5, + "fiftyTwoWeekHighChangePercent": -0.3330953, + "fiftyTwoWeekLow": 727.2, + "fiftyTwoWeekHigh": 1400.5, + "earningsTimestamp": 1628733600, + "earningsTimestampStart": 1628733600, + "earningsTimestampEnd": 1628733600, + "trailingAnnualDividendRate": 11.5, + "trailingPE": 35.982586, + "trailingAnnualDividendYield": 0.01242169, + "epsForward": 16.02, + "sharesOutstanding": 420068000, + "bookValue": 223.342, + "fiftyDayAverage": 920.8914, + "fiftyDayAverageChange": 13.108582, + "fiftyDayAverageChangePercent": 0.014234666, + "twoHundredDayAverage": 1050.5908, + "twoHundredDayAverageChange": -116.59082, + "twoHundredDayAverageChangePercent": -0.110976435, + "marketCap": 392343519232, + "forwardPE": 58.30212, + "priceToBook": 4.181927, + "sourceInterval": 15, + "exchangeDataDelayedBy": 0, + "tradeable": false, + "epsTrailingTwelveMonths": 25.957, + "firstTradeDateMilliseconds": 1465455600000, + "priceHint": 2, + "esgPopulated": false, + "symbol": "ORSTED.CO" + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-all-ORSTED.CO.json b/tests/http/quoteSummary-all-ORSTED.CO.json new file mode 100644 index 00000000..d96cb921 --- /dev/null +++ b/tests/http/quoteSummary-all-ORSTED.CO.json @@ -0,0 +1,3963 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/ORSTED.CO?formatted=false&modules=assetProfile%2CbalanceSheetHistory%2CbalanceSheetHistoryQuarterly%2CcalendarEvents%2CcashflowStatementHistory%2CcashflowStatementHistoryQuarterly%2CdefaultKeyStatistics%2Cearnings%2CearningsHistory%2CearningsTrend%2CfinancialData%2CfundOwnership%2CfundPerformance%2CfundProfile%2CincomeStatementHistory%2CincomeStatementHistoryQuarterly%2CindexTrend%2CindustryTrend%2CinsiderHolders%2CinsiderTransactions%2CinstitutionOwnership%2CmajorDirectHolders%2CmajorHoldersBreakdown%2CnetSharePurchaseActivity%2Cprice%2CquoteType%2CrecommendationTrend%2CsecFilings%2CsectorTrend%2CsummaryDetail%2CsummaryProfile%2CtopHoldings%2CupgradeDowngradeHistory" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "fbm93v5gbeb9k" + ], + "x-yahoo-request-id": [ + "fbm93v5gbeb9k" + ], + "x-request-id": [ + "6e3f4db0-84d4-496f-bf00-fb1cabcc84c8" + ], + "content-encoding": [ + "gzip" + ], + "x-envoy-upstream-service-time": [ + "9" + ], + "date": [ + "Wed, 02 Jun 2021 07:03:16 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-baseline-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "0" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "transfer-encoding": [ + "chunked" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteSummary": { + "result": [ + { + "assetProfile": { + "address1": "Kraftvaerksvej 53", + "address2": "Skaerbaek", + "city": "Fredericia", + "zip": "7000", + "country": "Denmark", + "phone": "45 99 55 11 11", + "fax": "45 99 55 00 11", + "website": "http://www.orsted.com", + "industry": "Utilities—Renewable", + "sector": "Utilities", + "longBusinessSummary": "Ørsted A/S, together with its subsidiaries, develops, constructs, owns, and operates offshore and onshore wind farms, solar farms, energy storage facilities, and bioenergy plants. It operates through Offshore, Onshore, and Markets & Bioenergy segments. The Offshore segment develops, constructs, owns, and operates offshore wind farms in the United Kingdom, Germany, Denmark, the Netherlands, the United States, Taiwan, Japan, and South Korea. The Onshore segment develops, owns, and operates onshore wind and solar farms in the United States. The Markets & Bioenergy segment engages in the generation of heat and power from combined heat and power plants in Denmark; sells power and gas in the wholesale and B2B markets; and optimizes and hedges energy portfolio. The company was formerly known as DONG Energy A/S and changed its name to Ørsted A/S in November 2017. Ørsted A/S was founded in 1972 and is headquartered in Fredericia, Denmark.", + "fullTimeEmployees": 6311, + "companyOfficers": [ + { + "maxAge": 1, + "name": "Ms. Marianne Wiinholt", + "age": 55, + "title": "CFO & Member of Management Board", + "yearBorn": 1965, + "fiscalYear": 2020, + "totalPay": { + "raw": 8165000, + "fmt": "8.16M", + "longFmt": "8,165,000" + }, + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Mr. Daniel Tas Sandermann", + "age": 36, + "title": "Head of Commercial & Strategy Execution, Markets & Bioenergy and Employee Representative Director", + "yearBorn": 1984, + "fiscalYear": 2020, + "totalPay": { + "raw": 109000, + "fmt": "109k", + "longFmt": "109,000" + }, + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Mr. Mads Nipper", + "age": 54, + "title": "CEO, Group Pres & Member of Exec. Board", + "yearBorn": 1966, + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Mr. Martin Neubert", + "age": 47, + "title": "Deputy Group CEO, Chief Commercial Officer & Member of Exec. Board", + "yearBorn": 1973, + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Mr. Allan Boedskov Andersen", + "age": 48, + "title": "Head of Investor Relations and Head of Group Treasury & Risk Management", + "yearBorn": 1972, + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Mr. Martin Barlebo", + "age": 49, + "title": "Head of Communications", + "yearBorn": 1971, + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Ms. Henriette Fenger Ellekrog", + "age": 54, + "title": "Exec. VP & Chief HR Officer", + "yearBorn": 1966, + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Jakob Askou Boss", + "title": "Sr. VP of Corp. Strategy & Stakeholder Relations", + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Anders Svindborg Pedersen", + "title": "Head of Aalborg Office", + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Mr. Declan P. Flanagan", + "age": 45, + "title": "Exec. VP & CEO Onshore", + "yearBorn": 1975, + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + } + ], + "auditRisk": 1, + "boardRisk": 1, + "compensationRisk": 1, + "shareHolderRightsRisk": 1, + "overallRisk": 1, + "governanceEpochDate": 1622332800, + "compensationAsOfEpochDate": 1609372800, + "maxAge": 86400 + }, + "recommendationTrend": { + "trend": [ + { + "period": "0m", + "strongBuy": 0, + "buy": 0, + "hold": 0, + "sell": 0, + "strongSell": 0 + }, + { + "period": "-1m", + "strongBuy": 2, + "buy": 5, + "hold": 5, + "sell": 5, + "strongSell": 1 + }, + { + "period": "-2m", + "strongBuy": 2, + "buy": 4, + "hold": 5, + "sell": 4, + "strongSell": 1 + }, + { + "period": "-3m", + "strongBuy": 1, + "buy": 4, + "hold": 5, + "sell": 4, + "strongSell": 1 + } + ], + "maxAge": 86400 + }, + "cashflowStatementHistory": { + "cashflowStatements": [ + { + "maxAge": 1, + "endDate": { + "raw": 1609372800, + "fmt": "2020-12-31" + }, + "netIncome": { + "raw": 15598000000, + "fmt": "15.6B", + "longFmt": "15,598,000,000" + }, + "depreciation": { + "raw": 7588000000, + "fmt": "7.59B", + "longFmt": "7,588,000,000" + }, + "changeToNetincome": { + "raw": -9294000000, + "fmt": "-9.29B", + "longFmt": "-9,294,000,000" + }, + "changeToLiabilities": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "changeToInventory": { + "raw": -1613000000, + "fmt": "-1.61B", + "longFmt": "-1,613,000,000" + }, + "changeToOperatingActivities": { + "raw": 4111000000, + "fmt": "4.11B", + "longFmt": "4,111,000,000" + }, + "totalCashFromOperatingActivities": { + "raw": 16390000000, + "fmt": "16.39B", + "longFmt": "16,390,000,000" + }, + "capitalExpenditures": { + "raw": -26957000000, + "fmt": "-26.96B", + "longFmt": "-26,957,000,000" + }, + "investments": { + "raw": -8675000000, + "fmt": "-8.68B", + "longFmt": "-8,675,000,000" + }, + "otherCashflowsFromInvestingActivities": { + "raw": 1075000000, + "fmt": "1.07B", + "longFmt": "1,075,000,000" + }, + "totalCashflowsFromInvestingActivities": { + "raw": -15520000000, + "fmt": "-15.52B", + "longFmt": "-15,520,000,000" + }, + "dividendsPaid": { + "raw": -4898000000, + "fmt": "-4.9B", + "longFmt": "-4,898,000,000" + }, + "netBorrowings": { + "raw": 467000000, + "fmt": "467M", + "longFmt": "467,000,000" + }, + "otherCashflowsFromFinancingActivities": { + "raw": 2364000000, + "fmt": "2.36B", + "longFmt": "2,364,000,000" + }, + "totalCashFromFinancingActivities": { + "raw": -2125000000, + "fmt": "-2.12B", + "longFmt": "-2,125,000,000" + }, + "effectOfExchangeRate": { + "raw": 6000000, + "fmt": "6M", + "longFmt": "6,000,000" + }, + "changeInCash": { + "raw": -1249000000, + "fmt": "-1.25B", + "longFmt": "-1,249,000,000" + }, + "repurchaseOfStock": { + "raw": -58000000, + "fmt": "-58M", + "longFmt": "-58,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1577750400, + "fmt": "2019-12-31" + }, + "netIncome": { + "raw": 7181000000, + "fmt": "7.18B", + "longFmt": "7,181,000,000" + }, + "depreciation": { + "raw": 6864000000, + "fmt": "6.86B", + "longFmt": "6,864,000,000" + }, + "changeToNetincome": { + "raw": -2747000000, + "fmt": "-2.75B", + "longFmt": "-2,747,000,000" + }, + "changeToLiabilities": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "changeToInventory": { + "raw": 1417000000, + "fmt": "1.42B", + "longFmt": "1,417,000,000" + }, + "changeToOperatingActivities": { + "raw": 153000000, + "fmt": "153M", + "longFmt": "153,000,000" + }, + "totalCashFromOperatingActivities": { + "raw": 12868000000, + "fmt": "12.87B", + "longFmt": "12,868,000,000" + }, + "capitalExpenditures": { + "raw": -22445000000, + "fmt": "-22.45B", + "longFmt": "-22,445,000,000" + }, + "investments": { + "raw": 8856000000, + "fmt": "8.86B", + "longFmt": "8,856,000,000" + }, + "otherCashflowsFromInvestingActivities": { + "raw": 406000000, + "fmt": "406M", + "longFmt": "406,000,000" + }, + "totalCashflowsFromInvestingActivities": { + "raw": -10612000000, + "fmt": "-10.61B", + "longFmt": "-10,612,000,000" + }, + "dividendsPaid": { + "raw": -4652000000, + "fmt": "-4.65B", + "longFmt": "-4,652,000,000" + }, + "netBorrowings": { + "raw": 7467000000, + "fmt": "7.47B", + "longFmt": "7,467,000,000" + }, + "otherCashflowsFromFinancingActivities": { + "raw": -1793000000, + "fmt": "-1.79B", + "longFmt": "-1,793,000,000" + }, + "totalCashFromFinancingActivities": { + "raw": 1334000000, + "fmt": "1.33B", + "longFmt": "1,334,000,000" + }, + "effectOfExchangeRate": { + "raw": 206000000, + "fmt": "206M", + "longFmt": "206,000,000" + }, + "changeInCash": { + "raw": 3796000000, + "fmt": "3.8B", + "longFmt": "3,796,000,000" + }, + "repurchaseOfStock": { + "raw": -4104000000, + "fmt": "-4.1B", + "longFmt": "-4,104,000,000" + }, + "issuanceOfStock": { + "raw": 4416000000, + "fmt": "4.42B", + "longFmt": "4,416,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1546214400, + "fmt": "2018-12-31" + }, + "netIncome": { + "raw": 18251000000, + "fmt": "18.25B", + "longFmt": "18,251,000,000" + }, + "depreciation": { + "raw": 5978000000, + "fmt": "5.98B", + "longFmt": "5,978,000,000" + }, + "changeToNetincome": { + "raw": -13021000000, + "fmt": "-13.02B", + "longFmt": "-13,021,000,000" + }, + "changeToLiabilities": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "changeToInventory": { + "raw": -2326000000, + "fmt": "-2.33B", + "longFmt": "-2,326,000,000" + }, + "changeToOperatingActivities": { + "raw": 1408000000, + "fmt": "1.41B", + "longFmt": "1,408,000,000" + }, + "totalCashFromOperatingActivities": { + "raw": 10290000000, + "fmt": "10.29B", + "longFmt": "10,290,000,000" + }, + "capitalExpenditures": { + "raw": -14655000000, + "fmt": "-14.65B", + "longFmt": "-14,655,000,000" + }, + "investments": { + "raw": -795000000, + "fmt": "-795M", + "longFmt": "-795,000,000" + }, + "otherCashflowsFromInvestingActivities": { + "raw": 286000000, + "fmt": "286M", + "longFmt": "286,000,000" + }, + "totalCashflowsFromInvestingActivities": { + "raw": -764000000, + "fmt": "-764M", + "longFmt": "-764,000,000" + }, + "dividendsPaid": { + "raw": -4326000000, + "fmt": "-4.33B", + "longFmt": "-4,326,000,000" + }, + "netBorrowings": { + "raw": -6429000000, + "fmt": "-6.43B", + "longFmt": "-6,429,000,000" + }, + "otherCashflowsFromFinancingActivities": { + "raw": 109000000, + "fmt": "109M", + "longFmt": "109,000,000" + }, + "totalCashFromFinancingActivities": { + "raw": -10694000000, + "fmt": "-10.69B", + "longFmt": "-10,694,000,000" + }, + "effectOfExchangeRate": { + "raw": -33000000, + "fmt": "-33M", + "longFmt": "-33,000,000" + }, + "changeInCash": { + "raw": -1228000000, + "fmt": "-1.23B", + "longFmt": "-1,228,000,000" + }, + "repurchaseOfStock": { + "raw": -48000000, + "fmt": "-48M", + "longFmt": "-48,000,000" + }, + "issuanceOfStock": { + "raw": 4416000000, + "fmt": "4.42B", + "longFmt": "4,416,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1514678400, + "fmt": "2017-12-31" + }, + "netIncome": { + "raw": 19435000000, + "fmt": "19.43B", + "longFmt": "19,435,000,000" + }, + "depreciation": { + "raw": 5739000000, + "fmt": "5.74B", + "longFmt": "5,739,000,000" + }, + "changeToNetincome": { + "raw": -7025000000, + "fmt": "-7.03B", + "longFmt": "-7,025,000,000" + }, + "changeToLiabilities": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "changeToInventory": { + "raw": -3674000000, + "fmt": "-3.67B", + "longFmt": "-3,674,000,000" + }, + "changeToOperatingActivities": { + "raw": -4230000000, + "fmt": "-4.23B", + "longFmt": "-4,230,000,000" + }, + "totalCashFromOperatingActivities": { + "raw": 10245000000, + "fmt": "10.24B", + "longFmt": "10,245,000,000" + }, + "capitalExpenditures": { + "raw": -17592000000, + "fmt": "-17.59B", + "longFmt": "-17,592,000,000" + }, + "investments": { + "raw": -9308000000, + "fmt": "-9.31B", + "longFmt": "-9,308,000,000" + }, + "otherCashflowsFromInvestingActivities": { + "raw": -189000000, + "fmt": "-189M", + "longFmt": "-189,000,000" + }, + "totalCashflowsFromInvestingActivities": { + "raw": -10251000000, + "fmt": "-10.25B", + "longFmt": "-10,251,000,000" + }, + "dividendsPaid": { + "raw": -3161000000, + "fmt": "-3.16B", + "longFmt": "-3,161,000,000" + }, + "netBorrowings": { + "raw": 1399000000, + "fmt": "1.4B", + "longFmt": "1,399,000,000" + }, + "otherCashflowsFromFinancingActivities": { + "raw": -442000000, + "fmt": "-442M", + "longFmt": "-442,000,000" + }, + "totalCashFromFinancingActivities": { + "raw": 1464000000, + "fmt": "1.46B", + "longFmt": "1,464,000,000" + }, + "effectOfExchangeRate": { + "raw": -55000000, + "fmt": "-55M", + "longFmt": "-55,000,000" + }, + "changeInCash": { + "raw": 1263000000, + "fmt": "1.26B", + "longFmt": "1,263,000,000" + }, + "repurchaseOfStock": { + "raw": -48000000, + "fmt": "-48M", + "longFmt": "-48,000,000" + }, + "issuanceOfStock": { + "raw": 3668000000, + "fmt": "3.67B", + "longFmt": "3,668,000,000" + } + } + ], + "maxAge": 86400 + }, + "indexTrend": { + "maxAge": 1, + "symbol": "SP5", + "peRatio": 17.7459, + "pegRatio": 1.66195, + "estimates": [ + { + "period": "0q", + "growth": 0.553 + }, + { + "period": "+1q", + "growth": 0.372 + }, + { + "period": "0y", + "growth": 0.376 + }, + { + "period": "+1y", + "growth": 0.092 + }, + { + "period": "+5y", + "growth": 0.132158 + }, + { + "period": "-5y" + } + ] + }, + "defaultKeyStatistics": { + "maxAge": 1, + "priceHint": 2, + "enterpriseValue": 403292749824, + "profitMargins": 0.23215, + "floatShares": 188484512, + "sharesOutstanding": 420068000, + "heldPercentInsiders": 0.551, + "heldPercentInstitutions": 0.25669, + "beta": 0.45251, + "category": null, + "bookValue": 223.342, + "priceToBook": 4.1828227, + "fundFamily": null, + "legalType": null, + "lastFiscalYearEnd": 1609372800, + "nextFiscalYearEnd": 1672444800, + "mostRecentQuarter": 1617148800, + "earningsQuarterlyGrowth": -0.705, + "netIncomeToCommon": 10887999488, + "trailingEps": 25.957, + "forwardEps": 16.02, + "lastSplitFactor": null, + "enterpriseToRevenue": 7.929, + "enterpriseToEbitda": 35.029, + "52WeekChange": 0.17636597, + "SandP52WeekChange": 0.34623277, + "lastDividendValue": 11.5, + "lastDividendDate": 1614643200 + }, + "industryTrend": { + "maxAge": 1, + "symbol": null, + "estimates": [] + }, + "quoteType": { + "exchange": "CPH", + "quoteType": "EQUITY", + "symbol": "ORSTED.CO", + "underlyingSymbol": "ORSTED.CO", + "shortName": null, + "longName": "Ørsted A/S", + "firstTradeDateEpochUtc": 1465455600, + "timeZoneFullName": "Europe/Copenhagen", + "timeZoneShortName": "CEST", + "uuid": "67f0c8f0-bb94-337f-8584-7a872b07d495", + "messageBoardId": "finmb_6492833", + "gmtOffSetMilliseconds": 7200000, + "maxAge": 1 + }, + "incomeStatementHistory": { + "incomeStatementHistory": [ + { + "maxAge": 1, + "endDate": { + "raw": 1609372800, + "fmt": "2020-12-31" + }, + "totalRevenue": { + "raw": 50151000000, + "fmt": "50.15B", + "longFmt": "50,151,000,000" + }, + "costOfRevenue": { + "raw": 25784000000, + "fmt": "25.78B", + "longFmt": "25,784,000,000" + }, + "grossProfit": { + "raw": 24367000000, + "fmt": "24.37B", + "longFmt": "24,367,000,000" + }, + "researchDevelopment": {}, + "sellingGeneralAdministrative": { + "raw": 10057000000, + "fmt": "10.06B", + "longFmt": "10,057,000,000" + }, + "nonRecurring": {}, + "otherOperatingExpenses": { + "raw": -1412000000, + "fmt": "-1.41B", + "longFmt": "-1,412,000,000" + }, + "totalOperatingExpenses": { + "raw": 42017000000, + "fmt": "42.02B", + "longFmt": "42,017,000,000" + }, + "operatingIncome": { + "raw": 8134000000, + "fmt": "8.13B", + "longFmt": "8,134,000,000" + }, + "totalOtherIncomeExpenseNet": { + "raw": 9190000000, + "fmt": "9.19B", + "longFmt": "9,190,000,000" + }, + "ebit": { + "raw": 8134000000, + "fmt": "8.13B", + "longFmt": "8,134,000,000" + }, + "interestExpense": { + "raw": -2106000000, + "fmt": "-2.11B", + "longFmt": "-2,106,000,000" + }, + "incomeBeforeTax": { + "raw": 17324000000, + "fmt": "17.32B", + "longFmt": "17,324,000,000" + }, + "incomeTaxExpense": { + "raw": 1776000000, + "fmt": "1.78B", + "longFmt": "1,776,000,000" + }, + "minorityInterest": { + "raw": 2721000000, + "fmt": "2.72B", + "longFmt": "2,721,000,000" + }, + "netIncomeFromContinuingOps": { + "raw": 15548000000, + "fmt": "15.55B", + "longFmt": "15,548,000,000" + }, + "discontinuedOperations": { + "raw": -11000000, + "fmt": "-11M", + "longFmt": "-11,000,000" + }, + "extraordinaryItems": {}, + "effectOfAccountingCharges": {}, + "otherItems": {}, + "netIncome": { + "raw": 15598000000, + "fmt": "15.6B", + "longFmt": "15,598,000,000" + }, + "netIncomeApplicableToCommonShares": { + "raw": 15110000000, + "fmt": "15.11B", + "longFmt": "15,110,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1577750400, + "fmt": "2019-12-31" + }, + "totalRevenue": { + "raw": 70398000000, + "fmt": "70.4B", + "longFmt": "70,398,000,000" + }, + "costOfRevenue": { + "raw": 42836000000, + "fmt": "42.84B", + "longFmt": "42,836,000,000" + }, + "grossProfit": { + "raw": 27562000000, + "fmt": "27.56B", + "longFmt": "27,562,000,000" + }, + "researchDevelopment": {}, + "sellingGeneralAdministrative": { + "raw": 10043000000, + "fmt": "10.04B", + "longFmt": "10,043,000,000" + }, + "nonRecurring": {}, + "otherOperatingExpenses": { + "raw": -1622000000, + "fmt": "-1.62B", + "longFmt": "-1,622,000,000" + }, + "totalOperatingExpenses": { + "raw": 58121000000, + "fmt": "58.12B", + "longFmt": "58,121,000,000" + }, + "operatingIncome": { + "raw": 12277000000, + "fmt": "12.28B", + "longFmt": "12,277,000,000" + }, + "totalOtherIncomeExpenseNet": { + "raw": -1885000000, + "fmt": "-1.89B", + "longFmt": "-1,885,000,000" + }, + "ebit": { + "raw": 12277000000, + "fmt": "12.28B", + "longFmt": "12,277,000,000" + }, + "interestExpense": { + "raw": -2063000000, + "fmt": "-2.06B", + "longFmt": "-2,063,000,000" + }, + "incomeBeforeTax": { + "raw": 10392000000, + "fmt": "10.39B", + "longFmt": "10,392,000,000" + }, + "incomeTaxExpense": { + "raw": 3101000000, + "fmt": "3.1B", + "longFmt": "3,101,000,000" + }, + "minorityInterest": { + "raw": 3248000000, + "fmt": "3.25B", + "longFmt": "3,248,000,000" + }, + "netIncomeFromContinuingOps": { + "raw": 7291000000, + "fmt": "7.29B", + "longFmt": "7,291,000,000" + }, + "discontinuedOperations": { + "raw": -56000000, + "fmt": "-56M", + "longFmt": "-56,000,000" + }, + "extraordinaryItems": {}, + "effectOfAccountingCharges": {}, + "otherItems": {}, + "netIncome": { + "raw": 7181000000, + "fmt": "7.18B", + "longFmt": "7,181,000,000" + }, + "netIncomeApplicableToCommonShares": { + "raw": 6506000000, + "fmt": "6.51B", + "longFmt": "6,506,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1546214400, + "fmt": "2018-12-31" + }, + "totalRevenue": { + "raw": 75520000000, + "fmt": "75.52B", + "longFmt": "75,520,000,000" + }, + "costOfRevenue": { + "raw": 54018000000, + "fmt": "54.02B", + "longFmt": "54,018,000,000" + }, + "grossProfit": { + "raw": 21502000000, + "fmt": "21.5B", + "longFmt": "21,502,000,000" + }, + "researchDevelopment": {}, + "sellingGeneralAdministrative": { + "raw": 8991000000, + "fmt": "8.99B", + "longFmt": "8,991,000,000" + }, + "nonRecurring": {}, + "otherOperatingExpenses": { + "raw": -991000000, + "fmt": "-991M", + "longFmt": "-991,000,000" + }, + "totalOperatingExpenses": { + "raw": 67996000000, + "fmt": "68B", + "longFmt": "67,996,000,000" + }, + "operatingIncome": { + "raw": 7524000000, + "fmt": "7.52B", + "longFmt": "7,524,000,000" + }, + "totalOtherIncomeExpenseNet": { + "raw": 14442000000, + "fmt": "14.44B", + "longFmt": "14,442,000,000" + }, + "ebit": { + "raw": 7524000000, + "fmt": "7.52B", + "longFmt": "7,524,000,000" + }, + "interestExpense": { + "raw": -1484000000, + "fmt": "-1.48B", + "longFmt": "-1,484,000,000" + }, + "incomeBeforeTax": { + "raw": 21966000000, + "fmt": "21.97B", + "longFmt": "21,966,000,000" + }, + "incomeTaxExpense": { + "raw": 3700000000, + "fmt": "3.7B", + "longFmt": "3,700,000,000" + }, + "minorityInterest": { + "raw": 3388000000, + "fmt": "3.39B", + "longFmt": "3,388,000,000" + }, + "netIncomeFromContinuingOps": { + "raw": 18266000000, + "fmt": "18.27B", + "longFmt": "18,266,000,000" + }, + "discontinuedOperations": { + "raw": 10000000, + "fmt": "10M", + "longFmt": "10,000,000" + }, + "extraordinaryItems": {}, + "effectOfAccountingCharges": {}, + "otherItems": {}, + "netIncome": { + "raw": 18251000000, + "fmt": "18.25B", + "longFmt": "18,251,000,000" + }, + "netIncomeApplicableToCommonShares": { + "raw": 17826000000, + "fmt": "17.83B", + "longFmt": "17,826,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1514678400, + "fmt": "2017-12-31" + }, + "totalRevenue": { + "raw": 59709000000, + "fmt": "59.71B", + "longFmt": "59,709,000,000" + }, + "costOfRevenue": { + "raw": 40694000000, + "fmt": "40.69B", + "longFmt": "40,694,000,000" + }, + "grossProfit": { + "raw": 19015000000, + "fmt": "19.02B", + "longFmt": "19,015,000,000" + }, + "researchDevelopment": {}, + "sellingGeneralAdministrative": { + "raw": 7438000000, + "fmt": "7.44B", + "longFmt": "7,438,000,000" + }, + "nonRecurring": {}, + "otherOperatingExpenses": { + "raw": -281000000, + "fmt": "-281M", + "longFmt": "-281,000,000" + }, + "totalOperatingExpenses": { + "raw": 53590000000, + "fmt": "53.59B", + "longFmt": "53,590,000,000" + }, + "operatingIncome": { + "raw": 6119000000, + "fmt": "6.12B", + "longFmt": "6,119,000,000" + }, + "totalOtherIncomeExpenseNet": { + "raw": 8980000000, + "fmt": "8.98B", + "longFmt": "8,980,000,000" + }, + "ebit": { + "raw": 6119000000, + "fmt": "6.12B", + "longFmt": "6,119,000,000" + }, + "interestExpense": { + "raw": -1219000000, + "fmt": "-1.22B", + "longFmt": "-1,219,000,000" + }, + "incomeBeforeTax": { + "raw": 15099000000, + "fmt": "15.1B", + "longFmt": "15,099,000,000" + }, + "incomeTaxExpense": { + "raw": 1778000000, + "fmt": "1.78B", + "longFmt": "1,778,000,000" + }, + "minorityInterest": { + "raw": 3807000000, + "fmt": "3.81B", + "longFmt": "3,807,000,000" + }, + "netIncomeFromContinuingOps": { + "raw": 13321000000, + "fmt": "13.32B", + "longFmt": "13,321,000,000" + }, + "discontinuedOperations": { + "raw": 6104000000, + "fmt": "6.1B", + "longFmt": "6,104,000,000" + }, + "extraordinaryItems": {}, + "effectOfAccountingCharges": {}, + "otherItems": {}, + "netIncome": { + "raw": 19435000000, + "fmt": "19.43B", + "longFmt": "19,435,000,000" + }, + "netIncomeApplicableToCommonShares": { + "raw": 18719000000, + "fmt": "18.72B", + "longFmt": "18,719,000,000" + } + } + ], + "maxAge": 86400 + }, + "fundOwnership": { + "maxAge": 1, + "ownershipList": [] + }, + "summaryDetail": { + "maxAge": 1, + "priceHint": 2, + "previousClose": 925.8, + "open": 925.8, + "dayLow": 924.8, + "dayHigh": 936.4, + "regularMarketPreviousClose": 925.8, + "regularMarketOpen": 925.8, + "regularMarketDayLow": 924.8, + "regularMarketDayHigh": 936.4, + "dividendRate": 11.5, + "dividendYield": 0.0123000005, + "exDividendDate": 1614643200, + "payoutRatio": 0.444, + "beta": 0.45251, + "trailingPE": 35.99029, + "forwardPE": 58.314606, + "volume": 18106, + "regularMarketVolume": 18106, + "averageVolume": 703158, + "averageVolume10days": 492580, + "averageDailyVolume10Day": 492580, + "bid": 934.2, + "ask": 935.8, + "bidSize": 0, + "askSize": 0, + "marketCap": 392427536384, + "fiftyTwoWeekLow": 727.2, + "fiftyTwoWeekHigh": 1400.5, + "priceToSalesTrailing12Months": 7.715383, + "fiftyDayAverage": 920.8914, + "twoHundredDayAverage": 1050.5908, + "trailingAnnualDividendRate": 11.5, + "trailingAnnualDividendYield": 0.01242169, + "currency": "DKK", + "fromCurrency": null, + "toCurrency": null, + "lastMarket": null, + "algorithm": null, + "tradeable": false + }, + "insiderHolders": { + "holders": [], + "maxAge": 1 + }, + "calendarEvents": { + "maxAge": 1, + "earnings": { + "earningsDate": [ + 1628726400 + ], + "revenueAverage": 18829000000, + "revenueLow": 13677000000, + "revenueHigh": 25902000000 + }, + "exDividendDate": 1614643200 + }, + "price": { + "maxAge": 1, + "regularMarketChangePercent": 0.00907326, + "regularMarketChange": 8.400024, + "regularMarketTime": 1622617392, + "priceHint": 2, + "regularMarketPrice": 934.2, + "regularMarketDayHigh": 936.4, + "regularMarketDayLow": 924.8, + "regularMarketVolume": 18106, + "averageDailyVolume10Day": 492580, + "averageDailyVolume3Month": 703158, + "regularMarketPreviousClose": 925.8, + "regularMarketSource": "FREE_REALTIME", + "regularMarketOpen": 925.8, + "exchange": "CPH", + "exchangeName": "Copenhagen", + "exchangeDataDelayedBy": 0, + "marketState": "REGULAR", + "quoteType": "EQUITY", + "symbol": "ORSTED.CO", + "underlyingSymbol": null, + "shortName": null, + "longName": "Ørsted A/S", + "currency": "DKK", + "quoteSourceName": "Free Realtime Quote", + "currencySymbol": "kr.", + "fromCurrency": null, + "toCurrency": null, + "lastMarket": null, + "marketCap": 392427536384 + }, + "balanceSheetHistory": { + "balanceSheetStatements": [ + { + "maxAge": 1, + "endDate": { + "raw": 1609372800, + "fmt": "2020-12-31" + }, + "cash": { + "raw": 6178000000, + "fmt": "6.18B", + "longFmt": "6,178,000,000" + }, + "shortTermInvestments": { + "raw": 24424000000, + "fmt": "24.42B", + "longFmt": "24,424,000,000" + }, + "netReceivables": { + "raw": 11334000000, + "fmt": "11.33B", + "longFmt": "11,334,000,000" + }, + "inventory": { + "raw": 14739000000, + "fmt": "14.74B", + "longFmt": "14,739,000,000" + }, + "otherCurrentAssets": { + "raw": 8322000000, + "fmt": "8.32B", + "longFmt": "8,322,000,000" + }, + "totalCurrentAssets": { + "raw": 64997000000, + "fmt": "65B", + "longFmt": "64,997,000,000" + }, + "longTermInvestments": { + "raw": 764000000, + "fmt": "764M", + "longFmt": "764,000,000" + }, + "propertyPlantEquipment": { + "raw": 121610000000, + "fmt": "121.61B", + "longFmt": "121,610,000,000" + }, + "goodWill": { + "raw": 125000000, + "fmt": "125M", + "longFmt": "125,000,000" + }, + "intangibleAssets": { + "raw": 514000000, + "fmt": "514M", + "longFmt": "514,000,000" + }, + "otherAssets": { + "raw": 8709000000, + "fmt": "8.71B", + "longFmt": "8,709,000,000" + }, + "deferredLongTermAssetCharges": { + "raw": 6784000000, + "fmt": "6.78B", + "longFmt": "6,784,000,000" + }, + "totalAssets": { + "raw": 196719000000, + "fmt": "196.72B", + "longFmt": "196,719,000,000" + }, + "accountsPayable": { + "raw": 9742000000, + "fmt": "9.74B", + "longFmt": "9,742,000,000" + }, + "shortLongTermDebt": { + "raw": 2392000000, + "fmt": "2.39B", + "longFmt": "2,392,000,000" + }, + "otherCurrentLiab": { + "raw": 21175000000, + "fmt": "21.18B", + "longFmt": "21,175,000,000" + }, + "longTermDebt": { + "raw": 34374000000, + "fmt": "34.37B", + "longFmt": "34,374,000,000" + }, + "otherLiab": { + "raw": 25466000000, + "fmt": "25.47B", + "longFmt": "25,466,000,000" + }, + "minorityInterest": { + "raw": 2721000000, + "fmt": "2.72B", + "longFmt": "2,721,000,000" + }, + "totalCurrentLiabilities": { + "raw": 35095000000, + "fmt": "35.09B", + "longFmt": "35,095,000,000" + }, + "totalLiab": { + "raw": 99390000000, + "fmt": "99.39B", + "longFmt": "99,390,000,000" + }, + "commonStock": { + "raw": 4204000000, + "fmt": "4.2B", + "longFmt": "4,204,000,000" + }, + "retainedEarnings": { + "raw": 79128000000, + "fmt": "79.13B", + "longFmt": "79,128,000,000" + }, + "treasuryStock": { + "raw": 11276000000, + "fmt": "11.28B", + "longFmt": "11,276,000,000" + }, + "otherStockholderEquity": { + "raw": 11276000000, + "fmt": "11.28B", + "longFmt": "11,276,000,000" + }, + "totalStockholderEquity": { + "raw": 94608000000, + "fmt": "94.61B", + "longFmt": "94,608,000,000" + }, + "netTangibleAssets": { + "raw": 93969000000, + "fmt": "93.97B", + "longFmt": "93,969,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1577750400, + "fmt": "2019-12-31" + }, + "cash": { + "raw": 7148000000, + "fmt": "7.15B", + "longFmt": "7,148,000,000" + }, + "shortTermInvestments": { + "raw": 15795000000, + "fmt": "15.79B", + "longFmt": "15,795,000,000" + }, + "netReceivables": { + "raw": 14478000000, + "fmt": "14.48B", + "longFmt": "14,478,000,000" + }, + "inventory": { + "raw": 14031000000, + "fmt": "14.03B", + "longFmt": "14,031,000,000" + }, + "otherCurrentAssets": { + "raw": 25449000000, + "fmt": "25.45B", + "longFmt": "25,449,000,000" + }, + "totalCurrentAssets": { + "raw": 76901000000, + "fmt": "76.9B", + "longFmt": "76,901,000,000" + }, + "longTermInvestments": { + "raw": 714000000, + "fmt": "714M", + "longFmt": "714,000,000" + }, + "propertyPlantEquipment": { + "raw": 106013000000, + "fmt": "106.01B", + "longFmt": "106,013,000,000" + }, + "goodWill": { + "raw": 125000000, + "fmt": "125M", + "longFmt": "125,000,000" + }, + "intangibleAssets": { + "raw": 547000000, + "fmt": "547M", + "longFmt": "547,000,000" + }, + "otherAssets": { + "raw": 8560000000, + "fmt": "8.56B", + "longFmt": "8,560,000,000" + }, + "deferredLongTermAssetCharges": { + "raw": 6847000000, + "fmt": "6.85B", + "longFmt": "6,847,000,000" + }, + "totalAssets": { + "raw": 192860000000, + "fmt": "192.86B", + "longFmt": "192,860,000,000" + }, + "accountsPayable": { + "raw": 10832000000, + "fmt": "10.83B", + "longFmt": "10,832,000,000" + }, + "shortLongTermDebt": { + "raw": 801000000, + "fmt": "801M", + "longFmt": "801,000,000" + }, + "otherCurrentLiab": { + "raw": 25434000000, + "fmt": "25.43B", + "longFmt": "25,434,000,000" + }, + "longTermDebt": { + "raw": 36039000000, + "fmt": "36.04B", + "longFmt": "36,039,000,000" + }, + "otherLiab": { + "raw": 24228000000, + "fmt": "24.23B", + "longFmt": "24,228,000,000" + }, + "minorityInterest": { + "raw": 3248000000, + "fmt": "3.25B", + "longFmt": "3,248,000,000" + }, + "totalCurrentLiabilities": { + "raw": 38303000000, + "fmt": "38.3B", + "longFmt": "38,303,000,000" + }, + "totalLiab": { + "raw": 103298000000, + "fmt": "103.3B", + "longFmt": "103,298,000,000" + }, + "commonStock": { + "raw": 4204000000, + "fmt": "4.2B", + "longFmt": "4,204,000,000" + }, + "retainedEarnings": { + "raw": 68465000000, + "fmt": "68.47B", + "longFmt": "68,465,000,000" + }, + "treasuryStock": { + "raw": 13645000000, + "fmt": "13.64B", + "longFmt": "13,645,000,000" + }, + "otherStockholderEquity": { + "raw": 13645000000, + "fmt": "13.64B", + "longFmt": "13,645,000,000" + }, + "totalStockholderEquity": { + "raw": 86314000000, + "fmt": "86.31B", + "longFmt": "86,314,000,000" + }, + "netTangibleAssets": { + "raw": 85642000000, + "fmt": "85.64B", + "longFmt": "85,642,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1546214400, + "fmt": "2018-12-31" + }, + "cash": { + "raw": 3515000000, + "fmt": "3.52B", + "longFmt": "3,515,000,000" + }, + "shortTermInvestments": { + "raw": 24769000000, + "fmt": "24.77B", + "longFmt": "24,769,000,000" + }, + "netReceivables": { + "raw": 18107000000, + "fmt": "18.11B", + "longFmt": "18,107,000,000" + }, + "inventory": { + "raw": 13943000000, + "fmt": "13.94B", + "longFmt": "13,943,000,000" + }, + "otherCurrentAssets": { + "raw": 21423000000, + "fmt": "21.42B", + "longFmt": "21,423,000,000" + }, + "totalCurrentAssets": { + "raw": 81757000000, + "fmt": "81.76B", + "longFmt": "81,757,000,000" + }, + "longTermInvestments": { + "raw": 668000000, + "fmt": "668M", + "longFmt": "668,000,000" + }, + "propertyPlantEquipment": { + "raw": 84055000000, + "fmt": "84.06B", + "longFmt": "84,055,000,000" + }, + "goodWill": { + "raw": 125000000, + "fmt": "125M", + "longFmt": "125,000,000" + }, + "intangibleAssets": { + "raw": 652000000, + "fmt": "652M", + "longFmt": "652,000,000" + }, + "otherAssets": { + "raw": 7318000000, + "fmt": "7.32B", + "longFmt": "7,318,000,000" + }, + "deferredLongTermAssetCharges": { + "raw": 4588000000, + "fmt": "4.59B", + "longFmt": "4,588,000,000" + }, + "totalAssets": { + "raw": 174575000000, + "fmt": "174.57B", + "longFmt": "174,575,000,000" + }, + "accountsPayable": { + "raw": 13082000000, + "fmt": "13.08B", + "longFmt": "13,082,000,000" + }, + "shortLongTermDebt": { + "raw": 2201000000, + "fmt": "2.2B", + "longFmt": "2,201,000,000" + }, + "otherCurrentLiab": { + "raw": 24059000000, + "fmt": "24.06B", + "longFmt": "24,059,000,000" + }, + "longTermDebt": { + "raw": 25095000000, + "fmt": "25.09B", + "longFmt": "25,095,000,000" + }, + "otherLiab": { + "raw": 24578000000, + "fmt": "24.58B", + "longFmt": "24,578,000,000" + }, + "minorityInterest": { + "raw": 3388000000, + "fmt": "3.39B", + "longFmt": "3,388,000,000" + }, + "totalCurrentLiabilities": { + "raw": 39787000000, + "fmt": "39.79B", + "longFmt": "39,787,000,000" + }, + "totalLiab": { + "raw": 89460000000, + "fmt": "89.46B", + "longFmt": "89,460,000,000" + }, + "commonStock": { + "raw": 4204000000, + "fmt": "4.2B", + "longFmt": "4,204,000,000" + }, + "retainedEarnings": { + "raw": 66111000000, + "fmt": "66.11B", + "longFmt": "66,111,000,000" + }, + "treasuryStock": { + "raw": 11412000000, + "fmt": "11.41B", + "longFmt": "11,412,000,000" + }, + "otherStockholderEquity": { + "raw": 11412000000, + "fmt": "11.41B", + "longFmt": "11,412,000,000" + }, + "totalStockholderEquity": { + "raw": 81727000000, + "fmt": "81.73B", + "longFmt": "81,727,000,000" + }, + "netTangibleAssets": { + "raw": 80950000000, + "fmt": "80.95B", + "longFmt": "80,950,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1514678400, + "fmt": "2017-12-31" + }, + "cash": { + "raw": 4203000000, + "fmt": "4.2B", + "longFmt": "4,203,000,000" + }, + "shortTermInvestments": { + "raw": 24843000000, + "fmt": "24.84B", + "longFmt": "24,843,000,000" + }, + "netReceivables": { + "raw": 23802000000, + "fmt": "23.8B", + "longFmt": "23,802,000,000" + }, + "inventory": { + "raw": 3853000000, + "fmt": "3.85B", + "longFmt": "3,853,000,000" + }, + "otherCurrentAssets": { + "raw": 7949000000, + "fmt": "7.95B", + "longFmt": "7,949,000,000" + }, + "totalCurrentAssets": { + "raw": 64650000000, + "fmt": "64.65B", + "longFmt": "64,650,000,000" + }, + "longTermInvestments": { + "raw": 469000000, + "fmt": "469M", + "longFmt": "469,000,000" + }, + "propertyPlantEquipment": { + "raw": 75845000000, + "fmt": "75.84B", + "longFmt": "75,845,000,000" + }, + "goodWill": { + "raw": 125000000, + "fmt": "125M", + "longFmt": "125,000,000" + }, + "intangibleAssets": { + "raw": 564000000, + "fmt": "564M", + "longFmt": "564,000,000" + }, + "otherAssets": { + "raw": 4868000000, + "fmt": "4.87B", + "longFmt": "4,868,000,000" + }, + "deferredLongTermAssetCharges": { + "raw": 2865000000, + "fmt": "2.87B", + "longFmt": "2,865,000,000" + }, + "totalAssets": { + "raw": 146521000000, + "fmt": "146.52B", + "longFmt": "146,521,000,000" + }, + "accountsPayable": { + "raw": 11499000000, + "fmt": "11.5B", + "longFmt": "11,499,000,000" + }, + "shortLongTermDebt": { + "raw": 3921000000, + "fmt": "3.92B", + "longFmt": "3,921,000,000" + }, + "otherCurrentLiab": { + "raw": 14867000000, + "fmt": "14.87B", + "longFmt": "14,867,000,000" + }, + "longTermDebt": { + "raw": 25715000000, + "fmt": "25.71B", + "longFmt": "25,715,000,000" + }, + "otherLiab": { + "raw": 18682000000, + "fmt": "18.68B", + "longFmt": "18,682,000,000" + }, + "minorityInterest": { + "raw": 3807000000, + "fmt": "3.81B", + "longFmt": "3,807,000,000" + }, + "totalCurrentLiabilities": { + "raw": 30287000000, + "fmt": "30.29B", + "longFmt": "30,287,000,000" + }, + "totalLiab": { + "raw": 74684000000, + "fmt": "74.68B", + "longFmt": "74,684,000,000" + }, + "commonStock": { + "raw": 4204000000, + "fmt": "4.2B", + "longFmt": "4,204,000,000" + }, + "retainedEarnings": { + "raw": 52111000000, + "fmt": "52.11B", + "longFmt": "52,111,000,000" + }, + "treasuryStock": { + "raw": 11715000000, + "fmt": "11.71B", + "longFmt": "11,715,000,000" + }, + "otherStockholderEquity": { + "raw": 11715000000, + "fmt": "11.71B", + "longFmt": "11,715,000,000" + }, + "totalStockholderEquity": { + "raw": 68030000000, + "fmt": "68.03B", + "longFmt": "68,030,000,000" + }, + "netTangibleAssets": { + "raw": 67341000000, + "fmt": "67.34B", + "longFmt": "67,341,000,000" + } + } + ], + "maxAge": 86400 + }, + "earningsTrend": { + "trend": [ + { + "maxAge": 1, + "period": "0q", + "endDate": "2018-12-31", + "growth": {}, + "earningsEstimate": { + "avg": { + "raw": 0, + "fmt": "0" + }, + "low": { + "raw": 0, + "fmt": "0" + }, + "high": { + "raw": 0, + "fmt": "0" + }, + "yearAgoEps": { + "raw": 21.7, + "fmt": "21.7" + }, + "numberOfAnalysts": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "growth": {} + }, + "revenueEstimate": { + "avg": { + "raw": 18829000000, + "fmt": "18.83B", + "longFmt": "18,829,000,000" + }, + "low": { + "raw": 13677000000, + "fmt": "13.68B", + "longFmt": "13,677,000,000" + }, + "high": { + "raw": 25902000000, + "fmt": "25.9B", + "longFmt": "25,902,000,000" + }, + "numberOfAnalysts": { + "raw": 3, + "fmt": "3", + "longFmt": "3" + }, + "yearAgoRevenue": { + "raw": 15598000000, + "fmt": "15.6B", + "longFmt": "15,598,000,000" + }, + "growth": { + "raw": 0.207, + "fmt": "20.70%" + } + }, + "epsTrend": { + "current": { + "raw": 0, + "fmt": "0" + }, + "7daysAgo": { + "raw": 36.8, + "fmt": "36.8" + }, + "30daysAgo": { + "raw": 36.8, + "fmt": "36.8" + }, + "60daysAgo": { + "raw": 36.8, + "fmt": "36.8" + }, + "90daysAgo": { + "raw": 36.8, + "fmt": "36.8" + } + }, + "epsRevisions": { + "upLast7days": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "upLast30days": { + "raw": 1, + "fmt": "1", + "longFmt": "1" + }, + "downLast30days": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "downLast90days": {} + } + }, + { + "maxAge": 1, + "period": "+1q", + "endDate": "2019-03-31", + "growth": {}, + "earningsEstimate": { + "avg": { + "raw": 0, + "fmt": "0" + }, + "low": { + "raw": 0, + "fmt": "0" + }, + "high": { + "raw": 0, + "fmt": "0" + }, + "yearAgoEps": { + "raw": 7.2, + "fmt": "7.2" + }, + "numberOfAnalysts": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "growth": {} + }, + "revenueEstimate": { + "avg": { + "raw": 22759900000, + "fmt": "22.76B", + "longFmt": "22,759,900,000" + }, + "low": { + "raw": 22759900000, + "fmt": "22.76B", + "longFmt": "22,759,900,000" + }, + "high": { + "raw": 22759900000, + "fmt": "22.76B", + "longFmt": "22,759,900,000" + }, + "numberOfAnalysts": { + "raw": 1, + "fmt": "1", + "longFmt": "1" + }, + "yearAgoRevenue": { + "raw": 19808000000, + "fmt": "19.81B", + "longFmt": "19,808,000,000" + }, + "growth": { + "raw": 0.14899999, + "fmt": "14.90%" + } + }, + "epsTrend": { + "current": { + "raw": 0, + "fmt": "0" + }, + "7daysAgo": { + "raw": 7, + "fmt": "7" + }, + "30daysAgo": { + "raw": 7, + "fmt": "7" + }, + "60daysAgo": { + "raw": 7, + "fmt": "7" + }, + "90daysAgo": { + "raw": 7, + "fmt": "7" + } + }, + "epsRevisions": { + "upLast7days": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "upLast30days": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "downLast30days": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "downLast90days": {} + } + }, + { + "maxAge": 1, + "period": "0y", + "endDate": "2018-12-31", + "growth": {}, + "earningsEstimate": { + "avg": { + "raw": 0, + "fmt": "0" + }, + "low": { + "raw": 0, + "fmt": "0" + }, + "high": { + "raw": 0, + "fmt": "0" + }, + "yearAgoEps": {}, + "numberOfAnalysts": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "growth": {} + }, + "revenueEstimate": { + "avg": { + "raw": 71603900000, + "fmt": "71.6B", + "longFmt": "71,603,900,000" + }, + "low": { + "raw": 56593900000, + "fmt": "56.59B", + "longFmt": "56,593,900,000" + }, + "high": { + "raw": 93009700000, + "fmt": "93.01B", + "longFmt": "93,009,700,000" + }, + "numberOfAnalysts": { + "raw": 14, + "fmt": "14", + "longFmt": "14" + }, + "yearAgoRevenue": { + "raw": 59504000000, + "fmt": "59.5B", + "longFmt": "59,504,000,000" + }, + "growth": { + "raw": 0.203, + "fmt": "20.30%" + } + }, + "epsTrend": { + "current": { + "raw": 0, + "fmt": "0" + }, + "7daysAgo": { + "raw": 42.42, + "fmt": "42.42" + }, + "30daysAgo": { + "raw": 42.42, + "fmt": "42.42" + }, + "60daysAgo": { + "raw": 42.42, + "fmt": "42.42" + }, + "90daysAgo": { + "raw": 42.42, + "fmt": "42.42" + } + }, + "epsRevisions": { + "upLast7days": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "upLast30days": { + "raw": 2, + "fmt": "2", + "longFmt": "2" + }, + "downLast30days": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "downLast90days": {} + } + }, + { + "maxAge": 1, + "period": "+1y", + "endDate": "2019-12-31", + "growth": {}, + "earningsEstimate": { + "avg": { + "raw": 0, + "fmt": "0" + }, + "low": { + "raw": 0, + "fmt": "0" + }, + "high": { + "raw": 0, + "fmt": "0" + }, + "yearAgoEps": {}, + "numberOfAnalysts": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "growth": {} + }, + "revenueEstimate": { + "avg": { + "raw": 70335300000, + "fmt": "70.34B", + "longFmt": "70,335,300,000" + }, + "low": { + "raw": 49664400000, + "fmt": "49.66B", + "longFmt": "49,664,400,000" + }, + "high": { + "raw": 94062000000, + "fmt": "94.06B", + "longFmt": "94,062,000,000" + }, + "numberOfAnalysts": { + "raw": 14, + "fmt": "14", + "longFmt": "14" + }, + "yearAgoRevenue": { + "raw": 71603900000, + "fmt": "71.6B", + "longFmt": "71,603,900,000" + }, + "growth": { + "raw": -0.018, + "fmt": "-1.80%" + } + }, + "epsTrend": { + "current": { + "raw": 0, + "fmt": "0" + }, + "7daysAgo": { + "raw": 16.02, + "fmt": "16.02" + }, + "30daysAgo": { + "raw": 16.02, + "fmt": "16.02" + }, + "60daysAgo": { + "raw": 16.02, + "fmt": "16.02" + }, + "90daysAgo": { + "raw": 16.02, + "fmt": "16.02" + } + }, + "epsRevisions": { + "upLast7days": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "upLast30days": { + "raw": 2, + "fmt": "2", + "longFmt": "2" + }, + "downLast30days": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "downLast90days": {} + } + }, + { + "maxAge": 1, + "period": "+5y", + "endDate": null, + "growth": { + "raw": 0.0874, + "fmt": "8.74%" + }, + "earningsEstimate": { + "avg": {}, + "low": {}, + "high": {}, + "yearAgoEps": {}, + "numberOfAnalysts": {}, + "growth": {} + }, + "revenueEstimate": { + "avg": {}, + "low": {}, + "high": {}, + "numberOfAnalysts": {}, + "yearAgoRevenue": {}, + "growth": {} + }, + "epsTrend": { + "current": {}, + "7daysAgo": {}, + "30daysAgo": {}, + "60daysAgo": {}, + "90daysAgo": {} + }, + "epsRevisions": { + "upLast7days": {}, + "upLast30days": {}, + "downLast30days": {}, + "downLast90days": {} + } + }, + { + "maxAge": 1, + "period": "-5y", + "endDate": null, + "growth": {}, + "earningsEstimate": { + "avg": {}, + "low": {}, + "high": {}, + "yearAgoEps": {}, + "numberOfAnalysts": {}, + "growth": {} + }, + "revenueEstimate": { + "avg": {}, + "low": {}, + "high": {}, + "numberOfAnalysts": {}, + "yearAgoRevenue": {}, + "growth": {} + }, + "epsTrend": { + "current": {}, + "7daysAgo": {}, + "30daysAgo": {}, + "60daysAgo": {}, + "90daysAgo": {} + }, + "epsRevisions": { + "upLast7days": {}, + "upLast30days": {}, + "downLast30days": {}, + "downLast90days": {} + } + } + ], + "maxAge": 1 + }, + "institutionOwnership": { + "maxAge": 1, + "ownershipList": [] + }, + "majorHoldersBreakdown": { + "maxAge": 1, + "insidersPercentHeld": 0.551, + "institutionsPercentHeld": 0.25669, + "institutionsFloatPercentHeld": 0.5717, + "institutionsCount": 579 + }, + "balanceSheetHistoryQuarterly": { + "balanceSheetStatements": [ + { + "maxAge": 1, + "endDate": { + "raw": 1617148800, + "fmt": "2021-03-31" + }, + "cash": { + "raw": 7830000000, + "fmt": "7.83B", + "longFmt": "7,830,000,000" + }, + "shortTermInvestments": { + "raw": 30154000000, + "fmt": "30.15B", + "longFmt": "30,154,000,000" + }, + "netReceivables": { + "raw": 12629000000, + "fmt": "12.63B", + "longFmt": "12,629,000,000" + }, + "inventory": { + "raw": 11579000000, + "fmt": "11.58B", + "longFmt": "11,579,000,000" + }, + "otherCurrentAssets": { + "raw": 7869000000, + "fmt": "7.87B", + "longFmt": "7,869,000,000" + }, + "totalCurrentAssets": { + "raw": 70061000000, + "fmt": "70.06B", + "longFmt": "70,061,000,000" + }, + "longTermInvestments": { + "raw": 823000000, + "fmt": "823M", + "longFmt": "823,000,000" + }, + "propertyPlantEquipment": { + "raw": 130221000000, + "fmt": "130.22B", + "longFmt": "130,221,000,000" + }, + "intangibleAssets": { + "raw": 787000000, + "fmt": "787M", + "longFmt": "787,000,000" + }, + "otherAssets": { + "raw": 9080000000, + "fmt": "9.08B", + "longFmt": "9,080,000,000" + }, + "deferredLongTermAssetCharges": { + "raw": 7031000000, + "fmt": "7.03B", + "longFmt": "7,031,000,000" + }, + "totalAssets": { + "raw": 210972000000, + "fmt": "210.97B", + "longFmt": "210,972,000,000" + }, + "accountsPayable": { + "raw": 10328000000, + "fmt": "10.33B", + "longFmt": "10,328,000,000" + }, + "shortLongTermDebt": { + "raw": 10064000000, + "fmt": "10.06B", + "longFmt": "10,064,000,000" + }, + "otherCurrentLiab": { + "raw": 24900000000, + "fmt": "24.9B", + "longFmt": "24,900,000,000" + }, + "longTermDebt": { + "raw": 35421000000, + "fmt": "35.42B", + "longFmt": "35,421,000,000" + }, + "otherLiab": { + "raw": 27037000000, + "fmt": "27.04B", + "longFmt": "27,037,000,000" + }, + "minorityInterest": { + "raw": 2722000000, + "fmt": "2.72B", + "longFmt": "2,722,000,000" + }, + "totalCurrentLiabilities": { + "raw": 47175000000, + "fmt": "47.17B", + "longFmt": "47,175,000,000" + }, + "totalLiab": { + "raw": 114431000000, + "fmt": "114.43B", + "longFmt": "114,431,000,000" + }, + "commonStock": { + "raw": 4204000000, + "fmt": "4.2B", + "longFmt": "4,204,000,000" + }, + "retainedEarnings": { + "raw": 75487000000, + "fmt": "75.49B", + "longFmt": "75,487,000,000" + }, + "treasuryStock": { + "raw": 14128000000, + "fmt": "14.13B", + "longFmt": "14,128,000,000" + }, + "otherStockholderEquity": { + "raw": 14128000000, + "fmt": "14.13B", + "longFmt": "14,128,000,000" + }, + "totalStockholderEquity": { + "raw": 93819000000, + "fmt": "93.82B", + "longFmt": "93,819,000,000" + }, + "netTangibleAssets": { + "raw": 93032000000, + "fmt": "93.03B", + "longFmt": "93,032,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1609372800, + "fmt": "2020-12-31" + }, + "cash": { + "raw": 6178000000, + "fmt": "6.18B", + "longFmt": "6,178,000,000" + }, + "shortTermInvestments": { + "raw": 24424000000, + "fmt": "24.42B", + "longFmt": "24,424,000,000" + }, + "netReceivables": { + "raw": 11334000000, + "fmt": "11.33B", + "longFmt": "11,334,000,000" + }, + "inventory": { + "raw": 14739000000, + "fmt": "14.74B", + "longFmt": "14,739,000,000" + }, + "otherCurrentAssets": { + "raw": 8322000000, + "fmt": "8.32B", + "longFmt": "8,322,000,000" + }, + "totalCurrentAssets": { + "raw": 64997000000, + "fmt": "65B", + "longFmt": "64,997,000,000" + }, + "longTermInvestments": { + "raw": 764000000, + "fmt": "764M", + "longFmt": "764,000,000" + }, + "propertyPlantEquipment": { + "raw": 121610000000, + "fmt": "121.61B", + "longFmt": "121,610,000,000" + }, + "goodWill": { + "raw": 125000000, + "fmt": "125M", + "longFmt": "125,000,000" + }, + "intangibleAssets": { + "raw": 514000000, + "fmt": "514M", + "longFmt": "514,000,000" + }, + "otherAssets": { + "raw": 8709000000, + "fmt": "8.71B", + "longFmt": "8,709,000,000" + }, + "deferredLongTermAssetCharges": { + "raw": 6784000000, + "fmt": "6.78B", + "longFmt": "6,784,000,000" + }, + "totalAssets": { + "raw": 196719000000, + "fmt": "196.72B", + "longFmt": "196,719,000,000" + }, + "accountsPayable": { + "raw": 9742000000, + "fmt": "9.74B", + "longFmt": "9,742,000,000" + }, + "shortLongTermDebt": { + "raw": 2392000000, + "fmt": "2.39B", + "longFmt": "2,392,000,000" + }, + "otherCurrentLiab": { + "raw": 21175000000, + "fmt": "21.18B", + "longFmt": "21,175,000,000" + }, + "longTermDebt": { + "raw": 34374000000, + "fmt": "34.37B", + "longFmt": "34,374,000,000" + }, + "otherLiab": { + "raw": 25466000000, + "fmt": "25.47B", + "longFmt": "25,466,000,000" + }, + "minorityInterest": { + "raw": 2721000000, + "fmt": "2.72B", + "longFmt": "2,721,000,000" + }, + "totalCurrentLiabilities": { + "raw": 35095000000, + "fmt": "35.09B", + "longFmt": "35,095,000,000" + }, + "totalLiab": { + "raw": 99390000000, + "fmt": "99.39B", + "longFmt": "99,390,000,000" + }, + "commonStock": { + "raw": 4204000000, + "fmt": "4.2B", + "longFmt": "4,204,000,000" + }, + "retainedEarnings": { + "raw": 79128000000, + "fmt": "79.13B", + "longFmt": "79,128,000,000" + }, + "treasuryStock": { + "raw": 11276000000, + "fmt": "11.28B", + "longFmt": "11,276,000,000" + }, + "otherStockholderEquity": { + "raw": 11276000000, + "fmt": "11.28B", + "longFmt": "11,276,000,000" + }, + "totalStockholderEquity": { + "raw": 94608000000, + "fmt": "94.61B", + "longFmt": "94,608,000,000" + }, + "netTangibleAssets": { + "raw": 93969000000, + "fmt": "93.97B", + "longFmt": "93,969,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1601424000, + "fmt": "2020-09-30" + }, + "cash": { + "raw": 5852000000, + "fmt": "5.85B", + "longFmt": "5,852,000,000" + }, + "shortTermInvestments": { + "raw": 27292000000, + "fmt": "27.29B", + "longFmt": "27,292,000,000" + }, + "netReceivables": { + "raw": 11454000000, + "fmt": "11.45B", + "longFmt": "11,454,000,000" + }, + "inventory": { + "raw": 13213000000, + "fmt": "13.21B", + "longFmt": "13,213,000,000" + }, + "otherCurrentAssets": { + "raw": 7616000000, + "fmt": "7.62B", + "longFmt": "7,616,000,000" + }, + "totalCurrentAssets": { + "raw": 65427000000, + "fmt": "65.43B", + "longFmt": "65,427,000,000" + }, + "longTermInvestments": { + "raw": 759000000, + "fmt": "759M", + "longFmt": "759,000,000" + }, + "propertyPlantEquipment": { + "raw": 116057000000, + "fmt": "116.06B", + "longFmt": "116,057,000,000" + }, + "intangibleAssets": { + "raw": 581000000, + "fmt": "581M", + "longFmt": "581,000,000" + }, + "otherAssets": { + "raw": 11743000000, + "fmt": "11.74B", + "longFmt": "11,743,000,000" + }, + "deferredLongTermAssetCharges": { + "raw": 8432000000, + "fmt": "8.43B", + "longFmt": "8,432,000,000" + }, + "totalAssets": { + "raw": 194567000000, + "fmt": "194.57B", + "longFmt": "194,567,000,000" + }, + "accountsPayable": { + "raw": 9803000000, + "fmt": "9.8B", + "longFmt": "9,803,000,000" + }, + "shortLongTermDebt": { + "raw": 2827000000, + "fmt": "2.83B", + "longFmt": "2,827,000,000" + }, + "otherCurrentLiab": { + "raw": 18896000000, + "fmt": "18.9B", + "longFmt": "18,896,000,000" + }, + "longTermDebt": { + "raw": 33053000000, + "fmt": "33.05B", + "longFmt": "33,053,000,000" + }, + "otherLiab": { + "raw": 28157000000, + "fmt": "28.16B", + "longFmt": "28,157,000,000" + }, + "minorityInterest": { + "raw": 2790000000, + "fmt": "2.79B", + "longFmt": "2,790,000,000" + }, + "totalCurrentLiabilities": { + "raw": 32766000000, + "fmt": "32.77B", + "longFmt": "32,766,000,000" + }, + "totalLiab": { + "raw": 98095000000, + "fmt": "98.09B", + "longFmt": "98,095,000,000" + }, + "commonStock": { + "raw": 4204000000, + "fmt": "4.2B", + "longFmt": "4,204,000,000" + }, + "retainedEarnings": { + "raw": 78525000000, + "fmt": "78.53B", + "longFmt": "78,525,000,000" + }, + "treasuryStock": { + "raw": 10953000000, + "fmt": "10.95B", + "longFmt": "10,953,000,000" + }, + "otherStockholderEquity": { + "raw": 10953000000, + "fmt": "10.95B", + "longFmt": "10,953,000,000" + }, + "totalStockholderEquity": { + "raw": 93682000000, + "fmt": "93.68B", + "longFmt": "93,682,000,000" + }, + "netTangibleAssets": { + "raw": 93101000000, + "fmt": "93.1B", + "longFmt": "93,101,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1593475200, + "fmt": "2020-06-30" + }, + "cash": { + "raw": 6754000000, + "fmt": "6.75B", + "longFmt": "6,754,000,000" + }, + "shortTermInvestments": { + "raw": 12327000000, + "fmt": "12.33B", + "longFmt": "12,327,000,000" + }, + "netReceivables": { + "raw": 11409000000, + "fmt": "11.41B", + "longFmt": "11,409,000,000" + }, + "inventory": { + "raw": 11417000000, + "fmt": "11.42B", + "longFmt": "11,417,000,000" + }, + "otherCurrentAssets": { + "raw": 24492000000, + "fmt": "24.49B", + "longFmt": "24,492,000,000" + }, + "totalCurrentAssets": { + "raw": 66399000000, + "fmt": "66.4B", + "longFmt": "66,399,000,000" + }, + "longTermInvestments": { + "raw": 769000000, + "fmt": "769M", + "longFmt": "769,000,000" + }, + "propertyPlantEquipment": { + "raw": 113992000000, + "fmt": "113.99B", + "longFmt": "113,992,000,000" + }, + "intangibleAssets": { + "raw": 504000000, + "fmt": "504M", + "longFmt": "504,000,000" + }, + "otherAssets": { + "raw": 11460000000, + "fmt": "11.46B", + "longFmt": "11,460,000,000" + }, + "deferredLongTermAssetCharges": { + "raw": 8441000000, + "fmt": "8.44B", + "longFmt": "8,441,000,000" + }, + "totalAssets": { + "raw": 193124000000, + "fmt": "193.12B", + "longFmt": "193,124,000,000" + }, + "accountsPayable": { + "raw": 12933000000, + "fmt": "12.93B", + "longFmt": "12,933,000,000" + }, + "shortLongTermDebt": { + "raw": 2052000000, + "fmt": "2.05B", + "longFmt": "2,052,000,000" + }, + "otherCurrentLiab": { + "raw": 25640000000, + "fmt": "25.64B", + "longFmt": "25,640,000,000" + }, + "longTermDebt": { + "raw": 32975000000, + "fmt": "32.98B", + "longFmt": "32,975,000,000" + }, + "otherLiab": { + "raw": 27867000000, + "fmt": "27.87B", + "longFmt": "27,867,000,000" + }, + "minorityInterest": { + "raw": 2909000000, + "fmt": "2.91B", + "longFmt": "2,909,000,000" + }, + "totalCurrentLiabilities": { + "raw": 41908000000, + "fmt": "41.91B", + "longFmt": "41,908,000,000" + }, + "totalLiab": { + "raw": 107194000000, + "fmt": "107.19B", + "longFmt": "107,194,000,000" + }, + "commonStock": { + "raw": 4204000000, + "fmt": "4.2B", + "longFmt": "4,204,000,000" + }, + "retainedEarnings": { + "raw": 67170000000, + "fmt": "67.17B", + "longFmt": "67,170,000,000" + }, + "treasuryStock": { + "raw": 11647000000, + "fmt": "11.65B", + "longFmt": "11,647,000,000" + }, + "otherStockholderEquity": { + "raw": 11647000000, + "fmt": "11.65B", + "longFmt": "11,647,000,000" + }, + "totalStockholderEquity": { + "raw": 83021000000, + "fmt": "83.02B", + "longFmt": "83,021,000,000" + }, + "netTangibleAssets": { + "raw": 82517000000, + "fmt": "82.52B", + "longFmt": "82,517,000,000" + } + } + ], + "maxAge": 86400 + }, + "earningsHistory": { + "history": [ + { + "maxAge": 1, + "epsActual": { + "raw": 21.7, + "fmt": "21.7" + }, + "epsEstimate": { + "raw": 24.1, + "fmt": "24.1" + }, + "epsDifference": { + "raw": -2.4, + "fmt": "-2.4" + }, + "surprisePercent": { + "raw": -0.1, + "fmt": "-10.00%" + }, + "quarter": { + "raw": 1514678400, + "fmt": "2017-12-31" + }, + "period": "-4q" + }, + { + "maxAge": 1, + "epsActual": { + "raw": 7.2, + "fmt": "7.2" + }, + "epsEstimate": { + "raw": 2.64, + "fmt": "2.64" + }, + "epsDifference": { + "raw": 4.56, + "fmt": "4.56" + }, + "surprisePercent": { + "raw": 1.727, + "fmt": "172.70%" + }, + "quarter": { + "raw": 1522454400, + "fmt": "2018-03-31" + }, + "period": "-3q" + }, + { + "maxAge": 1, + "epsActual": { + "raw": -1.1, + "fmt": "-1.1" + }, + "epsEstimate": { + "raw": -0.63, + "fmt": "-0.63" + }, + "epsDifference": { + "raw": -0.47, + "fmt": "-0.47" + }, + "surprisePercent": { + "raw": -0.746, + "fmt": "-74.60%" + }, + "quarter": { + "raw": 1530316800, + "fmt": "2018-06-30" + }, + "period": "-2q" + }, + { + "maxAge": 1, + "epsActual": { + "raw": 1.1, + "fmt": "1.1" + }, + "epsEstimate": { + "raw": 0.24, + "fmt": "0.24" + }, + "epsDifference": { + "raw": 0.86, + "fmt": "0.86" + }, + "surprisePercent": { + "raw": 3.583, + "fmt": "358.30%" + }, + "quarter": { + "raw": 1538265600, + "fmt": "2018-09-30" + }, + "period": "-1q" + } + ], + "maxAge": 86400 + }, + "majorDirectHolders": { + "holders": [], + "maxAge": 1 + }, + "summaryProfile": { + "address1": "Kraftvaerksvej 53", + "address2": "Skaerbaek", + "city": "Fredericia", + "zip": "7000", + "country": "Denmark", + "phone": "45 99 55 11 11", + "fax": "45 99 55 00 11", + "website": "http://www.orsted.com", + "industry": "Utilities—Renewable", + "sector": "Utilities", + "longBusinessSummary": "Ørsted A/S, together with its subsidiaries, develops, constructs, owns, and operates offshore and onshore wind farms, solar farms, energy storage facilities, and bioenergy plants. It operates through Offshore, Onshore, and Markets & Bioenergy segments. The Offshore segment develops, constructs, owns, and operates offshore wind farms in the United Kingdom, Germany, Denmark, the Netherlands, the United States, Taiwan, Japan, and South Korea. The Onshore segment develops, owns, and operates onshore wind and solar farms in the United States. The Markets & Bioenergy segment engages in the generation of heat and power from combined heat and power plants in Denmark; sells power and gas in the wholesale and B2B markets; and optimizes and hedges energy portfolio. The company was formerly known as DONG Energy A/S and changed its name to Ørsted A/S in November 2017. Ørsted A/S was founded in 1972 and is headquartered in Fredericia, Denmark.", + "fullTimeEmployees": 6311, + "companyOfficers": [], + "maxAge": 86400 + }, + "netSharePurchaseActivity": { + "maxAge": 1, + "period": "6m", + "buyInfoCount": 0, + "buyInfoShares": 0, + "sellInfoCount": 0, + "netInfoCount": 0, + "netInfoShares": 0, + "netPercentInsiderShares": 0, + "totalInsiderShares": 231457472 + }, + "sectorTrend": { + "maxAge": 1, + "symbol": null, + "estimates": [] + }, + "incomeStatementHistoryQuarterly": { + "incomeStatementHistory": [ + { + "maxAge": 1, + "endDate": { + "raw": 1617148800, + "fmt": "2021-03-31" + }, + "totalRevenue": { + "raw": 18944000000, + "fmt": "18.94B", + "longFmt": "18,944,000,000" + }, + "costOfRevenue": { + "raw": 12911000000, + "fmt": "12.91B", + "longFmt": "12,911,000,000" + }, + "grossProfit": { + "raw": 6033000000, + "fmt": "6.03B", + "longFmt": "6,033,000,000" + }, + "researchDevelopment": {}, + "sellingGeneralAdministrative": { + "raw": 1970000000, + "fmt": "1.97B", + "longFmt": "1,970,000,000" + }, + "nonRecurring": {}, + "otherOperatingExpenses": { + "raw": -542000000, + "fmt": "-542M", + "longFmt": "-542,000,000" + }, + "totalOperatingExpenses": { + "raw": 16269000000, + "fmt": "16.27B", + "longFmt": "16,269,000,000" + }, + "operatingIncome": { + "raw": 2675000000, + "fmt": "2.67B", + "longFmt": "2,675,000,000" + }, + "totalOtherIncomeExpenseNet": { + "raw": -128000000, + "fmt": "-128M", + "longFmt": "-128,000,000" + }, + "ebit": { + "raw": 2675000000, + "fmt": "2.67B", + "longFmt": "2,675,000,000" + }, + "interestExpense": { + "raw": -420000000, + "fmt": "-420M", + "longFmt": "-420,000,000" + }, + "incomeBeforeTax": { + "raw": 2547000000, + "fmt": "2.55B", + "longFmt": "2,547,000,000" + }, + "incomeTaxExpense": { + "raw": 949000000, + "fmt": "949M", + "longFmt": "949,000,000" + }, + "minorityInterest": { + "raw": 2722000000, + "fmt": "2.72B", + "longFmt": "2,722,000,000" + }, + "netIncomeFromContinuingOps": { + "raw": 1598000000, + "fmt": "1.6B", + "longFmt": "1,598,000,000" + }, + "discontinuedOperations": {}, + "extraordinaryItems": {}, + "effectOfAccountingCharges": {}, + "otherItems": {}, + "netIncome": { + "raw": 1589000000, + "fmt": "1.59B", + "longFmt": "1,589,000,000" + }, + "netIncomeApplicableToCommonShares": { + "raw": 1174000000, + "fmt": "1.17B", + "longFmt": "1,174,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1609372800, + "fmt": "2020-12-31" + }, + "totalRevenue": { + "raw": 13195000000, + "fmt": "13.2B", + "longFmt": "13,195,000,000" + }, + "costOfRevenue": { + "raw": 7484000000, + "fmt": "7.48B", + "longFmt": "7,484,000,000" + }, + "grossProfit": { + "raw": 5711000000, + "fmt": "5.71B", + "longFmt": "5,711,000,000" + }, + "researchDevelopment": {}, + "sellingGeneralAdministrative": { + "raw": 2655000000, + "fmt": "2.65B", + "longFmt": "2,655,000,000" + }, + "nonRecurring": {}, + "otherOperatingExpenses": { + "raw": -456000000, + "fmt": "-456M", + "longFmt": "-456,000,000" + }, + "totalOperatingExpenses": { + "raw": 11595000000, + "fmt": "11.6B", + "longFmt": "11,595,000,000" + }, + "operatingIncome": { + "raw": 1600000000, + "fmt": "1.6B", + "longFmt": "1,600,000,000" + }, + "totalOtherIncomeExpenseNet": { + "raw": -1158000000, + "fmt": "-1.16B", + "longFmt": "-1,158,000,000" + }, + "ebit": { + "raw": 1600000000, + "fmt": "1.6B", + "longFmt": "1,600,000,000" + }, + "interestExpense": { + "raw": -647000000, + "fmt": "-647M", + "longFmt": "-647,000,000" + }, + "incomeBeforeTax": { + "raw": 442000000, + "fmt": "442M", + "longFmt": "442,000,000" + }, + "incomeTaxExpense": { + "raw": -258000000, + "fmt": "-258M", + "longFmt": "-258,000,000" + }, + "minorityInterest": { + "raw": 2721000000, + "fmt": "2.72B", + "longFmt": "2,721,000,000" + }, + "netIncomeFromContinuingOps": { + "raw": 700000000, + "fmt": "700M", + "longFmt": "700,000,000" + }, + "discontinuedOperations": { + "raw": 15000000, + "fmt": "15M", + "longFmt": "15,000,000" + }, + "extraordinaryItems": {}, + "effectOfAccountingCharges": {}, + "otherItems": {}, + "netIncome": { + "raw": 763000000, + "fmt": "763M", + "longFmt": "763,000,000" + }, + "netIncomeApplicableToCommonShares": { + "raw": 601000000, + "fmt": "601M", + "longFmt": "601,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1601424000, + "fmt": "2020-09-30" + }, + "totalRevenue": { + "raw": 8762000000, + "fmt": "8.76B", + "longFmt": "8,762,000,000" + }, + "costOfRevenue": { + "raw": 3764000000, + "fmt": "3.76B", + "longFmt": "3,764,000,000" + }, + "grossProfit": { + "raw": 4998000000, + "fmt": "5B", + "longFmt": "4,998,000,000" + }, + "researchDevelopment": {}, + "sellingGeneralAdministrative": { + "raw": 2820000000, + "fmt": "2.82B", + "longFmt": "2,820,000,000" + }, + "nonRecurring": {}, + "otherOperatingExpenses": { + "raw": -290000000, + "fmt": "-290M", + "longFmt": "-290,000,000" + }, + "totalOperatingExpenses": { + "raw": 8389000000, + "fmt": "8.39B", + "longFmt": "8,389,000,000" + }, + "operatingIncome": { + "raw": 373000000, + "fmt": "373M", + "longFmt": "373,000,000" + }, + "totalOtherIncomeExpenseNet": { + "raw": 10846000000, + "fmt": "10.85B", + "longFmt": "10,846,000,000" + }, + "ebit": { + "raw": 373000000, + "fmt": "373M", + "longFmt": "373,000,000" + }, + "interestExpense": { + "raw": -255000000, + "fmt": "-255M", + "longFmt": "-255,000,000" + }, + "incomeBeforeTax": { + "raw": 11219000000, + "fmt": "11.22B", + "longFmt": "11,219,000,000" + }, + "incomeTaxExpense": { + "raw": -92000000, + "fmt": "-92M", + "longFmt": "-92,000,000" + }, + "minorityInterest": { + "raw": 2790000000, + "fmt": "2.79B", + "longFmt": "2,790,000,000" + }, + "netIncomeFromContinuingOps": { + "raw": 11311000000, + "fmt": "11.31B", + "longFmt": "11,311,000,000" + }, + "discontinuedOperations": { + "raw": 18000000, + "fmt": "18M", + "longFmt": "18,000,000" + }, + "extraordinaryItems": {}, + "effectOfAccountingCharges": {}, + "otherItems": {}, + "netIncome": { + "raw": 11331000000, + "fmt": "11.33B", + "longFmt": "11,331,000,000" + }, + "netIncomeApplicableToCommonShares": { + "raw": 11331000000, + "fmt": "11.33B", + "longFmt": "11,331,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1593475200, + "fmt": "2020-06-30" + }, + "totalRevenue": { + "raw": 9962000000, + "fmt": "9.96B", + "longFmt": "9,962,000,000" + }, + "costOfRevenue": { + "raw": 6517000000, + "fmt": "6.52B", + "longFmt": "6,517,000,000" + }, + "grossProfit": { + "raw": 3445000000, + "fmt": "3.44B", + "longFmt": "3,445,000,000" + }, + "researchDevelopment": {}, + "sellingGeneralAdministrative": { + "raw": 2300000000, + "fmt": "2.3B", + "longFmt": "2,300,000,000" + }, + "nonRecurring": {}, + "otherOperatingExpenses": { + "raw": -369000000, + "fmt": "-369M", + "longFmt": "-369,000,000" + }, + "totalOperatingExpenses": { + "raw": 10275000000, + "fmt": "10.28B", + "longFmt": "10,275,000,000" + }, + "operatingIncome": { + "raw": -313000000, + "fmt": "-313M", + "longFmt": "-313,000,000" + }, + "totalOtherIncomeExpenseNet": { + "raw": -932000000, + "fmt": "-932M", + "longFmt": "-932,000,000" + }, + "ebit": { + "raw": -313000000, + "fmt": "-313M", + "longFmt": "-313,000,000" + }, + "interestExpense": { + "raw": -669000000, + "fmt": "-669M", + "longFmt": "-669,000,000" + }, + "incomeBeforeTax": { + "raw": -1245000000, + "fmt": "-1.25B", + "longFmt": "-1,245,000,000" + }, + "incomeTaxExpense": { + "raw": 625000000, + "fmt": "625M", + "longFmt": "625,000,000" + }, + "minorityInterest": { + "raw": 2909000000, + "fmt": "2.91B", + "longFmt": "2,909,000,000" + }, + "netIncomeFromContinuingOps": { + "raw": -1870000000, + "fmt": "-1.87B", + "longFmt": "-1,870,000,000" + }, + "discontinuedOperations": { + "raw": -16000000, + "fmt": "-16M", + "longFmt": "-16,000,000" + }, + "extraordinaryItems": {}, + "effectOfAccountingCharges": {}, + "otherItems": {}, + "netIncome": { + "raw": -1875000000, + "fmt": "-1.88B", + "longFmt": "-1,875,000,000" + }, + "netIncomeApplicableToCommonShares": { + "raw": -2201000000, + "fmt": "-2.2B", + "longFmt": "-2,201,000,000" + } + } + ], + "maxAge": 86400 + }, + "cashflowStatementHistoryQuarterly": { + "cashflowStatements": [ + { + "maxAge": 1, + "endDate": { + "raw": 1617148800, + "fmt": "2021-03-31" + }, + "netIncome": { + "raw": 1589000000, + "fmt": "1.59B", + "longFmt": "1,589,000,000" + }, + "depreciation": { + "raw": 1930000000, + "fmt": "1.93B", + "longFmt": "1,930,000,000" + }, + "changeToNetincome": { + "raw": -245000000, + "fmt": "-245M", + "longFmt": "-245,000,000" + }, + "changeToLiabilities": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "changeToInventory": { + "raw": 4611000000, + "fmt": "4.61B", + "longFmt": "4,611,000,000" + }, + "changeToOperatingActivities": { + "raw": 202000000, + "fmt": "202M", + "longFmt": "202,000,000" + }, + "totalCashFromOperatingActivities": { + "raw": 8087000000, + "fmt": "8.09B", + "longFmt": "8,087,000,000" + }, + "capitalExpenditures": { + "raw": -6673000000, + "fmt": "-6.67B", + "longFmt": "-6,673,000,000" + }, + "investments": { + "raw": -5061000000, + "fmt": "-5.06B", + "longFmt": "-5,061,000,000" + }, + "otherCashflowsFromInvestingActivities": { + "raw": 23000000, + "fmt": "23M", + "longFmt": "23,000,000" + }, + "totalCashflowsFromInvestingActivities": { + "raw": -11753000000, + "fmt": "-11.75B", + "longFmt": "-11,753,000,000" + }, + "dividendsPaid": { + "raw": -4936000000, + "fmt": "-4.94B", + "longFmt": "-4,936,000,000" + }, + "netBorrowings": { + "raw": 8128000000, + "fmt": "8.13B", + "longFmt": "8,128,000,000" + }, + "otherCashflowsFromFinancingActivities": { + "raw": -1790000000, + "fmt": "-1.79B", + "longFmt": "-1,790,000,000" + }, + "totalCashFromFinancingActivities": { + "raw": 5758000000, + "fmt": "5.76B", + "longFmt": "5,758,000,000" + }, + "effectOfExchangeRate": { + "raw": 176000000, + "fmt": "176M", + "longFmt": "176,000,000" + }, + "changeInCash": { + "raw": 2268000000, + "fmt": "2.27B", + "longFmt": "2,268,000,000" + }, + "repurchaseOfStock": { + "raw": -2971000000, + "fmt": "-2.97B", + "longFmt": "-2,971,000,000" + }, + "issuanceOfStock": { + "raw": 7327000000, + "fmt": "7.33B", + "longFmt": "7,327,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1609372800, + "fmt": "2020-12-31" + }, + "netIncome": { + "raw": 763000000, + "fmt": "763M", + "longFmt": "763,000,000" + }, + "depreciation": { + "raw": 1912000000, + "fmt": "1.91B", + "longFmt": "1,912,000,000" + }, + "changeToNetincome": { + "raw": 2163000000, + "fmt": "2.16B", + "longFmt": "2,163,000,000" + }, + "changeToLiabilities": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "changeToInventory": { + "raw": 486000000, + "fmt": "486M", + "longFmt": "486,000,000" + }, + "changeToOperatingActivities": { + "raw": 430000000, + "fmt": "430M", + "longFmt": "430,000,000" + }, + "totalCashFromOperatingActivities": { + "raw": 5754000000, + "fmt": "5.75B", + "longFmt": "5,754,000,000" + }, + "capitalExpenditures": { + "raw": -8645000000, + "fmt": "-8.64B", + "longFmt": "-8,645,000,000" + }, + "investments": { + "raw": 2315000000, + "fmt": "2.31B", + "longFmt": "2,315,000,000" + }, + "otherCashflowsFromInvestingActivities": { + "raw": 1050000000, + "fmt": "1.05B", + "longFmt": "1,050,000,000" + }, + "totalCashflowsFromInvestingActivities": { + "raw": -6802000000, + "fmt": "-6.8B", + "longFmt": "-6,802,000,000" + }, + "dividendsPaid": { + "raw": -162000000, + "fmt": "-162M", + "longFmt": "-162,000,000" + }, + "netBorrowings": { + "raw": 185000000, + "fmt": "185M", + "longFmt": "185,000,000" + }, + "otherCashflowsFromFinancingActivities": { + "raw": 949000000, + "fmt": "949M", + "longFmt": "949,000,000" + }, + "totalCashFromFinancingActivities": { + "raw": 972000000, + "fmt": "972M", + "longFmt": "972,000,000" + }, + "effectOfExchangeRate": { + "raw": 57000000, + "fmt": "57M", + "longFmt": "57,000,000" + }, + "changeInCash": { + "raw": -103000000, + "fmt": "-103M", + "longFmt": "-103,000,000" + }, + "repurchaseOfStock": { + "raw": -2971000000, + "fmt": "-2.97B", + "longFmt": "-2,971,000,000" + }, + "issuanceOfStock": { + "raw": 7327000000, + "fmt": "7.33B", + "longFmt": "7,327,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1601424000, + "fmt": "2020-09-30" + }, + "netIncome": { + "raw": 11331000000, + "fmt": "11.33B", + "longFmt": "11,331,000,000" + }, + "depreciation": { + "raw": 2095000000, + "fmt": "2.1B", + "longFmt": "2,095,000,000" + }, + "changeToNetincome": { + "raw": -9399000000, + "fmt": "-9.4B", + "longFmt": "-9,399,000,000" + }, + "changeToLiabilities": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "changeToInventory": { + "raw": -84000000, + "fmt": "-84M", + "longFmt": "-84,000,000" + }, + "changeToOperatingActivities": { + "raw": -1032000000, + "fmt": "-1.03B", + "longFmt": "-1,032,000,000" + }, + "totalCashFromOperatingActivities": { + "raw": 2911000000, + "fmt": "2.91B", + "longFmt": "2,911,000,000" + }, + "capitalExpenditures": { + "raw": -9313000000, + "fmt": "-9.31B", + "longFmt": "-9,313,000,000" + }, + "investments": { + "raw": -15049000000, + "fmt": "-15.05B", + "longFmt": "-15,049,000,000" + }, + "otherCashflowsFromInvestingActivities": { + "raw": 25000000, + "fmt": "25M", + "longFmt": "25,000,000" + }, + "totalCashflowsFromInvestingActivities": { + "raw": -3828000000, + "fmt": "-3.83B", + "longFmt": "-3,828,000,000" + }, + "dividendsPaid": { + "raw": -162000000, + "fmt": "-162M", + "longFmt": "-162,000,000" + }, + "netBorrowings": { + "raw": 1157000000, + "fmt": "1.16B", + "longFmt": "1,157,000,000" + }, + "otherCashflowsFromFinancingActivities": { + "raw": -736000000, + "fmt": "-736M", + "longFmt": "-736,000,000" + }, + "totalCashFromFinancingActivities": { + "raw": 421000000, + "fmt": "421M", + "longFmt": "421,000,000" + }, + "effectOfExchangeRate": { + "raw": -74000000, + "fmt": "-74M", + "longFmt": "-74,000,000" + }, + "changeInCash": { + "raw": -566000000, + "fmt": "-566M", + "longFmt": "-566,000,000" + }, + "repurchaseOfStock": { + "raw": -2971000000, + "fmt": "-2.97B", + "longFmt": "-2,971,000,000" + }, + "issuanceOfStock": { + "raw": 7327000000, + "fmt": "7.33B", + "longFmt": "7,327,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1593475200, + "fmt": "2020-06-30" + }, + "netIncome": { + "raw": -1875000000, + "fmt": "-1.88B", + "longFmt": "-1,875,000,000" + }, + "depreciation": { + "raw": 1827000000, + "fmt": "1.83B", + "longFmt": "1,827,000,000" + }, + "changeToNetincome": { + "raw": 2603000000, + "fmt": "2.6B", + "longFmt": "2,603,000,000" + }, + "changeToLiabilities": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "changeToInventory": { + "raw": -177000000, + "fmt": "-177M", + "longFmt": "-177,000,000" + }, + "changeToOperatingActivities": { + "raw": 5921000000, + "fmt": "5.92B", + "longFmt": "5,921,000,000" + }, + "totalCashFromOperatingActivities": { + "raw": 8299000000, + "fmt": "8.3B", + "longFmt": "8,299,000,000" + }, + "capitalExpenditures": { + "raw": -3770000000, + "fmt": "-3.77B", + "longFmt": "-3,770,000,000" + }, + "investments": { + "raw": 796000000, + "fmt": "796M", + "longFmt": "796,000,000" + }, + "otherCashflowsFromInvestingActivities": { + "raw": 25000000, + "fmt": "25M", + "longFmt": "25,000,000" + }, + "totalCashflowsFromInvestingActivities": { + "raw": -2925000000, + "fmt": "-2.92B", + "longFmt": "-2,925,000,000" + }, + "dividendsPaid": { + "raw": -326000000, + "fmt": "-326M", + "longFmt": "-326,000,000" + }, + "netBorrowings": { + "raw": -3830000000, + "fmt": "-3.83B", + "longFmt": "-3,830,000,000" + }, + "otherCashflowsFromFinancingActivities": { + "raw": 520000000, + "fmt": "520M", + "longFmt": "520,000,000" + }, + "totalCashFromFinancingActivities": { + "raw": -3694000000, + "fmt": "-3.69B", + "longFmt": "-3,694,000,000" + }, + "effectOfExchangeRate": { + "raw": -25000000, + "fmt": "-25M", + "longFmt": "-25,000,000" + }, + "changeInCash": { + "raw": 1656000000, + "fmt": "1.66B", + "longFmt": "1,656,000,000" + }, + "repurchaseOfStock": { + "raw": -58000000, + "fmt": "-58M", + "longFmt": "-58,000,000" + }, + "issuanceOfStock": { + "raw": 7327000000, + "fmt": "7.33B", + "longFmt": "7,327,000,000" + } + } + ], + "maxAge": 86400 + }, + "earnings": { + "maxAge": 86400, + "earningsChart": { + "quarterly": [ + { + "date": "4Q2017", + "actual": 21.7, + "estimate": 24.1 + }, + { + "date": "1Q2018", + "actual": 7.2, + "estimate": 2.64 + }, + { + "date": "2Q2018", + "actual": -1.1, + "estimate": -0.63 + }, + { + "date": "3Q2018", + "actual": 1.1, + "estimate": 0.24 + } + ], + "currentQuarterEstimateDate": "4Q", + "currentQuarterEstimateYear": 2018, + "earningsDate": [ + 1628726400 + ] + }, + "financialsChart": { + "yearly": [ + { + "date": 2017, + "revenue": 59709000000, + "earnings": 19435000000 + }, + { + "date": 2018, + "revenue": 75520000000, + "earnings": 18251000000 + }, + { + "date": 2019, + "revenue": 70398000000, + "earnings": 7181000000 + }, + { + "date": 2020, + "revenue": 50151000000, + "earnings": 15598000000 + } + ], + "quarterly": [ + { + "date": "2Q2020", + "revenue": 9962000000, + "earnings": -1875000000 + }, + { + "date": "3Q2020", + "revenue": 8762000000, + "earnings": 11331000000 + }, + { + "date": "4Q2020", + "revenue": 13195000000, + "earnings": 763000000 + }, + { + "date": "1Q2021", + "revenue": 18944000000, + "earnings": 1589000000 + } + ] + }, + "financialCurrency": "DKK" + }, + "financialData": { + "maxAge": 86400, + "currentPrice": 934.2, + "targetHighPrice": 540, + "targetLowPrice": 300, + "targetMeanPrice": 450.21, + "targetMedianPrice": 477.5, + "recommendationKey": "none", + "numberOfAnalystOpinions": 14, + "totalCash": 37984002048, + "totalCashPerShare": 90.423, + "ebitda": 11512999936, + "totalDebt": 50915999744, + "quickRatio": 1.073, + "currentRatio": 1.485, + "totalRevenue": 50863001600, + "debtToEquity": 52.74, + "revenuePerShare": 121.155, + "returnOnAssets": 0.01339, + "returnOnEquity": 0.12652999, + "grossProfits": 24367000000, + "freeCashflow": 5144000000, + "operatingCashflow": 25051000832, + "earningsGrowth": -0.781, + "revenueGrowth": 0.039, + "grossMargins": 0.39688998, + "ebitdaMargins": 0.22635001, + "operatingMargins": 0.08523, + "profitMargins": 0.23215, + "financialCurrency": "DKK" + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-assetProfile-ORSTED.CO.json b/tests/http/quoteSummary-assetProfile-ORSTED.CO.json new file mode 100644 index 00000000..c30135e4 --- /dev/null +++ b/tests/http/quoteSummary-assetProfile-ORSTED.CO.json @@ -0,0 +1,283 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/ORSTED.CO?formatted=false&modules=assetProfile" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "b99his1gbeb8t" + ], + "x-yahoo-request-id": [ + "b99his1gbeb8t" + ], + "x-request-id": [ + "c41f3f5b-617f-4bd0-b011-f8716ff19e89" + ], + "content-encoding": [ + "gzip" + ], + "content-length": [ + "1326" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 02 Jun 2021 07:02:53 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "0" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteSummary": { + "result": [ + { + "assetProfile": { + "address1": "Kraftvaerksvej 53", + "address2": "Skaerbaek", + "city": "Fredericia", + "zip": "7000", + "country": "Denmark", + "phone": "45 99 55 11 11", + "fax": "45 99 55 00 11", + "website": "http://www.orsted.com", + "industry": "Utilities—Renewable", + "sector": "Utilities", + "longBusinessSummary": "Ørsted A/S, together with its subsidiaries, develops, constructs, owns, and operates offshore and onshore wind farms, solar farms, energy storage facilities, and bioenergy plants. It operates through Offshore, Onshore, and Markets & Bioenergy segments. The Offshore segment develops, constructs, owns, and operates offshore wind farms in the United Kingdom, Germany, Denmark, the Netherlands, the United States, Taiwan, Japan, and South Korea. The Onshore segment develops, owns, and operates onshore wind and solar farms in the United States. The Markets & Bioenergy segment engages in the generation of heat and power from combined heat and power plants in Denmark; sells power and gas in the wholesale and B2B markets; and optimizes and hedges energy portfolio. The company was formerly known as DONG Energy A/S and changed its name to Ørsted A/S in November 2017. Ørsted A/S was founded in 1972 and is headquartered in Fredericia, Denmark.", + "fullTimeEmployees": 6311, + "companyOfficers": [ + { + "maxAge": 1, + "name": "Ms. Marianne Wiinholt", + "age": 55, + "title": "CFO & Member of Management Board", + "yearBorn": 1965, + "fiscalYear": 2020, + "totalPay": { + "raw": 8165000, + "fmt": "8.16M", + "longFmt": "8,165,000" + }, + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Mr. Daniel Tas Sandermann", + "age": 36, + "title": "Head of Commercial & Strategy Execution, Markets & Bioenergy and Employee Representative Director", + "yearBorn": 1984, + "fiscalYear": 2020, + "totalPay": { + "raw": 109000, + "fmt": "109k", + "longFmt": "109,000" + }, + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Mr. Mads Nipper", + "age": 54, + "title": "CEO, Group Pres & Member of Exec. Board", + "yearBorn": 1966, + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Mr. Martin Neubert", + "age": 47, + "title": "Deputy Group CEO, Chief Commercial Officer & Member of Exec. Board", + "yearBorn": 1973, + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Mr. Allan Boedskov Andersen", + "age": 48, + "title": "Head of Investor Relations and Head of Group Treasury & Risk Management", + "yearBorn": 1972, + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Mr. Martin Barlebo", + "age": 49, + "title": "Head of Communications", + "yearBorn": 1971, + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Ms. Henriette Fenger Ellekrog", + "age": 54, + "title": "Exec. VP & Chief HR Officer", + "yearBorn": 1966, + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Jakob Askou Boss", + "title": "Sr. VP of Corp. Strategy & Stakeholder Relations", + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Anders Svindborg Pedersen", + "title": "Head of Aalborg Office", + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Mr. Declan P. Flanagan", + "age": 45, + "title": "Exec. VP & CEO Onshore", + "yearBorn": 1975, + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + } + ], + "auditRisk": 1, + "boardRisk": 1, + "compensationRisk": 1, + "shareHolderRightsRisk": 1, + "overallRisk": 1, + "governanceEpochDate": 1622332800, + "compensationAsOfEpochDate": 1609372800, + "maxAge": 86400 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-balanceSheetHistory-ORSTED.CO.json b/tests/http/quoteSummary-balanceSheetHistory-ORSTED.CO.json new file mode 100644 index 00000000..74ae7ef2 --- /dev/null +++ b/tests/http/quoteSummary-balanceSheetHistory-ORSTED.CO.json @@ -0,0 +1,654 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/ORSTED.CO?formatted=false&modules=balanceSheetHistory" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "1860imdgbeb8u" + ], + "x-yahoo-request-id": [ + "1860imdgbeb8u" + ], + "x-request-id": [ + "7c05ac38-0c10-4fe7-ab29-b7b35b86a53f" + ], + "content-encoding": [ + "gzip" + ], + "x-envoy-upstream-service-time": [ + "4" + ], + "date": [ + "Wed, 02 Jun 2021 07:02:54 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "0" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "transfer-encoding": [ + "chunked" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteSummary": { + "result": [ + { + "balanceSheetHistory": { + "balanceSheetStatements": [ + { + "maxAge": 1, + "endDate": { + "raw": 1609372800, + "fmt": "2020-12-31" + }, + "cash": { + "raw": 6178000000, + "fmt": "6.18B", + "longFmt": "6,178,000,000" + }, + "shortTermInvestments": { + "raw": 24424000000, + "fmt": "24.42B", + "longFmt": "24,424,000,000" + }, + "netReceivables": { + "raw": 11334000000, + "fmt": "11.33B", + "longFmt": "11,334,000,000" + }, + "inventory": { + "raw": 14739000000, + "fmt": "14.74B", + "longFmt": "14,739,000,000" + }, + "otherCurrentAssets": { + "raw": 8322000000, + "fmt": "8.32B", + "longFmt": "8,322,000,000" + }, + "totalCurrentAssets": { + "raw": 64997000000, + "fmt": "65B", + "longFmt": "64,997,000,000" + }, + "longTermInvestments": { + "raw": 764000000, + "fmt": "764M", + "longFmt": "764,000,000" + }, + "propertyPlantEquipment": { + "raw": 121610000000, + "fmt": "121.61B", + "longFmt": "121,610,000,000" + }, + "goodWill": { + "raw": 125000000, + "fmt": "125M", + "longFmt": "125,000,000" + }, + "intangibleAssets": { + "raw": 514000000, + "fmt": "514M", + "longFmt": "514,000,000" + }, + "otherAssets": { + "raw": 8709000000, + "fmt": "8.71B", + "longFmt": "8,709,000,000" + }, + "deferredLongTermAssetCharges": { + "raw": 6784000000, + "fmt": "6.78B", + "longFmt": "6,784,000,000" + }, + "totalAssets": { + "raw": 196719000000, + "fmt": "196.72B", + "longFmt": "196,719,000,000" + }, + "accountsPayable": { + "raw": 9742000000, + "fmt": "9.74B", + "longFmt": "9,742,000,000" + }, + "shortLongTermDebt": { + "raw": 2392000000, + "fmt": "2.39B", + "longFmt": "2,392,000,000" + }, + "otherCurrentLiab": { + "raw": 21175000000, + "fmt": "21.18B", + "longFmt": "21,175,000,000" + }, + "longTermDebt": { + "raw": 34374000000, + "fmt": "34.37B", + "longFmt": "34,374,000,000" + }, + "otherLiab": { + "raw": 25466000000, + "fmt": "25.47B", + "longFmt": "25,466,000,000" + }, + "minorityInterest": { + "raw": 2721000000, + "fmt": "2.72B", + "longFmt": "2,721,000,000" + }, + "totalCurrentLiabilities": { + "raw": 35095000000, + "fmt": "35.09B", + "longFmt": "35,095,000,000" + }, + "totalLiab": { + "raw": 99390000000, + "fmt": "99.39B", + "longFmt": "99,390,000,000" + }, + "commonStock": { + "raw": 4204000000, + "fmt": "4.2B", + "longFmt": "4,204,000,000" + }, + "retainedEarnings": { + "raw": 79128000000, + "fmt": "79.13B", + "longFmt": "79,128,000,000" + }, + "treasuryStock": { + "raw": 11276000000, + "fmt": "11.28B", + "longFmt": "11,276,000,000" + }, + "otherStockholderEquity": { + "raw": 11276000000, + "fmt": "11.28B", + "longFmt": "11,276,000,000" + }, + "totalStockholderEquity": { + "raw": 94608000000, + "fmt": "94.61B", + "longFmt": "94,608,000,000" + }, + "netTangibleAssets": { + "raw": 93969000000, + "fmt": "93.97B", + "longFmt": "93,969,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1577750400, + "fmt": "2019-12-31" + }, + "cash": { + "raw": 7148000000, + "fmt": "7.15B", + "longFmt": "7,148,000,000" + }, + "shortTermInvestments": { + "raw": 15795000000, + "fmt": "15.79B", + "longFmt": "15,795,000,000" + }, + "netReceivables": { + "raw": 14478000000, + "fmt": "14.48B", + "longFmt": "14,478,000,000" + }, + "inventory": { + "raw": 14031000000, + "fmt": "14.03B", + "longFmt": "14,031,000,000" + }, + "otherCurrentAssets": { + "raw": 25449000000, + "fmt": "25.45B", + "longFmt": "25,449,000,000" + }, + "totalCurrentAssets": { + "raw": 76901000000, + "fmt": "76.9B", + "longFmt": "76,901,000,000" + }, + "longTermInvestments": { + "raw": 714000000, + "fmt": "714M", + "longFmt": "714,000,000" + }, + "propertyPlantEquipment": { + "raw": 106013000000, + "fmt": "106.01B", + "longFmt": "106,013,000,000" + }, + "goodWill": { + "raw": 125000000, + "fmt": "125M", + "longFmt": "125,000,000" + }, + "intangibleAssets": { + "raw": 547000000, + "fmt": "547M", + "longFmt": "547,000,000" + }, + "otherAssets": { + "raw": 8560000000, + "fmt": "8.56B", + "longFmt": "8,560,000,000" + }, + "deferredLongTermAssetCharges": { + "raw": 6847000000, + "fmt": "6.85B", + "longFmt": "6,847,000,000" + }, + "totalAssets": { + "raw": 192860000000, + "fmt": "192.86B", + "longFmt": "192,860,000,000" + }, + "accountsPayable": { + "raw": 10832000000, + "fmt": "10.83B", + "longFmt": "10,832,000,000" + }, + "shortLongTermDebt": { + "raw": 801000000, + "fmt": "801M", + "longFmt": "801,000,000" + }, + "otherCurrentLiab": { + "raw": 25434000000, + "fmt": "25.43B", + "longFmt": "25,434,000,000" + }, + "longTermDebt": { + "raw": 36039000000, + "fmt": "36.04B", + "longFmt": "36,039,000,000" + }, + "otherLiab": { + "raw": 24228000000, + "fmt": "24.23B", + "longFmt": "24,228,000,000" + }, + "minorityInterest": { + "raw": 3248000000, + "fmt": "3.25B", + "longFmt": "3,248,000,000" + }, + "totalCurrentLiabilities": { + "raw": 38303000000, + "fmt": "38.3B", + "longFmt": "38,303,000,000" + }, + "totalLiab": { + "raw": 103298000000, + "fmt": "103.3B", + "longFmt": "103,298,000,000" + }, + "commonStock": { + "raw": 4204000000, + "fmt": "4.2B", + "longFmt": "4,204,000,000" + }, + "retainedEarnings": { + "raw": 68465000000, + "fmt": "68.47B", + "longFmt": "68,465,000,000" + }, + "treasuryStock": { + "raw": 13645000000, + "fmt": "13.64B", + "longFmt": "13,645,000,000" + }, + "otherStockholderEquity": { + "raw": 13645000000, + "fmt": "13.64B", + "longFmt": "13,645,000,000" + }, + "totalStockholderEquity": { + "raw": 86314000000, + "fmt": "86.31B", + "longFmt": "86,314,000,000" + }, + "netTangibleAssets": { + "raw": 85642000000, + "fmt": "85.64B", + "longFmt": "85,642,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1546214400, + "fmt": "2018-12-31" + }, + "cash": { + "raw": 3515000000, + "fmt": "3.52B", + "longFmt": "3,515,000,000" + }, + "shortTermInvestments": { + "raw": 24769000000, + "fmt": "24.77B", + "longFmt": "24,769,000,000" + }, + "netReceivables": { + "raw": 18107000000, + "fmt": "18.11B", + "longFmt": "18,107,000,000" + }, + "inventory": { + "raw": 13943000000, + "fmt": "13.94B", + "longFmt": "13,943,000,000" + }, + "otherCurrentAssets": { + "raw": 21423000000, + "fmt": "21.42B", + "longFmt": "21,423,000,000" + }, + "totalCurrentAssets": { + "raw": 81757000000, + "fmt": "81.76B", + "longFmt": "81,757,000,000" + }, + "longTermInvestments": { + "raw": 668000000, + "fmt": "668M", + "longFmt": "668,000,000" + }, + "propertyPlantEquipment": { + "raw": 84055000000, + "fmt": "84.06B", + "longFmt": "84,055,000,000" + }, + "goodWill": { + "raw": 125000000, + "fmt": "125M", + "longFmt": "125,000,000" + }, + "intangibleAssets": { + "raw": 652000000, + "fmt": "652M", + "longFmt": "652,000,000" + }, + "otherAssets": { + "raw": 7318000000, + "fmt": "7.32B", + "longFmt": "7,318,000,000" + }, + "deferredLongTermAssetCharges": { + "raw": 4588000000, + "fmt": "4.59B", + "longFmt": "4,588,000,000" + }, + "totalAssets": { + "raw": 174575000000, + "fmt": "174.57B", + "longFmt": "174,575,000,000" + }, + "accountsPayable": { + "raw": 13082000000, + "fmt": "13.08B", + "longFmt": "13,082,000,000" + }, + "shortLongTermDebt": { + "raw": 2201000000, + "fmt": "2.2B", + "longFmt": "2,201,000,000" + }, + "otherCurrentLiab": { + "raw": 24059000000, + "fmt": "24.06B", + "longFmt": "24,059,000,000" + }, + "longTermDebt": { + "raw": 25095000000, + "fmt": "25.09B", + "longFmt": "25,095,000,000" + }, + "otherLiab": { + "raw": 24578000000, + "fmt": "24.58B", + "longFmt": "24,578,000,000" + }, + "minorityInterest": { + "raw": 3388000000, + "fmt": "3.39B", + "longFmt": "3,388,000,000" + }, + "totalCurrentLiabilities": { + "raw": 39787000000, + "fmt": "39.79B", + "longFmt": "39,787,000,000" + }, + "totalLiab": { + "raw": 89460000000, + "fmt": "89.46B", + "longFmt": "89,460,000,000" + }, + "commonStock": { + "raw": 4204000000, + "fmt": "4.2B", + "longFmt": "4,204,000,000" + }, + "retainedEarnings": { + "raw": 66111000000, + "fmt": "66.11B", + "longFmt": "66,111,000,000" + }, + "treasuryStock": { + "raw": 11412000000, + "fmt": "11.41B", + "longFmt": "11,412,000,000" + }, + "otherStockholderEquity": { + "raw": 11412000000, + "fmt": "11.41B", + "longFmt": "11,412,000,000" + }, + "totalStockholderEquity": { + "raw": 81727000000, + "fmt": "81.73B", + "longFmt": "81,727,000,000" + }, + "netTangibleAssets": { + "raw": 80950000000, + "fmt": "80.95B", + "longFmt": "80,950,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1514678400, + "fmt": "2017-12-31" + }, + "cash": { + "raw": 4203000000, + "fmt": "4.2B", + "longFmt": "4,203,000,000" + }, + "shortTermInvestments": { + "raw": 24843000000, + "fmt": "24.84B", + "longFmt": "24,843,000,000" + }, + "netReceivables": { + "raw": 23802000000, + "fmt": "23.8B", + "longFmt": "23,802,000,000" + }, + "inventory": { + "raw": 3853000000, + "fmt": "3.85B", + "longFmt": "3,853,000,000" + }, + "otherCurrentAssets": { + "raw": 7949000000, + "fmt": "7.95B", + "longFmt": "7,949,000,000" + }, + "totalCurrentAssets": { + "raw": 64650000000, + "fmt": "64.65B", + "longFmt": "64,650,000,000" + }, + "longTermInvestments": { + "raw": 469000000, + "fmt": "469M", + "longFmt": "469,000,000" + }, + "propertyPlantEquipment": { + "raw": 75845000000, + "fmt": "75.84B", + "longFmt": "75,845,000,000" + }, + "goodWill": { + "raw": 125000000, + "fmt": "125M", + "longFmt": "125,000,000" + }, + "intangibleAssets": { + "raw": 564000000, + "fmt": "564M", + "longFmt": "564,000,000" + }, + "otherAssets": { + "raw": 4868000000, + "fmt": "4.87B", + "longFmt": "4,868,000,000" + }, + "deferredLongTermAssetCharges": { + "raw": 2865000000, + "fmt": "2.87B", + "longFmt": "2,865,000,000" + }, + "totalAssets": { + "raw": 146521000000, + "fmt": "146.52B", + "longFmt": "146,521,000,000" + }, + "accountsPayable": { + "raw": 11499000000, + "fmt": "11.5B", + "longFmt": "11,499,000,000" + }, + "shortLongTermDebt": { + "raw": 3921000000, + "fmt": "3.92B", + "longFmt": "3,921,000,000" + }, + "otherCurrentLiab": { + "raw": 14867000000, + "fmt": "14.87B", + "longFmt": "14,867,000,000" + }, + "longTermDebt": { + "raw": 25715000000, + "fmt": "25.71B", + "longFmt": "25,715,000,000" + }, + "otherLiab": { + "raw": 18682000000, + "fmt": "18.68B", + "longFmt": "18,682,000,000" + }, + "minorityInterest": { + "raw": 3807000000, + "fmt": "3.81B", + "longFmt": "3,807,000,000" + }, + "totalCurrentLiabilities": { + "raw": 30287000000, + "fmt": "30.29B", + "longFmt": "30,287,000,000" + }, + "totalLiab": { + "raw": 74684000000, + "fmt": "74.68B", + "longFmt": "74,684,000,000" + }, + "commonStock": { + "raw": 4204000000, + "fmt": "4.2B", + "longFmt": "4,204,000,000" + }, + "retainedEarnings": { + "raw": 52111000000, + "fmt": "52.11B", + "longFmt": "52,111,000,000" + }, + "treasuryStock": { + "raw": 11715000000, + "fmt": "11.71B", + "longFmt": "11,715,000,000" + }, + "otherStockholderEquity": { + "raw": 11715000000, + "fmt": "11.71B", + "longFmt": "11,715,000,000" + }, + "totalStockholderEquity": { + "raw": 68030000000, + "fmt": "68.03B", + "longFmt": "68,030,000,000" + }, + "netTangibleAssets": { + "raw": 67341000000, + "fmt": "67.34B", + "longFmt": "67,341,000,000" + } + } + ], + "maxAge": 86400 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-balanceSheetHistoryQuarterly-ORSTED.CO.json b/tests/http/quoteSummary-balanceSheetHistoryQuarterly-ORSTED.CO.json new file mode 100644 index 00000000..ee670982 --- /dev/null +++ b/tests/http/quoteSummary-balanceSheetHistoryQuarterly-ORSTED.CO.json @@ -0,0 +1,639 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/ORSTED.CO?formatted=false&modules=balanceSheetHistoryQuarterly" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "81odl95gbeb90" + ], + "x-yahoo-request-id": [ + "81odl95gbeb90" + ], + "x-request-id": [ + "ae5e7409-48ca-4833-a8c8-d448b555f960" + ], + "content-encoding": [ + "gzip" + ], + "x-envoy-upstream-service-time": [ + "3" + ], + "date": [ + "Wed, 02 Jun 2021 07:02:55 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "1" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "transfer-encoding": [ + "chunked" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteSummary": { + "result": [ + { + "balanceSheetHistoryQuarterly": { + "balanceSheetStatements": [ + { + "maxAge": 1, + "endDate": { + "raw": 1617148800, + "fmt": "2021-03-31" + }, + "cash": { + "raw": 7830000000, + "fmt": "7.83B", + "longFmt": "7,830,000,000" + }, + "shortTermInvestments": { + "raw": 30154000000, + "fmt": "30.15B", + "longFmt": "30,154,000,000" + }, + "netReceivables": { + "raw": 12629000000, + "fmt": "12.63B", + "longFmt": "12,629,000,000" + }, + "inventory": { + "raw": 11579000000, + "fmt": "11.58B", + "longFmt": "11,579,000,000" + }, + "otherCurrentAssets": { + "raw": 7869000000, + "fmt": "7.87B", + "longFmt": "7,869,000,000" + }, + "totalCurrentAssets": { + "raw": 70061000000, + "fmt": "70.06B", + "longFmt": "70,061,000,000" + }, + "longTermInvestments": { + "raw": 823000000, + "fmt": "823M", + "longFmt": "823,000,000" + }, + "propertyPlantEquipment": { + "raw": 130221000000, + "fmt": "130.22B", + "longFmt": "130,221,000,000" + }, + "intangibleAssets": { + "raw": 787000000, + "fmt": "787M", + "longFmt": "787,000,000" + }, + "otherAssets": { + "raw": 9080000000, + "fmt": "9.08B", + "longFmt": "9,080,000,000" + }, + "deferredLongTermAssetCharges": { + "raw": 7031000000, + "fmt": "7.03B", + "longFmt": "7,031,000,000" + }, + "totalAssets": { + "raw": 210972000000, + "fmt": "210.97B", + "longFmt": "210,972,000,000" + }, + "accountsPayable": { + "raw": 10328000000, + "fmt": "10.33B", + "longFmt": "10,328,000,000" + }, + "shortLongTermDebt": { + "raw": 10064000000, + "fmt": "10.06B", + "longFmt": "10,064,000,000" + }, + "otherCurrentLiab": { + "raw": 24900000000, + "fmt": "24.9B", + "longFmt": "24,900,000,000" + }, + "longTermDebt": { + "raw": 35421000000, + "fmt": "35.42B", + "longFmt": "35,421,000,000" + }, + "otherLiab": { + "raw": 27037000000, + "fmt": "27.04B", + "longFmt": "27,037,000,000" + }, + "minorityInterest": { + "raw": 2722000000, + "fmt": "2.72B", + "longFmt": "2,722,000,000" + }, + "totalCurrentLiabilities": { + "raw": 47175000000, + "fmt": "47.17B", + "longFmt": "47,175,000,000" + }, + "totalLiab": { + "raw": 114431000000, + "fmt": "114.43B", + "longFmt": "114,431,000,000" + }, + "commonStock": { + "raw": 4204000000, + "fmt": "4.2B", + "longFmt": "4,204,000,000" + }, + "retainedEarnings": { + "raw": 75487000000, + "fmt": "75.49B", + "longFmt": "75,487,000,000" + }, + "treasuryStock": { + "raw": 14128000000, + "fmt": "14.13B", + "longFmt": "14,128,000,000" + }, + "otherStockholderEquity": { + "raw": 14128000000, + "fmt": "14.13B", + "longFmt": "14,128,000,000" + }, + "totalStockholderEquity": { + "raw": 93819000000, + "fmt": "93.82B", + "longFmt": "93,819,000,000" + }, + "netTangibleAssets": { + "raw": 93032000000, + "fmt": "93.03B", + "longFmt": "93,032,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1609372800, + "fmt": "2020-12-31" + }, + "cash": { + "raw": 6178000000, + "fmt": "6.18B", + "longFmt": "6,178,000,000" + }, + "shortTermInvestments": { + "raw": 24424000000, + "fmt": "24.42B", + "longFmt": "24,424,000,000" + }, + "netReceivables": { + "raw": 11334000000, + "fmt": "11.33B", + "longFmt": "11,334,000,000" + }, + "inventory": { + "raw": 14739000000, + "fmt": "14.74B", + "longFmt": "14,739,000,000" + }, + "otherCurrentAssets": { + "raw": 8322000000, + "fmt": "8.32B", + "longFmt": "8,322,000,000" + }, + "totalCurrentAssets": { + "raw": 64997000000, + "fmt": "65B", + "longFmt": "64,997,000,000" + }, + "longTermInvestments": { + "raw": 764000000, + "fmt": "764M", + "longFmt": "764,000,000" + }, + "propertyPlantEquipment": { + "raw": 121610000000, + "fmt": "121.61B", + "longFmt": "121,610,000,000" + }, + "goodWill": { + "raw": 125000000, + "fmt": "125M", + "longFmt": "125,000,000" + }, + "intangibleAssets": { + "raw": 514000000, + "fmt": "514M", + "longFmt": "514,000,000" + }, + "otherAssets": { + "raw": 8709000000, + "fmt": "8.71B", + "longFmt": "8,709,000,000" + }, + "deferredLongTermAssetCharges": { + "raw": 6784000000, + "fmt": "6.78B", + "longFmt": "6,784,000,000" + }, + "totalAssets": { + "raw": 196719000000, + "fmt": "196.72B", + "longFmt": "196,719,000,000" + }, + "accountsPayable": { + "raw": 9742000000, + "fmt": "9.74B", + "longFmt": "9,742,000,000" + }, + "shortLongTermDebt": { + "raw": 2392000000, + "fmt": "2.39B", + "longFmt": "2,392,000,000" + }, + "otherCurrentLiab": { + "raw": 21175000000, + "fmt": "21.18B", + "longFmt": "21,175,000,000" + }, + "longTermDebt": { + "raw": 34374000000, + "fmt": "34.37B", + "longFmt": "34,374,000,000" + }, + "otherLiab": { + "raw": 25466000000, + "fmt": "25.47B", + "longFmt": "25,466,000,000" + }, + "minorityInterest": { + "raw": 2721000000, + "fmt": "2.72B", + "longFmt": "2,721,000,000" + }, + "totalCurrentLiabilities": { + "raw": 35095000000, + "fmt": "35.09B", + "longFmt": "35,095,000,000" + }, + "totalLiab": { + "raw": 99390000000, + "fmt": "99.39B", + "longFmt": "99,390,000,000" + }, + "commonStock": { + "raw": 4204000000, + "fmt": "4.2B", + "longFmt": "4,204,000,000" + }, + "retainedEarnings": { + "raw": 79128000000, + "fmt": "79.13B", + "longFmt": "79,128,000,000" + }, + "treasuryStock": { + "raw": 11276000000, + "fmt": "11.28B", + "longFmt": "11,276,000,000" + }, + "otherStockholderEquity": { + "raw": 11276000000, + "fmt": "11.28B", + "longFmt": "11,276,000,000" + }, + "totalStockholderEquity": { + "raw": 94608000000, + "fmt": "94.61B", + "longFmt": "94,608,000,000" + }, + "netTangibleAssets": { + "raw": 93969000000, + "fmt": "93.97B", + "longFmt": "93,969,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1601424000, + "fmt": "2020-09-30" + }, + "cash": { + "raw": 5852000000, + "fmt": "5.85B", + "longFmt": "5,852,000,000" + }, + "shortTermInvestments": { + "raw": 27292000000, + "fmt": "27.29B", + "longFmt": "27,292,000,000" + }, + "netReceivables": { + "raw": 11454000000, + "fmt": "11.45B", + "longFmt": "11,454,000,000" + }, + "inventory": { + "raw": 13213000000, + "fmt": "13.21B", + "longFmt": "13,213,000,000" + }, + "otherCurrentAssets": { + "raw": 7616000000, + "fmt": "7.62B", + "longFmt": "7,616,000,000" + }, + "totalCurrentAssets": { + "raw": 65427000000, + "fmt": "65.43B", + "longFmt": "65,427,000,000" + }, + "longTermInvestments": { + "raw": 759000000, + "fmt": "759M", + "longFmt": "759,000,000" + }, + "propertyPlantEquipment": { + "raw": 116057000000, + "fmt": "116.06B", + "longFmt": "116,057,000,000" + }, + "intangibleAssets": { + "raw": 581000000, + "fmt": "581M", + "longFmt": "581,000,000" + }, + "otherAssets": { + "raw": 11743000000, + "fmt": "11.74B", + "longFmt": "11,743,000,000" + }, + "deferredLongTermAssetCharges": { + "raw": 8432000000, + "fmt": "8.43B", + "longFmt": "8,432,000,000" + }, + "totalAssets": { + "raw": 194567000000, + "fmt": "194.57B", + "longFmt": "194,567,000,000" + }, + "accountsPayable": { + "raw": 9803000000, + "fmt": "9.8B", + "longFmt": "9,803,000,000" + }, + "shortLongTermDebt": { + "raw": 2827000000, + "fmt": "2.83B", + "longFmt": "2,827,000,000" + }, + "otherCurrentLiab": { + "raw": 18896000000, + "fmt": "18.9B", + "longFmt": "18,896,000,000" + }, + "longTermDebt": { + "raw": 33053000000, + "fmt": "33.05B", + "longFmt": "33,053,000,000" + }, + "otherLiab": { + "raw": 28157000000, + "fmt": "28.16B", + "longFmt": "28,157,000,000" + }, + "minorityInterest": { + "raw": 2790000000, + "fmt": "2.79B", + "longFmt": "2,790,000,000" + }, + "totalCurrentLiabilities": { + "raw": 32766000000, + "fmt": "32.77B", + "longFmt": "32,766,000,000" + }, + "totalLiab": { + "raw": 98095000000, + "fmt": "98.09B", + "longFmt": "98,095,000,000" + }, + "commonStock": { + "raw": 4204000000, + "fmt": "4.2B", + "longFmt": "4,204,000,000" + }, + "retainedEarnings": { + "raw": 78525000000, + "fmt": "78.53B", + "longFmt": "78,525,000,000" + }, + "treasuryStock": { + "raw": 10953000000, + "fmt": "10.95B", + "longFmt": "10,953,000,000" + }, + "otherStockholderEquity": { + "raw": 10953000000, + "fmt": "10.95B", + "longFmt": "10,953,000,000" + }, + "totalStockholderEquity": { + "raw": 93682000000, + "fmt": "93.68B", + "longFmt": "93,682,000,000" + }, + "netTangibleAssets": { + "raw": 93101000000, + "fmt": "93.1B", + "longFmt": "93,101,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1593475200, + "fmt": "2020-06-30" + }, + "cash": { + "raw": 6754000000, + "fmt": "6.75B", + "longFmt": "6,754,000,000" + }, + "shortTermInvestments": { + "raw": 12327000000, + "fmt": "12.33B", + "longFmt": "12,327,000,000" + }, + "netReceivables": { + "raw": 11409000000, + "fmt": "11.41B", + "longFmt": "11,409,000,000" + }, + "inventory": { + "raw": 11417000000, + "fmt": "11.42B", + "longFmt": "11,417,000,000" + }, + "otherCurrentAssets": { + "raw": 24492000000, + "fmt": "24.49B", + "longFmt": "24,492,000,000" + }, + "totalCurrentAssets": { + "raw": 66399000000, + "fmt": "66.4B", + "longFmt": "66,399,000,000" + }, + "longTermInvestments": { + "raw": 769000000, + "fmt": "769M", + "longFmt": "769,000,000" + }, + "propertyPlantEquipment": { + "raw": 113992000000, + "fmt": "113.99B", + "longFmt": "113,992,000,000" + }, + "intangibleAssets": { + "raw": 504000000, + "fmt": "504M", + "longFmt": "504,000,000" + }, + "otherAssets": { + "raw": 11460000000, + "fmt": "11.46B", + "longFmt": "11,460,000,000" + }, + "deferredLongTermAssetCharges": { + "raw": 8441000000, + "fmt": "8.44B", + "longFmt": "8,441,000,000" + }, + "totalAssets": { + "raw": 193124000000, + "fmt": "193.12B", + "longFmt": "193,124,000,000" + }, + "accountsPayable": { + "raw": 12933000000, + "fmt": "12.93B", + "longFmt": "12,933,000,000" + }, + "shortLongTermDebt": { + "raw": 2052000000, + "fmt": "2.05B", + "longFmt": "2,052,000,000" + }, + "otherCurrentLiab": { + "raw": 25640000000, + "fmt": "25.64B", + "longFmt": "25,640,000,000" + }, + "longTermDebt": { + "raw": 32975000000, + "fmt": "32.98B", + "longFmt": "32,975,000,000" + }, + "otherLiab": { + "raw": 27867000000, + "fmt": "27.87B", + "longFmt": "27,867,000,000" + }, + "minorityInterest": { + "raw": 2909000000, + "fmt": "2.91B", + "longFmt": "2,909,000,000" + }, + "totalCurrentLiabilities": { + "raw": 41908000000, + "fmt": "41.91B", + "longFmt": "41,908,000,000" + }, + "totalLiab": { + "raw": 107194000000, + "fmt": "107.19B", + "longFmt": "107,194,000,000" + }, + "commonStock": { + "raw": 4204000000, + "fmt": "4.2B", + "longFmt": "4,204,000,000" + }, + "retainedEarnings": { + "raw": 67170000000, + "fmt": "67.17B", + "longFmt": "67,170,000,000" + }, + "treasuryStock": { + "raw": 11647000000, + "fmt": "11.65B", + "longFmt": "11,647,000,000" + }, + "otherStockholderEquity": { + "raw": 11647000000, + "fmt": "11.65B", + "longFmt": "11,647,000,000" + }, + "totalStockholderEquity": { + "raw": 83021000000, + "fmt": "83.02B", + "longFmt": "83,021,000,000" + }, + "netTangibleAssets": { + "raw": 82517000000, + "fmt": "82.52B", + "longFmt": "82,517,000,000" + } + } + ], + "maxAge": 86400 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-calendarEvents-ORSTED.CO.json b/tests/http/quoteSummary-calendarEvents-ORSTED.CO.json new file mode 100644 index 00000000..66696075 --- /dev/null +++ b/tests/http/quoteSummary-calendarEvents-ORSTED.CO.json @@ -0,0 +1,90 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/ORSTED.CO?formatted=false&modules=calendarEvents" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "89q0n8pgbeb90" + ], + "x-yahoo-request-id": [ + "89q0n8pgbeb90" + ], + "x-request-id": [ + "974a7898-4832-4eb7-b783-abecfadd5d8f" + ], + "content-length": [ + "223" + ], + "x-envoy-upstream-service-time": [ + "5" + ], + "date": [ + "Wed, 02 Jun 2021 07:02:56 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "0" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteSummary": { + "result": [ + { + "calendarEvents": { + "maxAge": 1, + "earnings": { + "earningsDate": [ + 1628726400 + ], + "revenueAverage": 18829000000, + "revenueLow": 13677000000, + "revenueHigh": 25902000000 + }, + "exDividendDate": 1614643200 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-cashflowStatementHistory-ORSTED.CO.json b/tests/http/quoteSummary-cashflowStatementHistory-ORSTED.CO.json new file mode 100644 index 00000000..cf77eff4 --- /dev/null +++ b/tests/http/quoteSummary-cashflowStatementHistory-ORSTED.CO.json @@ -0,0 +1,489 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/ORSTED.CO?formatted=false&modules=cashflowStatementHistory" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "7n1hqvtgbeb91" + ], + "x-yahoo-request-id": [ + "7n1hqvtgbeb91" + ], + "x-request-id": [ + "e18cfbb5-d0ee-47f2-bdd3-d7805681b268" + ], + "content-encoding": [ + "gzip" + ], + "content-length": [ + "1326" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 02 Jun 2021 07:02:57 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "0" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteSummary": { + "result": [ + { + "cashflowStatementHistory": { + "cashflowStatements": [ + { + "maxAge": 1, + "endDate": { + "raw": 1609372800, + "fmt": "2020-12-31" + }, + "netIncome": { + "raw": 15598000000, + "fmt": "15.6B", + "longFmt": "15,598,000,000" + }, + "depreciation": { + "raw": 7588000000, + "fmt": "7.59B", + "longFmt": "7,588,000,000" + }, + "changeToNetincome": { + "raw": -9294000000, + "fmt": "-9.29B", + "longFmt": "-9,294,000,000" + }, + "changeToLiabilities": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "changeToInventory": { + "raw": -1613000000, + "fmt": "-1.61B", + "longFmt": "-1,613,000,000" + }, + "changeToOperatingActivities": { + "raw": 4111000000, + "fmt": "4.11B", + "longFmt": "4,111,000,000" + }, + "totalCashFromOperatingActivities": { + "raw": 16390000000, + "fmt": "16.39B", + "longFmt": "16,390,000,000" + }, + "capitalExpenditures": { + "raw": -26957000000, + "fmt": "-26.96B", + "longFmt": "-26,957,000,000" + }, + "investments": { + "raw": -8675000000, + "fmt": "-8.68B", + "longFmt": "-8,675,000,000" + }, + "otherCashflowsFromInvestingActivities": { + "raw": 1075000000, + "fmt": "1.07B", + "longFmt": "1,075,000,000" + }, + "totalCashflowsFromInvestingActivities": { + "raw": -15520000000, + "fmt": "-15.52B", + "longFmt": "-15,520,000,000" + }, + "dividendsPaid": { + "raw": -4898000000, + "fmt": "-4.9B", + "longFmt": "-4,898,000,000" + }, + "netBorrowings": { + "raw": 467000000, + "fmt": "467M", + "longFmt": "467,000,000" + }, + "otherCashflowsFromFinancingActivities": { + "raw": 2364000000, + "fmt": "2.36B", + "longFmt": "2,364,000,000" + }, + "totalCashFromFinancingActivities": { + "raw": -2125000000, + "fmt": "-2.12B", + "longFmt": "-2,125,000,000" + }, + "effectOfExchangeRate": { + "raw": 6000000, + "fmt": "6M", + "longFmt": "6,000,000" + }, + "changeInCash": { + "raw": -1249000000, + "fmt": "-1.25B", + "longFmt": "-1,249,000,000" + }, + "repurchaseOfStock": { + "raw": -58000000, + "fmt": "-58M", + "longFmt": "-58,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1577750400, + "fmt": "2019-12-31" + }, + "netIncome": { + "raw": 7181000000, + "fmt": "7.18B", + "longFmt": "7,181,000,000" + }, + "depreciation": { + "raw": 6864000000, + "fmt": "6.86B", + "longFmt": "6,864,000,000" + }, + "changeToNetincome": { + "raw": -2747000000, + "fmt": "-2.75B", + "longFmt": "-2,747,000,000" + }, + "changeToLiabilities": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "changeToInventory": { + "raw": 1417000000, + "fmt": "1.42B", + "longFmt": "1,417,000,000" + }, + "changeToOperatingActivities": { + "raw": 153000000, + "fmt": "153M", + "longFmt": "153,000,000" + }, + "totalCashFromOperatingActivities": { + "raw": 12868000000, + "fmt": "12.87B", + "longFmt": "12,868,000,000" + }, + "capitalExpenditures": { + "raw": -22445000000, + "fmt": "-22.45B", + "longFmt": "-22,445,000,000" + }, + "investments": { + "raw": 8856000000, + "fmt": "8.86B", + "longFmt": "8,856,000,000" + }, + "otherCashflowsFromInvestingActivities": { + "raw": 406000000, + "fmt": "406M", + "longFmt": "406,000,000" + }, + "totalCashflowsFromInvestingActivities": { + "raw": -10612000000, + "fmt": "-10.61B", + "longFmt": "-10,612,000,000" + }, + "dividendsPaid": { + "raw": -4652000000, + "fmt": "-4.65B", + "longFmt": "-4,652,000,000" + }, + "netBorrowings": { + "raw": 7467000000, + "fmt": "7.47B", + "longFmt": "7,467,000,000" + }, + "otherCashflowsFromFinancingActivities": { + "raw": -1793000000, + "fmt": "-1.79B", + "longFmt": "-1,793,000,000" + }, + "totalCashFromFinancingActivities": { + "raw": 1334000000, + "fmt": "1.33B", + "longFmt": "1,334,000,000" + }, + "effectOfExchangeRate": { + "raw": 206000000, + "fmt": "206M", + "longFmt": "206,000,000" + }, + "changeInCash": { + "raw": 3796000000, + "fmt": "3.8B", + "longFmt": "3,796,000,000" + }, + "repurchaseOfStock": { + "raw": -4104000000, + "fmt": "-4.1B", + "longFmt": "-4,104,000,000" + }, + "issuanceOfStock": { + "raw": 4416000000, + "fmt": "4.42B", + "longFmt": "4,416,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1546214400, + "fmt": "2018-12-31" + }, + "netIncome": { + "raw": 18251000000, + "fmt": "18.25B", + "longFmt": "18,251,000,000" + }, + "depreciation": { + "raw": 5978000000, + "fmt": "5.98B", + "longFmt": "5,978,000,000" + }, + "changeToNetincome": { + "raw": -13021000000, + "fmt": "-13.02B", + "longFmt": "-13,021,000,000" + }, + "changeToLiabilities": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "changeToInventory": { + "raw": -2326000000, + "fmt": "-2.33B", + "longFmt": "-2,326,000,000" + }, + "changeToOperatingActivities": { + "raw": 1408000000, + "fmt": "1.41B", + "longFmt": "1,408,000,000" + }, + "totalCashFromOperatingActivities": { + "raw": 10290000000, + "fmt": "10.29B", + "longFmt": "10,290,000,000" + }, + "capitalExpenditures": { + "raw": -14655000000, + "fmt": "-14.65B", + "longFmt": "-14,655,000,000" + }, + "investments": { + "raw": -795000000, + "fmt": "-795M", + "longFmt": "-795,000,000" + }, + "otherCashflowsFromInvestingActivities": { + "raw": 286000000, + "fmt": "286M", + "longFmt": "286,000,000" + }, + "totalCashflowsFromInvestingActivities": { + "raw": -764000000, + "fmt": "-764M", + "longFmt": "-764,000,000" + }, + "dividendsPaid": { + "raw": -4326000000, + "fmt": "-4.33B", + "longFmt": "-4,326,000,000" + }, + "netBorrowings": { + "raw": -6429000000, + "fmt": "-6.43B", + "longFmt": "-6,429,000,000" + }, + "otherCashflowsFromFinancingActivities": { + "raw": 109000000, + "fmt": "109M", + "longFmt": "109,000,000" + }, + "totalCashFromFinancingActivities": { + "raw": -10694000000, + "fmt": "-10.69B", + "longFmt": "-10,694,000,000" + }, + "effectOfExchangeRate": { + "raw": -33000000, + "fmt": "-33M", + "longFmt": "-33,000,000" + }, + "changeInCash": { + "raw": -1228000000, + "fmt": "-1.23B", + "longFmt": "-1,228,000,000" + }, + "repurchaseOfStock": { + "raw": -48000000, + "fmt": "-48M", + "longFmt": "-48,000,000" + }, + "issuanceOfStock": { + "raw": 4416000000, + "fmt": "4.42B", + "longFmt": "4,416,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1514678400, + "fmt": "2017-12-31" + }, + "netIncome": { + "raw": 19435000000, + "fmt": "19.43B", + "longFmt": "19,435,000,000" + }, + "depreciation": { + "raw": 5739000000, + "fmt": "5.74B", + "longFmt": "5,739,000,000" + }, + "changeToNetincome": { + "raw": -7025000000, + "fmt": "-7.03B", + "longFmt": "-7,025,000,000" + }, + "changeToLiabilities": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "changeToInventory": { + "raw": -3674000000, + "fmt": "-3.67B", + "longFmt": "-3,674,000,000" + }, + "changeToOperatingActivities": { + "raw": -4230000000, + "fmt": "-4.23B", + "longFmt": "-4,230,000,000" + }, + "totalCashFromOperatingActivities": { + "raw": 10245000000, + "fmt": "10.24B", + "longFmt": "10,245,000,000" + }, + "capitalExpenditures": { + "raw": -17592000000, + "fmt": "-17.59B", + "longFmt": "-17,592,000,000" + }, + "investments": { + "raw": -9308000000, + "fmt": "-9.31B", + "longFmt": "-9,308,000,000" + }, + "otherCashflowsFromInvestingActivities": { + "raw": -189000000, + "fmt": "-189M", + "longFmt": "-189,000,000" + }, + "totalCashflowsFromInvestingActivities": { + "raw": -10251000000, + "fmt": "-10.25B", + "longFmt": "-10,251,000,000" + }, + "dividendsPaid": { + "raw": -3161000000, + "fmt": "-3.16B", + "longFmt": "-3,161,000,000" + }, + "netBorrowings": { + "raw": 1399000000, + "fmt": "1.4B", + "longFmt": "1,399,000,000" + }, + "otherCashflowsFromFinancingActivities": { + "raw": -442000000, + "fmt": "-442M", + "longFmt": "-442,000,000" + }, + "totalCashFromFinancingActivities": { + "raw": 1464000000, + "fmt": "1.46B", + "longFmt": "1,464,000,000" + }, + "effectOfExchangeRate": { + "raw": -55000000, + "fmt": "-55M", + "longFmt": "-55,000,000" + }, + "changeInCash": { + "raw": 1263000000, + "fmt": "1.26B", + "longFmt": "1,263,000,000" + }, + "repurchaseOfStock": { + "raw": -48000000, + "fmt": "-48M", + "longFmt": "-48,000,000" + }, + "issuanceOfStock": { + "raw": 3668000000, + "fmt": "3.67B", + "longFmt": "3,668,000,000" + } + } + ], + "maxAge": 86400 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-cashflowStatementHistoryQuarterly-ORSTED.CO.json b/tests/http/quoteSummary-cashflowStatementHistoryQuarterly-ORSTED.CO.json new file mode 100644 index 00000000..a9ac0aea --- /dev/null +++ b/tests/http/quoteSummary-cashflowStatementHistoryQuarterly-ORSTED.CO.json @@ -0,0 +1,494 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/ORSTED.CO?formatted=false&modules=cashflowStatementHistoryQuarterly" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "1r6gg9pgbeb91" + ], + "x-yahoo-request-id": [ + "1r6gg9pgbeb91" + ], + "x-request-id": [ + "c522b298-e9aa-46d8-89a9-779bf10bc720" + ], + "content-encoding": [ + "gzip" + ], + "content-length": [ + "1262" + ], + "x-envoy-upstream-service-time": [ + "4" + ], + "date": [ + "Wed, 02 Jun 2021 07:02:57 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "0" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteSummary": { + "result": [ + { + "cashflowStatementHistoryQuarterly": { + "cashflowStatements": [ + { + "maxAge": 1, + "endDate": { + "raw": 1617148800, + "fmt": "2021-03-31" + }, + "netIncome": { + "raw": 1589000000, + "fmt": "1.59B", + "longFmt": "1,589,000,000" + }, + "depreciation": { + "raw": 1930000000, + "fmt": "1.93B", + "longFmt": "1,930,000,000" + }, + "changeToNetincome": { + "raw": -245000000, + "fmt": "-245M", + "longFmt": "-245,000,000" + }, + "changeToLiabilities": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "changeToInventory": { + "raw": 4611000000, + "fmt": "4.61B", + "longFmt": "4,611,000,000" + }, + "changeToOperatingActivities": { + "raw": 202000000, + "fmt": "202M", + "longFmt": "202,000,000" + }, + "totalCashFromOperatingActivities": { + "raw": 8087000000, + "fmt": "8.09B", + "longFmt": "8,087,000,000" + }, + "capitalExpenditures": { + "raw": -6673000000, + "fmt": "-6.67B", + "longFmt": "-6,673,000,000" + }, + "investments": { + "raw": -5061000000, + "fmt": "-5.06B", + "longFmt": "-5,061,000,000" + }, + "otherCashflowsFromInvestingActivities": { + "raw": 23000000, + "fmt": "23M", + "longFmt": "23,000,000" + }, + "totalCashflowsFromInvestingActivities": { + "raw": -11753000000, + "fmt": "-11.75B", + "longFmt": "-11,753,000,000" + }, + "dividendsPaid": { + "raw": -4936000000, + "fmt": "-4.94B", + "longFmt": "-4,936,000,000" + }, + "netBorrowings": { + "raw": 8128000000, + "fmt": "8.13B", + "longFmt": "8,128,000,000" + }, + "otherCashflowsFromFinancingActivities": { + "raw": -1790000000, + "fmt": "-1.79B", + "longFmt": "-1,790,000,000" + }, + "totalCashFromFinancingActivities": { + "raw": 5758000000, + "fmt": "5.76B", + "longFmt": "5,758,000,000" + }, + "effectOfExchangeRate": { + "raw": 176000000, + "fmt": "176M", + "longFmt": "176,000,000" + }, + "changeInCash": { + "raw": 2268000000, + "fmt": "2.27B", + "longFmt": "2,268,000,000" + }, + "repurchaseOfStock": { + "raw": -2971000000, + "fmt": "-2.97B", + "longFmt": "-2,971,000,000" + }, + "issuanceOfStock": { + "raw": 7327000000, + "fmt": "7.33B", + "longFmt": "7,327,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1609372800, + "fmt": "2020-12-31" + }, + "netIncome": { + "raw": 763000000, + "fmt": "763M", + "longFmt": "763,000,000" + }, + "depreciation": { + "raw": 1912000000, + "fmt": "1.91B", + "longFmt": "1,912,000,000" + }, + "changeToNetincome": { + "raw": 2163000000, + "fmt": "2.16B", + "longFmt": "2,163,000,000" + }, + "changeToLiabilities": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "changeToInventory": { + "raw": 486000000, + "fmt": "486M", + "longFmt": "486,000,000" + }, + "changeToOperatingActivities": { + "raw": 430000000, + "fmt": "430M", + "longFmt": "430,000,000" + }, + "totalCashFromOperatingActivities": { + "raw": 5754000000, + "fmt": "5.75B", + "longFmt": "5,754,000,000" + }, + "capitalExpenditures": { + "raw": -8645000000, + "fmt": "-8.64B", + "longFmt": "-8,645,000,000" + }, + "investments": { + "raw": 2315000000, + "fmt": "2.31B", + "longFmt": "2,315,000,000" + }, + "otherCashflowsFromInvestingActivities": { + "raw": 1050000000, + "fmt": "1.05B", + "longFmt": "1,050,000,000" + }, + "totalCashflowsFromInvestingActivities": { + "raw": -6802000000, + "fmt": "-6.8B", + "longFmt": "-6,802,000,000" + }, + "dividendsPaid": { + "raw": -162000000, + "fmt": "-162M", + "longFmt": "-162,000,000" + }, + "netBorrowings": { + "raw": 185000000, + "fmt": "185M", + "longFmt": "185,000,000" + }, + "otherCashflowsFromFinancingActivities": { + "raw": 949000000, + "fmt": "949M", + "longFmt": "949,000,000" + }, + "totalCashFromFinancingActivities": { + "raw": 972000000, + "fmt": "972M", + "longFmt": "972,000,000" + }, + "effectOfExchangeRate": { + "raw": 57000000, + "fmt": "57M", + "longFmt": "57,000,000" + }, + "changeInCash": { + "raw": -103000000, + "fmt": "-103M", + "longFmt": "-103,000,000" + }, + "repurchaseOfStock": { + "raw": -2971000000, + "fmt": "-2.97B", + "longFmt": "-2,971,000,000" + }, + "issuanceOfStock": { + "raw": 7327000000, + "fmt": "7.33B", + "longFmt": "7,327,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1601424000, + "fmt": "2020-09-30" + }, + "netIncome": { + "raw": 11331000000, + "fmt": "11.33B", + "longFmt": "11,331,000,000" + }, + "depreciation": { + "raw": 2095000000, + "fmt": "2.1B", + "longFmt": "2,095,000,000" + }, + "changeToNetincome": { + "raw": -9399000000, + "fmt": "-9.4B", + "longFmt": "-9,399,000,000" + }, + "changeToLiabilities": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "changeToInventory": { + "raw": -84000000, + "fmt": "-84M", + "longFmt": "-84,000,000" + }, + "changeToOperatingActivities": { + "raw": -1032000000, + "fmt": "-1.03B", + "longFmt": "-1,032,000,000" + }, + "totalCashFromOperatingActivities": { + "raw": 2911000000, + "fmt": "2.91B", + "longFmt": "2,911,000,000" + }, + "capitalExpenditures": { + "raw": -9313000000, + "fmt": "-9.31B", + "longFmt": "-9,313,000,000" + }, + "investments": { + "raw": -15049000000, + "fmt": "-15.05B", + "longFmt": "-15,049,000,000" + }, + "otherCashflowsFromInvestingActivities": { + "raw": 25000000, + "fmt": "25M", + "longFmt": "25,000,000" + }, + "totalCashflowsFromInvestingActivities": { + "raw": -3828000000, + "fmt": "-3.83B", + "longFmt": "-3,828,000,000" + }, + "dividendsPaid": { + "raw": -162000000, + "fmt": "-162M", + "longFmt": "-162,000,000" + }, + "netBorrowings": { + "raw": 1157000000, + "fmt": "1.16B", + "longFmt": "1,157,000,000" + }, + "otherCashflowsFromFinancingActivities": { + "raw": -736000000, + "fmt": "-736M", + "longFmt": "-736,000,000" + }, + "totalCashFromFinancingActivities": { + "raw": 421000000, + "fmt": "421M", + "longFmt": "421,000,000" + }, + "effectOfExchangeRate": { + "raw": -74000000, + "fmt": "-74M", + "longFmt": "-74,000,000" + }, + "changeInCash": { + "raw": -566000000, + "fmt": "-566M", + "longFmt": "-566,000,000" + }, + "repurchaseOfStock": { + "raw": -2971000000, + "fmt": "-2.97B", + "longFmt": "-2,971,000,000" + }, + "issuanceOfStock": { + "raw": 7327000000, + "fmt": "7.33B", + "longFmt": "7,327,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1593475200, + "fmt": "2020-06-30" + }, + "netIncome": { + "raw": -1875000000, + "fmt": "-1.88B", + "longFmt": "-1,875,000,000" + }, + "depreciation": { + "raw": 1827000000, + "fmt": "1.83B", + "longFmt": "1,827,000,000" + }, + "changeToNetincome": { + "raw": 2603000000, + "fmt": "2.6B", + "longFmt": "2,603,000,000" + }, + "changeToLiabilities": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "changeToInventory": { + "raw": -177000000, + "fmt": "-177M", + "longFmt": "-177,000,000" + }, + "changeToOperatingActivities": { + "raw": 5921000000, + "fmt": "5.92B", + "longFmt": "5,921,000,000" + }, + "totalCashFromOperatingActivities": { + "raw": 8299000000, + "fmt": "8.3B", + "longFmt": "8,299,000,000" + }, + "capitalExpenditures": { + "raw": -3770000000, + "fmt": "-3.77B", + "longFmt": "-3,770,000,000" + }, + "investments": { + "raw": 796000000, + "fmt": "796M", + "longFmt": "796,000,000" + }, + "otherCashflowsFromInvestingActivities": { + "raw": 25000000, + "fmt": "25M", + "longFmt": "25,000,000" + }, + "totalCashflowsFromInvestingActivities": { + "raw": -2925000000, + "fmt": "-2.92B", + "longFmt": "-2,925,000,000" + }, + "dividendsPaid": { + "raw": -326000000, + "fmt": "-326M", + "longFmt": "-326,000,000" + }, + "netBorrowings": { + "raw": -3830000000, + "fmt": "-3.83B", + "longFmt": "-3,830,000,000" + }, + "otherCashflowsFromFinancingActivities": { + "raw": 520000000, + "fmt": "520M", + "longFmt": "520,000,000" + }, + "totalCashFromFinancingActivities": { + "raw": -3694000000, + "fmt": "-3.69B", + "longFmt": "-3,694,000,000" + }, + "effectOfExchangeRate": { + "raw": -25000000, + "fmt": "-25M", + "longFmt": "-25,000,000" + }, + "changeInCash": { + "raw": 1656000000, + "fmt": "1.66B", + "longFmt": "1,656,000,000" + }, + "repurchaseOfStock": { + "raw": -58000000, + "fmt": "-58M", + "longFmt": "-58,000,000" + }, + "issuanceOfStock": { + "raw": 7327000000, + "fmt": "7.33B", + "longFmt": "7,327,000,000" + } + } + ], + "maxAge": 86400 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-defaultKeyStatistics-ORSTED.CO.json b/tests/http/quoteSummary-defaultKeyStatistics-ORSTED.CO.json new file mode 100644 index 00000000..a3bfb524 --- /dev/null +++ b/tests/http/quoteSummary-defaultKeyStatistics-ORSTED.CO.json @@ -0,0 +1,108 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/ORSTED.CO?formatted=false&modules=defaultKeyStatistics" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "7l1610dgbeb92" + ], + "x-yahoo-request-id": [ + "7l1610dgbeb92" + ], + "x-request-id": [ + "f95a297e-7abf-4b72-838a-da384531363c" + ], + "content-length": [ + "763" + ], + "x-envoy-upstream-service-time": [ + "5" + ], + "date": [ + "Wed, 02 Jun 2021 07:02:57 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "1" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteSummary": { + "result": [ + { + "defaultKeyStatistics": { + "maxAge": 1, + "priceHint": 2, + "enterpriseValue": 403292749824, + "profitMargins": 0.23215, + "floatShares": 188484512, + "sharesOutstanding": 420068000, + "heldPercentInsiders": 0.551, + "heldPercentInstitutions": 0.25669, + "beta": 0.45251, + "category": null, + "bookValue": 223.342, + "priceToBook": 4.181927, + "fundFamily": null, + "legalType": null, + "lastFiscalYearEnd": 1609372800, + "nextFiscalYearEnd": 1672444800, + "mostRecentQuarter": 1617148800, + "earningsQuarterlyGrowth": -0.705, + "netIncomeToCommon": 10887999488, + "trailingEps": 25.957, + "forwardEps": 16.02, + "lastSplitFactor": null, + "enterpriseToRevenue": 7.929, + "enterpriseToEbitda": 35.029, + "52WeekChange": 0.17636597, + "SandP52WeekChange": 0.34623277, + "lastDividendValue": 11.5, + "lastDividendDate": 1614643200 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-earnings-ORSTED.CO.json b/tests/http/quoteSummary-earnings-ORSTED.CO.json new file mode 100644 index 00000000..d474eec7 --- /dev/null +++ b/tests/http/quoteSummary-earnings-ORSTED.CO.json @@ -0,0 +1,157 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/ORSTED.CO?formatted=false&modules=earnings" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "5t6pcbpgbeb92" + ], + "x-yahoo-request-id": [ + "5t6pcbpgbeb92" + ], + "x-request-id": [ + "11ceb179-0e33-45d0-ad9b-f2741b697855" + ], + "content-length": [ + "944" + ], + "x-envoy-upstream-service-time": [ + "3" + ], + "date": [ + "Wed, 02 Jun 2021 07:02:58 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "0" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteSummary": { + "result": [ + { + "earnings": { + "maxAge": 86400, + "earningsChart": { + "quarterly": [ + { + "date": "4Q2017", + "actual": 21.7, + "estimate": 24.1 + }, + { + "date": "1Q2018", + "actual": 7.2, + "estimate": 2.64 + }, + { + "date": "2Q2018", + "actual": -1.1, + "estimate": -0.63 + }, + { + "date": "3Q2018", + "actual": 1.1, + "estimate": 0.24 + } + ], + "currentQuarterEstimateDate": "4Q", + "currentQuarterEstimateYear": 2018, + "earningsDate": [ + 1628726400 + ] + }, + "financialsChart": { + "yearly": [ + { + "date": 2017, + "revenue": 59709000000, + "earnings": 19435000000 + }, + { + "date": 2018, + "revenue": 75520000000, + "earnings": 18251000000 + }, + { + "date": 2019, + "revenue": 70398000000, + "earnings": 7181000000 + }, + { + "date": 2020, + "revenue": 50151000000, + "earnings": 15598000000 + } + ], + "quarterly": [ + { + "date": "2Q2020", + "revenue": 9962000000, + "earnings": -1875000000 + }, + { + "date": "3Q2020", + "revenue": 8762000000, + "earnings": 11331000000 + }, + { + "date": "4Q2020", + "revenue": 13195000000, + "earnings": 763000000 + }, + { + "date": "1Q2021", + "revenue": 18944000000, + "earnings": 1589000000 + } + ] + }, + "financialCurrency": "DKK" + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-earningsHistory-ORSTED.CO.json b/tests/http/quoteSummary-earningsHistory-ORSTED.CO.json new file mode 100644 index 00000000..09ad06ab --- /dev/null +++ b/tests/http/quoteSummary-earningsHistory-ORSTED.CO.json @@ -0,0 +1,179 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/ORSTED.CO?formatted=false&modules=earningsHistory" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "f868cgtgbeb93" + ], + "x-yahoo-request-id": [ + "f868cgtgbeb93" + ], + "x-request-id": [ + "33d7d245-2e5b-40b6-991f-a5f17da0c3ea" + ], + "content-length": [ + "1067" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 02 Jun 2021 07:02:59 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "0" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteSummary": { + "result": [ + { + "earningsHistory": { + "history": [ + { + "maxAge": 1, + "epsActual": { + "raw": 21.7, + "fmt": "21.7" + }, + "epsEstimate": { + "raw": 24.1, + "fmt": "24.1" + }, + "epsDifference": { + "raw": -2.4, + "fmt": "-2.4" + }, + "surprisePercent": { + "raw": -0.1, + "fmt": "-10.00%" + }, + "quarter": { + "raw": 1514678400, + "fmt": "2017-12-31" + }, + "period": "-4q" + }, + { + "maxAge": 1, + "epsActual": { + "raw": 7.2, + "fmt": "7.2" + }, + "epsEstimate": { + "raw": 2.64, + "fmt": "2.64" + }, + "epsDifference": { + "raw": 4.56, + "fmt": "4.56" + }, + "surprisePercent": { + "raw": 1.727, + "fmt": "172.70%" + }, + "quarter": { + "raw": 1522454400, + "fmt": "2018-03-31" + }, + "period": "-3q" + }, + { + "maxAge": 1, + "epsActual": { + "raw": -1.1, + "fmt": "-1.1" + }, + "epsEstimate": { + "raw": -0.63, + "fmt": "-0.63" + }, + "epsDifference": { + "raw": -0.47, + "fmt": "-0.47" + }, + "surprisePercent": { + "raw": -0.746, + "fmt": "-74.60%" + }, + "quarter": { + "raw": 1530316800, + "fmt": "2018-06-30" + }, + "period": "-2q" + }, + { + "maxAge": 1, + "epsActual": { + "raw": 1.1, + "fmt": "1.1" + }, + "epsEstimate": { + "raw": 0.24, + "fmt": "0.24" + }, + "epsDifference": { + "raw": 0.86, + "fmt": "0.86" + }, + "surprisePercent": { + "raw": 3.583, + "fmt": "358.30%" + }, + "quarter": { + "raw": 1538265600, + "fmt": "2018-09-30" + }, + "period": "-1q" + } + ], + "maxAge": 86400 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-earningsTrend-ORSTED.CO.json b/tests/http/quoteSummary-earningsTrend-ORSTED.CO.json new file mode 100644 index 00000000..b00564e5 --- /dev/null +++ b/tests/http/quoteSummary-earningsTrend-ORSTED.CO.json @@ -0,0 +1,557 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/ORSTED.CO?formatted=false&modules=earningsTrend" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "2rdbt09gbeb94" + ], + "x-yahoo-request-id": [ + "2rdbt09gbeb94" + ], + "x-request-id": [ + "88c43897-0ff8-482a-ba84-0c31a7670577" + ], + "content-encoding": [ + "gzip" + ], + "content-length": [ + "824" + ], + "x-envoy-upstream-service-time": [ + "4" + ], + "date": [ + "Wed, 02 Jun 2021 07:03:00 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "0" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteSummary": { + "result": [ + { + "earningsTrend": { + "trend": [ + { + "maxAge": 1, + "period": "0q", + "endDate": "2018-12-31", + "growth": {}, + "earningsEstimate": { + "avg": { + "raw": 0, + "fmt": "0" + }, + "low": { + "raw": 0, + "fmt": "0" + }, + "high": { + "raw": 0, + "fmt": "0" + }, + "yearAgoEps": { + "raw": 21.7, + "fmt": "21.7" + }, + "numberOfAnalysts": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "growth": {} + }, + "revenueEstimate": { + "avg": { + "raw": 18829000000, + "fmt": "18.83B", + "longFmt": "18,829,000,000" + }, + "low": { + "raw": 13677000000, + "fmt": "13.68B", + "longFmt": "13,677,000,000" + }, + "high": { + "raw": 25902000000, + "fmt": "25.9B", + "longFmt": "25,902,000,000" + }, + "numberOfAnalysts": { + "raw": 3, + "fmt": "3", + "longFmt": "3" + }, + "yearAgoRevenue": { + "raw": 15598000000, + "fmt": "15.6B", + "longFmt": "15,598,000,000" + }, + "growth": { + "raw": 0.207, + "fmt": "20.70%" + } + }, + "epsTrend": { + "current": { + "raw": 0, + "fmt": "0" + }, + "7daysAgo": { + "raw": 36.8, + "fmt": "36.8" + }, + "30daysAgo": { + "raw": 36.8, + "fmt": "36.8" + }, + "60daysAgo": { + "raw": 36.8, + "fmt": "36.8" + }, + "90daysAgo": { + "raw": 36.8, + "fmt": "36.8" + } + }, + "epsRevisions": { + "upLast7days": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "upLast30days": { + "raw": 1, + "fmt": "1", + "longFmt": "1" + }, + "downLast30days": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "downLast90days": {} + } + }, + { + "maxAge": 1, + "period": "+1q", + "endDate": "2019-03-31", + "growth": {}, + "earningsEstimate": { + "avg": { + "raw": 0, + "fmt": "0" + }, + "low": { + "raw": 0, + "fmt": "0" + }, + "high": { + "raw": 0, + "fmt": "0" + }, + "yearAgoEps": { + "raw": 7.2, + "fmt": "7.2" + }, + "numberOfAnalysts": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "growth": {} + }, + "revenueEstimate": { + "avg": { + "raw": 22759900000, + "fmt": "22.76B", + "longFmt": "22,759,900,000" + }, + "low": { + "raw": 22759900000, + "fmt": "22.76B", + "longFmt": "22,759,900,000" + }, + "high": { + "raw": 22759900000, + "fmt": "22.76B", + "longFmt": "22,759,900,000" + }, + "numberOfAnalysts": { + "raw": 1, + "fmt": "1", + "longFmt": "1" + }, + "yearAgoRevenue": { + "raw": 19808000000, + "fmt": "19.81B", + "longFmt": "19,808,000,000" + }, + "growth": { + "raw": 0.14899999, + "fmt": "14.90%" + } + }, + "epsTrend": { + "current": { + "raw": 0, + "fmt": "0" + }, + "7daysAgo": { + "raw": 7, + "fmt": "7" + }, + "30daysAgo": { + "raw": 7, + "fmt": "7" + }, + "60daysAgo": { + "raw": 7, + "fmt": "7" + }, + "90daysAgo": { + "raw": 7, + "fmt": "7" + } + }, + "epsRevisions": { + "upLast7days": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "upLast30days": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "downLast30days": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "downLast90days": {} + } + }, + { + "maxAge": 1, + "period": "0y", + "endDate": "2018-12-31", + "growth": {}, + "earningsEstimate": { + "avg": { + "raw": 0, + "fmt": "0" + }, + "low": { + "raw": 0, + "fmt": "0" + }, + "high": { + "raw": 0, + "fmt": "0" + }, + "yearAgoEps": {}, + "numberOfAnalysts": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "growth": {} + }, + "revenueEstimate": { + "avg": { + "raw": 71603900000, + "fmt": "71.6B", + "longFmt": "71,603,900,000" + }, + "low": { + "raw": 56593900000, + "fmt": "56.59B", + "longFmt": "56,593,900,000" + }, + "high": { + "raw": 93009700000, + "fmt": "93.01B", + "longFmt": "93,009,700,000" + }, + "numberOfAnalysts": { + "raw": 14, + "fmt": "14", + "longFmt": "14" + }, + "yearAgoRevenue": { + "raw": 59504000000, + "fmt": "59.5B", + "longFmt": "59,504,000,000" + }, + "growth": { + "raw": 0.203, + "fmt": "20.30%" + } + }, + "epsTrend": { + "current": { + "raw": 0, + "fmt": "0" + }, + "7daysAgo": { + "raw": 42.42, + "fmt": "42.42" + }, + "30daysAgo": { + "raw": 42.42, + "fmt": "42.42" + }, + "60daysAgo": { + "raw": 42.42, + "fmt": "42.42" + }, + "90daysAgo": { + "raw": 42.42, + "fmt": "42.42" + } + }, + "epsRevisions": { + "upLast7days": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "upLast30days": { + "raw": 2, + "fmt": "2", + "longFmt": "2" + }, + "downLast30days": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "downLast90days": {} + } + }, + { + "maxAge": 1, + "period": "+1y", + "endDate": "2019-12-31", + "growth": {}, + "earningsEstimate": { + "avg": { + "raw": 0, + "fmt": "0" + }, + "low": { + "raw": 0, + "fmt": "0" + }, + "high": { + "raw": 0, + "fmt": "0" + }, + "yearAgoEps": {}, + "numberOfAnalysts": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "growth": {} + }, + "revenueEstimate": { + "avg": { + "raw": 70335300000, + "fmt": "70.34B", + "longFmt": "70,335,300,000" + }, + "low": { + "raw": 49664400000, + "fmt": "49.66B", + "longFmt": "49,664,400,000" + }, + "high": { + "raw": 94062000000, + "fmt": "94.06B", + "longFmt": "94,062,000,000" + }, + "numberOfAnalysts": { + "raw": 14, + "fmt": "14", + "longFmt": "14" + }, + "yearAgoRevenue": { + "raw": 71603900000, + "fmt": "71.6B", + "longFmt": "71,603,900,000" + }, + "growth": { + "raw": -0.018, + "fmt": "-1.80%" + } + }, + "epsTrend": { + "current": { + "raw": 0, + "fmt": "0" + }, + "7daysAgo": { + "raw": 16.02, + "fmt": "16.02" + }, + "30daysAgo": { + "raw": 16.02, + "fmt": "16.02" + }, + "60daysAgo": { + "raw": 16.02, + "fmt": "16.02" + }, + "90daysAgo": { + "raw": 16.02, + "fmt": "16.02" + } + }, + "epsRevisions": { + "upLast7days": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "upLast30days": { + "raw": 2, + "fmt": "2", + "longFmt": "2" + }, + "downLast30days": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "downLast90days": {} + } + }, + { + "maxAge": 1, + "period": "+5y", + "endDate": null, + "growth": { + "raw": 0.0874, + "fmt": "8.74%" + }, + "earningsEstimate": { + "avg": {}, + "low": {}, + "high": {}, + "yearAgoEps": {}, + "numberOfAnalysts": {}, + "growth": {} + }, + "revenueEstimate": { + "avg": {}, + "low": {}, + "high": {}, + "numberOfAnalysts": {}, + "yearAgoRevenue": {}, + "growth": {} + }, + "epsTrend": { + "current": {}, + "7daysAgo": {}, + "30daysAgo": {}, + "60daysAgo": {}, + "90daysAgo": {} + }, + "epsRevisions": { + "upLast7days": {}, + "upLast30days": {}, + "downLast30days": {}, + "downLast90days": {} + } + }, + { + "maxAge": 1, + "period": "-5y", + "endDate": null, + "growth": {}, + "earningsEstimate": { + "avg": {}, + "low": {}, + "high": {}, + "yearAgoEps": {}, + "numberOfAnalysts": {}, + "growth": {} + }, + "revenueEstimate": { + "avg": {}, + "low": {}, + "high": {}, + "numberOfAnalysts": {}, + "yearAgoRevenue": {}, + "growth": {} + }, + "epsTrend": { + "current": {}, + "7daysAgo": {}, + "30daysAgo": {}, + "60daysAgo": {}, + "90daysAgo": {} + }, + "epsRevisions": { + "upLast7days": {}, + "upLast30days": {}, + "downLast30days": {}, + "downLast90days": {} + } + } + ], + "maxAge": 1 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-financialData-ORSTED.CO.json b/tests/http/quoteSummary-financialData-ORSTED.CO.json new file mode 100644 index 00000000..d5223b3d --- /dev/null +++ b/tests/http/quoteSummary-financialData-ORSTED.CO.json @@ -0,0 +1,109 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/ORSTED.CO?formatted=false&modules=financialData" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "b3ee2k9gbeb95" + ], + "x-yahoo-request-id": [ + "b3ee2k9gbeb95" + ], + "x-request-id": [ + "a5d79b61-a08f-4831-8696-d93c6f3bd22f" + ], + "content-length": [ + "776" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 02 Jun 2021 07:03:01 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "0" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteSummary": { + "result": [ + { + "financialData": { + "maxAge": 86400, + "currentPrice": 934, + "targetHighPrice": 540, + "targetLowPrice": 300, + "targetMeanPrice": 450.21, + "targetMedianPrice": 477.5, + "recommendationKey": "none", + "numberOfAnalystOpinions": 14, + "totalCash": 37984002048, + "totalCashPerShare": 90.423, + "ebitda": 11512999936, + "totalDebt": 50915999744, + "quickRatio": 1.073, + "currentRatio": 1.485, + "totalRevenue": 50863001600, + "debtToEquity": 52.74, + "revenuePerShare": 121.155, + "returnOnAssets": 0.01339, + "returnOnEquity": 0.12652999, + "grossProfits": 24367000000, + "freeCashflow": 5144000000, + "operatingCashflow": 25051000832, + "earningsGrowth": -0.781, + "revenueGrowth": 0.039, + "grossMargins": 0.39688998, + "ebitdaMargins": 0.22635001, + "operatingMargins": 0.08523, + "profitMargins": 0.23215, + "financialCurrency": "DKK" + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-fundOwnership-ORSTED.CO.json b/tests/http/quoteSummary-fundOwnership-ORSTED.CO.json new file mode 100644 index 00000000..8b76f02f --- /dev/null +++ b/tests/http/quoteSummary-fundOwnership-ORSTED.CO.json @@ -0,0 +1,82 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/ORSTED.CO?formatted=false&modules=fundOwnership" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "8p9lrmdgbeb96" + ], + "x-yahoo-request-id": [ + "8p9lrmdgbeb96" + ], + "x-request-id": [ + "bed0d474-4e55-4d0f-92e9-b635c8007b56" + ], + "content-length": [ + "92" + ], + "x-envoy-upstream-service-time": [ + "3" + ], + "date": [ + "Wed, 02 Jun 2021 07:03:01 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "1" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteSummary": { + "result": [ + { + "fundOwnership": { + "maxAge": 1, + "ownershipList": [] + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-incomeStatementHistory-ORSTED.CO.json b/tests/http/quoteSummary-incomeStatementHistory-ORSTED.CO.json new file mode 100644 index 00000000..8f0360cf --- /dev/null +++ b/tests/http/quoteSummary-incomeStatementHistory-ORSTED.CO.json @@ -0,0 +1,474 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/ORSTED.CO?formatted=false&modules=incomeStatementHistory" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "6snjsutgbeb96" + ], + "x-yahoo-request-id": [ + "6snjsutgbeb96" + ], + "x-request-id": [ + "045455ac-dbe1-472f-8612-ac32aec15b86" + ], + "content-encoding": [ + "gzip" + ], + "content-length": [ + "1372" + ], + "x-envoy-upstream-service-time": [ + "3" + ], + "date": [ + "Wed, 02 Jun 2021 07:03:02 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "0" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteSummary": { + "result": [ + { + "incomeStatementHistory": { + "incomeStatementHistory": [ + { + "maxAge": 1, + "endDate": { + "raw": 1609372800, + "fmt": "2020-12-31" + }, + "totalRevenue": { + "raw": 50151000000, + "fmt": "50.15B", + "longFmt": "50,151,000,000" + }, + "costOfRevenue": { + "raw": 25784000000, + "fmt": "25.78B", + "longFmt": "25,784,000,000" + }, + "grossProfit": { + "raw": 24367000000, + "fmt": "24.37B", + "longFmt": "24,367,000,000" + }, + "researchDevelopment": {}, + "sellingGeneralAdministrative": { + "raw": 10057000000, + "fmt": "10.06B", + "longFmt": "10,057,000,000" + }, + "nonRecurring": {}, + "otherOperatingExpenses": { + "raw": -1412000000, + "fmt": "-1.41B", + "longFmt": "-1,412,000,000" + }, + "totalOperatingExpenses": { + "raw": 42017000000, + "fmt": "42.02B", + "longFmt": "42,017,000,000" + }, + "operatingIncome": { + "raw": 8134000000, + "fmt": "8.13B", + "longFmt": "8,134,000,000" + }, + "totalOtherIncomeExpenseNet": { + "raw": 9190000000, + "fmt": "9.19B", + "longFmt": "9,190,000,000" + }, + "ebit": { + "raw": 8134000000, + "fmt": "8.13B", + "longFmt": "8,134,000,000" + }, + "interestExpense": { + "raw": -2106000000, + "fmt": "-2.11B", + "longFmt": "-2,106,000,000" + }, + "incomeBeforeTax": { + "raw": 17324000000, + "fmt": "17.32B", + "longFmt": "17,324,000,000" + }, + "incomeTaxExpense": { + "raw": 1776000000, + "fmt": "1.78B", + "longFmt": "1,776,000,000" + }, + "minorityInterest": { + "raw": 2721000000, + "fmt": "2.72B", + "longFmt": "2,721,000,000" + }, + "netIncomeFromContinuingOps": { + "raw": 15548000000, + "fmt": "15.55B", + "longFmt": "15,548,000,000" + }, + "discontinuedOperations": { + "raw": -11000000, + "fmt": "-11M", + "longFmt": "-11,000,000" + }, + "extraordinaryItems": {}, + "effectOfAccountingCharges": {}, + "otherItems": {}, + "netIncome": { + "raw": 15598000000, + "fmt": "15.6B", + "longFmt": "15,598,000,000" + }, + "netIncomeApplicableToCommonShares": { + "raw": 15110000000, + "fmt": "15.11B", + "longFmt": "15,110,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1577750400, + "fmt": "2019-12-31" + }, + "totalRevenue": { + "raw": 70398000000, + "fmt": "70.4B", + "longFmt": "70,398,000,000" + }, + "costOfRevenue": { + "raw": 42836000000, + "fmt": "42.84B", + "longFmt": "42,836,000,000" + }, + "grossProfit": { + "raw": 27562000000, + "fmt": "27.56B", + "longFmt": "27,562,000,000" + }, + "researchDevelopment": {}, + "sellingGeneralAdministrative": { + "raw": 10043000000, + "fmt": "10.04B", + "longFmt": "10,043,000,000" + }, + "nonRecurring": {}, + "otherOperatingExpenses": { + "raw": -1622000000, + "fmt": "-1.62B", + "longFmt": "-1,622,000,000" + }, + "totalOperatingExpenses": { + "raw": 58121000000, + "fmt": "58.12B", + "longFmt": "58,121,000,000" + }, + "operatingIncome": { + "raw": 12277000000, + "fmt": "12.28B", + "longFmt": "12,277,000,000" + }, + "totalOtherIncomeExpenseNet": { + "raw": -1885000000, + "fmt": "-1.89B", + "longFmt": "-1,885,000,000" + }, + "ebit": { + "raw": 12277000000, + "fmt": "12.28B", + "longFmt": "12,277,000,000" + }, + "interestExpense": { + "raw": -2063000000, + "fmt": "-2.06B", + "longFmt": "-2,063,000,000" + }, + "incomeBeforeTax": { + "raw": 10392000000, + "fmt": "10.39B", + "longFmt": "10,392,000,000" + }, + "incomeTaxExpense": { + "raw": 3101000000, + "fmt": "3.1B", + "longFmt": "3,101,000,000" + }, + "minorityInterest": { + "raw": 3248000000, + "fmt": "3.25B", + "longFmt": "3,248,000,000" + }, + "netIncomeFromContinuingOps": { + "raw": 7291000000, + "fmt": "7.29B", + "longFmt": "7,291,000,000" + }, + "discontinuedOperations": { + "raw": -56000000, + "fmt": "-56M", + "longFmt": "-56,000,000" + }, + "extraordinaryItems": {}, + "effectOfAccountingCharges": {}, + "otherItems": {}, + "netIncome": { + "raw": 7181000000, + "fmt": "7.18B", + "longFmt": "7,181,000,000" + }, + "netIncomeApplicableToCommonShares": { + "raw": 6506000000, + "fmt": "6.51B", + "longFmt": "6,506,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1546214400, + "fmt": "2018-12-31" + }, + "totalRevenue": { + "raw": 75520000000, + "fmt": "75.52B", + "longFmt": "75,520,000,000" + }, + "costOfRevenue": { + "raw": 54018000000, + "fmt": "54.02B", + "longFmt": "54,018,000,000" + }, + "grossProfit": { + "raw": 21502000000, + "fmt": "21.5B", + "longFmt": "21,502,000,000" + }, + "researchDevelopment": {}, + "sellingGeneralAdministrative": { + "raw": 8991000000, + "fmt": "8.99B", + "longFmt": "8,991,000,000" + }, + "nonRecurring": {}, + "otherOperatingExpenses": { + "raw": -991000000, + "fmt": "-991M", + "longFmt": "-991,000,000" + }, + "totalOperatingExpenses": { + "raw": 67996000000, + "fmt": "68B", + "longFmt": "67,996,000,000" + }, + "operatingIncome": { + "raw": 7524000000, + "fmt": "7.52B", + "longFmt": "7,524,000,000" + }, + "totalOtherIncomeExpenseNet": { + "raw": 14442000000, + "fmt": "14.44B", + "longFmt": "14,442,000,000" + }, + "ebit": { + "raw": 7524000000, + "fmt": "7.52B", + "longFmt": "7,524,000,000" + }, + "interestExpense": { + "raw": -1484000000, + "fmt": "-1.48B", + "longFmt": "-1,484,000,000" + }, + "incomeBeforeTax": { + "raw": 21966000000, + "fmt": "21.97B", + "longFmt": "21,966,000,000" + }, + "incomeTaxExpense": { + "raw": 3700000000, + "fmt": "3.7B", + "longFmt": "3,700,000,000" + }, + "minorityInterest": { + "raw": 3388000000, + "fmt": "3.39B", + "longFmt": "3,388,000,000" + }, + "netIncomeFromContinuingOps": { + "raw": 18266000000, + "fmt": "18.27B", + "longFmt": "18,266,000,000" + }, + "discontinuedOperations": { + "raw": 10000000, + "fmt": "10M", + "longFmt": "10,000,000" + }, + "extraordinaryItems": {}, + "effectOfAccountingCharges": {}, + "otherItems": {}, + "netIncome": { + "raw": 18251000000, + "fmt": "18.25B", + "longFmt": "18,251,000,000" + }, + "netIncomeApplicableToCommonShares": { + "raw": 17826000000, + "fmt": "17.83B", + "longFmt": "17,826,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1514678400, + "fmt": "2017-12-31" + }, + "totalRevenue": { + "raw": 59709000000, + "fmt": "59.71B", + "longFmt": "59,709,000,000" + }, + "costOfRevenue": { + "raw": 40694000000, + "fmt": "40.69B", + "longFmt": "40,694,000,000" + }, + "grossProfit": { + "raw": 19015000000, + "fmt": "19.02B", + "longFmt": "19,015,000,000" + }, + "researchDevelopment": {}, + "sellingGeneralAdministrative": { + "raw": 7438000000, + "fmt": "7.44B", + "longFmt": "7,438,000,000" + }, + "nonRecurring": {}, + "otherOperatingExpenses": { + "raw": -281000000, + "fmt": "-281M", + "longFmt": "-281,000,000" + }, + "totalOperatingExpenses": { + "raw": 53590000000, + "fmt": "53.59B", + "longFmt": "53,590,000,000" + }, + "operatingIncome": { + "raw": 6119000000, + "fmt": "6.12B", + "longFmt": "6,119,000,000" + }, + "totalOtherIncomeExpenseNet": { + "raw": 8980000000, + "fmt": "8.98B", + "longFmt": "8,980,000,000" + }, + "ebit": { + "raw": 6119000000, + "fmt": "6.12B", + "longFmt": "6,119,000,000" + }, + "interestExpense": { + "raw": -1219000000, + "fmt": "-1.22B", + "longFmt": "-1,219,000,000" + }, + "incomeBeforeTax": { + "raw": 15099000000, + "fmt": "15.1B", + "longFmt": "15,099,000,000" + }, + "incomeTaxExpense": { + "raw": 1778000000, + "fmt": "1.78B", + "longFmt": "1,778,000,000" + }, + "minorityInterest": { + "raw": 3807000000, + "fmt": "3.81B", + "longFmt": "3,807,000,000" + }, + "netIncomeFromContinuingOps": { + "raw": 13321000000, + "fmt": "13.32B", + "longFmt": "13,321,000,000" + }, + "discontinuedOperations": { + "raw": 6104000000, + "fmt": "6.1B", + "longFmt": "6,104,000,000" + }, + "extraordinaryItems": {}, + "effectOfAccountingCharges": {}, + "otherItems": {}, + "netIncome": { + "raw": 19435000000, + "fmt": "19.43B", + "longFmt": "19,435,000,000" + }, + "netIncomeApplicableToCommonShares": { + "raw": 18719000000, + "fmt": "18.72B", + "longFmt": "18,719,000,000" + } + } + ], + "maxAge": 86400 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-incomeStatementHistoryQuarterly-ORSTED.CO.json b/tests/http/quoteSummary-incomeStatementHistoryQuarterly-ORSTED.CO.json new file mode 100644 index 00000000..63237fba --- /dev/null +++ b/tests/http/quoteSummary-incomeStatementHistoryQuarterly-ORSTED.CO.json @@ -0,0 +1,470 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/ORSTED.CO?formatted=false&modules=incomeStatementHistoryQuarterly" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "5d6qg21gbeb97" + ], + "x-yahoo-request-id": [ + "5d6qg21gbeb97" + ], + "x-request-id": [ + "e4c22047-a1a9-4d37-aae8-335c07e7111c" + ], + "content-encoding": [ + "gzip" + ], + "content-length": [ + "1284" + ], + "x-envoy-upstream-service-time": [ + "3" + ], + "date": [ + "Wed, 02 Jun 2021 07:03:03 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-canary-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "0" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteSummary": { + "result": [ + { + "incomeStatementHistoryQuarterly": { + "incomeStatementHistory": [ + { + "maxAge": 1, + "endDate": { + "raw": 1617148800, + "fmt": "2021-03-31" + }, + "totalRevenue": { + "raw": 18944000000, + "fmt": "18.94B", + "longFmt": "18,944,000,000" + }, + "costOfRevenue": { + "raw": 12911000000, + "fmt": "12.91B", + "longFmt": "12,911,000,000" + }, + "grossProfit": { + "raw": 6033000000, + "fmt": "6.03B", + "longFmt": "6,033,000,000" + }, + "researchDevelopment": {}, + "sellingGeneralAdministrative": { + "raw": 1970000000, + "fmt": "1.97B", + "longFmt": "1,970,000,000" + }, + "nonRecurring": {}, + "otherOperatingExpenses": { + "raw": -542000000, + "fmt": "-542M", + "longFmt": "-542,000,000" + }, + "totalOperatingExpenses": { + "raw": 16269000000, + "fmt": "16.27B", + "longFmt": "16,269,000,000" + }, + "operatingIncome": { + "raw": 2675000000, + "fmt": "2.67B", + "longFmt": "2,675,000,000" + }, + "totalOtherIncomeExpenseNet": { + "raw": -128000000, + "fmt": "-128M", + "longFmt": "-128,000,000" + }, + "ebit": { + "raw": 2675000000, + "fmt": "2.67B", + "longFmt": "2,675,000,000" + }, + "interestExpense": { + "raw": -420000000, + "fmt": "-420M", + "longFmt": "-420,000,000" + }, + "incomeBeforeTax": { + "raw": 2547000000, + "fmt": "2.55B", + "longFmt": "2,547,000,000" + }, + "incomeTaxExpense": { + "raw": 949000000, + "fmt": "949M", + "longFmt": "949,000,000" + }, + "minorityInterest": { + "raw": 2722000000, + "fmt": "2.72B", + "longFmt": "2,722,000,000" + }, + "netIncomeFromContinuingOps": { + "raw": 1598000000, + "fmt": "1.6B", + "longFmt": "1,598,000,000" + }, + "discontinuedOperations": {}, + "extraordinaryItems": {}, + "effectOfAccountingCharges": {}, + "otherItems": {}, + "netIncome": { + "raw": 1589000000, + "fmt": "1.59B", + "longFmt": "1,589,000,000" + }, + "netIncomeApplicableToCommonShares": { + "raw": 1174000000, + "fmt": "1.17B", + "longFmt": "1,174,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1609372800, + "fmt": "2020-12-31" + }, + "totalRevenue": { + "raw": 13195000000, + "fmt": "13.2B", + "longFmt": "13,195,000,000" + }, + "costOfRevenue": { + "raw": 7484000000, + "fmt": "7.48B", + "longFmt": "7,484,000,000" + }, + "grossProfit": { + "raw": 5711000000, + "fmt": "5.71B", + "longFmt": "5,711,000,000" + }, + "researchDevelopment": {}, + "sellingGeneralAdministrative": { + "raw": 2655000000, + "fmt": "2.65B", + "longFmt": "2,655,000,000" + }, + "nonRecurring": {}, + "otherOperatingExpenses": { + "raw": -456000000, + "fmt": "-456M", + "longFmt": "-456,000,000" + }, + "totalOperatingExpenses": { + "raw": 11595000000, + "fmt": "11.6B", + "longFmt": "11,595,000,000" + }, + "operatingIncome": { + "raw": 1600000000, + "fmt": "1.6B", + "longFmt": "1,600,000,000" + }, + "totalOtherIncomeExpenseNet": { + "raw": -1158000000, + "fmt": "-1.16B", + "longFmt": "-1,158,000,000" + }, + "ebit": { + "raw": 1600000000, + "fmt": "1.6B", + "longFmt": "1,600,000,000" + }, + "interestExpense": { + "raw": -647000000, + "fmt": "-647M", + "longFmt": "-647,000,000" + }, + "incomeBeforeTax": { + "raw": 442000000, + "fmt": "442M", + "longFmt": "442,000,000" + }, + "incomeTaxExpense": { + "raw": -258000000, + "fmt": "-258M", + "longFmt": "-258,000,000" + }, + "minorityInterest": { + "raw": 2721000000, + "fmt": "2.72B", + "longFmt": "2,721,000,000" + }, + "netIncomeFromContinuingOps": { + "raw": 700000000, + "fmt": "700M", + "longFmt": "700,000,000" + }, + "discontinuedOperations": { + "raw": 15000000, + "fmt": "15M", + "longFmt": "15,000,000" + }, + "extraordinaryItems": {}, + "effectOfAccountingCharges": {}, + "otherItems": {}, + "netIncome": { + "raw": 763000000, + "fmt": "763M", + "longFmt": "763,000,000" + }, + "netIncomeApplicableToCommonShares": { + "raw": 601000000, + "fmt": "601M", + "longFmt": "601,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1601424000, + "fmt": "2020-09-30" + }, + "totalRevenue": { + "raw": 8762000000, + "fmt": "8.76B", + "longFmt": "8,762,000,000" + }, + "costOfRevenue": { + "raw": 3764000000, + "fmt": "3.76B", + "longFmt": "3,764,000,000" + }, + "grossProfit": { + "raw": 4998000000, + "fmt": "5B", + "longFmt": "4,998,000,000" + }, + "researchDevelopment": {}, + "sellingGeneralAdministrative": { + "raw": 2820000000, + "fmt": "2.82B", + "longFmt": "2,820,000,000" + }, + "nonRecurring": {}, + "otherOperatingExpenses": { + "raw": -290000000, + "fmt": "-290M", + "longFmt": "-290,000,000" + }, + "totalOperatingExpenses": { + "raw": 8389000000, + "fmt": "8.39B", + "longFmt": "8,389,000,000" + }, + "operatingIncome": { + "raw": 373000000, + "fmt": "373M", + "longFmt": "373,000,000" + }, + "totalOtherIncomeExpenseNet": { + "raw": 10846000000, + "fmt": "10.85B", + "longFmt": "10,846,000,000" + }, + "ebit": { + "raw": 373000000, + "fmt": "373M", + "longFmt": "373,000,000" + }, + "interestExpense": { + "raw": -255000000, + "fmt": "-255M", + "longFmt": "-255,000,000" + }, + "incomeBeforeTax": { + "raw": 11219000000, + "fmt": "11.22B", + "longFmt": "11,219,000,000" + }, + "incomeTaxExpense": { + "raw": -92000000, + "fmt": "-92M", + "longFmt": "-92,000,000" + }, + "minorityInterest": { + "raw": 2790000000, + "fmt": "2.79B", + "longFmt": "2,790,000,000" + }, + "netIncomeFromContinuingOps": { + "raw": 11311000000, + "fmt": "11.31B", + "longFmt": "11,311,000,000" + }, + "discontinuedOperations": { + "raw": 18000000, + "fmt": "18M", + "longFmt": "18,000,000" + }, + "extraordinaryItems": {}, + "effectOfAccountingCharges": {}, + "otherItems": {}, + "netIncome": { + "raw": 11331000000, + "fmt": "11.33B", + "longFmt": "11,331,000,000" + }, + "netIncomeApplicableToCommonShares": { + "raw": 11331000000, + "fmt": "11.33B", + "longFmt": "11,331,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1593475200, + "fmt": "2020-06-30" + }, + "totalRevenue": { + "raw": 9962000000, + "fmt": "9.96B", + "longFmt": "9,962,000,000" + }, + "costOfRevenue": { + "raw": 6517000000, + "fmt": "6.52B", + "longFmt": "6,517,000,000" + }, + "grossProfit": { + "raw": 3445000000, + "fmt": "3.44B", + "longFmt": "3,445,000,000" + }, + "researchDevelopment": {}, + "sellingGeneralAdministrative": { + "raw": 2300000000, + "fmt": "2.3B", + "longFmt": "2,300,000,000" + }, + "nonRecurring": {}, + "otherOperatingExpenses": { + "raw": -369000000, + "fmt": "-369M", + "longFmt": "-369,000,000" + }, + "totalOperatingExpenses": { + "raw": 10275000000, + "fmt": "10.28B", + "longFmt": "10,275,000,000" + }, + "operatingIncome": { + "raw": -313000000, + "fmt": "-313M", + "longFmt": "-313,000,000" + }, + "totalOtherIncomeExpenseNet": { + "raw": -932000000, + "fmt": "-932M", + "longFmt": "-932,000,000" + }, + "ebit": { + "raw": -313000000, + "fmt": "-313M", + "longFmt": "-313,000,000" + }, + "interestExpense": { + "raw": -669000000, + "fmt": "-669M", + "longFmt": "-669,000,000" + }, + "incomeBeforeTax": { + "raw": -1245000000, + "fmt": "-1.25B", + "longFmt": "-1,245,000,000" + }, + "incomeTaxExpense": { + "raw": 625000000, + "fmt": "625M", + "longFmt": "625,000,000" + }, + "minorityInterest": { + "raw": 2909000000, + "fmt": "2.91B", + "longFmt": "2,909,000,000" + }, + "netIncomeFromContinuingOps": { + "raw": -1870000000, + "fmt": "-1.87B", + "longFmt": "-1,870,000,000" + }, + "discontinuedOperations": { + "raw": -16000000, + "fmt": "-16M", + "longFmt": "-16,000,000" + }, + "extraordinaryItems": {}, + "effectOfAccountingCharges": {}, + "otherItems": {}, + "netIncome": { + "raw": -1875000000, + "fmt": "-1.88B", + "longFmt": "-1,875,000,000" + }, + "netIncomeApplicableToCommonShares": { + "raw": -2201000000, + "fmt": "-2.2B", + "longFmt": "-2,201,000,000" + } + } + ], + "maxAge": 86400 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-indexTrend-ORSTED.CO.json b/tests/http/quoteSummary-indexTrend-ORSTED.CO.json new file mode 100644 index 00000000..631e732c --- /dev/null +++ b/tests/http/quoteSummary-indexTrend-ORSTED.CO.json @@ -0,0 +1,109 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/ORSTED.CO?formatted=false&modules=indexTrend" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "6o9ktapgbeb98" + ], + "x-yahoo-request-id": [ + "6o9ktapgbeb98" + ], + "x-request-id": [ + "ad6d08b9-3d23-4b71-a3bd-611941b9bc31" + ], + "content-length": [ + "314" + ], + "x-envoy-upstream-service-time": [ + "3" + ], + "date": [ + "Wed, 02 Jun 2021 07:03:04 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "0" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteSummary": { + "result": [ + { + "indexTrend": { + "maxAge": 1, + "symbol": "SP5", + "peRatio": 17.7459, + "pegRatio": 1.66195, + "estimates": [ + { + "period": "0q", + "growth": 0.553 + }, + { + "period": "+1q", + "growth": 0.372 + }, + { + "period": "0y", + "growth": 0.376 + }, + { + "period": "+1y", + "growth": 0.092 + }, + { + "period": "+5y", + "growth": 0.132158 + }, + { + "period": "-5y" + } + ] + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-industryTrend-ORSTED.CO.json b/tests/http/quoteSummary-industryTrend-ORSTED.CO.json new file mode 100644 index 00000000..34ebb0cd --- /dev/null +++ b/tests/http/quoteSummary-industryTrend-ORSTED.CO.json @@ -0,0 +1,83 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/ORSTED.CO?formatted=false&modules=industryTrend" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "41mp49lgbeb9a" + ], + "x-yahoo-request-id": [ + "41mp49lgbeb9a" + ], + "x-request-id": [ + "179d82a8-f72b-4aba-a9e4-c193a2a4b864" + ], + "content-length": [ + "102" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 02 Jun 2021 07:03:05 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "1" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteSummary": { + "result": [ + { + "industryTrend": { + "maxAge": 1, + "symbol": null, + "estimates": [] + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-insiderHolders-ORSTED.CO.json b/tests/http/quoteSummary-insiderHolders-ORSTED.CO.json new file mode 100644 index 00000000..1178a4a3 --- /dev/null +++ b/tests/http/quoteSummary-insiderHolders-ORSTED.CO.json @@ -0,0 +1,82 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/ORSTED.CO?formatted=false&modules=insiderHolders" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "bso086pgbeb9a" + ], + "x-yahoo-request-id": [ + "bso086pgbeb9a" + ], + "x-request-id": [ + "3398c9e8-00d4-4689-b3a5-c5603624ccde" + ], + "content-length": [ + "87" + ], + "x-envoy-upstream-service-time": [ + "3" + ], + "date": [ + "Wed, 02 Jun 2021 07:03:06 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "0" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteSummary": { + "result": [ + { + "insiderHolders": { + "holders": [], + "maxAge": 1 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-insiderTransactions-ORSTED.CO.json b/tests/http/quoteSummary-insiderTransactions-ORSTED.CO.json new file mode 100644 index 00000000..869a2ffc --- /dev/null +++ b/tests/http/quoteSummary-insiderTransactions-ORSTED.CO.json @@ -0,0 +1,81 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/ORSTED.CO?formatted=false&modules=insiderTransactions" + }, + "response": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "3dkoor5gbeb9b" + ], + "x-yahoo-request-id": [ + "3dkoor5gbeb9b" + ], + "x-request-id": [ + "c0863787-a306-490d-a950-5337840e8d40" + ], + "content-length": [ + "152" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 02 Jun 2021 07:03:06 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-canary-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "cache-control": [ + "max-age=0, private" + ], + "expires": [ + "-1" + ], + "age": [ + "1" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteSummary": { + "result": null, + "error": { + "code": "Not Found", + "description": "No fundamentals data found for any of the summaryTypes=insiderTransactions" + } + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-institutionOwnership-ORSTED.CO.json b/tests/http/quoteSummary-institutionOwnership-ORSTED.CO.json new file mode 100644 index 00000000..f6fb852f --- /dev/null +++ b/tests/http/quoteSummary-institutionOwnership-ORSTED.CO.json @@ -0,0 +1,82 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/ORSTED.CO?formatted=false&modules=institutionOwnership" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "1j7osbdgbeb9c" + ], + "x-yahoo-request-id": [ + "1j7osbdgbeb9c" + ], + "x-request-id": [ + "5ef1f800-6274-4451-8bb7-4ff384c0ebd7" + ], + "content-length": [ + "99" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 02 Jun 2021 07:03:08 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "0" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteSummary": { + "result": [ + { + "institutionOwnership": { + "maxAge": 1, + "ownershipList": [] + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-majorDirectHolders-ORSTED.CO.json b/tests/http/quoteSummary-majorDirectHolders-ORSTED.CO.json new file mode 100644 index 00000000..93965ce1 --- /dev/null +++ b/tests/http/quoteSummary-majorDirectHolders-ORSTED.CO.json @@ -0,0 +1,82 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/ORSTED.CO?formatted=false&modules=majorDirectHolders" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "908de81gbeb9c" + ], + "x-yahoo-request-id": [ + "908de81gbeb9c" + ], + "x-request-id": [ + "e458b0d1-b1fe-46b1-8611-7431a17a8d48" + ], + "content-length": [ + "91" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 02 Jun 2021 07:03:08 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "0" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteSummary": { + "result": [ + { + "majorDirectHolders": { + "holders": [], + "maxAge": 1 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-majorHoldersBreakdown-ORSTED.CO.json b/tests/http/quoteSummary-majorHoldersBreakdown-ORSTED.CO.json new file mode 100644 index 00000000..f332078a --- /dev/null +++ b/tests/http/quoteSummary-majorHoldersBreakdown-ORSTED.CO.json @@ -0,0 +1,85 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/ORSTED.CO?formatted=false&modules=majorHoldersBreakdown" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "2hn5ufdgbeb9d" + ], + "x-yahoo-request-id": [ + "2hn5ufdgbeb9d" + ], + "x-request-id": [ + "28a11ba3-d224-4e40-a90f-03db87db5edd" + ], + "content-length": [ + "205" + ], + "x-envoy-upstream-service-time": [ + "3" + ], + "date": [ + "Wed, 02 Jun 2021 07:03:09 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-canary-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "0" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteSummary": { + "result": [ + { + "majorHoldersBreakdown": { + "maxAge": 1, + "insidersPercentHeld": 0.551, + "institutionsPercentHeld": 0.25669, + "institutionsFloatPercentHeld": 0.5717, + "institutionsCount": 579 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-netSharePurchaseActivity-ORSTED.CO.json b/tests/http/quoteSummary-netSharePurchaseActivity-ORSTED.CO.json new file mode 100644 index 00000000..2a8d01c2 --- /dev/null +++ b/tests/http/quoteSummary-netSharePurchaseActivity-ORSTED.CO.json @@ -0,0 +1,89 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/ORSTED.CO?formatted=false&modules=netSharePurchaseActivity" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "cmfcvk1gbeb9e" + ], + "x-yahoo-request-id": [ + "cmfcvk1gbeb9e" + ], + "x-request-id": [ + "04b0bc41-864e-46a8-a78c-813a1ef0303a" + ], + "content-length": [ + "247" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 02 Jun 2021 07:03:09 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "1" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteSummary": { + "result": [ + { + "netSharePurchaseActivity": { + "maxAge": 1, + "period": "6m", + "buyInfoCount": 0, + "buyInfoShares": 0, + "sellInfoCount": 0, + "netInfoCount": 0, + "netInfoShares": 0, + "netPercentInsiderShares": 0, + "totalInsiderShares": 231457472 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-price-ORSTED.CO.json b/tests/http/quoteSummary-price-ORSTED.CO.json new file mode 100644 index 00000000..8d35f771 --- /dev/null +++ b/tests/http/quoteSummary-price-ORSTED.CO.json @@ -0,0 +1,108 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/ORSTED.CO?formatted=false&modules=price" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "cg2c76tgbeb9e" + ], + "x-yahoo-request-id": [ + "cg2c76tgbeb9e" + ], + "x-request-id": [ + "e4dbcb69-a48a-4a6b-a23b-f982a2d6569f" + ], + "content-length": [ + "756" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 02 Jun 2021 07:03:10 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "0" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteSummary": { + "result": [ + { + "price": { + "maxAge": 1, + "regularMarketChangePercent": 0.00907326, + "regularMarketChange": 8.400024, + "regularMarketTime": 1622617383, + "priceHint": 2, + "regularMarketPrice": 934.2, + "regularMarketDayHigh": 936.4, + "regularMarketDayLow": 924.8, + "regularMarketVolume": 18090, + "regularMarketPreviousClose": 925.8, + "regularMarketSource": "FREE_REALTIME", + "regularMarketOpen": 925.8, + "exchange": "CPH", + "exchangeName": "Copenhagen", + "exchangeDataDelayedBy": 0, + "marketState": "REGULAR", + "quoteType": "EQUITY", + "symbol": "ORSTED.CO", + "underlyingSymbol": null, + "shortName": null, + "longName": "Ørsted A/S", + "currency": "DKK", + "quoteSourceName": "Free Realtime Quote", + "currencySymbol": "kr.", + "fromCurrency": null, + "toCurrency": null, + "lastMarket": null, + "marketCap": 392427536384 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-quoteType-ORSTED.CO.json b/tests/http/quoteSummary-quoteType-ORSTED.CO.json new file mode 100644 index 00000000..6409eeea --- /dev/null +++ b/tests/http/quoteSummary-quoteType-ORSTED.CO.json @@ -0,0 +1,93 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/ORSTED.CO?formatted=false&modules=quoteType" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "7pf96mlgbeb9f" + ], + "x-yahoo-request-id": [ + "7pf96mlgbeb9f" + ], + "x-request-id": [ + "a0fb963e-8861-43b6-be96-a33648b41333" + ], + "content-length": [ + "414" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 02 Jun 2021 07:03:10 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "1" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteSummary": { + "result": [ + { + "quoteType": { + "exchange": "CPH", + "quoteType": "EQUITY", + "symbol": "ORSTED.CO", + "underlyingSymbol": "ORSTED.CO", + "shortName": null, + "longName": "Ørsted A/S", + "firstTradeDateEpochUtc": 1465455600, + "timeZoneFullName": "Europe/Copenhagen", + "timeZoneShortName": "CEST", + "uuid": "67f0c8f0-bb94-337f-8584-7a872b07d495", + "messageBoardId": "finmb_6492833", + "gmtOffSetMilliseconds": 7200000, + "maxAge": 1 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-recommendationTrend-ORSTED.CO.json b/tests/http/quoteSummary-recommendationTrend-ORSTED.CO.json new file mode 100644 index 00000000..af3b2167 --- /dev/null +++ b/tests/http/quoteSummary-recommendationTrend-ORSTED.CO.json @@ -0,0 +1,115 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/ORSTED.CO?formatted=false&modules=recommendationTrend" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "2rnduntgbeb9f" + ], + "x-yahoo-request-id": [ + "2rnduntgbeb9f" + ], + "x-request-id": [ + "aa9c389e-13d1-40b1-aec8-3271cb5326c1" + ], + "content-length": [ + "380" + ], + "x-envoy-upstream-service-time": [ + "6" + ], + "date": [ + "Wed, 02 Jun 2021 07:03:11 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "0" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteSummary": { + "result": [ + { + "recommendationTrend": { + "trend": [ + { + "period": "0m", + "strongBuy": 0, + "buy": 0, + "hold": 0, + "sell": 0, + "strongSell": 0 + }, + { + "period": "-1m", + "strongBuy": 2, + "buy": 5, + "hold": 5, + "sell": 5, + "strongSell": 1 + }, + { + "period": "-2m", + "strongBuy": 2, + "buy": 4, + "hold": 5, + "sell": 4, + "strongSell": 1 + }, + { + "period": "-3m", + "strongBuy": 1, + "buy": 4, + "hold": 5, + "sell": 4, + "strongSell": 1 + } + ], + "maxAge": 86400 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-secFilings-ORSTED.CO.json b/tests/http/quoteSummary-secFilings-ORSTED.CO.json new file mode 100644 index 00000000..beb6ddf0 --- /dev/null +++ b/tests/http/quoteSummary-secFilings-ORSTED.CO.json @@ -0,0 +1,81 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/ORSTED.CO?formatted=false&modules=secFilings" + }, + "response": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "4mrbalpgbeb9g" + ], + "x-yahoo-request-id": [ + "4mrbalpgbeb9g" + ], + "x-request-id": [ + "5cdee370-2115-4333-95ac-5567a4637d7e" + ], + "content-length": [ + "143" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 02 Jun 2021 07:03:12 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "cache-control": [ + "max-age=0, private" + ], + "expires": [ + "-1" + ], + "age": [ + "0" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteSummary": { + "result": null, + "error": { + "code": "Not Found", + "description": "No fundamentals data found for any of the summaryTypes=secFilings" + } + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-summaryDetail-ORSTED.CO.json b/tests/http/quoteSummary-summaryDetail-ORSTED.CO.json new file mode 100644 index 00000000..63de09db --- /dev/null +++ b/tests/http/quoteSummary-summaryDetail-ORSTED.CO.json @@ -0,0 +1,120 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/ORSTED.CO?formatted=false&modules=summaryDetail" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "3fu64elgbeb9h" + ], + "x-yahoo-request-id": [ + "3fu64elgbeb9h" + ], + "x-request-id": [ + "741f0167-7c42-433a-9c5f-633a828ed892" + ], + "content-length": [ + "961" + ], + "x-envoy-upstream-service-time": [ + "3" + ], + "date": [ + "Wed, 02 Jun 2021 07:03:13 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "2" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteSummary": { + "result": [ + { + "summaryDetail": { + "maxAge": 1, + "priceHint": 2, + "previousClose": 925.8, + "open": 925.8, + "dayLow": 924.8, + "dayHigh": 936.4, + "regularMarketPreviousClose": 925.8, + "regularMarketOpen": 925.8, + "regularMarketDayLow": 924.8, + "regularMarketDayHigh": 936.4, + "dividendRate": 11.5, + "dividendYield": 0.0123000005, + "exDividendDate": 1614643200, + "payoutRatio": 0.444, + "beta": 0.45251, + "trailingPE": 35.99029, + "forwardPE": 58.314606, + "volume": 18106, + "regularMarketVolume": 18106, + "averageVolume": 703158, + "averageVolume10days": 492580, + "averageDailyVolume10Day": 492580, + "bid": 934.2, + "ask": 935.8, + "bidSize": 0, + "askSize": 0, + "marketCap": 392427536384, + "fiftyTwoWeekLow": 727.2, + "fiftyTwoWeekHigh": 1400.5, + "priceToSalesTrailing12Months": 7.715383, + "fiftyDayAverage": 920.8914, + "twoHundredDayAverage": 1050.5908, + "trailingAnnualDividendRate": 11.5, + "trailingAnnualDividendYield": 0.01242169, + "currency": "DKK", + "fromCurrency": null, + "toCurrency": null, + "lastMarket": null, + "algorithm": null, + "tradeable": false + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-summaryProfile-ORSTED.CO.json b/tests/http/quoteSummary-summaryProfile-ORSTED.CO.json new file mode 100644 index 00000000..e8af6460 --- /dev/null +++ b/tests/http/quoteSummary-summaryProfile-ORSTED.CO.json @@ -0,0 +1,94 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/ORSTED.CO?formatted=false&modules=summaryProfile" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "106ihbdgbeb9i" + ], + "x-yahoo-request-id": [ + "106ihbdgbeb9i" + ], + "x-request-id": [ + "f73f932b-7b8d-4805-a0f7-872eaaa742c0" + ], + "content-length": [ + "1346" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 02 Jun 2021 07:03:14 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "0" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteSummary": { + "result": [ + { + "summaryProfile": { + "address1": "Kraftvaerksvej 53", + "address2": "Skaerbaek", + "city": "Fredericia", + "zip": "7000", + "country": "Denmark", + "phone": "45 99 55 11 11", + "fax": "45 99 55 00 11", + "website": "http://www.orsted.com", + "industry": "Utilities—Renewable", + "sector": "Utilities", + "longBusinessSummary": "Ørsted A/S, together with its subsidiaries, develops, constructs, owns, and operates offshore and onshore wind farms, solar farms, energy storage facilities, and bioenergy plants. It operates through Offshore, Onshore, and Markets & Bioenergy segments. The Offshore segment develops, constructs, owns, and operates offshore wind farms in the United Kingdom, Germany, Denmark, the Netherlands, the United States, Taiwan, Japan, and South Korea. The Onshore segment develops, owns, and operates onshore wind and solar farms in the United States. The Markets & Bioenergy segment engages in the generation of heat and power from combined heat and power plants in Denmark; sells power and gas in the wholesale and B2B markets; and optimizes and hedges energy portfolio. The company was formerly known as DONG Energy A/S and changed its name to Ørsted A/S in November 2017. Ørsted A/S was founded in 1972 and is headquartered in Fredericia, Denmark.", + "fullTimeEmployees": 6311, + "companyOfficers": [], + "maxAge": 86400 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-upgradeDowngradeHistory-ORSTED.CO.json b/tests/http/quoteSummary-upgradeDowngradeHistory-ORSTED.CO.json new file mode 100644 index 00000000..7f941e3d --- /dev/null +++ b/tests/http/quoteSummary-upgradeDowngradeHistory-ORSTED.CO.json @@ -0,0 +1,81 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/ORSTED.CO?formatted=false&modules=upgradeDowngradeHistory" + }, + "response": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "fn8kcdlgbeb9j" + ], + "x-yahoo-request-id": [ + "fn8kcdlgbeb9j" + ], + "x-request-id": [ + "a85dc579-dd39-490d-8ed2-2bca121e5fb5" + ], + "content-length": [ + "156" + ], + "x-envoy-upstream-service-time": [ + "3" + ], + "date": [ + "Wed, 02 Jun 2021 07:03:14 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "cache-control": [ + "max-age=0, private" + ], + "expires": [ + "-1" + ], + "age": [ + "1" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteSummary": { + "result": null, + "error": { + "code": "Not Found", + "description": "No fundamentals data found for any of the summaryTypes=upgradeDowngradeHistory" + } + } + } + } +} \ No newline at end of file diff --git a/tests/http/recommendationsBySymbol-ORSTED.CO.json b/tests/http/recommendationsBySymbol-ORSTED.CO.json new file mode 100644 index 00000000..32601376 --- /dev/null +++ b/tests/http/recommendationsBySymbol-ORSTED.CO.json @@ -0,0 +1,98 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v6/finance/recommendationsbysymbol/ORSTED.CO?" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "x-yahoo-request-id": [ + "cb3vhg1gbeb8t" + ], + "cache-control": [ + "max-age=60, stale-while-revalidate=15, stale-if-error=3600" + ], + "content-encoding": [ + "gzip" + ], + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "content-length": [ + "169" + ], + "x-envoy-upstream-service-time": [ + "82" + ], + "date": [ + "Wed, 02 Jun 2021 07:02:53 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-yql--mtls-default-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "0" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "finance": { + "result": [ + { + "symbol": "ORSTED.CO", + "recommendedSymbols": [ + { + "symbol": "VWS.CO", + "score": 0.150063 + }, + { + "symbol": "DSV.CO", + "score": 0.101934 + }, + { + "symbol": "DANSKE.CO", + "score": 0.093333 + }, + { + "symbol": "GMAB.CO", + "score": 0.091273 + }, + { + "symbol": "AMBU-B.CO", + "score": 0.08408 + } + ] + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/search-ORSTED.CO.json b/tests/http/search-ORSTED.CO.json new file mode 100644 index 00000000..9e22f321 --- /dev/null +++ b/tests/http/search-ORSTED.CO.json @@ -0,0 +1,97 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v1/finance/search?lang=en-US®ion=US"esCount=6&newsCount=4&enableFuzzyQuery=false"esQueryId=tss_match_phrase_query&multiQuoteQueryId=multi_quote_single_token_query&newsQueryId=news_cie_vespa&enableCb=true&enableNavLinks=true&enableEnhancedTrivialQuery=true&q=ORSTED.CO" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=120, stale-while-revalidate=180" + ], + "y-rid": [ + "a7dmhs9gbeb8t" + ], + "x-yahoo-request-id": [ + "a7dmhs9gbeb8t" + ], + "x-request-id": [ + "ea57a4a9-d8f0-455e-a367-afef871e7d8c" + ], + "content-length": [ + "465" + ], + "x-envoy-upstream-service-time": [ + "43" + ], + "date": [ + "Wed, 02 Jun 2021 07:02:52 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-search--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "1" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "explains": [], + "count": 1, + "quotes": [ + { + "exchange": "CPH", + "quoteType": "EQUITY", + "symbol": "ORSTED.CO", + "index": "quotes", + "score": 2344900, + "typeDisp": "Equity", + "longname": "Ørsted A/S", + "isYahooFinance": true + } + ], + "news": [], + "nav": [], + "lists": [], + "researchReports": [], + "totalTime": 42, + "timeTakenForQuotes": 430, + "timeTakenForNews": 700, + "timeTakenForAlgowatchlist": 400, + "timeTakenForPredefinedScreener": 400, + "timeTakenForCrunchbase": 400, + "timeTakenForNav": 400, + "timeTakenForResearchReports": 0 + } + } +} \ No newline at end of file diff --git a/tests/http/trendingSymbols-ORSTED.CO.json b/tests/http/trendingSymbols-ORSTED.CO.json new file mode 100644 index 00000000..26f639e1 --- /dev/null +++ b/tests/http/trendingSymbols-ORSTED.CO.json @@ -0,0 +1,153 @@ +{ + "request": { + "url": "https://query1.finance.yahoo.com/v7/finance/options/ORSTED.CO?formatted=false&lang=en-US®ion=US" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "c0jlvvlgbeb8t" + ], + "x-yahoo-request-id": [ + "c0jlvvlgbeb8t" + ], + "x-request-id": [ + "7af08732-cce2-4fbd-bf98-167f4f0252ad" + ], + "content-encoding": [ + "gzip" + ], + "content-length": [ + "973" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 02 Jun 2021 07:02:52 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-quote-api--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "1" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "optionChain": { + "result": [ + { + "underlyingSymbol": "ORSTED.CO", + "expirationDates": [], + "strikes": [], + "hasMiniOptions": false, + "quote": { + "language": "en-US", + "region": "US", + "quoteType": "EQUITY", + "quoteSourceName": "Free Realtime Quote", + "triggerable": true, + "currency": "DKK", + "exchange": "CPH", + "longName": "Ørsted A/S", + "messageBoardId": "finmb_6492833", + "exchangeTimezoneName": "Europe/Copenhagen", + "exchangeTimezoneShortName": "CEST", + "gmtOffSetMilliseconds": 7200000, + "market": "dk_market", + "esgPopulated": false, + "regularMarketChange": 8.200012, + "regularMarketChangePercent": 0.88572174, + "regularMarketTime": 1622617371, + "regularMarketPrice": 934, + "regularMarketDayHigh": 936.4, + "regularMarketDayRange": "924.8 - 936.4", + "regularMarketDayLow": 924.8, + "regularMarketVolume": 17816, + "regularMarketPreviousClose": 925.8, + "bid": 934.2, + "ask": 935.8, + "bidSize": 0, + "askSize": 0, + "fullExchangeName": "Copenhagen", + "financialCurrency": "DKK", + "regularMarketOpen": 925.8, + "averageDailyVolume3Month": 703158, + "averageDailyVolume10Day": 492580, + "fiftyTwoWeekLowChange": 206.79999, + "fiftyTwoWeekLowChangePercent": 0.2843784, + "fiftyTwoWeekRange": "727.2 - 1400.5", + "fiftyTwoWeekHighChange": -466.5, + "fiftyTwoWeekHighChangePercent": -0.3330953, + "fiftyTwoWeekLow": 727.2, + "fiftyTwoWeekHigh": 1400.5, + "earningsTimestamp": 1628733600, + "earningsTimestampStart": 1628733600, + "earningsTimestampEnd": 1628733600, + "trailingAnnualDividendRate": 11.5, + "trailingPE": 35.982586, + "trailingAnnualDividendYield": 0.01242169, + "epsTrailingTwelveMonths": 25.957, + "epsForward": 16.02, + "sharesOutstanding": 420068000, + "bookValue": 223.342, + "fiftyDayAverage": 920.8914, + "fiftyDayAverageChange": 13.108582, + "fiftyDayAverageChangePercent": 0.014234666, + "twoHundredDayAverage": 1050.5908, + "twoHundredDayAverageChange": -116.59082, + "twoHundredDayAverageChangePercent": -0.110976435, + "marketCap": 392343519232, + "forwardPE": 58.30212, + "priceToBook": 4.181927, + "sourceInterval": 15, + "exchangeDataDelayedBy": 0, + "tradeable": false, + "firstTradeDateMilliseconds": 1465455600000, + "priceHint": 2, + "marketState": "REGULAR", + "symbol": "ORSTED.CO" + }, + "options": [] + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/symbols.ts b/tests/symbols.ts index 6ba36674..277eb237 100644 --- a/tests/symbols.ts +++ b/tests/symbols.ts @@ -23,5 +23,6 @@ export const testSymbols = [ "EPAC", // NYSE "BTC-USD", // CryptoCurrency, CoinMarketCap "EURUSD=X", // Currency - "SIMP", // see #107 + "SIMP", // see #107, + "ORSTED.CO", // quoteSummary.price.shortName = null (#197) ];