diff --git a/src/modules/quoteSummary.spec.ts b/src/modules/quoteSummary.spec.ts index 9120f64d..487f6aeb 100644 --- a/src/modules/quoteSummary.spec.ts +++ b/src/modules/quoteSummary.spec.ts @@ -22,6 +22,7 @@ function itValidates( "CRM", "ADA-USD", // has summaryProfile.twitter (#418), "EREGL.IS", // null in incomeStatementHistory/operatingIncome, in some .IS (#517) + "THYAO.IS", // (#517) ], }); diff --git a/tests/http/quoteSummary-all-THYAO.IS.json b/tests/http/quoteSummary-all-THYAO.IS.json new file mode 100644 index 00000000..e638a468 --- /dev/null +++ b/tests/http/quoteSummary-all-THYAO.IS.json @@ -0,0 +1,3545 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/THYAO.IS?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" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "y-rid": [ + "6n14o8dhfekvg" + ], + "x-yahoo-request-id": [ + "6n14o8dhfekvg" + ], + "x-request-id": [ + "4e025b6a-cbf1-4922-b390-a41b78c24ef6" + ], + "content-encoding": [ + "gzip" + ], + "x-envoy-upstream-service-time": [ + "7" + ], + "date": [ + "Sat, 13 Aug 2022 07:34: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" + ], + "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": "Türk Hava Yollari AO Genel Yönetim Binas", + "address2": "Yesilköy Mahallesi Havaalani Caddesi No: 3/1 Bakirköy", + "city": "Istanbul", + "zip": "34149", + "country": "Turkey", + "phone": "90 212 463 63 63", + "fax": "90 212 465 21 21", + "website": "https://www.turkishairlines.com", + "industry": "Airlines", + "sector": "Industrials", + "longBusinessSummary": "Türk Hava Yollari Anonim Ortakligi provides air transport and aircraft technical maintenance services in Turkey and internationally. The company offers domestic and international passenger and cargo air transportation services; repair and maintenance, and technical and infrastructure support services related to aviation sector; catering and aviation ground handling services; software system maintenance and information technology consulting services. It is also involved in training, airport operation, and investment activities; the manufacture and trading of cabin interior accessories and aircraft seats; and the trading of aviation fuel. The company was incorporated in 1933 and is headquartered in Istanbul, Turkey.", + "fullTimeEmployees": 37394, + "companyOfficers": [ + { + "maxAge": 1, + "name": "Mr. Bilal Eksi", + "age": 53, + "title": "GM, Pres & Director", + "yearBorn": 1968, + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Prof. Mecit Es", + "age": 68, + "title": "Deputy Chairman", + "yearBorn": 1953, + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Prof. Murat Seker Ph.D.", + "title": "CFO & Director", + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Levent Konukcu", + "title": "Chief Investment & Technology Officer", + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Dr. Zekeriya Demir", + "title": "Sr. VP of Accounting & Financial Control", + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Mr. Mehmet Fatih Korkmaz", + "title": "Head of Investor Relations", + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Mr. Ahmet Olmustur", + "title": "Chief Marketing Officer", + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Mr. Abdulkerim Çay", + "age": 40, + "title": "Chief HR Officer", + "yearBorn": 1981, + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Murat Bas", + "title": "Sr. VP of Network Planning", + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Mr. Mehmet Akif Konar", + "age": 48, + "title": "Chief Commercial Officer", + "yearBorn": 1973, + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + } + ], + "maxAge": 86400 + }, + "recommendationTrend": { + "trend": [ + { + "period": "0m", + "strongBuy": 0, + "buy": 0, + "hold": 0, + "sell": 0, + "strongSell": 0 + }, + { + "period": "-1m", + "strongBuy": 2, + "buy": 13, + "hold": 5, + "sell": 0, + "strongSell": 0 + }, + { + "period": "-2m", + "strongBuy": 2, + "buy": 12, + "hold": 5, + "sell": 0, + "strongSell": 1 + }, + { + "period": "-3m", + "strongBuy": 2, + "buy": 11, + "hold": 6, + "sell": 0, + "strongSell": 2 + } + ], + "maxAge": 86400 + }, + "cashflowStatementHistory": { + "cashflowStatements": [ + { + "maxAge": 1, + "endDate": { + "raw": 1640908800, + "fmt": "2021-12-31" + }, + "netIncome": { + "raw": 8213000000, + "fmt": "8.21B", + "longFmt": "8,213,000,000" + }, + "depreciation": { + "raw": 15473000000, + "fmt": "15.47B", + "longFmt": "15,473,000,000" + }, + "changeToNetincome": { + "raw": 12699000000, + "fmt": "12.7B", + "longFmt": "12,699,000,000" + }, + "changeToAccountReceivables": { + "raw": 4634000000, + "fmt": "4.63B", + "longFmt": "4,634,000,000" + }, + "changeToLiabilities": { + "raw": 6161000000, + "fmt": "6.16B", + "longFmt": "6,161,000,000" + }, + "changeToInventory": { + "raw": 385000000, + "fmt": "385M", + "longFmt": "385,000,000" + }, + "changeToOperatingActivities": { + "raw": 1797000000, + "fmt": "1.8B", + "longFmt": "1,797,000,000" + }, + "totalCashFromOperatingActivities": { + "raw": 49362000000, + "fmt": "49.36B", + "longFmt": "49,362,000,000" + }, + "capitalExpenditures": { + "raw": -7538000000, + "fmt": "-7.54B", + "longFmt": "-7,538,000,000" + }, + "investments": { + "raw": -5000000, + "fmt": "-5M", + "longFmt": "-5,000,000" + }, + "otherCashflowsFromInvestingActivities": { + "raw": 2186000000, + "fmt": "2.19B", + "longFmt": "2,186,000,000" + }, + "totalCashflowsFromInvestingActivities": { + "raw": -4630000000, + "fmt": "-4.63B", + "longFmt": "-4,630,000,000" + }, + "netBorrowings": { + "raw": -20058000000, + "fmt": "-20.06B", + "longFmt": "-20,058,000,000" + }, + "otherCashflowsFromFinancingActivities": { + "raw": -2288000000, + "fmt": "-2.29B", + "longFmt": "-2,288,000,000" + }, + "totalCashFromFinancingActivities": { + "raw": -22346000000, + "fmt": "-22.35B", + "longFmt": "-22,346,000,000" + }, + "changeInCash": { + "raw": 22386000000, + "fmt": "22.39B", + "longFmt": "22,386,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1609372800, + "fmt": "2020-12-31" + }, + "netIncome": { + "raw": -5588000000, + "fmt": "-5.59B", + "longFmt": "-5,588,000,000" + }, + "depreciation": { + "raw": 11638000000, + "fmt": "11.64B", + "longFmt": "11,638,000,000" + }, + "changeToNetincome": { + "raw": 7674000000, + "fmt": "7.67B", + "longFmt": "7,674,000,000" + }, + "changeToAccountReceivables": { + "raw": -2224000000, + "fmt": "-2.22B", + "longFmt": "-2,224,000,000" + }, + "changeToLiabilities": { + "raw": -5193000000, + "fmt": "-5.19B", + "longFmt": "-5,193,000,000" + }, + "changeToInventory": { + "raw": -102000000, + "fmt": "-102M", + "longFmt": "-102,000,000" + }, + "changeToOperatingActivities": { + "raw": -602000000, + "fmt": "-602M", + "longFmt": "-602,000,000" + }, + "totalCashFromOperatingActivities": { + "raw": 5603000000, + "fmt": "5.6B", + "longFmt": "5,603,000,000" + }, + "capitalExpenditures": { + "raw": -8000000000, + "fmt": "-8B", + "longFmt": "-8,000,000,000" + }, + "investments": { + "raw": 2661000000, + "fmt": "2.66B", + "longFmt": "2,661,000,000" + }, + "otherCashflowsFromInvestingActivities": { + "raw": 2141000000, + "fmt": "2.14B", + "longFmt": "2,141,000,000" + }, + "totalCashflowsFromInvestingActivities": { + "raw": -3102000000, + "fmt": "-3.1B", + "longFmt": "-3,102,000,000" + }, + "netBorrowings": { + "raw": -218000000, + "fmt": "-218M", + "longFmt": "-218,000,000" + }, + "otherCashflowsFromFinancingActivities": { + "raw": -1318000000, + "fmt": "-1.32B", + "longFmt": "-1,318,000,000" + }, + "totalCashFromFinancingActivities": { + "raw": -1536000000, + "fmt": "-1.54B", + "longFmt": "-1,536,000,000" + }, + "changeInCash": { + "raw": 965000000, + "fmt": "965M", + "longFmt": "965,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1577750400, + "fmt": "2019-12-31" + }, + "netIncome": { + "raw": 4535000000, + "fmt": "4.54B", + "longFmt": "4,535,000,000" + }, + "depreciation": { + "raw": 8624000000, + "fmt": "8.62B", + "longFmt": "8,624,000,000" + }, + "changeToNetincome": { + "raw": -1831000000, + "fmt": "-1.83B", + "longFmt": "-1,831,000,000" + }, + "changeToAccountReceivables": { + "raw": 176000000, + "fmt": "176M", + "longFmt": "176,000,000" + }, + "changeToLiabilities": { + "raw": 1614000000, + "fmt": "1.61B", + "longFmt": "1,614,000,000" + }, + "changeToInventory": { + "raw": -567000000, + "fmt": "-567M", + "longFmt": "-567,000,000" + }, + "changeToOperatingActivities": { + "raw": 478000000, + "fmt": "478M", + "longFmt": "478,000,000" + }, + "totalCashFromOperatingActivities": { + "raw": 13029000000, + "fmt": "13.03B", + "longFmt": "13,029,000,000" + }, + "capitalExpenditures": { + "raw": -5751000000, + "fmt": "-5.75B", + "longFmt": "-5,751,000,000" + }, + "investments": { + "raw": 599000000, + "fmt": "599M", + "longFmt": "599,000,000" + }, + "otherCashflowsFromInvestingActivities": { + "raw": -460000000, + "fmt": "-460M", + "longFmt": "-460,000,000" + }, + "totalCashflowsFromInvestingActivities": { + "raw": -5513000000, + "fmt": "-5.51B", + "longFmt": "-5,513,000,000" + }, + "netBorrowings": { + "raw": -2381000000, + "fmt": "-2.38B", + "longFmt": "-2,381,000,000" + }, + "otherCashflowsFromFinancingActivities": { + "raw": -1413000000, + "fmt": "-1.41B", + "longFmt": "-1,413,000,000" + }, + "totalCashFromFinancingActivities": { + "raw": -3794000000, + "fmt": "-3.79B", + "longFmt": "-3,794,000,000" + }, + "changeInCash": { + "raw": 3722000000, + "fmt": "3.72B", + "longFmt": "3,722,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1546214400, + "fmt": "2018-12-31" + }, + "netIncome": { + "raw": 4045000000, + "fmt": "4.04B", + "longFmt": "4,045,000,000" + }, + "depreciation": { + "raw": 5254000000, + "fmt": "5.25B", + "longFmt": "5,254,000,000" + }, + "changeToNetincome": { + "raw": 2380000000, + "fmt": "2.38B", + "longFmt": "2,380,000,000" + }, + "changeToAccountReceivables": { + "raw": 103000000, + "fmt": "103M", + "longFmt": "103,000,000" + }, + "changeToLiabilities": { + "raw": 1055000000, + "fmt": "1.05B", + "longFmt": "1,055,000,000" + }, + "changeToInventory": { + "raw": 14000000, + "fmt": "14M", + "longFmt": "14,000,000" + }, + "changeToOperatingActivities": { + "raw": -3238000000, + "fmt": "-3.24B", + "longFmt": "-3,238,000,000" + }, + "totalCashFromOperatingActivities": { + "raw": 9613000000, + "fmt": "9.61B", + "longFmt": "9,613,000,000" + }, + "capitalExpenditures": { + "raw": -5400000000, + "fmt": "-5.4B", + "longFmt": "-5,400,000,000" + }, + "investments": { + "raw": -1828000000, + "fmt": "-1.83B", + "longFmt": "-1,828,000,000" + }, + "otherCashflowsFromInvestingActivities": { + "raw": -3874000000, + "fmt": "-3.87B", + "longFmt": "-3,874,000,000" + }, + "totalCashflowsFromInvestingActivities": { + "raw": -11027000000, + "fmt": "-11.03B", + "longFmt": "-11,027,000,000" + }, + "netBorrowings": { + "raw": 3930000000, + "fmt": "3.93B", + "longFmt": "3,930,000,000" + }, + "otherCashflowsFromFinancingActivities": { + "raw": -1042000000, + "fmt": "-1.04B", + "longFmt": "-1,042,000,000" + }, + "totalCashFromFinancingActivities": { + "raw": 2888000000, + "fmt": "2.89B", + "longFmt": "2,888,000,000" + }, + "changeInCash": { + "raw": 1474000000, + "fmt": "1.47B", + "longFmt": "1,474,000,000" + } + } + ], + "maxAge": 86400 + }, + "indexTrend": { + "maxAge": 1, + "symbol": "SP5", + "peRatio": 18.2042, + "pegRatio": 1.84218, + "estimates": [ + { + "period": "0q", + "growth": 0.122 + }, + { + "period": "+1q", + "growth": 0.14 + }, + { + "period": "0y", + "growth": 0.093 + }, + { + "period": "+1y", + "growth": 0.09 + }, + { + "period": "+5y", + "growth": 0.0965644 + }, + { + "period": "-5y" + } + ] + }, + "defaultKeyStatistics": { + "maxAge": 1, + "priceHint": 2, + "enterpriseValue": 84732002304, + "profitMargins": 0, + "sharesOutstanding": 1380000000, + "heldPercentInsiders": 0.49122003, + "heldPercentInstitutions": 0.07789, + "impliedSharesOutstanding": 0, + "category": null, + "bookValue": 65.681, + "priceToBook": 0.9500465, + "fundFamily": null, + "legalType": null, + "lastFiscalYearEnd": 1640908800, + "nextFiscalYearEnd": 1703980800, + "mostRecentQuarter": 1656547200, + "trailingEps": 14.2, + "forwardEps": 11.66, + "lastSplitFactor": "115:100", + "lastSplitDate": 1372204800, + "52WeekChange": 3.9484534, + "SandP52WeekChange": -0.0445475, + "lastDividendValue": 0.125565, + "lastDividendDate": 1369872000 + }, + "industryTrend": { + "maxAge": 1, + "symbol": null, + "estimates": [] + }, + "quoteType": { + "exchange": "IST", + "quoteType": "EQUITY", + "symbol": "THYAO.IS", + "underlyingSymbol": "THYAO.IS", + "shortName": "TURK HAVA YOLLARI", + "longName": "Türk Hava Yollari Anonim Ortakligi", + "firstTradeDateEpochUtc": 957940200, + "timeZoneFullName": "Europe/Istanbul", + "timeZoneShortName": "TRST", + "uuid": "240595ca-21e9-34bf-861b-0d9e7a7826f4", + "messageBoardId": "finmb_884162", + "gmtOffSetMilliseconds": 10800000, + "maxAge": 1 + }, + "incomeStatementHistory": { + "incomeStatementHistory": [ + { + "maxAge": 1, + "endDate": { + "raw": 1640908800, + "fmt": "2021-12-31" + }, + "totalRevenue": { + "raw": 97378000000, + "fmt": "97.38B", + "longFmt": "97,378,000,000" + }, + "costOfRevenue": { + "raw": 75057000000, + "fmt": "75.06B", + "longFmt": "75,057,000,000" + }, + "grossProfit": { + "raw": 22321000000, + "fmt": "22.32B", + "longFmt": "22,321,000,000" + }, + "researchDevelopment": {}, + "sellingGeneralAdministrative": { + "raw": 9668000000, + "fmt": "9.67B", + "longFmt": "9,668,000,000" + }, + "nonRecurring": {}, + "otherOperatingExpenses": { + "raw": -524000000, + "fmt": "-524M", + "longFmt": "-524,000,000" + }, + "totalOperatingExpenses": { + "raw": 84201000000, + "fmt": "84.2B", + "longFmt": "84,201,000,000" + }, + "operatingIncome": { + "raw": 13177000000, + "fmt": "13.18B", + "longFmt": "13,177,000,000" + }, + "totalOtherIncomeExpenseNet": { + "raw": -3986000000, + "fmt": "-3.99B", + "longFmt": "-3,986,000,000" + }, + "ebit": { + "raw": 13177000000, + "fmt": "13.18B", + "longFmt": "13,177,000,000" + }, + "interestExpense": { + "raw": -3214000000, + "fmt": "-3.21B", + "longFmt": "-3,214,000,000" + }, + "incomeBeforeTax": { + "raw": 9191000000, + "fmt": "9.19B", + "longFmt": "9,191,000,000" + }, + "incomeTaxExpense": { + "raw": 977000000, + "fmt": "977M", + "longFmt": "977,000,000" + }, + "minorityInterest": { + "raw": 10000000, + "fmt": "10M", + "longFmt": "10,000,000" + }, + "netIncomeFromContinuingOps": { + "raw": 8214000000, + "fmt": "8.21B", + "longFmt": "8,214,000,000" + }, + "discontinuedOperations": {}, + "extraordinaryItems": {}, + "effectOfAccountingCharges": {}, + "otherItems": {}, + "netIncome": { + "raw": 8213000000, + "fmt": "8.21B", + "longFmt": "8,213,000,000" + }, + "netIncomeApplicableToCommonShares": { + "raw": 8213000000, + "fmt": "8.21B", + "longFmt": "8,213,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1609372800, + "fmt": "2020-12-31" + }, + "totalRevenue": { + "raw": 46448000000, + "fmt": "46.45B", + "longFmt": "46,448,000,000" + }, + "costOfRevenue": { + "raw": 43628000000, + "fmt": "43.63B", + "longFmt": "43,628,000,000" + }, + "grossProfit": { + "raw": 2820000000, + "fmt": "2.82B", + "longFmt": "2,820,000,000" + }, + "researchDevelopment": {}, + "sellingGeneralAdministrative": { + "raw": 6008000000, + "fmt": "6.01B", + "longFmt": "6,008,000,000" + }, + "nonRecurring": {}, + "otherOperatingExpenses": { + "raw": -1283000000, + "fmt": "-1.28B", + "longFmt": "-1,283,000,000" + }, + "totalOperatingExpenses": { + "raw": 48353000000, + "fmt": "48.35B", + "longFmt": "48,353,000,000" + }, + "operatingIncome": { + "raw": -1905000000, + "fmt": "-1.91B", + "longFmt": "-1,905,000,000" + }, + "totalOtherIncomeExpenseNet": { + "raw": -4196000000, + "fmt": "-4.2B", + "longFmt": "-4,196,000,000" + }, + "ebit": { + "raw": -1905000000, + "fmt": "-1.91B", + "longFmt": "-1,905,000,000" + }, + "interestExpense": { + "raw": -2040000000, + "fmt": "-2.04B", + "longFmt": "-2,040,000,000" + }, + "incomeBeforeTax": { + "raw": -6101000000, + "fmt": "-6.1B", + "longFmt": "-6,101,000,000" + }, + "incomeTaxExpense": { + "raw": -513000000, + "fmt": "-513M", + "longFmt": "-513,000,000" + }, + "minorityInterest": { + "raw": 9000000, + "fmt": "9M", + "longFmt": "9,000,000" + }, + "netIncomeFromContinuingOps": { + "raw": -5588000000, + "fmt": "-5.59B", + "longFmt": "-5,588,000,000" + }, + "discontinuedOperations": {}, + "extraordinaryItems": {}, + "effectOfAccountingCharges": {}, + "otherItems": {}, + "netIncome": { + "raw": -5588000000, + "fmt": "-5.59B", + "longFmt": "-5,588,000,000" + }, + "netIncomeApplicableToCommonShares": { + "raw": -5588000000, + "fmt": "-5.59B", + "longFmt": "-5,588,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1577750400, + "fmt": "2019-12-31" + }, + "totalRevenue": { + "raw": 75118000000, + "fmt": "75.12B", + "longFmt": "75,118,000,000" + }, + "costOfRevenue": { + "raw": 61937000000, + "fmt": "61.94B", + "longFmt": "61,937,000,000" + }, + "grossProfit": { + "raw": 13181000000, + "fmt": "13.18B", + "longFmt": "13,181,000,000" + }, + "researchDevelopment": {}, + "sellingGeneralAdministrative": { + "raw": 9610000000, + "fmt": "9.61B", + "longFmt": "9,610,000,000" + }, + "nonRecurring": {}, + "otherOperatingExpenses": { + "raw": -1294000000, + "fmt": "-1.29B", + "longFmt": "-1,294,000,000" + }, + "totalOperatingExpenses": { + "raw": 70253000000, + "fmt": "70.25B", + "longFmt": "70,253,000,000" + }, + "operatingIncome": { + "raw": 4865000000, + "fmt": "4.87B", + "longFmt": "4,865,000,000" + }, + "totalOtherIncomeExpenseNet": { + "raw": 191000000, + "fmt": "191M", + "longFmt": "191,000,000" + }, + "ebit": { + "raw": 4865000000, + "fmt": "4.87B", + "longFmt": "4,865,000,000" + }, + "interestExpense": { + "raw": -1492000000, + "fmt": "-1.49B", + "longFmt": "-1,492,000,000" + }, + "incomeBeforeTax": { + "raw": 5056000000, + "fmt": "5.06B", + "longFmt": "5,056,000,000" + }, + "incomeTaxExpense": { + "raw": 520000000, + "fmt": "520M", + "longFmt": "520,000,000" + }, + "minorityInterest": { + "raw": 3000000, + "fmt": "3M", + "longFmt": "3,000,000" + }, + "netIncomeFromContinuingOps": { + "raw": 4536000000, + "fmt": "4.54B", + "longFmt": "4,536,000,000" + }, + "discontinuedOperations": {}, + "extraordinaryItems": {}, + "effectOfAccountingCharges": {}, + "otherItems": {}, + "netIncome": { + "raw": 4535000000, + "fmt": "4.54B", + "longFmt": "4,535,000,000" + }, + "netIncomeApplicableToCommonShares": { + "raw": 4535000000, + "fmt": "4.54B", + "longFmt": "4,535,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1546214400, + "fmt": "2018-12-31" + }, + "totalRevenue": { + "raw": 62853000000, + "fmt": "62.85B", + "longFmt": "62,853,000,000" + }, + "costOfRevenue": { + "raw": 49212000000, + "fmt": "49.21B", + "longFmt": "49,212,000,000" + }, + "grossProfit": { + "raw": 13641000000, + "fmt": "13.64B", + "longFmt": "13,641,000,000" + }, + "researchDevelopment": {}, + "sellingGeneralAdministrative": { + "raw": 7368000000, + "fmt": "7.37B", + "longFmt": "7,368,000,000" + }, + "nonRecurring": {}, + "otherOperatingExpenses": { + "raw": -450000000, + "fmt": "-450M", + "longFmt": "-450,000,000" + }, + "totalOperatingExpenses": { + "raw": 56130000000, + "fmt": "56.13B", + "longFmt": "56,130,000,000" + }, + "operatingIncome": { + "raw": 6723000000, + "fmt": "6.72B", + "longFmt": "6,723,000,000" + }, + "totalOtherIncomeExpenseNet": { + "raw": -1489000000, + "fmt": "-1.49B", + "longFmt": "-1,489,000,000" + }, + "ebit": { + "raw": 6723000000, + "fmt": "6.72B", + "longFmt": "6,723,000,000" + }, + "interestExpense": { + "raw": -1347000000, + "fmt": "-1.35B", + "longFmt": "-1,347,000,000" + }, + "incomeBeforeTax": { + "raw": 5234000000, + "fmt": "5.23B", + "longFmt": "5,234,000,000" + }, + "incomeTaxExpense": { + "raw": 1189000000, + "fmt": "1.19B", + "longFmt": "1,189,000,000" + }, + "minorityInterest": { + "raw": 3000000, + "fmt": "3M", + "longFmt": "3,000,000" + }, + "netIncomeFromContinuingOps": { + "raw": 4045000000, + "fmt": "4.04B", + "longFmt": "4,045,000,000" + }, + "discontinuedOperations": {}, + "extraordinaryItems": {}, + "effectOfAccountingCharges": {}, + "otherItems": {}, + "netIncome": { + "raw": 4045000000, + "fmt": "4.04B", + "longFmt": "4,045,000,000" + }, + "netIncomeApplicableToCommonShares": { + "raw": 4045000000, + "fmt": "4.04B", + "longFmt": "4,045,000,000" + } + } + ], + "maxAge": 86400 + }, + "fundOwnership": { + "maxAge": 1, + "ownershipList": [] + }, + "summaryDetail": { + "maxAge": 1, + "priceHint": 2, + "previousClose": 61.4, + "open": 61.85, + "dayLow": 61.25, + "dayHigh": 63.35, + "regularMarketPreviousClose": 61.4, + "regularMarketOpen": 61.85, + "regularMarketDayLow": 61.25, + "regularMarketDayHigh": 63.35, + "exDividendDate": 1369872000, + "payoutRatio": 0, + "trailingPE": 4.3943663, + "forwardPE": 5.3516297, + "volume": 101328664, + "regularMarketVolume": 101328664, + "averageVolume": 101730026, + "averageVolume10days": 107099871, + "averageDailyVolume10Day": 107099871, + "bid": 62.1, + "ask": 62.45, + "bidSize": 0, + "askSize": 0, + "marketCap": 86112002048, + "fiftyTwoWeekLow": 12.1, + "fiftyTwoWeekHigh": 63.35, + "fiftyDayAverage": 50.6702, + "twoHundredDayAverage": 34.1869, + "trailingAnnualDividendRate": 0, + "trailingAnnualDividendYield": 0, + "currency": "TRY", + "fromCurrency": null, + "toCurrency": null, + "lastMarket": null, + "coinMarketCapLink": null, + "algorithm": null, + "tradeable": false + }, + "insiderHolders": { + "holders": [], + "maxAge": 1 + }, + "calendarEvents": { + "maxAge": 1, + "earnings": { + "earningsDate": [ + 1667300340, + 1667822400 + ], + "revenueAverage": 89614000000, + "revenueLow": 89614000000, + "revenueHigh": 89614000000 + }, + "exDividendDate": 1369872000 + }, + "price": { + "maxAge": 1, + "regularMarketChangePercent": 0.016286645, + "regularMarketChange": 1, + "regularMarketTime": 1660316996, + "priceHint": 2, + "regularMarketPrice": 62.4, + "regularMarketDayHigh": 63.35, + "regularMarketDayLow": 61.25, + "regularMarketVolume": 101328664, + "averageDailyVolume10Day": 107099871, + "averageDailyVolume3Month": 101730026, + "regularMarketPreviousClose": 61.4, + "regularMarketSource": "DELAYED", + "regularMarketOpen": 61.85, + "exchange": "IST", + "exchangeName": "Istanbul", + "exchangeDataDelayedBy": 15, + "marketState": "CLOSED", + "quoteType": "EQUITY", + "symbol": "THYAO.IS", + "underlyingSymbol": null, + "shortName": "TURK HAVA YOLLARI", + "longName": "Türk Hava Yollari Anonim Ortakligi", + "currency": "TRY", + "currencySymbol": "₺", + "fromCurrency": null, + "toCurrency": null, + "lastMarket": null, + "marketCap": 86112002048 + }, + "balanceSheetHistory": { + "balanceSheetStatements": [ + { + "maxAge": 1, + "endDate": { + "raw": 1640908800, + "fmt": "2021-12-31" + }, + "cash": { + "raw": 35679000000, + "fmt": "35.68B", + "longFmt": "35,679,000,000" + }, + "netReceivables": { + "raw": 14541000000, + "fmt": "14.54B", + "longFmt": "14,541,000,000" + }, + "inventory": { + "raw": 3481000000, + "fmt": "3.48B", + "longFmt": "3,481,000,000" + }, + "otherCurrentAssets": { + "raw": 11029000000, + "fmt": "11.03B", + "longFmt": "11,029,000,000" + }, + "totalCurrentAssets": { + "raw": 65797000000, + "fmt": "65.8B", + "longFmt": "65,797,000,000" + }, + "longTermInvestments": { + "raw": 4335000000, + "fmt": "4.33B", + "longFmt": "4,335,000,000" + }, + "propertyPlantEquipment": { + "raw": 259576000000, + "fmt": "259.58B", + "longFmt": "259,576,000,000" + }, + "goodWill": { + "raw": 166000000, + "fmt": "166M", + "longFmt": "166,000,000" + }, + "intangibleAssets": { + "raw": 1088000000, + "fmt": "1.09B", + "longFmt": "1,088,000,000" + }, + "otherAssets": { + "raw": 22746000000, + "fmt": "22.75B", + "longFmt": "22,746,000,000" + }, + "deferredLongTermAssetCharges": { + "raw": 14000000, + "fmt": "14M", + "longFmt": "14,000,000" + }, + "totalAssets": { + "raw": 353708000000, + "fmt": "353.71B", + "longFmt": "353,708,000,000" + }, + "accountsPayable": { + "raw": 11896000000, + "fmt": "11.9B", + "longFmt": "11,896,000,000" + }, + "shortLongTermDebt": { + "raw": 19479000000, + "fmt": "19.48B", + "longFmt": "19,479,000,000" + }, + "otherCurrentLiab": { + "raw": 18942000000, + "fmt": "18.94B", + "longFmt": "18,942,000,000" + }, + "longTermDebt": { + "raw": 31152000000, + "fmt": "31.15B", + "longFmt": "31,152,000,000" + }, + "otherLiab": { + "raw": 26968000000, + "fmt": "26.97B", + "longFmt": "26,968,000,000" + }, + "deferredLongTermLiab": { + "raw": 779000000, + "fmt": "779M", + "longFmt": "779,000,000" + }, + "minorityInterest": { + "raw": 10000000, + "fmt": "10M", + "longFmt": "10,000,000" + }, + "totalCurrentLiabilities": { + "raw": 90443000000, + "fmt": "90.44B", + "longFmt": "90,443,000,000" + }, + "totalLiab": { + "raw": 263058000000, + "fmt": "263.06B", + "longFmt": "263,058,000,000" + }, + "commonStock": { + "raw": 1380000000, + "fmt": "1.38B", + "longFmt": "1,380,000,000" + }, + "retainedEarnings": { + "raw": 19370000000, + "fmt": "19.37B", + "longFmt": "19,370,000,000" + }, + "treasuryStock": { + "raw": 69890000000, + "fmt": "69.89B", + "longFmt": "69,890,000,000" + }, + "otherStockholderEquity": { + "raw": 69890000000, + "fmt": "69.89B", + "longFmt": "69,890,000,000" + }, + "totalStockholderEquity": { + "raw": 90640000000, + "fmt": "90.64B", + "longFmt": "90,640,000,000" + }, + "netTangibleAssets": { + "raw": 89386000000, + "fmt": "89.39B", + "longFmt": "89,386,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1609372800, + "fmt": "2020-12-31" + }, + "cash": { + "raw": 13293000000, + "fmt": "13.29B", + "longFmt": "13,293,000,000" + }, + "netReceivables": { + "raw": 7103000000, + "fmt": "7.1B", + "longFmt": "7,103,000,000" + }, + "inventory": { + "raw": 2236000000, + "fmt": "2.24B", + "longFmt": "2,236,000,000" + }, + "otherCurrentAssets": { + "raw": 7147000000, + "fmt": "7.15B", + "longFmt": "7,147,000,000" + }, + "totalCurrentAssets": { + "raw": 30659000000, + "fmt": "30.66B", + "longFmt": "30,659,000,000" + }, + "longTermInvestments": { + "raw": 2429000000, + "fmt": "2.43B", + "longFmt": "2,429,000,000" + }, + "propertyPlantEquipment": { + "raw": 138896000000, + "fmt": "138.9B", + "longFmt": "138,896,000,000" + }, + "goodWill": { + "raw": 91000000, + "fmt": "91M", + "longFmt": "91,000,000" + }, + "intangibleAssets": { + "raw": 653000000, + "fmt": "653M", + "longFmt": "653,000,000" + }, + "otherAssets": { + "raw": 14674000000, + "fmt": "14.67B", + "longFmt": "14,674,000,000" + }, + "deferredLongTermAssetCharges": { + "raw": 3000000, + "fmt": "3M", + "longFmt": "3,000,000" + }, + "totalAssets": { + "raw": 187402000000, + "fmt": "187.4B", + "longFmt": "187,402,000,000" + }, + "accountsPayable": { + "raw": 6322000000, + "fmt": "6.32B", + "longFmt": "6,322,000,000" + }, + "shortLongTermDebt": { + "raw": 8941000000, + "fmt": "8.94B", + "longFmt": "8,941,000,000" + }, + "otherCurrentLiab": { + "raw": 5213000000, + "fmt": "5.21B", + "longFmt": "5,213,000,000" + }, + "longTermDebt": { + "raw": 19677000000, + "fmt": "19.68B", + "longFmt": "19,677,000,000" + }, + "otherLiab": { + "raw": 10518000000, + "fmt": "10.52B", + "longFmt": "10,518,000,000" + }, + "deferredLongTermLiab": { + "raw": 437000000, + "fmt": "437M", + "longFmt": "437,000,000" + }, + "minorityInterest": { + "raw": 9000000, + "fmt": "9M", + "longFmt": "9,000,000" + }, + "totalCurrentLiabilities": { + "raw": 47379000000, + "fmt": "47.38B", + "longFmt": "47,379,000,000" + }, + "totalLiab": { + "raw": 147891000000, + "fmt": "147.89B", + "longFmt": "147,891,000,000" + }, + "commonStock": { + "raw": 1380000000, + "fmt": "1.38B", + "longFmt": "1,380,000,000" + }, + "retainedEarnings": { + "raw": 11156000000, + "fmt": "11.16B", + "longFmt": "11,156,000,000" + }, + "treasuryStock": { + "raw": 26966000000, + "fmt": "26.97B", + "longFmt": "26,966,000,000" + }, + "otherStockholderEquity": { + "raw": 26966000000, + "fmt": "26.97B", + "longFmt": "26,966,000,000" + }, + "totalStockholderEquity": { + "raw": 39502000000, + "fmt": "39.5B", + "longFmt": "39,502,000,000" + }, + "netTangibleAssets": { + "raw": 38758000000, + "fmt": "38.76B", + "longFmt": "38,758,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1577750400, + "fmt": "2019-12-31" + }, + "cash": { + "raw": 12328000000, + "fmt": "12.33B", + "longFmt": "12,328,000,000" + }, + "shortTermInvestments": { + "raw": 2288000000, + "fmt": "2.29B", + "longFmt": "2,288,000,000" + }, + "netReceivables": { + "raw": 4794000000, + "fmt": "4.79B", + "longFmt": "4,794,000,000" + }, + "inventory": { + "raw": 1723000000, + "fmt": "1.72B", + "longFmt": "1,723,000,000" + }, + "otherCurrentAssets": { + "raw": 6428000000, + "fmt": "6.43B", + "longFmt": "6,428,000,000" + }, + "totalCurrentAssets": { + "raw": 28339000000, + "fmt": "28.34B", + "longFmt": "28,339,000,000" + }, + "longTermInvestments": { + "raw": 2723000000, + "fmt": "2.72B", + "longFmt": "2,723,000,000" + }, + "propertyPlantEquipment": { + "raw": 102534000000, + "fmt": "102.53B", + "longFmt": "102,534,000,000" + }, + "goodWill": { + "raw": 74000000, + "fmt": "74M", + "longFmt": "74,000,000" + }, + "intangibleAssets": { + "raw": 489000000, + "fmt": "489M", + "longFmt": "489,000,000" + }, + "otherAssets": { + "raw": 12712000000, + "fmt": "12.71B", + "longFmt": "12,712,000,000" + }, + "totalAssets": { + "raw": 146871000000, + "fmt": "146.87B", + "longFmt": "146,871,000,000" + }, + "accountsPayable": { + "raw": 6708000000, + "fmt": "6.71B", + "longFmt": "6,708,000,000" + }, + "shortLongTermDebt": { + "raw": 3116000000, + "fmt": "3.12B", + "longFmt": "3,116,000,000" + }, + "otherCurrentLiab": { + "raw": 6849000000, + "fmt": "6.85B", + "longFmt": "6,849,000,000" + }, + "longTermDebt": { + "raw": 10218000000, + "fmt": "10.22B", + "longFmt": "10,218,000,000" + }, + "otherLiab": { + "raw": 9683000000, + "fmt": "9.68B", + "longFmt": "9,683,000,000" + }, + "deferredLongTermLiab": { + "raw": 329000000, + "fmt": "329M", + "longFmt": "329,000,000" + }, + "minorityInterest": { + "raw": 3000000, + "fmt": "3M", + "longFmt": "3,000,000" + }, + "totalCurrentLiabilities": { + "raw": 35417000000, + "fmt": "35.42B", + "longFmt": "35,417,000,000" + }, + "totalLiab": { + "raw": 106076000000, + "fmt": "106.08B", + "longFmt": "106,076,000,000" + }, + "commonStock": { + "raw": 1380000000, + "fmt": "1.38B", + "longFmt": "1,380,000,000" + }, + "retainedEarnings": { + "raw": 16744000000, + "fmt": "16.74B", + "longFmt": "16,744,000,000" + }, + "treasuryStock": { + "raw": 22668000000, + "fmt": "22.67B", + "longFmt": "22,668,000,000" + }, + "otherStockholderEquity": { + "raw": 22668000000, + "fmt": "22.67B", + "longFmt": "22,668,000,000" + }, + "totalStockholderEquity": { + "raw": 40792000000, + "fmt": "40.79B", + "longFmt": "40,792,000,000" + }, + "netTangibleAssets": { + "raw": 40229000000, + "fmt": "40.23B", + "longFmt": "40,229,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1546214400, + "fmt": "2018-12-31" + }, + "cash": { + "raw": 8606000000, + "fmt": "8.61B", + "longFmt": "8,606,000,000" + }, + "shortTermInvestments": { + "raw": 2033000000, + "fmt": "2.03B", + "longFmt": "2,033,000,000" + }, + "netReceivables": { + "raw": 4490000000, + "fmt": "4.49B", + "longFmt": "4,490,000,000" + }, + "inventory": { + "raw": 1000000000, + "fmt": "1B", + "longFmt": "1,000,000,000" + }, + "otherCurrentAssets": { + "raw": 5961000000, + "fmt": "5.96B", + "longFmt": "5,961,000,000" + }, + "totalCurrentAssets": { + "raw": 23706000000, + "fmt": "23.71B", + "longFmt": "23,706,000,000" + }, + "longTermInvestments": { + "raw": 2338000000, + "fmt": "2.34B", + "longFmt": "2,338,000,000" + }, + "propertyPlantEquipment": { + "raw": 73219000000, + "fmt": "73.22B", + "longFmt": "73,219,000,000" + }, + "goodWill": { + "raw": 65000000, + "fmt": "65M", + "longFmt": "65,000,000" + }, + "intangibleAssets": { + "raw": 429000000, + "fmt": "429M", + "longFmt": "429,000,000" + }, + "otherAssets": { + "raw": 9319000000, + "fmt": "9.32B", + "longFmt": "9,319,000,000" + }, + "totalAssets": { + "raw": 109076000000, + "fmt": "109.08B", + "longFmt": "109,076,000,000" + }, + "accountsPayable": { + "raw": 5375000000, + "fmt": "5.38B", + "longFmt": "5,375,000,000" + }, + "shortLongTermDebt": { + "raw": 1702000000, + "fmt": "1.7B", + "longFmt": "1,702,000,000" + }, + "otherCurrentLiab": { + "raw": 6597000000, + "fmt": "6.6B", + "longFmt": "6,597,000,000" + }, + "longTermDebt": { + "raw": 6487000000, + "fmt": "6.49B", + "longFmt": "6,487,000,000" + }, + "otherLiab": { + "raw": 7204000000, + "fmt": "7.2B", + "longFmt": "7,204,000,000" + }, + "deferredLongTermLiab": { + "raw": 226000000, + "fmt": "226M", + "longFmt": "226,000,000" + }, + "minorityInterest": { + "raw": 3000000, + "fmt": "3M", + "longFmt": "3,000,000" + }, + "totalCurrentLiabilities": { + "raw": 27246000000, + "fmt": "27.25B", + "longFmt": "27,246,000,000" + }, + "totalLiab": { + "raw": 77792000000, + "fmt": "77.79B", + "longFmt": "77,792,000,000" + }, + "commonStock": { + "raw": 1380000000, + "fmt": "1.38B", + "longFmt": "1,380,000,000" + }, + "retainedEarnings": { + "raw": 12310000000, + "fmt": "12.31B", + "longFmt": "12,310,000,000" + }, + "treasuryStock": { + "raw": 17591000000, + "fmt": "17.59B", + "longFmt": "17,591,000,000" + }, + "otherStockholderEquity": { + "raw": 17591000000, + "fmt": "17.59B", + "longFmt": "17,591,000,000" + }, + "totalStockholderEquity": { + "raw": 31281000000, + "fmt": "31.28B", + "longFmt": "31,281,000,000" + }, + "netTangibleAssets": { + "raw": 30787000000, + "fmt": "30.79B", + "longFmt": "30,787,000,000" + } + } + ], + "maxAge": 86400 + }, + "earningsTrend": { + "trend": [ + { + "maxAge": 1, + "period": "0q", + "endDate": "2022-09-30", + "growth": {}, + "earningsEstimate": { + "avg": { + "raw": 0, + "fmt": "0" + }, + "low": { + "raw": 0, + "fmt": "0" + }, + "high": { + "raw": 0, + "fmt": "0" + }, + "yearAgoEps": { + "raw": 4.56, + "fmt": "4.56" + }, + "numberOfAnalysts": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "growth": {} + }, + "revenueEstimate": { + "avg": { + "raw": 89614000000, + "fmt": "89.61B", + "longFmt": "89,614,000,000" + }, + "low": { + "raw": 89614000000, + "fmt": "89.61B", + "longFmt": "89,614,000,000" + }, + "high": { + "raw": 89614000000, + "fmt": "89.61B", + "longFmt": "89,614,000,000" + }, + "numberOfAnalysts": { + "raw": 1, + "fmt": "1", + "longFmt": "1" + }, + "yearAgoRevenue": { + "raw": 29033000000, + "fmt": "29.03B", + "longFmt": "29,033,000,000" + }, + "growth": { + "raw": 2.087, + "fmt": "208.70%" + } + }, + "epsTrend": { + "current": { + "raw": 0, + "fmt": "0" + }, + "7daysAgo": { + "raw": 7.65, + "fmt": "7.65" + }, + "30daysAgo": { + "raw": 7.65, + "fmt": "7.65" + }, + "60daysAgo": { + "raw": 7.62, + "fmt": "7.62" + }, + "90daysAgo": { + "raw": 6.98, + "fmt": "6.98" + } + }, + "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": "+1q", + "endDate": "2022-12-31", + "growth": {}, + "earningsEstimate": { + "avg": { + "raw": 0, + "fmt": "0" + }, + "low": { + "raw": 0, + "fmt": "0" + }, + "high": { + "raw": 0, + "fmt": "0" + }, + "yearAgoEps": { + "raw": 1.43, + "fmt": "1.43" + }, + "numberOfAnalysts": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "growth": {} + }, + "revenueEstimate": { + "avg": { + "raw": 64817300000, + "fmt": "64.82B", + "longFmt": "64,817,300,000" + }, + "low": { + "raw": 64817300000, + "fmt": "64.82B", + "longFmt": "64,817,300,000" + }, + "high": { + "raw": 64817300000, + "fmt": "64.82B", + "longFmt": "64,817,300,000" + }, + "numberOfAnalysts": { + "raw": 1, + "fmt": "1", + "longFmt": "1" + }, + "yearAgoRevenue": { + "raw": 36860000000, + "fmt": "36.86B", + "longFmt": "36,860,000,000" + }, + "growth": { + "raw": 0.758, + "fmt": "75.80%" + } + }, + "epsTrend": { + "current": { + "raw": 0, + "fmt": "0" + }, + "7daysAgo": { + "raw": 1.12, + "fmt": "1.12" + }, + "30daysAgo": { + "raw": 1.12, + "fmt": "1.12" + }, + "60daysAgo": { + "raw": 1.07, + "fmt": "1.07" + }, + "90daysAgo": { + "raw": 1.11, + "fmt": "1.11" + } + }, + "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": "2022-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": 271336000000, + "fmt": "271.34B", + "longFmt": "271,336,000,000" + }, + "low": { + "raw": 205493000000, + "fmt": "205.49B", + "longFmt": "205,493,000,000" + }, + "high": { + "raw": 292896000000, + "fmt": "292.9B", + "longFmt": "292,896,000,000" + }, + "numberOfAnalysts": { + "raw": 9, + "fmt": "9", + "longFmt": "9" + }, + "yearAgoRevenue": { + "raw": 97378000000, + "fmt": "97.38B", + "longFmt": "97,378,000,000" + }, + "growth": { + "raw": 1.786, + "fmt": "178.60%" + } + }, + "epsTrend": { + "current": { + "raw": 0, + "fmt": "0" + }, + "7daysAgo": { + "raw": 10.67, + "fmt": "10.67" + }, + "30daysAgo": { + "raw": 10.67, + "fmt": "10.67" + }, + "60daysAgo": { + "raw": 10.83, + "fmt": "10.83" + }, + "90daysAgo": { + "raw": 8.9, + "fmt": "8.9" + } + }, + "epsRevisions": { + "upLast7days": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "upLast30days": { + "raw": 3, + "fmt": "3", + "longFmt": "3" + }, + "downLast30days": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "downLast90days": {} + } + }, + { + "maxAge": 1, + "period": "+1y", + "endDate": "2023-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": 328134000000, + "fmt": "328.13B", + "longFmt": "328,134,000,000" + }, + "low": { + "raw": 264273000000, + "fmt": "264.27B", + "longFmt": "264,273,000,000" + }, + "high": { + "raw": 424592000000, + "fmt": "424.59B", + "longFmt": "424,592,000,000" + }, + "numberOfAnalysts": { + "raw": 8, + "fmt": "8", + "longFmt": "8" + }, + "yearAgoRevenue": { + "raw": 271336000000, + "fmt": "271.34B", + "longFmt": "271,336,000,000" + }, + "growth": { + "raw": 0.20899999, + "fmt": "20.90%" + } + }, + "epsTrend": { + "current": { + "raw": 0, + "fmt": "0" + }, + "7daysAgo": { + "raw": 11.66, + "fmt": "11.66" + }, + "30daysAgo": { + "raw": 11.66, + "fmt": "11.66" + }, + "60daysAgo": { + "raw": 11.62, + "fmt": "11.62" + }, + "90daysAgo": { + "raw": 10.75, + "fmt": "10.75" + } + }, + "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.9834, + "fmt": "98.34%" + }, + "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": { + "raw": 0.06704, + "fmt": "6.70%" + }, + "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.49122003, + "institutionsPercentHeld": 0.07789, + "institutionsFloatPercentHeld": 0.15308, + "institutionsCount": 99 + }, + "balanceSheetHistoryQuarterly": { + "balanceSheetStatements": [ + { + "maxAge": 1, + "endDate": { + "raw": 1656547200, + "fmt": "2022-06-30" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1648684800, + "fmt": "2022-03-31" + }, + "cash": { + "raw": 37249000000, + "fmt": "37.25B", + "longFmt": "37,249,000,000" + }, + "shortTermInvestments": { + "raw": 8342000000, + "fmt": "8.34B", + "longFmt": "8,342,000,000" + }, + "netReceivables": { + "raw": 25133000000, + "fmt": "25.13B", + "longFmt": "25,133,000,000" + }, + "inventory": { + "raw": 4185000000, + "fmt": "4.18B", + "longFmt": "4,185,000,000" + }, + "otherCurrentAssets": { + "raw": 3762000000, + "fmt": "3.76B", + "longFmt": "3,762,000,000" + }, + "totalCurrentAssets": { + "raw": 81812000000, + "fmt": "81.81B", + "longFmt": "81,812,000,000" + }, + "longTermInvestments": { + "raw": 5291000000, + "fmt": "5.29B", + "longFmt": "5,291,000,000" + }, + "propertyPlantEquipment": { + "raw": 284723000000, + "fmt": "284.72B", + "longFmt": "284,723,000,000" + }, + "goodWill": { + "raw": 182000000, + "fmt": "182M", + "longFmt": "182,000,000" + }, + "intangibleAssets": { + "raw": 1127000000, + "fmt": "1.13B", + "longFmt": "1,127,000,000" + }, + "otherAssets": { + "raw": 26048000000, + "fmt": "26.05B", + "longFmt": "26,048,000,000" + }, + "deferredLongTermAssetCharges": { + "raw": 19000000, + "fmt": "19M", + "longFmt": "19,000,000" + }, + "totalAssets": { + "raw": 399183000000, + "fmt": "399.18B", + "longFmt": "399,183,000,000" + }, + "accountsPayable": { + "raw": 12740000000, + "fmt": "12.74B", + "longFmt": "12,740,000,000" + }, + "shortLongTermDebt": { + "raw": 23709000000, + "fmt": "23.71B", + "longFmt": "23,709,000,000" + }, + "otherCurrentLiab": { + "raw": 34983000000, + "fmt": "34.98B", + "longFmt": "34,983,000,000" + }, + "longTermDebt": { + "raw": 27620000000, + "fmt": "27.62B", + "longFmt": "27,620,000,000" + }, + "otherLiab": { + "raw": 32907000000, + "fmt": "32.91B", + "longFmt": "32,907,000,000" + }, + "minorityInterest": { + "raw": 10000000, + "fmt": "10M", + "longFmt": "10,000,000" + }, + "totalCurrentLiabilities": { + "raw": 111996000000, + "fmt": "112B", + "longFmt": "111,996,000,000" + }, + "totalLiab": { + "raw": 293970000000, + "fmt": "293.97B", + "longFmt": "293,970,000,000" + }, + "commonStock": { + "raw": 1380000000, + "fmt": "1.38B", + "longFmt": "1,380,000,000" + }, + "retainedEarnings": { + "raw": 21590000000, + "fmt": "21.59B", + "longFmt": "21,590,000,000" + }, + "treasuryStock": { + "raw": 82233000000, + "fmt": "82.23B", + "longFmt": "82,233,000,000" + }, + "otherStockholderEquity": { + "raw": 82233000000, + "fmt": "82.23B", + "longFmt": "82,233,000,000" + }, + "totalStockholderEquity": { + "raw": 105203000000, + "fmt": "105.2B", + "longFmt": "105,203,000,000" + }, + "netTangibleAssets": { + "raw": 103894000000, + "fmt": "103.89B", + "longFmt": "103,894,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1640908800, + "fmt": "2021-12-31" + }, + "cash": { + "raw": 35679000000, + "fmt": "35.68B", + "longFmt": "35,679,000,000" + }, + "netReceivables": { + "raw": 14541000000, + "fmt": "14.54B", + "longFmt": "14,541,000,000" + }, + "inventory": { + "raw": 3481000000, + "fmt": "3.48B", + "longFmt": "3,481,000,000" + }, + "otherCurrentAssets": { + "raw": 11029000000, + "fmt": "11.03B", + "longFmt": "11,029,000,000" + }, + "totalCurrentAssets": { + "raw": 65797000000, + "fmt": "65.8B", + "longFmt": "65,797,000,000" + }, + "longTermInvestments": { + "raw": 4335000000, + "fmt": "4.33B", + "longFmt": "4,335,000,000" + }, + "propertyPlantEquipment": { + "raw": 259576000000, + "fmt": "259.58B", + "longFmt": "259,576,000,000" + }, + "goodWill": { + "raw": 166000000, + "fmt": "166M", + "longFmt": "166,000,000" + }, + "intangibleAssets": { + "raw": 1088000000, + "fmt": "1.09B", + "longFmt": "1,088,000,000" + }, + "otherAssets": { + "raw": 22746000000, + "fmt": "22.75B", + "longFmt": "22,746,000,000" + }, + "deferredLongTermAssetCharges": { + "raw": 14000000, + "fmt": "14M", + "longFmt": "14,000,000" + }, + "totalAssets": { + "raw": 353708000000, + "fmt": "353.71B", + "longFmt": "353,708,000,000" + }, + "accountsPayable": { + "raw": 11896000000, + "fmt": "11.9B", + "longFmt": "11,896,000,000" + }, + "shortLongTermDebt": { + "raw": 19479000000, + "fmt": "19.48B", + "longFmt": "19,479,000,000" + }, + "otherCurrentLiab": { + "raw": 18942000000, + "fmt": "18.94B", + "longFmt": "18,942,000,000" + }, + "longTermDebt": { + "raw": 31152000000, + "fmt": "31.15B", + "longFmt": "31,152,000,000" + }, + "otherLiab": { + "raw": 26968000000, + "fmt": "26.97B", + "longFmt": "26,968,000,000" + }, + "deferredLongTermLiab": { + "raw": 779000000, + "fmt": "779M", + "longFmt": "779,000,000" + }, + "minorityInterest": { + "raw": 10000000, + "fmt": "10M", + "longFmt": "10,000,000" + }, + "totalCurrentLiabilities": { + "raw": 90443000000, + "fmt": "90.44B", + "longFmt": "90,443,000,000" + }, + "totalLiab": { + "raw": 263058000000, + "fmt": "263.06B", + "longFmt": "263,058,000,000" + }, + "commonStock": { + "raw": 1380000000, + "fmt": "1.38B", + "longFmt": "1,380,000,000" + }, + "retainedEarnings": { + "raw": 19370000000, + "fmt": "19.37B", + "longFmt": "19,370,000,000" + }, + "treasuryStock": { + "raw": 69890000000, + "fmt": "69.89B", + "longFmt": "69,890,000,000" + }, + "otherStockholderEquity": { + "raw": 69890000000, + "fmt": "69.89B", + "longFmt": "69,890,000,000" + }, + "totalStockholderEquity": { + "raw": 90640000000, + "fmt": "90.64B", + "longFmt": "90,640,000,000" + }, + "netTangibleAssets": { + "raw": 89386000000, + "fmt": "89.39B", + "longFmt": "89,386,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1632960000, + "fmt": "2021-09-30" + }, + "cash": { + "raw": 26492000000, + "fmt": "26.49B", + "longFmt": "26,492,000,000" + }, + "netReceivables": { + "raw": 10795000000, + "fmt": "10.79B", + "longFmt": "10,795,000,000" + }, + "inventory": { + "raw": 2388000000, + "fmt": "2.39B", + "longFmt": "2,388,000,000" + }, + "otherCurrentAssets": { + "raw": 6359000000, + "fmt": "6.36B", + "longFmt": "6,359,000,000" + }, + "totalCurrentAssets": { + "raw": 47482000000, + "fmt": "47.48B", + "longFmt": "47,482,000,000" + }, + "longTermInvestments": { + "raw": 2916000000, + "fmt": "2.92B", + "longFmt": "2,916,000,000" + }, + "propertyPlantEquipment": { + "raw": 173433000000, + "fmt": "173.43B", + "longFmt": "173,433,000,000" + }, + "goodWill": { + "raw": 110000000, + "fmt": "110M", + "longFmt": "110,000,000" + }, + "intangibleAssets": { + "raw": 742000000, + "fmt": "742M", + "longFmt": "742,000,000" + }, + "otherAssets": { + "raw": 16452000000, + "fmt": "16.45B", + "longFmt": "16,452,000,000" + }, + "deferredLongTermAssetCharges": { + "raw": 4000000, + "fmt": "4M", + "longFmt": "4,000,000" + }, + "totalAssets": { + "raw": 241135000000, + "fmt": "241.13B", + "longFmt": "241,135,000,000" + }, + "accountsPayable": { + "raw": 7510000000, + "fmt": "7.51B", + "longFmt": "7,510,000,000" + }, + "shortLongTermDebt": { + "raw": 12624000000, + "fmt": "12.62B", + "longFmt": "12,624,000,000" + }, + "otherCurrentLiab": { + "raw": 13938000000, + "fmt": "13.94B", + "longFmt": "13,938,000,000" + }, + "longTermDebt": { + "raw": 24683000000, + "fmt": "24.68B", + "longFmt": "24,683,000,000" + }, + "otherLiab": { + "raw": 15631000000, + "fmt": "15.63B", + "longFmt": "15,631,000,000" + }, + "minorityInterest": { + "raw": 10000000, + "fmt": "10M", + "longFmt": "10,000,000" + }, + "totalCurrentLiabilities": { + "raw": 62854000000, + "fmt": "62.85B", + "longFmt": "62,854,000,000" + }, + "totalLiab": { + "raw": 183527000000, + "fmt": "183.53B", + "longFmt": "183,527,000,000" + }, + "commonStock": { + "raw": 1380000000, + "fmt": "1.38B", + "longFmt": "1,380,000,000" + }, + "retainedEarnings": { + "raw": 17388000000, + "fmt": "17.39B", + "longFmt": "17,388,000,000" + }, + "treasuryStock": { + "raw": 38830000000, + "fmt": "38.83B", + "longFmt": "38,830,000,000" + }, + "otherStockholderEquity": { + "raw": 38830000000, + "fmt": "38.83B", + "longFmt": "38,830,000,000" + }, + "totalStockholderEquity": { + "raw": 57598000000, + "fmt": "57.6B", + "longFmt": "57,598,000,000" + }, + "netTangibleAssets": { + "raw": 56746000000, + "fmt": "56.75B", + "longFmt": "56,746,000,000" + } + } + ], + "maxAge": 86400 + }, + "earningsHistory": { + "history": [ + { + "maxAge": 1, + "epsActual": { + "raw": 4.56, + "fmt": "4.56" + }, + "epsEstimate": { + "raw": 2.49, + "fmt": "2.49" + }, + "epsDifference": { + "raw": 2.07, + "fmt": "2.07" + }, + "surprisePercent": { + "raw": 0.831, + "fmt": "83.10%" + }, + "quarter": { + "raw": 1632960000, + "fmt": "2021-09-30" + }, + "period": "-4q" + }, + { + "maxAge": 1, + "epsActual": { + "raw": 1.43, + "fmt": "1.43" + }, + "epsEstimate": { + "raw": 1.04, + "fmt": "1.04" + }, + "epsDifference": { + "raw": 0.39, + "fmt": "0.39" + }, + "surprisePercent": { + "raw": 0.375, + "fmt": "37.50%" + }, + "quarter": { + "raw": 1640908800, + "fmt": "2021-12-31" + }, + "period": "-3q" + }, + { + "maxAge": 1, + "epsActual": { + "raw": 1.61, + "fmt": "1.61" + }, + "epsEstimate": { + "raw": 0.74, + "fmt": "0.74" + }, + "epsDifference": { + "raw": 0.87, + "fmt": "0.87" + }, + "surprisePercent": { + "raw": 1.176, + "fmt": "117.60%" + }, + "quarter": { + "raw": 1648684800, + "fmt": "2022-03-31" + }, + "period": "-2q" + }, + { + "maxAge": 1, + "epsActual": { + "raw": 6.63, + "fmt": "6.63" + }, + "epsEstimate": { + "raw": 5.01, + "fmt": "5.01" + }, + "epsDifference": { + "raw": 1.62, + "fmt": "1.62" + }, + "surprisePercent": { + "raw": 0.32299998, + "fmt": "32.30%" + }, + "quarter": { + "raw": 1656547200, + "fmt": "2022-06-30" + }, + "period": "-1q" + } + ], + "maxAge": 86400 + }, + "majorDirectHolders": { + "holders": [], + "maxAge": 1 + }, + "summaryProfile": { + "address1": "Türk Hava Yollari AO Genel Yönetim Binas", + "address2": "Yesilköy Mahallesi Havaalani Caddesi No: 3/1 Bakirköy", + "city": "Istanbul", + "zip": "34149", + "country": "Turkey", + "phone": "90 212 463 63 63", + "fax": "90 212 465 21 21", + "website": "https://www.turkishairlines.com", + "industry": "Airlines", + "sector": "Industrials", + "longBusinessSummary": "Türk Hava Yollari Anonim Ortakligi provides air transport and aircraft technical maintenance services in Turkey and internationally. The company offers domestic and international passenger and cargo air transportation services; repair and maintenance, and technical and infrastructure support services related to aviation sector; catering and aviation ground handling services; software system maintenance and information technology consulting services. It is also involved in training, airport operation, and investment activities; the manufacture and trading of cabin interior accessories and aircraft seats; and the trading of aviation fuel. The company was incorporated in 1933 and is headquartered in Istanbul, Turkey.", + "fullTimeEmployees": 37394, + "companyOfficers": [], + "maxAge": 86400 + }, + "netSharePurchaseActivity": { + "maxAge": 1, + "period": "6m", + "buyInfoCount": 0, + "buyInfoShares": 0, + "sellInfoCount": 0, + "netInfoCount": 0, + "netInfoShares": 0, + "netPercentInsiderShares": 0, + "totalInsiderShares": 677883648 + }, + "sectorTrend": { + "maxAge": 1, + "symbol": null, + "estimates": [] + }, + "incomeStatementHistoryQuarterly": { + "incomeStatementHistory": [ + { + "maxAge": 1, + "endDate": { + "raw": 1656547200, + "fmt": "2022-06-30" + }, + "totalRevenue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "costOfRevenue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "grossProfit": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "researchDevelopment": {}, + "sellingGeneralAdministrative": {}, + "nonRecurring": {}, + "otherOperatingExpenses": {}, + "totalOperatingExpenses": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "operatingIncome": {}, + "totalOtherIncomeExpenseNet": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "ebit": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "interestExpense": {}, + "incomeBeforeTax": {}, + "incomeTaxExpense": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "minorityInterest": {}, + "netIncomeFromContinuingOps": {}, + "discontinuedOperations": {}, + "extraordinaryItems": {}, + "effectOfAccountingCharges": {}, + "otherItems": {}, + "netIncome": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "netIncomeApplicableToCommonShares": {} + }, + { + "maxAge": 1, + "endDate": { + "raw": 1648684800, + "fmt": "2022-03-31" + }, + "totalRevenue": { + "raw": 42614000000, + "fmt": "42.61B", + "longFmt": "42,614,000,000" + }, + "costOfRevenue": { + "raw": 35426000000, + "fmt": "35.43B", + "longFmt": "35,426,000,000" + }, + "grossProfit": { + "raw": 7188000000, + "fmt": "7.19B", + "longFmt": "7,188,000,000" + }, + "researchDevelopment": {}, + "sellingGeneralAdministrative": { + "raw": 5149000000, + "fmt": "5.15B", + "longFmt": "5,149,000,000" + }, + "nonRecurring": {}, + "otherOperatingExpenses": { + "raw": -255000000, + "fmt": "-255M", + "longFmt": "-255,000,000" + }, + "totalOperatingExpenses": { + "raw": 40320000000, + "fmt": "40.32B", + "longFmt": "40,320,000,000" + }, + "operatingIncome": { + "raw": 2294000000, + "fmt": "2.29B", + "longFmt": "2,294,000,000" + }, + "totalOtherIncomeExpenseNet": { + "raw": -640000000, + "fmt": "-640M", + "longFmt": "-640,000,000" + }, + "ebit": { + "raw": 2294000000, + "fmt": "2.29B", + "longFmt": "2,294,000,000" + }, + "interestExpense": { + "raw": -1878000000, + "fmt": "-1.88B", + "longFmt": "-1,878,000,000" + }, + "incomeBeforeTax": { + "raw": 1654000000, + "fmt": "1.65B", + "longFmt": "1,654,000,000" + }, + "incomeTaxExpense": { + "raw": -566000000, + "fmt": "-566M", + "longFmt": "-566,000,000" + }, + "minorityInterest": { + "raw": 10000000, + "fmt": "10M", + "longFmt": "10,000,000" + }, + "netIncomeFromContinuingOps": { + "raw": 2220000000, + "fmt": "2.22B", + "longFmt": "2,220,000,000" + }, + "discontinuedOperations": {}, + "extraordinaryItems": {}, + "effectOfAccountingCharges": {}, + "otherItems": {}, + "netIncome": { + "raw": 2220000000, + "fmt": "2.22B", + "longFmt": "2,220,000,000" + }, + "netIncomeApplicableToCommonShares": { + "raw": 2220000000, + "fmt": "2.22B", + "longFmt": "2,220,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1640908800, + "fmt": "2021-12-31" + }, + "totalRevenue": { + "raw": 36860000000, + "fmt": "36.86B", + "longFmt": "36,860,000,000" + }, + "costOfRevenue": { + "raw": 27332000000, + "fmt": "27.33B", + "longFmt": "27,332,000,000" + }, + "grossProfit": { + "raw": 9528000000, + "fmt": "9.53B", + "longFmt": "9,528,000,000" + }, + "researchDevelopment": {}, + "sellingGeneralAdministrative": { + "raw": 3263000000, + "fmt": "3.26B", + "longFmt": "3,263,000,000" + }, + "nonRecurring": {}, + "otherOperatingExpenses": { + "raw": 173000000, + "fmt": "173M", + "longFmt": "173,000,000" + }, + "totalOperatingExpenses": { + "raw": 30768000000, + "fmt": "30.77B", + "longFmt": "30,768,000,000" + }, + "operatingIncome": { + "raw": 6092000000, + "fmt": "6.09B", + "longFmt": "6,092,000,000" + }, + "totalOtherIncomeExpenseNet": { + "raw": -3861000000, + "fmt": "-3.86B", + "longFmt": "-3,861,000,000" + }, + "ebit": { + "raw": 6092000000, + "fmt": "6.09B", + "longFmt": "6,092,000,000" + }, + "interestExpense": { + "raw": -991000000, + "fmt": "-991M", + "longFmt": "-991,000,000" + }, + "incomeBeforeTax": { + "raw": 2231000000, + "fmt": "2.23B", + "longFmt": "2,231,000,000" + }, + "incomeTaxExpense": { + "raw": 249000000, + "fmt": "249M", + "longFmt": "249,000,000" + }, + "minorityInterest": { + "raw": 10000000, + "fmt": "10M", + "longFmt": "10,000,000" + }, + "netIncomeFromContinuingOps": { + "raw": 1982000000, + "fmt": "1.98B", + "longFmt": "1,982,000,000" + }, + "discontinuedOperations": {}, + "extraordinaryItems": {}, + "effectOfAccountingCharges": {}, + "otherItems": {}, + "netIncome": { + "raw": 1981000000, + "fmt": "1.98B", + "longFmt": "1,981,000,000" + }, + "netIncomeApplicableToCommonShares": { + "raw": 1981000000, + "fmt": "1.98B", + "longFmt": "1,981,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1632960000, + "fmt": "2021-09-30" + }, + "totalRevenue": { + "raw": 29033000000, + "fmt": "29.03B", + "longFmt": "29,033,000,000" + }, + "costOfRevenue": { + "raw": 20535000000, + "fmt": "20.54B", + "longFmt": "20,535,000,000" + }, + "grossProfit": { + "raw": 8498000000, + "fmt": "8.5B", + "longFmt": "8,498,000,000" + }, + "researchDevelopment": {}, + "sellingGeneralAdministrative": { + "raw": 2508000000, + "fmt": "2.51B", + "longFmt": "2,508,000,000" + }, + "nonRecurring": {}, + "otherOperatingExpenses": { + "raw": -398000000, + "fmt": "-398M", + "longFmt": "-398,000,000" + }, + "totalOperatingExpenses": { + "raw": 22645000000, + "fmt": "22.64B", + "longFmt": "22,645,000,000" + }, + "operatingIncome": { + "raw": 6388000000, + "fmt": "6.39B", + "longFmt": "6,388,000,000" + }, + "totalOtherIncomeExpenseNet": { + "raw": 1052000000, + "fmt": "1.05B", + "longFmt": "1,052,000,000" + }, + "ebit": { + "raw": 6388000000, + "fmt": "6.39B", + "longFmt": "6,388,000,000" + }, + "interestExpense": { + "raw": -832000000, + "fmt": "-832M", + "longFmt": "-832,000,000" + }, + "incomeBeforeTax": { + "raw": 7440000000, + "fmt": "7.44B", + "longFmt": "7,440,000,000" + }, + "incomeTaxExpense": { + "raw": 1149000000, + "fmt": "1.15B", + "longFmt": "1,149,000,000" + }, + "minorityInterest": { + "raw": 10000000, + "fmt": "10M", + "longFmt": "10,000,000" + }, + "netIncomeFromContinuingOps": { + "raw": 6291000000, + "fmt": "6.29B", + "longFmt": "6,291,000,000" + }, + "discontinuedOperations": {}, + "extraordinaryItems": {}, + "effectOfAccountingCharges": {}, + "otherItems": {}, + "netIncome": { + "raw": 6291000000, + "fmt": "6.29B", + "longFmt": "6,291,000,000" + }, + "netIncomeApplicableToCommonShares": { + "raw": 6291000000, + "fmt": "6.29B", + "longFmt": "6,291,000,000" + } + } + ], + "maxAge": 86400 + }, + "cashflowStatementHistoryQuarterly": { + "cashflowStatements": [ + { + "maxAge": 1, + "endDate": { + "raw": 1656547200, + "fmt": "2022-06-30" + }, + "netIncome": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "changeToLiabilities": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1648684800, + "fmt": "2022-03-31" + }, + "netIncome": { + "raw": 2220000000, + "fmt": "2.22B", + "longFmt": "2,220,000,000" + }, + "depreciation": { + "raw": 6208000000, + "fmt": "6.21B", + "longFmt": "6,208,000,000" + }, + "changeToNetincome": { + "raw": 3601000000, + "fmt": "3.6B", + "longFmt": "3,601,000,000" + }, + "changeToAccountReceivables": { + "raw": -948000000, + "fmt": "-948M", + "longFmt": "-948,000,000" + }, + "changeToLiabilities": { + "raw": 9072000000, + "fmt": "9.07B", + "longFmt": "9,072,000,000" + }, + "changeToInventory": { + "raw": -345000000, + "fmt": "-345M", + "longFmt": "-345,000,000" + }, + "changeToOperatingActivities": { + "raw": 57000000, + "fmt": "57M", + "longFmt": "57,000,000" + }, + "totalCashFromOperatingActivities": { + "raw": 19865000000, + "fmt": "19.86B", + "longFmt": "19,865,000,000" + }, + "capitalExpenditures": { + "raw": -2467000000, + "fmt": "-2.47B", + "longFmt": "-2,467,000,000" + }, + "otherCashflowsFromInvestingActivities": { + "raw": -7991000000, + "fmt": "-7.99B", + "longFmt": "-7,991,000,000" + }, + "totalCashflowsFromInvestingActivities": { + "raw": -10384000000, + "fmt": "-10.38B", + "longFmt": "-10,384,000,000" + }, + "netBorrowings": { + "raw": -7378000000, + "fmt": "-7.38B", + "longFmt": "-7,378,000,000" + }, + "otherCashflowsFromFinancingActivities": { + "raw": -533000000, + "fmt": "-533M", + "longFmt": "-533,000,000" + }, + "totalCashFromFinancingActivities": { + "raw": -7911000000, + "fmt": "-7.91B", + "longFmt": "-7,911,000,000" + }, + "changeInCash": { + "raw": 1570000000, + "fmt": "1.57B", + "longFmt": "1,570,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1640908800, + "fmt": "2021-12-31" + }, + "netIncome": { + "raw": 1981000000, + "fmt": "1.98B", + "longFmt": "1,981,000,000" + }, + "depreciation": { + "raw": 5077000000, + "fmt": "5.08B", + "longFmt": "5,077,000,000" + }, + "changeToNetincome": { + "raw": 9539000000, + "fmt": "9.54B", + "longFmt": "9,539,000,000" + }, + "changeToAccountReceivables": { + "raw": 7075000000, + "fmt": "7.08B", + "longFmt": "7,075,000,000" + }, + "changeToLiabilities": { + "raw": 2561000000, + "fmt": "2.56B", + "longFmt": "2,561,000,000" + }, + "changeToInventory": { + "raw": 97000000, + "fmt": "97M", + "longFmt": "97,000,000" + }, + "changeToOperatingActivities": { + "raw": -190000000, + "fmt": "-190M", + "longFmt": "-190,000,000" + }, + "totalCashFromOperatingActivities": { + "raw": 26140000000, + "fmt": "26.14B", + "longFmt": "26,140,000,000" + }, + "capitalExpenditures": { + "raw": -3103000000, + "fmt": "-3.1B", + "longFmt": "-3,103,000,000" + }, + "investments": { + "raw": 11000000, + "fmt": "11M", + "longFmt": "11,000,000" + }, + "otherCashflowsFromInvestingActivities": { + "raw": -323000000, + "fmt": "-323M", + "longFmt": "-323,000,000" + }, + "totalCashflowsFromInvestingActivities": { + "raw": -3330000000, + "fmt": "-3.33B", + "longFmt": "-3,330,000,000" + }, + "netBorrowings": { + "raw": -13194000000, + "fmt": "-13.19B", + "longFmt": "-13,194,000,000" + }, + "otherCashflowsFromFinancingActivities": { + "raw": -429000000, + "fmt": "-429M", + "longFmt": "-429,000,000" + }, + "totalCashFromFinancingActivities": { + "raw": -13623000000, + "fmt": "-13.62B", + "longFmt": "-13,623,000,000" + }, + "changeInCash": { + "raw": 9187000000, + "fmt": "9.19B", + "longFmt": "9,187,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1632960000, + "fmt": "2021-09-30" + }, + "netIncome": { + "raw": 6291000000, + "fmt": "6.29B", + "longFmt": "6,291,000,000" + }, + "depreciation": { + "raw": 3731000000, + "fmt": "3.73B", + "longFmt": "3,731,000,000" + }, + "changeToNetincome": { + "raw": 297000000, + "fmt": "297M", + "longFmt": "297,000,000" + }, + "changeToAccountReceivables": { + "raw": -707000000, + "fmt": "-707M", + "longFmt": "-707,000,000" + }, + "changeToLiabilities": { + "raw": -1626000000, + "fmt": "-1.63B", + "longFmt": "-1,626,000,000" + }, + "changeToInventory": { + "raw": 42000000, + "fmt": "42M", + "longFmt": "42,000,000" + }, + "changeToOperatingActivities": { + "raw": 629000000, + "fmt": "629M", + "longFmt": "629,000,000" + }, + "totalCashFromOperatingActivities": { + "raw": 8657000000, + "fmt": "8.66B", + "longFmt": "8,657,000,000" + }, + "capitalExpenditures": { + "raw": -1709000000, + "fmt": "-1.71B", + "longFmt": "-1,709,000,000" + }, + "investments": { + "raw": 581000000, + "fmt": "581M", + "longFmt": "581,000,000" + }, + "otherCashflowsFromInvestingActivities": { + "raw": 404000000, + "fmt": "404M", + "longFmt": "404,000,000" + }, + "totalCashflowsFromInvestingActivities": { + "raw": -268000000, + "fmt": "-268M", + "longFmt": "-268,000,000" + }, + "netBorrowings": { + "raw": -910000000, + "fmt": "-910M", + "longFmt": "-910,000,000" + }, + "otherCashflowsFromFinancingActivities": { + "raw": -550000000, + "fmt": "-550M", + "longFmt": "-550,000,000" + }, + "totalCashFromFinancingActivities": { + "raw": -1460000000, + "fmt": "-1.46B", + "longFmt": "-1,460,000,000" + }, + "changeInCash": { + "raw": 6929000000, + "fmt": "6.93B", + "longFmt": "6,929,000,000" + } + } + ], + "maxAge": 86400 + }, + "earnings": { + "maxAge": 86400, + "earningsChart": { + "quarterly": [ + { + "date": "3Q2021", + "actual": 4.56, + "estimate": 2.49 + }, + { + "date": "4Q2021", + "actual": 1.43, + "estimate": 1.04 + }, + { + "date": "1Q2022", + "actual": 1.61, + "estimate": 0.74 + }, + { + "date": "2Q2022", + "actual": 6.63, + "estimate": 5.01 + } + ], + "currentQuarterEstimateDate": "3Q", + "currentQuarterEstimateYear": 2022, + "earningsDate": [ + 1667300340, + 1667822400 + ] + }, + "financialsChart": { + "yearly": [ + { + "date": 2018, + "revenue": 62853000000, + "earnings": 4045000000 + }, + { + "date": 2019, + "revenue": 75118000000, + "earnings": 4535000000 + }, + { + "date": 2020, + "revenue": 46448000000, + "earnings": -5588000000 + }, + { + "date": 2021, + "revenue": 97378000000, + "earnings": 8213000000 + } + ], + "quarterly": [ + { + "date": "3Q2021", + "revenue": 29033000000, + "earnings": 6291000000 + }, + { + "date": "4Q2021", + "revenue": 36860000000, + "earnings": 1981000000 + }, + { + "date": "1Q2022", + "revenue": 42614000000, + "earnings": 2220000000 + }, + { + "date": "2Q2022", + "revenue": 0, + "earnings": 0 + } + ] + }, + "financialCurrency": "TRY" + }, + "financialData": { + "maxAge": 86400, + "currentPrice": 62.4, + "targetHighPrice": 78, + "targetLowPrice": 11.2, + "targetMeanPrice": 57.74, + "targetMedianPrice": 64.63, + "recommendationMean": 2.4, + "recommendationKey": "buy", + "numberOfAnalystOpinions": 12, + "revenuePerShare": 70.564, + "grossProfits": 22321000000, + "grossMargins": 0, + "ebitdaMargins": 0, + "operatingMargins": 0, + "profitMargins": 0, + "financialCurrency": "TRY" + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-assetProfile-THYAO.IS.json b/tests/http/quoteSummary-assetProfile-THYAO.IS.json new file mode 100644 index 00000000..e74390f8 --- /dev/null +++ b/tests/http/quoteSummary-assetProfile-THYAO.IS.json @@ -0,0 +1,256 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/THYAO.IS?formatted=false&modules=assetProfile" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "y-rid": [ + "8h30555hfekv6" + ], + "x-yahoo-request-id": [ + "8h30555hfekv6" + ], + "x-request-id": [ + "20696a49-ed77-4518-aab4-55e64127565b" + ], + "content-encoding": [ + "gzip" + ], + "content-length": [ + "1051" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Sat, 13 Aug 2022 07:33: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": [ + { + "assetProfile": { + "address1": "Türk Hava Yollari AO Genel Yönetim Binas", + "address2": "Yesilköy Mahallesi Havaalani Caddesi No: 3/1 Bakirköy", + "city": "Istanbul", + "zip": "34149", + "country": "Turkey", + "phone": "90 212 463 63 63", + "fax": "90 212 465 21 21", + "website": "https://www.turkishairlines.com", + "industry": "Airlines", + "sector": "Industrials", + "longBusinessSummary": "Türk Hava Yollari Anonim Ortakligi provides air transport and aircraft technical maintenance services in Turkey and internationally. The company offers domestic and international passenger and cargo air transportation services; repair and maintenance, and technical and infrastructure support services related to aviation sector; catering and aviation ground handling services; software system maintenance and information technology consulting services. It is also involved in training, airport operation, and investment activities; the manufacture and trading of cabin interior accessories and aircraft seats; and the trading of aviation fuel. The company was incorporated in 1933 and is headquartered in Istanbul, Turkey.", + "fullTimeEmployees": 37394, + "companyOfficers": [ + { + "maxAge": 1, + "name": "Mr. Bilal Eksi", + "age": 53, + "title": "GM, Pres & Director", + "yearBorn": 1968, + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Prof. Mecit Es", + "age": 68, + "title": "Deputy Chairman", + "yearBorn": 1953, + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Prof. Murat Seker Ph.D.", + "title": "CFO & Director", + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Levent Konukcu", + "title": "Chief Investment & Technology Officer", + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Dr. Zekeriya Demir", + "title": "Sr. VP of Accounting & Financial Control", + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Mr. Mehmet Fatih Korkmaz", + "title": "Head of Investor Relations", + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Mr. Ahmet Olmustur", + "title": "Chief Marketing Officer", + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Mr. Abdulkerim Çay", + "age": 40, + "title": "Chief HR Officer", + "yearBorn": 1981, + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Murat Bas", + "title": "Sr. VP of Network Planning", + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "name": "Mr. Mehmet Akif Konar", + "age": 48, + "title": "Chief Commercial Officer", + "yearBorn": 1973, + "exercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "unexercisedValue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + } + ], + "maxAge": 86400 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-balanceSheetHistory-THYAO.IS.json b/tests/http/quoteSummary-balanceSheetHistory-THYAO.IS.json new file mode 100644 index 00000000..d220ec73 --- /dev/null +++ b/tests/http/quoteSummary-balanceSheetHistory-THYAO.IS.json @@ -0,0 +1,654 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/THYAO.IS?formatted=false&modules=balanceSheetHistory" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "y-rid": [ + "1kfaqg5hfekv6" + ], + "x-yahoo-request-id": [ + "1kfaqg5hfekv6" + ], + "x-request-id": [ + "8de44f4e-2e2f-4372-a91b-eed9983aec43" + ], + "content-encoding": [ + "gzip" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Sat, 13 Aug 2022 07:33: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" + ], + "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": 1640908800, + "fmt": "2021-12-31" + }, + "cash": { + "raw": 35679000000, + "fmt": "35.68B", + "longFmt": "35,679,000,000" + }, + "netReceivables": { + "raw": 14541000000, + "fmt": "14.54B", + "longFmt": "14,541,000,000" + }, + "inventory": { + "raw": 3481000000, + "fmt": "3.48B", + "longFmt": "3,481,000,000" + }, + "otherCurrentAssets": { + "raw": 11029000000, + "fmt": "11.03B", + "longFmt": "11,029,000,000" + }, + "totalCurrentAssets": { + "raw": 65797000000, + "fmt": "65.8B", + "longFmt": "65,797,000,000" + }, + "longTermInvestments": { + "raw": 4335000000, + "fmt": "4.33B", + "longFmt": "4,335,000,000" + }, + "propertyPlantEquipment": { + "raw": 259576000000, + "fmt": "259.58B", + "longFmt": "259,576,000,000" + }, + "goodWill": { + "raw": 166000000, + "fmt": "166M", + "longFmt": "166,000,000" + }, + "intangibleAssets": { + "raw": 1088000000, + "fmt": "1.09B", + "longFmt": "1,088,000,000" + }, + "otherAssets": { + "raw": 22746000000, + "fmt": "22.75B", + "longFmt": "22,746,000,000" + }, + "deferredLongTermAssetCharges": { + "raw": 14000000, + "fmt": "14M", + "longFmt": "14,000,000" + }, + "totalAssets": { + "raw": 353708000000, + "fmt": "353.71B", + "longFmt": "353,708,000,000" + }, + "accountsPayable": { + "raw": 11896000000, + "fmt": "11.9B", + "longFmt": "11,896,000,000" + }, + "shortLongTermDebt": { + "raw": 19479000000, + "fmt": "19.48B", + "longFmt": "19,479,000,000" + }, + "otherCurrentLiab": { + "raw": 18942000000, + "fmt": "18.94B", + "longFmt": "18,942,000,000" + }, + "longTermDebt": { + "raw": 31152000000, + "fmt": "31.15B", + "longFmt": "31,152,000,000" + }, + "otherLiab": { + "raw": 26968000000, + "fmt": "26.97B", + "longFmt": "26,968,000,000" + }, + "deferredLongTermLiab": { + "raw": 779000000, + "fmt": "779M", + "longFmt": "779,000,000" + }, + "minorityInterest": { + "raw": 10000000, + "fmt": "10M", + "longFmt": "10,000,000" + }, + "totalCurrentLiabilities": { + "raw": 90443000000, + "fmt": "90.44B", + "longFmt": "90,443,000,000" + }, + "totalLiab": { + "raw": 263058000000, + "fmt": "263.06B", + "longFmt": "263,058,000,000" + }, + "commonStock": { + "raw": 1380000000, + "fmt": "1.38B", + "longFmt": "1,380,000,000" + }, + "retainedEarnings": { + "raw": 19370000000, + "fmt": "19.37B", + "longFmt": "19,370,000,000" + }, + "treasuryStock": { + "raw": 69890000000, + "fmt": "69.89B", + "longFmt": "69,890,000,000" + }, + "otherStockholderEquity": { + "raw": 69890000000, + "fmt": "69.89B", + "longFmt": "69,890,000,000" + }, + "totalStockholderEquity": { + "raw": 90640000000, + "fmt": "90.64B", + "longFmt": "90,640,000,000" + }, + "netTangibleAssets": { + "raw": 89386000000, + "fmt": "89.39B", + "longFmt": "89,386,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1609372800, + "fmt": "2020-12-31" + }, + "cash": { + "raw": 13293000000, + "fmt": "13.29B", + "longFmt": "13,293,000,000" + }, + "netReceivables": { + "raw": 7103000000, + "fmt": "7.1B", + "longFmt": "7,103,000,000" + }, + "inventory": { + "raw": 2236000000, + "fmt": "2.24B", + "longFmt": "2,236,000,000" + }, + "otherCurrentAssets": { + "raw": 7147000000, + "fmt": "7.15B", + "longFmt": "7,147,000,000" + }, + "totalCurrentAssets": { + "raw": 30659000000, + "fmt": "30.66B", + "longFmt": "30,659,000,000" + }, + "longTermInvestments": { + "raw": 2429000000, + "fmt": "2.43B", + "longFmt": "2,429,000,000" + }, + "propertyPlantEquipment": { + "raw": 138896000000, + "fmt": "138.9B", + "longFmt": "138,896,000,000" + }, + "goodWill": { + "raw": 91000000, + "fmt": "91M", + "longFmt": "91,000,000" + }, + "intangibleAssets": { + "raw": 653000000, + "fmt": "653M", + "longFmt": "653,000,000" + }, + "otherAssets": { + "raw": 14674000000, + "fmt": "14.67B", + "longFmt": "14,674,000,000" + }, + "deferredLongTermAssetCharges": { + "raw": 3000000, + "fmt": "3M", + "longFmt": "3,000,000" + }, + "totalAssets": { + "raw": 187402000000, + "fmt": "187.4B", + "longFmt": "187,402,000,000" + }, + "accountsPayable": { + "raw": 6322000000, + "fmt": "6.32B", + "longFmt": "6,322,000,000" + }, + "shortLongTermDebt": { + "raw": 8941000000, + "fmt": "8.94B", + "longFmt": "8,941,000,000" + }, + "otherCurrentLiab": { + "raw": 5213000000, + "fmt": "5.21B", + "longFmt": "5,213,000,000" + }, + "longTermDebt": { + "raw": 19677000000, + "fmt": "19.68B", + "longFmt": "19,677,000,000" + }, + "otherLiab": { + "raw": 10518000000, + "fmt": "10.52B", + "longFmt": "10,518,000,000" + }, + "deferredLongTermLiab": { + "raw": 437000000, + "fmt": "437M", + "longFmt": "437,000,000" + }, + "minorityInterest": { + "raw": 9000000, + "fmt": "9M", + "longFmt": "9,000,000" + }, + "totalCurrentLiabilities": { + "raw": 47379000000, + "fmt": "47.38B", + "longFmt": "47,379,000,000" + }, + "totalLiab": { + "raw": 147891000000, + "fmt": "147.89B", + "longFmt": "147,891,000,000" + }, + "commonStock": { + "raw": 1380000000, + "fmt": "1.38B", + "longFmt": "1,380,000,000" + }, + "retainedEarnings": { + "raw": 11156000000, + "fmt": "11.16B", + "longFmt": "11,156,000,000" + }, + "treasuryStock": { + "raw": 26966000000, + "fmt": "26.97B", + "longFmt": "26,966,000,000" + }, + "otherStockholderEquity": { + "raw": 26966000000, + "fmt": "26.97B", + "longFmt": "26,966,000,000" + }, + "totalStockholderEquity": { + "raw": 39502000000, + "fmt": "39.5B", + "longFmt": "39,502,000,000" + }, + "netTangibleAssets": { + "raw": 38758000000, + "fmt": "38.76B", + "longFmt": "38,758,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1577750400, + "fmt": "2019-12-31" + }, + "cash": { + "raw": 12328000000, + "fmt": "12.33B", + "longFmt": "12,328,000,000" + }, + "shortTermInvestments": { + "raw": 2288000000, + "fmt": "2.29B", + "longFmt": "2,288,000,000" + }, + "netReceivables": { + "raw": 4794000000, + "fmt": "4.79B", + "longFmt": "4,794,000,000" + }, + "inventory": { + "raw": 1723000000, + "fmt": "1.72B", + "longFmt": "1,723,000,000" + }, + "otherCurrentAssets": { + "raw": 6428000000, + "fmt": "6.43B", + "longFmt": "6,428,000,000" + }, + "totalCurrentAssets": { + "raw": 28339000000, + "fmt": "28.34B", + "longFmt": "28,339,000,000" + }, + "longTermInvestments": { + "raw": 2723000000, + "fmt": "2.72B", + "longFmt": "2,723,000,000" + }, + "propertyPlantEquipment": { + "raw": 102534000000, + "fmt": "102.53B", + "longFmt": "102,534,000,000" + }, + "goodWill": { + "raw": 74000000, + "fmt": "74M", + "longFmt": "74,000,000" + }, + "intangibleAssets": { + "raw": 489000000, + "fmt": "489M", + "longFmt": "489,000,000" + }, + "otherAssets": { + "raw": 12712000000, + "fmt": "12.71B", + "longFmt": "12,712,000,000" + }, + "totalAssets": { + "raw": 146871000000, + "fmt": "146.87B", + "longFmt": "146,871,000,000" + }, + "accountsPayable": { + "raw": 6708000000, + "fmt": "6.71B", + "longFmt": "6,708,000,000" + }, + "shortLongTermDebt": { + "raw": 3116000000, + "fmt": "3.12B", + "longFmt": "3,116,000,000" + }, + "otherCurrentLiab": { + "raw": 6849000000, + "fmt": "6.85B", + "longFmt": "6,849,000,000" + }, + "longTermDebt": { + "raw": 10218000000, + "fmt": "10.22B", + "longFmt": "10,218,000,000" + }, + "otherLiab": { + "raw": 9683000000, + "fmt": "9.68B", + "longFmt": "9,683,000,000" + }, + "deferredLongTermLiab": { + "raw": 329000000, + "fmt": "329M", + "longFmt": "329,000,000" + }, + "minorityInterest": { + "raw": 3000000, + "fmt": "3M", + "longFmt": "3,000,000" + }, + "totalCurrentLiabilities": { + "raw": 35417000000, + "fmt": "35.42B", + "longFmt": "35,417,000,000" + }, + "totalLiab": { + "raw": 106076000000, + "fmt": "106.08B", + "longFmt": "106,076,000,000" + }, + "commonStock": { + "raw": 1380000000, + "fmt": "1.38B", + "longFmt": "1,380,000,000" + }, + "retainedEarnings": { + "raw": 16744000000, + "fmt": "16.74B", + "longFmt": "16,744,000,000" + }, + "treasuryStock": { + "raw": 22668000000, + "fmt": "22.67B", + "longFmt": "22,668,000,000" + }, + "otherStockholderEquity": { + "raw": 22668000000, + "fmt": "22.67B", + "longFmt": "22,668,000,000" + }, + "totalStockholderEquity": { + "raw": 40792000000, + "fmt": "40.79B", + "longFmt": "40,792,000,000" + }, + "netTangibleAssets": { + "raw": 40229000000, + "fmt": "40.23B", + "longFmt": "40,229,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1546214400, + "fmt": "2018-12-31" + }, + "cash": { + "raw": 8606000000, + "fmt": "8.61B", + "longFmt": "8,606,000,000" + }, + "shortTermInvestments": { + "raw": 2033000000, + "fmt": "2.03B", + "longFmt": "2,033,000,000" + }, + "netReceivables": { + "raw": 4490000000, + "fmt": "4.49B", + "longFmt": "4,490,000,000" + }, + "inventory": { + "raw": 1000000000, + "fmt": "1B", + "longFmt": "1,000,000,000" + }, + "otherCurrentAssets": { + "raw": 5961000000, + "fmt": "5.96B", + "longFmt": "5,961,000,000" + }, + "totalCurrentAssets": { + "raw": 23706000000, + "fmt": "23.71B", + "longFmt": "23,706,000,000" + }, + "longTermInvestments": { + "raw": 2338000000, + "fmt": "2.34B", + "longFmt": "2,338,000,000" + }, + "propertyPlantEquipment": { + "raw": 73219000000, + "fmt": "73.22B", + "longFmt": "73,219,000,000" + }, + "goodWill": { + "raw": 65000000, + "fmt": "65M", + "longFmt": "65,000,000" + }, + "intangibleAssets": { + "raw": 429000000, + "fmt": "429M", + "longFmt": "429,000,000" + }, + "otherAssets": { + "raw": 9319000000, + "fmt": "9.32B", + "longFmt": "9,319,000,000" + }, + "totalAssets": { + "raw": 109076000000, + "fmt": "109.08B", + "longFmt": "109,076,000,000" + }, + "accountsPayable": { + "raw": 5375000000, + "fmt": "5.38B", + "longFmt": "5,375,000,000" + }, + "shortLongTermDebt": { + "raw": 1702000000, + "fmt": "1.7B", + "longFmt": "1,702,000,000" + }, + "otherCurrentLiab": { + "raw": 6597000000, + "fmt": "6.6B", + "longFmt": "6,597,000,000" + }, + "longTermDebt": { + "raw": 6487000000, + "fmt": "6.49B", + "longFmt": "6,487,000,000" + }, + "otherLiab": { + "raw": 7204000000, + "fmt": "7.2B", + "longFmt": "7,204,000,000" + }, + "deferredLongTermLiab": { + "raw": 226000000, + "fmt": "226M", + "longFmt": "226,000,000" + }, + "minorityInterest": { + "raw": 3000000, + "fmt": "3M", + "longFmt": "3,000,000" + }, + "totalCurrentLiabilities": { + "raw": 27246000000, + "fmt": "27.25B", + "longFmt": "27,246,000,000" + }, + "totalLiab": { + "raw": 77792000000, + "fmt": "77.79B", + "longFmt": "77,792,000,000" + }, + "commonStock": { + "raw": 1380000000, + "fmt": "1.38B", + "longFmt": "1,380,000,000" + }, + "retainedEarnings": { + "raw": 12310000000, + "fmt": "12.31B", + "longFmt": "12,310,000,000" + }, + "treasuryStock": { + "raw": 17591000000, + "fmt": "17.59B", + "longFmt": "17,591,000,000" + }, + "otherStockholderEquity": { + "raw": 17591000000, + "fmt": "17.59B", + "longFmt": "17,591,000,000" + }, + "totalStockholderEquity": { + "raw": 31281000000, + "fmt": "31.28B", + "longFmt": "31,281,000,000" + }, + "netTangibleAssets": { + "raw": 30787000000, + "fmt": "30.79B", + "longFmt": "30,787,000,000" + } + } + ], + "maxAge": 86400 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-balanceSheetHistoryQuarterly-THYAO.IS.json b/tests/http/quoteSummary-balanceSheetHistoryQuarterly-THYAO.IS.json new file mode 100644 index 00000000..3bb51473 --- /dev/null +++ b/tests/http/quoteSummary-balanceSheetHistoryQuarterly-THYAO.IS.json @@ -0,0 +1,514 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/THYAO.IS?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": [ + "149jbothfekv6" + ], + "x-yahoo-request-id": [ + "149jbothfekv6" + ], + "x-request-id": [ + "ac4604c1-0e40-42c0-bd2b-dd8c18637cc5" + ], + "content-encoding": [ + "gzip" + ], + "content-length": [ + "1507" + ], + "x-envoy-upstream-service-time": [ + "1" + ], + "date": [ + "Sat, 13 Aug 2022 07:33: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": [ + { + "balanceSheetHistoryQuarterly": { + "balanceSheetStatements": [ + { + "maxAge": 1, + "endDate": { + "raw": 1656547200, + "fmt": "2022-06-30" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1648684800, + "fmt": "2022-03-31" + }, + "cash": { + "raw": 37249000000, + "fmt": "37.25B", + "longFmt": "37,249,000,000" + }, + "shortTermInvestments": { + "raw": 8342000000, + "fmt": "8.34B", + "longFmt": "8,342,000,000" + }, + "netReceivables": { + "raw": 25133000000, + "fmt": "25.13B", + "longFmt": "25,133,000,000" + }, + "inventory": { + "raw": 4185000000, + "fmt": "4.18B", + "longFmt": "4,185,000,000" + }, + "otherCurrentAssets": { + "raw": 3762000000, + "fmt": "3.76B", + "longFmt": "3,762,000,000" + }, + "totalCurrentAssets": { + "raw": 81812000000, + "fmt": "81.81B", + "longFmt": "81,812,000,000" + }, + "longTermInvestments": { + "raw": 5291000000, + "fmt": "5.29B", + "longFmt": "5,291,000,000" + }, + "propertyPlantEquipment": { + "raw": 284723000000, + "fmt": "284.72B", + "longFmt": "284,723,000,000" + }, + "goodWill": { + "raw": 182000000, + "fmt": "182M", + "longFmt": "182,000,000" + }, + "intangibleAssets": { + "raw": 1127000000, + "fmt": "1.13B", + "longFmt": "1,127,000,000" + }, + "otherAssets": { + "raw": 26048000000, + "fmt": "26.05B", + "longFmt": "26,048,000,000" + }, + "deferredLongTermAssetCharges": { + "raw": 19000000, + "fmt": "19M", + "longFmt": "19,000,000" + }, + "totalAssets": { + "raw": 399183000000, + "fmt": "399.18B", + "longFmt": "399,183,000,000" + }, + "accountsPayable": { + "raw": 12740000000, + "fmt": "12.74B", + "longFmt": "12,740,000,000" + }, + "shortLongTermDebt": { + "raw": 23709000000, + "fmt": "23.71B", + "longFmt": "23,709,000,000" + }, + "otherCurrentLiab": { + "raw": 34983000000, + "fmt": "34.98B", + "longFmt": "34,983,000,000" + }, + "longTermDebt": { + "raw": 27620000000, + "fmt": "27.62B", + "longFmt": "27,620,000,000" + }, + "otherLiab": { + "raw": 32907000000, + "fmt": "32.91B", + "longFmt": "32,907,000,000" + }, + "minorityInterest": { + "raw": 10000000, + "fmt": "10M", + "longFmt": "10,000,000" + }, + "totalCurrentLiabilities": { + "raw": 111996000000, + "fmt": "112B", + "longFmt": "111,996,000,000" + }, + "totalLiab": { + "raw": 293970000000, + "fmt": "293.97B", + "longFmt": "293,970,000,000" + }, + "commonStock": { + "raw": 1380000000, + "fmt": "1.38B", + "longFmt": "1,380,000,000" + }, + "retainedEarnings": { + "raw": 21590000000, + "fmt": "21.59B", + "longFmt": "21,590,000,000" + }, + "treasuryStock": { + "raw": 82233000000, + "fmt": "82.23B", + "longFmt": "82,233,000,000" + }, + "otherStockholderEquity": { + "raw": 82233000000, + "fmt": "82.23B", + "longFmt": "82,233,000,000" + }, + "totalStockholderEquity": { + "raw": 105203000000, + "fmt": "105.2B", + "longFmt": "105,203,000,000" + }, + "netTangibleAssets": { + "raw": 103894000000, + "fmt": "103.89B", + "longFmt": "103,894,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1640908800, + "fmt": "2021-12-31" + }, + "cash": { + "raw": 35679000000, + "fmt": "35.68B", + "longFmt": "35,679,000,000" + }, + "netReceivables": { + "raw": 14541000000, + "fmt": "14.54B", + "longFmt": "14,541,000,000" + }, + "inventory": { + "raw": 3481000000, + "fmt": "3.48B", + "longFmt": "3,481,000,000" + }, + "otherCurrentAssets": { + "raw": 11029000000, + "fmt": "11.03B", + "longFmt": "11,029,000,000" + }, + "totalCurrentAssets": { + "raw": 65797000000, + "fmt": "65.8B", + "longFmt": "65,797,000,000" + }, + "longTermInvestments": { + "raw": 4335000000, + "fmt": "4.33B", + "longFmt": "4,335,000,000" + }, + "propertyPlantEquipment": { + "raw": 259576000000, + "fmt": "259.58B", + "longFmt": "259,576,000,000" + }, + "goodWill": { + "raw": 166000000, + "fmt": "166M", + "longFmt": "166,000,000" + }, + "intangibleAssets": { + "raw": 1088000000, + "fmt": "1.09B", + "longFmt": "1,088,000,000" + }, + "otherAssets": { + "raw": 22746000000, + "fmt": "22.75B", + "longFmt": "22,746,000,000" + }, + "deferredLongTermAssetCharges": { + "raw": 14000000, + "fmt": "14M", + "longFmt": "14,000,000" + }, + "totalAssets": { + "raw": 353708000000, + "fmt": "353.71B", + "longFmt": "353,708,000,000" + }, + "accountsPayable": { + "raw": 11896000000, + "fmt": "11.9B", + "longFmt": "11,896,000,000" + }, + "shortLongTermDebt": { + "raw": 19479000000, + "fmt": "19.48B", + "longFmt": "19,479,000,000" + }, + "otherCurrentLiab": { + "raw": 18942000000, + "fmt": "18.94B", + "longFmt": "18,942,000,000" + }, + "longTermDebt": { + "raw": 31152000000, + "fmt": "31.15B", + "longFmt": "31,152,000,000" + }, + "otherLiab": { + "raw": 26968000000, + "fmt": "26.97B", + "longFmt": "26,968,000,000" + }, + "deferredLongTermLiab": { + "raw": 779000000, + "fmt": "779M", + "longFmt": "779,000,000" + }, + "minorityInterest": { + "raw": 10000000, + "fmt": "10M", + "longFmt": "10,000,000" + }, + "totalCurrentLiabilities": { + "raw": 90443000000, + "fmt": "90.44B", + "longFmt": "90,443,000,000" + }, + "totalLiab": { + "raw": 263058000000, + "fmt": "263.06B", + "longFmt": "263,058,000,000" + }, + "commonStock": { + "raw": 1380000000, + "fmt": "1.38B", + "longFmt": "1,380,000,000" + }, + "retainedEarnings": { + "raw": 19370000000, + "fmt": "19.37B", + "longFmt": "19,370,000,000" + }, + "treasuryStock": { + "raw": 69890000000, + "fmt": "69.89B", + "longFmt": "69,890,000,000" + }, + "otherStockholderEquity": { + "raw": 69890000000, + "fmt": "69.89B", + "longFmt": "69,890,000,000" + }, + "totalStockholderEquity": { + "raw": 90640000000, + "fmt": "90.64B", + "longFmt": "90,640,000,000" + }, + "netTangibleAssets": { + "raw": 89386000000, + "fmt": "89.39B", + "longFmt": "89,386,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1632960000, + "fmt": "2021-09-30" + }, + "cash": { + "raw": 26492000000, + "fmt": "26.49B", + "longFmt": "26,492,000,000" + }, + "netReceivables": { + "raw": 10795000000, + "fmt": "10.79B", + "longFmt": "10,795,000,000" + }, + "inventory": { + "raw": 2388000000, + "fmt": "2.39B", + "longFmt": "2,388,000,000" + }, + "otherCurrentAssets": { + "raw": 6359000000, + "fmt": "6.36B", + "longFmt": "6,359,000,000" + }, + "totalCurrentAssets": { + "raw": 47482000000, + "fmt": "47.48B", + "longFmt": "47,482,000,000" + }, + "longTermInvestments": { + "raw": 2916000000, + "fmt": "2.92B", + "longFmt": "2,916,000,000" + }, + "propertyPlantEquipment": { + "raw": 173433000000, + "fmt": "173.43B", + "longFmt": "173,433,000,000" + }, + "goodWill": { + "raw": 110000000, + "fmt": "110M", + "longFmt": "110,000,000" + }, + "intangibleAssets": { + "raw": 742000000, + "fmt": "742M", + "longFmt": "742,000,000" + }, + "otherAssets": { + "raw": 16452000000, + "fmt": "16.45B", + "longFmt": "16,452,000,000" + }, + "deferredLongTermAssetCharges": { + "raw": 4000000, + "fmt": "4M", + "longFmt": "4,000,000" + }, + "totalAssets": { + "raw": 241135000000, + "fmt": "241.13B", + "longFmt": "241,135,000,000" + }, + "accountsPayable": { + "raw": 7510000000, + "fmt": "7.51B", + "longFmt": "7,510,000,000" + }, + "shortLongTermDebt": { + "raw": 12624000000, + "fmt": "12.62B", + "longFmt": "12,624,000,000" + }, + "otherCurrentLiab": { + "raw": 13938000000, + "fmt": "13.94B", + "longFmt": "13,938,000,000" + }, + "longTermDebt": { + "raw": 24683000000, + "fmt": "24.68B", + "longFmt": "24,683,000,000" + }, + "otherLiab": { + "raw": 15631000000, + "fmt": "15.63B", + "longFmt": "15,631,000,000" + }, + "minorityInterest": { + "raw": 10000000, + "fmt": "10M", + "longFmt": "10,000,000" + }, + "totalCurrentLiabilities": { + "raw": 62854000000, + "fmt": "62.85B", + "longFmt": "62,854,000,000" + }, + "totalLiab": { + "raw": 183527000000, + "fmt": "183.53B", + "longFmt": "183,527,000,000" + }, + "commonStock": { + "raw": 1380000000, + "fmt": "1.38B", + "longFmt": "1,380,000,000" + }, + "retainedEarnings": { + "raw": 17388000000, + "fmt": "17.39B", + "longFmt": "17,388,000,000" + }, + "treasuryStock": { + "raw": 38830000000, + "fmt": "38.83B", + "longFmt": "38,830,000,000" + }, + "otherStockholderEquity": { + "raw": 38830000000, + "fmt": "38.83B", + "longFmt": "38,830,000,000" + }, + "totalStockholderEquity": { + "raw": 57598000000, + "fmt": "57.6B", + "longFmt": "57,598,000,000" + }, + "netTangibleAssets": { + "raw": 56746000000, + "fmt": "56.75B", + "longFmt": "56,746,000,000" + } + } + ], + "maxAge": 86400 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-calendarEvents-THYAO.IS.json b/tests/http/quoteSummary-calendarEvents-THYAO.IS.json new file mode 100644 index 00000000..5001960d --- /dev/null +++ b/tests/http/quoteSummary-calendarEvents-THYAO.IS.json @@ -0,0 +1,91 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/THYAO.IS?formatted=false&modules=calendarEvents" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "y-rid": [ + "8hvo9p5hfekv7" + ], + "x-yahoo-request-id": [ + "8hvo9p5hfekv7" + ], + "x-request-id": [ + "58d1ff6d-3888-4197-a984-64d1b9c58d07" + ], + "content-length": [ + "234" + ], + "x-envoy-upstream-service-time": [ + "1" + ], + "date": [ + "Sat, 13 Aug 2022 07:33:58 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": [ + { + "calendarEvents": { + "maxAge": 1, + "earnings": { + "earningsDate": [ + 1667300340, + 1667822400 + ], + "revenueAverage": 89614000000, + "revenueLow": 89614000000, + "revenueHigh": 89614000000 + }, + "exDividendDate": 1369872000 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-cashflowStatementHistory-THYAO.IS.json b/tests/http/quoteSummary-cashflowStatementHistory-THYAO.IS.json new file mode 100644 index 00000000..d6f8350f --- /dev/null +++ b/tests/http/quoteSummary-cashflowStatementHistory-THYAO.IS.json @@ -0,0 +1,434 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/THYAO.IS?formatted=false&modules=cashflowStatementHistory" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "y-rid": [ + "3nvvr4dhfekv7" + ], + "x-yahoo-request-id": [ + "3nvvr4dhfekv7" + ], + "x-request-id": [ + "cea81df2-86f7-4f24-bd15-15605c4aed68" + ], + "content-encoding": [ + "gzip" + ], + "content-length": [ + "1220" + ], + "x-envoy-upstream-service-time": [ + "3" + ], + "date": [ + "Sat, 13 Aug 2022 07:33: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": [ + { + "cashflowStatementHistory": { + "cashflowStatements": [ + { + "maxAge": 1, + "endDate": { + "raw": 1640908800, + "fmt": "2021-12-31" + }, + "netIncome": { + "raw": 8213000000, + "fmt": "8.21B", + "longFmt": "8,213,000,000" + }, + "depreciation": { + "raw": 15473000000, + "fmt": "15.47B", + "longFmt": "15,473,000,000" + }, + "changeToNetincome": { + "raw": 12699000000, + "fmt": "12.7B", + "longFmt": "12,699,000,000" + }, + "changeToAccountReceivables": { + "raw": 4634000000, + "fmt": "4.63B", + "longFmt": "4,634,000,000" + }, + "changeToLiabilities": { + "raw": 6161000000, + "fmt": "6.16B", + "longFmt": "6,161,000,000" + }, + "changeToInventory": { + "raw": 385000000, + "fmt": "385M", + "longFmt": "385,000,000" + }, + "changeToOperatingActivities": { + "raw": 1797000000, + "fmt": "1.8B", + "longFmt": "1,797,000,000" + }, + "totalCashFromOperatingActivities": { + "raw": 49362000000, + "fmt": "49.36B", + "longFmt": "49,362,000,000" + }, + "capitalExpenditures": { + "raw": -7538000000, + "fmt": "-7.54B", + "longFmt": "-7,538,000,000" + }, + "investments": { + "raw": -5000000, + "fmt": "-5M", + "longFmt": "-5,000,000" + }, + "otherCashflowsFromInvestingActivities": { + "raw": 2186000000, + "fmt": "2.19B", + "longFmt": "2,186,000,000" + }, + "totalCashflowsFromInvestingActivities": { + "raw": -4630000000, + "fmt": "-4.63B", + "longFmt": "-4,630,000,000" + }, + "netBorrowings": { + "raw": -20058000000, + "fmt": "-20.06B", + "longFmt": "-20,058,000,000" + }, + "otherCashflowsFromFinancingActivities": { + "raw": -2288000000, + "fmt": "-2.29B", + "longFmt": "-2,288,000,000" + }, + "totalCashFromFinancingActivities": { + "raw": -22346000000, + "fmt": "-22.35B", + "longFmt": "-22,346,000,000" + }, + "changeInCash": { + "raw": 22386000000, + "fmt": "22.39B", + "longFmt": "22,386,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1609372800, + "fmt": "2020-12-31" + }, + "netIncome": { + "raw": -5588000000, + "fmt": "-5.59B", + "longFmt": "-5,588,000,000" + }, + "depreciation": { + "raw": 11638000000, + "fmt": "11.64B", + "longFmt": "11,638,000,000" + }, + "changeToNetincome": { + "raw": 7674000000, + "fmt": "7.67B", + "longFmt": "7,674,000,000" + }, + "changeToAccountReceivables": { + "raw": -2224000000, + "fmt": "-2.22B", + "longFmt": "-2,224,000,000" + }, + "changeToLiabilities": { + "raw": -5193000000, + "fmt": "-5.19B", + "longFmt": "-5,193,000,000" + }, + "changeToInventory": { + "raw": -102000000, + "fmt": "-102M", + "longFmt": "-102,000,000" + }, + "changeToOperatingActivities": { + "raw": -602000000, + "fmt": "-602M", + "longFmt": "-602,000,000" + }, + "totalCashFromOperatingActivities": { + "raw": 5603000000, + "fmt": "5.6B", + "longFmt": "5,603,000,000" + }, + "capitalExpenditures": { + "raw": -8000000000, + "fmt": "-8B", + "longFmt": "-8,000,000,000" + }, + "investments": { + "raw": 2661000000, + "fmt": "2.66B", + "longFmt": "2,661,000,000" + }, + "otherCashflowsFromInvestingActivities": { + "raw": 2141000000, + "fmt": "2.14B", + "longFmt": "2,141,000,000" + }, + "totalCashflowsFromInvestingActivities": { + "raw": -3102000000, + "fmt": "-3.1B", + "longFmt": "-3,102,000,000" + }, + "netBorrowings": { + "raw": -218000000, + "fmt": "-218M", + "longFmt": "-218,000,000" + }, + "otherCashflowsFromFinancingActivities": { + "raw": -1318000000, + "fmt": "-1.32B", + "longFmt": "-1,318,000,000" + }, + "totalCashFromFinancingActivities": { + "raw": -1536000000, + "fmt": "-1.54B", + "longFmt": "-1,536,000,000" + }, + "changeInCash": { + "raw": 965000000, + "fmt": "965M", + "longFmt": "965,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1577750400, + "fmt": "2019-12-31" + }, + "netIncome": { + "raw": 4535000000, + "fmt": "4.54B", + "longFmt": "4,535,000,000" + }, + "depreciation": { + "raw": 8624000000, + "fmt": "8.62B", + "longFmt": "8,624,000,000" + }, + "changeToNetincome": { + "raw": -1831000000, + "fmt": "-1.83B", + "longFmt": "-1,831,000,000" + }, + "changeToAccountReceivables": { + "raw": 176000000, + "fmt": "176M", + "longFmt": "176,000,000" + }, + "changeToLiabilities": { + "raw": 1614000000, + "fmt": "1.61B", + "longFmt": "1,614,000,000" + }, + "changeToInventory": { + "raw": -567000000, + "fmt": "-567M", + "longFmt": "-567,000,000" + }, + "changeToOperatingActivities": { + "raw": 478000000, + "fmt": "478M", + "longFmt": "478,000,000" + }, + "totalCashFromOperatingActivities": { + "raw": 13029000000, + "fmt": "13.03B", + "longFmt": "13,029,000,000" + }, + "capitalExpenditures": { + "raw": -5751000000, + "fmt": "-5.75B", + "longFmt": "-5,751,000,000" + }, + "investments": { + "raw": 599000000, + "fmt": "599M", + "longFmt": "599,000,000" + }, + "otherCashflowsFromInvestingActivities": { + "raw": -460000000, + "fmt": "-460M", + "longFmt": "-460,000,000" + }, + "totalCashflowsFromInvestingActivities": { + "raw": -5513000000, + "fmt": "-5.51B", + "longFmt": "-5,513,000,000" + }, + "netBorrowings": { + "raw": -2381000000, + "fmt": "-2.38B", + "longFmt": "-2,381,000,000" + }, + "otherCashflowsFromFinancingActivities": { + "raw": -1413000000, + "fmt": "-1.41B", + "longFmt": "-1,413,000,000" + }, + "totalCashFromFinancingActivities": { + "raw": -3794000000, + "fmt": "-3.79B", + "longFmt": "-3,794,000,000" + }, + "changeInCash": { + "raw": 3722000000, + "fmt": "3.72B", + "longFmt": "3,722,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1546214400, + "fmt": "2018-12-31" + }, + "netIncome": { + "raw": 4045000000, + "fmt": "4.04B", + "longFmt": "4,045,000,000" + }, + "depreciation": { + "raw": 5254000000, + "fmt": "5.25B", + "longFmt": "5,254,000,000" + }, + "changeToNetincome": { + "raw": 2380000000, + "fmt": "2.38B", + "longFmt": "2,380,000,000" + }, + "changeToAccountReceivables": { + "raw": 103000000, + "fmt": "103M", + "longFmt": "103,000,000" + }, + "changeToLiabilities": { + "raw": 1055000000, + "fmt": "1.05B", + "longFmt": "1,055,000,000" + }, + "changeToInventory": { + "raw": 14000000, + "fmt": "14M", + "longFmt": "14,000,000" + }, + "changeToOperatingActivities": { + "raw": -3238000000, + "fmt": "-3.24B", + "longFmt": "-3,238,000,000" + }, + "totalCashFromOperatingActivities": { + "raw": 9613000000, + "fmt": "9.61B", + "longFmt": "9,613,000,000" + }, + "capitalExpenditures": { + "raw": -5400000000, + "fmt": "-5.4B", + "longFmt": "-5,400,000,000" + }, + "investments": { + "raw": -1828000000, + "fmt": "-1.83B", + "longFmt": "-1,828,000,000" + }, + "otherCashflowsFromInvestingActivities": { + "raw": -3874000000, + "fmt": "-3.87B", + "longFmt": "-3,874,000,000" + }, + "totalCashflowsFromInvestingActivities": { + "raw": -11027000000, + "fmt": "-11.03B", + "longFmt": "-11,027,000,000" + }, + "netBorrowings": { + "raw": 3930000000, + "fmt": "3.93B", + "longFmt": "3,930,000,000" + }, + "otherCashflowsFromFinancingActivities": { + "raw": -1042000000, + "fmt": "-1.04B", + "longFmt": "-1,042,000,000" + }, + "totalCashFromFinancingActivities": { + "raw": 2888000000, + "fmt": "2.89B", + "longFmt": "2,888,000,000" + }, + "changeInCash": { + "raw": 1474000000, + "fmt": "1.47B", + "longFmt": "1,474,000,000" + } + } + ], + "maxAge": 86400 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-cashflowStatementHistoryQuarterly-THYAO.IS.json b/tests/http/quoteSummary-cashflowStatementHistoryQuarterly-THYAO.IS.json new file mode 100644 index 00000000..c32e571a --- /dev/null +++ b/tests/http/quoteSummary-cashflowStatementHistoryQuarterly-THYAO.IS.json @@ -0,0 +1,359 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/THYAO.IS?formatted=false&modules=cashflowStatementHistoryQuarterly" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "y-rid": [ + "7nk1oblhfekv7" + ], + "x-yahoo-request-id": [ + "7nk1oblhfekv7" + ], + "x-request-id": [ + "28ec5995-de87-4a5f-9c3a-d2bf8044711a" + ], + "content-encoding": [ + "gzip" + ], + "content-length": [ + "997" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Sat, 13 Aug 2022 07:33: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": [ + { + "cashflowStatementHistoryQuarterly": { + "cashflowStatements": [ + { + "maxAge": 1, + "endDate": { + "raw": 1656547200, + "fmt": "2022-06-30" + }, + "netIncome": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "changeToLiabilities": { + "raw": 0, + "fmt": null, + "longFmt": "0" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1648684800, + "fmt": "2022-03-31" + }, + "netIncome": { + "raw": 2220000000, + "fmt": "2.22B", + "longFmt": "2,220,000,000" + }, + "depreciation": { + "raw": 6208000000, + "fmt": "6.21B", + "longFmt": "6,208,000,000" + }, + "changeToNetincome": { + "raw": 3601000000, + "fmt": "3.6B", + "longFmt": "3,601,000,000" + }, + "changeToAccountReceivables": { + "raw": -948000000, + "fmt": "-948M", + "longFmt": "-948,000,000" + }, + "changeToLiabilities": { + "raw": 9072000000, + "fmt": "9.07B", + "longFmt": "9,072,000,000" + }, + "changeToInventory": { + "raw": -345000000, + "fmt": "-345M", + "longFmt": "-345,000,000" + }, + "changeToOperatingActivities": { + "raw": 57000000, + "fmt": "57M", + "longFmt": "57,000,000" + }, + "totalCashFromOperatingActivities": { + "raw": 19865000000, + "fmt": "19.86B", + "longFmt": "19,865,000,000" + }, + "capitalExpenditures": { + "raw": -2467000000, + "fmt": "-2.47B", + "longFmt": "-2,467,000,000" + }, + "otherCashflowsFromInvestingActivities": { + "raw": -7991000000, + "fmt": "-7.99B", + "longFmt": "-7,991,000,000" + }, + "totalCashflowsFromInvestingActivities": { + "raw": -10384000000, + "fmt": "-10.38B", + "longFmt": "-10,384,000,000" + }, + "netBorrowings": { + "raw": -7378000000, + "fmt": "-7.38B", + "longFmt": "-7,378,000,000" + }, + "otherCashflowsFromFinancingActivities": { + "raw": -533000000, + "fmt": "-533M", + "longFmt": "-533,000,000" + }, + "totalCashFromFinancingActivities": { + "raw": -7911000000, + "fmt": "-7.91B", + "longFmt": "-7,911,000,000" + }, + "changeInCash": { + "raw": 1570000000, + "fmt": "1.57B", + "longFmt": "1,570,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1640908800, + "fmt": "2021-12-31" + }, + "netIncome": { + "raw": 1981000000, + "fmt": "1.98B", + "longFmt": "1,981,000,000" + }, + "depreciation": { + "raw": 5077000000, + "fmt": "5.08B", + "longFmt": "5,077,000,000" + }, + "changeToNetincome": { + "raw": 9539000000, + "fmt": "9.54B", + "longFmt": "9,539,000,000" + }, + "changeToAccountReceivables": { + "raw": 7075000000, + "fmt": "7.08B", + "longFmt": "7,075,000,000" + }, + "changeToLiabilities": { + "raw": 2561000000, + "fmt": "2.56B", + "longFmt": "2,561,000,000" + }, + "changeToInventory": { + "raw": 97000000, + "fmt": "97M", + "longFmt": "97,000,000" + }, + "changeToOperatingActivities": { + "raw": -190000000, + "fmt": "-190M", + "longFmt": "-190,000,000" + }, + "totalCashFromOperatingActivities": { + "raw": 26140000000, + "fmt": "26.14B", + "longFmt": "26,140,000,000" + }, + "capitalExpenditures": { + "raw": -3103000000, + "fmt": "-3.1B", + "longFmt": "-3,103,000,000" + }, + "investments": { + "raw": 11000000, + "fmt": "11M", + "longFmt": "11,000,000" + }, + "otherCashflowsFromInvestingActivities": { + "raw": -323000000, + "fmt": "-323M", + "longFmt": "-323,000,000" + }, + "totalCashflowsFromInvestingActivities": { + "raw": -3330000000, + "fmt": "-3.33B", + "longFmt": "-3,330,000,000" + }, + "netBorrowings": { + "raw": -13194000000, + "fmt": "-13.19B", + "longFmt": "-13,194,000,000" + }, + "otherCashflowsFromFinancingActivities": { + "raw": -429000000, + "fmt": "-429M", + "longFmt": "-429,000,000" + }, + "totalCashFromFinancingActivities": { + "raw": -13623000000, + "fmt": "-13.62B", + "longFmt": "-13,623,000,000" + }, + "changeInCash": { + "raw": 9187000000, + "fmt": "9.19B", + "longFmt": "9,187,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1632960000, + "fmt": "2021-09-30" + }, + "netIncome": { + "raw": 6291000000, + "fmt": "6.29B", + "longFmt": "6,291,000,000" + }, + "depreciation": { + "raw": 3731000000, + "fmt": "3.73B", + "longFmt": "3,731,000,000" + }, + "changeToNetincome": { + "raw": 297000000, + "fmt": "297M", + "longFmt": "297,000,000" + }, + "changeToAccountReceivables": { + "raw": -707000000, + "fmt": "-707M", + "longFmt": "-707,000,000" + }, + "changeToLiabilities": { + "raw": -1626000000, + "fmt": "-1.63B", + "longFmt": "-1,626,000,000" + }, + "changeToInventory": { + "raw": 42000000, + "fmt": "42M", + "longFmt": "42,000,000" + }, + "changeToOperatingActivities": { + "raw": 629000000, + "fmt": "629M", + "longFmt": "629,000,000" + }, + "totalCashFromOperatingActivities": { + "raw": 8657000000, + "fmt": "8.66B", + "longFmt": "8,657,000,000" + }, + "capitalExpenditures": { + "raw": -1709000000, + "fmt": "-1.71B", + "longFmt": "-1,709,000,000" + }, + "investments": { + "raw": 581000000, + "fmt": "581M", + "longFmt": "581,000,000" + }, + "otherCashflowsFromInvestingActivities": { + "raw": 404000000, + "fmt": "404M", + "longFmt": "404,000,000" + }, + "totalCashflowsFromInvestingActivities": { + "raw": -268000000, + "fmt": "-268M", + "longFmt": "-268,000,000" + }, + "netBorrowings": { + "raw": -910000000, + "fmt": "-910M", + "longFmt": "-910,000,000" + }, + "otherCashflowsFromFinancingActivities": { + "raw": -550000000, + "fmt": "-550M", + "longFmt": "-550,000,000" + }, + "totalCashFromFinancingActivities": { + "raw": -1460000000, + "fmt": "-1.46B", + "longFmt": "-1,460,000,000" + }, + "changeInCash": { + "raw": 6929000000, + "fmt": "6.93B", + "longFmt": "6,929,000,000" + } + } + ], + "maxAge": 86400 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-defaultKeyStatistics-THYAO.IS.json b/tests/http/quoteSummary-defaultKeyStatistics-THYAO.IS.json new file mode 100644 index 00000000..246bf844 --- /dev/null +++ b/tests/http/quoteSummary-defaultKeyStatistics-THYAO.IS.json @@ -0,0 +1,104 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/THYAO.IS?formatted=false&modules=defaultKeyStatistics" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "y-rid": [ + "3gbj1o1hfekv8" + ], + "x-yahoo-request-id": [ + "3gbj1o1hfekv8" + ], + "x-request-id": [ + "54866569-2c6d-4a99-b211-836064c94d2d" + ], + "content-length": [ + "666" + ], + "x-envoy-upstream-service-time": [ + "3" + ], + "date": [ + "Sat, 13 Aug 2022 07:34: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": [ + { + "defaultKeyStatistics": { + "maxAge": 1, + "priceHint": 2, + "enterpriseValue": 84732002304, + "profitMargins": 0, + "sharesOutstanding": 1380000000, + "heldPercentInsiders": 0.49122003, + "heldPercentInstitutions": 0.07789, + "impliedSharesOutstanding": 0, + "category": null, + "bookValue": 65.681, + "priceToBook": 0.9500465, + "fundFamily": null, + "legalType": null, + "lastFiscalYearEnd": 1640908800, + "nextFiscalYearEnd": 1703980800, + "mostRecentQuarter": 1656547200, + "trailingEps": 14.2, + "forwardEps": 11.66, + "lastSplitFactor": "115:100", + "lastSplitDate": 1372204800, + "52WeekChange": 3.9484534, + "SandP52WeekChange": -0.0445475, + "lastDividendValue": 0.125565, + "lastDividendDate": 1369872000 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-earnings-THYAO.IS.json b/tests/http/quoteSummary-earnings-THYAO.IS.json new file mode 100644 index 00000000..adb56448 --- /dev/null +++ b/tests/http/quoteSummary-earnings-THYAO.IS.json @@ -0,0 +1,158 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/THYAO.IS?formatted=false&modules=earnings" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "y-rid": [ + "6jn6h45hfekv8" + ], + "x-yahoo-request-id": [ + "6jn6h45hfekv8" + ], + "x-request-id": [ + "2a5ff621-b712-4073-8c75-373660f06051" + ], + "content-length": [ + "936" + ], + "x-envoy-upstream-service-time": [ + "1" + ], + "date": [ + "Sat, 13 Aug 2022 07:34: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": [ + { + "earnings": { + "maxAge": 86400, + "earningsChart": { + "quarterly": [ + { + "date": "3Q2021", + "actual": 4.56, + "estimate": 2.49 + }, + { + "date": "4Q2021", + "actual": 1.43, + "estimate": 1.04 + }, + { + "date": "1Q2022", + "actual": 1.61, + "estimate": 0.74 + }, + { + "date": "2Q2022", + "actual": 6.63, + "estimate": 5.01 + } + ], + "currentQuarterEstimateDate": "3Q", + "currentQuarterEstimateYear": 2022, + "earningsDate": [ + 1667300340, + 1667822400 + ] + }, + "financialsChart": { + "yearly": [ + { + "date": 2018, + "revenue": 62853000000, + "earnings": 4045000000 + }, + { + "date": 2019, + "revenue": 75118000000, + "earnings": 4535000000 + }, + { + "date": 2020, + "revenue": 46448000000, + "earnings": -5588000000 + }, + { + "date": 2021, + "revenue": 97378000000, + "earnings": 8213000000 + } + ], + "quarterly": [ + { + "date": "3Q2021", + "revenue": 29033000000, + "earnings": 6291000000 + }, + { + "date": "4Q2021", + "revenue": 36860000000, + "earnings": 1981000000 + }, + { + "date": "1Q2022", + "revenue": 42614000000, + "earnings": 2220000000 + }, + { + "date": "2Q2022", + "revenue": 0, + "earnings": 0 + } + ] + }, + "financialCurrency": "TRY" + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-earningsHistory-THYAO.IS.json b/tests/http/quoteSummary-earningsHistory-THYAO.IS.json new file mode 100644 index 00000000..daea3a50 --- /dev/null +++ b/tests/http/quoteSummary-earningsHistory-THYAO.IS.json @@ -0,0 +1,179 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/THYAO.IS?formatted=false&modules=earningsHistory" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "y-rid": [ + "edk20sthfekv9" + ], + "x-yahoo-request-id": [ + "edk20sthfekv9" + ], + "x-request-id": [ + "08ed8732-7de9-4d20-8a94-b534b7a2c201" + ], + "content-length": [ + "1069" + ], + "x-envoy-upstream-service-time": [ + "1" + ], + "date": [ + "Sat, 13 Aug 2022 07:34:00 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": [ + { + "earningsHistory": { + "history": [ + { + "maxAge": 1, + "epsActual": { + "raw": 4.56, + "fmt": "4.56" + }, + "epsEstimate": { + "raw": 2.49, + "fmt": "2.49" + }, + "epsDifference": { + "raw": 2.07, + "fmt": "2.07" + }, + "surprisePercent": { + "raw": 0.831, + "fmt": "83.10%" + }, + "quarter": { + "raw": 1632960000, + "fmt": "2021-09-30" + }, + "period": "-4q" + }, + { + "maxAge": 1, + "epsActual": { + "raw": 1.43, + "fmt": "1.43" + }, + "epsEstimate": { + "raw": 1.04, + "fmt": "1.04" + }, + "epsDifference": { + "raw": 0.39, + "fmt": "0.39" + }, + "surprisePercent": { + "raw": 0.375, + "fmt": "37.50%" + }, + "quarter": { + "raw": 1640908800, + "fmt": "2021-12-31" + }, + "period": "-3q" + }, + { + "maxAge": 1, + "epsActual": { + "raw": 1.61, + "fmt": "1.61" + }, + "epsEstimate": { + "raw": 0.74, + "fmt": "0.74" + }, + "epsDifference": { + "raw": 0.87, + "fmt": "0.87" + }, + "surprisePercent": { + "raw": 1.176, + "fmt": "117.60%" + }, + "quarter": { + "raw": 1648684800, + "fmt": "2022-03-31" + }, + "period": "-2q" + }, + { + "maxAge": 1, + "epsActual": { + "raw": 6.63, + "fmt": "6.63" + }, + "epsEstimate": { + "raw": 5.01, + "fmt": "5.01" + }, + "epsDifference": { + "raw": 1.62, + "fmt": "1.62" + }, + "surprisePercent": { + "raw": 0.32299998, + "fmt": "32.30%" + }, + "quarter": { + "raw": 1656547200, + "fmt": "2022-06-30" + }, + "period": "-1q" + } + ], + "maxAge": 86400 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-earningsTrend-THYAO.IS.json b/tests/http/quoteSummary-earningsTrend-THYAO.IS.json new file mode 100644 index 00000000..e81cd343 --- /dev/null +++ b/tests/http/quoteSummary-earningsTrend-THYAO.IS.json @@ -0,0 +1,560 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/THYAO.IS?formatted=false&modules=earningsTrend" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "y-rid": [ + "e16cjllhfekv9" + ], + "x-yahoo-request-id": [ + "e16cjllhfekv9" + ], + "x-request-id": [ + "367bb505-3c11-4b03-8f81-a91ac0378848" + ], + "content-encoding": [ + "gzip" + ], + "content-length": [ + "855" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Sat, 13 Aug 2022 07:34: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": [ + { + "earningsTrend": { + "trend": [ + { + "maxAge": 1, + "period": "0q", + "endDate": "2022-09-30", + "growth": {}, + "earningsEstimate": { + "avg": { + "raw": 0, + "fmt": "0" + }, + "low": { + "raw": 0, + "fmt": "0" + }, + "high": { + "raw": 0, + "fmt": "0" + }, + "yearAgoEps": { + "raw": 4.56, + "fmt": "4.56" + }, + "numberOfAnalysts": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "growth": {} + }, + "revenueEstimate": { + "avg": { + "raw": 89614000000, + "fmt": "89.61B", + "longFmt": "89,614,000,000" + }, + "low": { + "raw": 89614000000, + "fmt": "89.61B", + "longFmt": "89,614,000,000" + }, + "high": { + "raw": 89614000000, + "fmt": "89.61B", + "longFmt": "89,614,000,000" + }, + "numberOfAnalysts": { + "raw": 1, + "fmt": "1", + "longFmt": "1" + }, + "yearAgoRevenue": { + "raw": 29033000000, + "fmt": "29.03B", + "longFmt": "29,033,000,000" + }, + "growth": { + "raw": 2.087, + "fmt": "208.70%" + } + }, + "epsTrend": { + "current": { + "raw": 0, + "fmt": "0" + }, + "7daysAgo": { + "raw": 7.65, + "fmt": "7.65" + }, + "30daysAgo": { + "raw": 7.65, + "fmt": "7.65" + }, + "60daysAgo": { + "raw": 7.62, + "fmt": "7.62" + }, + "90daysAgo": { + "raw": 6.98, + "fmt": "6.98" + } + }, + "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": "+1q", + "endDate": "2022-12-31", + "growth": {}, + "earningsEstimate": { + "avg": { + "raw": 0, + "fmt": "0" + }, + "low": { + "raw": 0, + "fmt": "0" + }, + "high": { + "raw": 0, + "fmt": "0" + }, + "yearAgoEps": { + "raw": 1.43, + "fmt": "1.43" + }, + "numberOfAnalysts": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "growth": {} + }, + "revenueEstimate": { + "avg": { + "raw": 64817300000, + "fmt": "64.82B", + "longFmt": "64,817,300,000" + }, + "low": { + "raw": 64817300000, + "fmt": "64.82B", + "longFmt": "64,817,300,000" + }, + "high": { + "raw": 64817300000, + "fmt": "64.82B", + "longFmt": "64,817,300,000" + }, + "numberOfAnalysts": { + "raw": 1, + "fmt": "1", + "longFmt": "1" + }, + "yearAgoRevenue": { + "raw": 36860000000, + "fmt": "36.86B", + "longFmt": "36,860,000,000" + }, + "growth": { + "raw": 0.758, + "fmt": "75.80%" + } + }, + "epsTrend": { + "current": { + "raw": 0, + "fmt": "0" + }, + "7daysAgo": { + "raw": 1.12, + "fmt": "1.12" + }, + "30daysAgo": { + "raw": 1.12, + "fmt": "1.12" + }, + "60daysAgo": { + "raw": 1.07, + "fmt": "1.07" + }, + "90daysAgo": { + "raw": 1.11, + "fmt": "1.11" + } + }, + "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": "2022-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": 271336000000, + "fmt": "271.34B", + "longFmt": "271,336,000,000" + }, + "low": { + "raw": 205493000000, + "fmt": "205.49B", + "longFmt": "205,493,000,000" + }, + "high": { + "raw": 292896000000, + "fmt": "292.9B", + "longFmt": "292,896,000,000" + }, + "numberOfAnalysts": { + "raw": 9, + "fmt": "9", + "longFmt": "9" + }, + "yearAgoRevenue": { + "raw": 97378000000, + "fmt": "97.38B", + "longFmt": "97,378,000,000" + }, + "growth": { + "raw": 1.786, + "fmt": "178.60%" + } + }, + "epsTrend": { + "current": { + "raw": 0, + "fmt": "0" + }, + "7daysAgo": { + "raw": 10.67, + "fmt": "10.67" + }, + "30daysAgo": { + "raw": 10.67, + "fmt": "10.67" + }, + "60daysAgo": { + "raw": 10.83, + "fmt": "10.83" + }, + "90daysAgo": { + "raw": 8.9, + "fmt": "8.9" + } + }, + "epsRevisions": { + "upLast7days": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "upLast30days": { + "raw": 3, + "fmt": "3", + "longFmt": "3" + }, + "downLast30days": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "downLast90days": {} + } + }, + { + "maxAge": 1, + "period": "+1y", + "endDate": "2023-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": 328134000000, + "fmt": "328.13B", + "longFmt": "328,134,000,000" + }, + "low": { + "raw": 264273000000, + "fmt": "264.27B", + "longFmt": "264,273,000,000" + }, + "high": { + "raw": 424592000000, + "fmt": "424.59B", + "longFmt": "424,592,000,000" + }, + "numberOfAnalysts": { + "raw": 8, + "fmt": "8", + "longFmt": "8" + }, + "yearAgoRevenue": { + "raw": 271336000000, + "fmt": "271.34B", + "longFmt": "271,336,000,000" + }, + "growth": { + "raw": 0.20899999, + "fmt": "20.90%" + } + }, + "epsTrend": { + "current": { + "raw": 0, + "fmt": "0" + }, + "7daysAgo": { + "raw": 11.66, + "fmt": "11.66" + }, + "30daysAgo": { + "raw": 11.66, + "fmt": "11.66" + }, + "60daysAgo": { + "raw": 11.62, + "fmt": "11.62" + }, + "90daysAgo": { + "raw": 10.75, + "fmt": "10.75" + } + }, + "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.9834, + "fmt": "98.34%" + }, + "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": { + "raw": 0.06704, + "fmt": "6.70%" + }, + "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-THYAO.IS.json b/tests/http/quoteSummary-financialData-THYAO.IS.json new file mode 100644 index 00000000..14f233dc --- /dev/null +++ b/tests/http/quoteSummary-financialData-THYAO.IS.json @@ -0,0 +1,96 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/THYAO.IS?formatted=false&modules=financialData" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "y-rid": [ + "64mi7u9hfekv9" + ], + "x-yahoo-request-id": [ + "64mi7u9hfekv9" + ], + "x-request-id": [ + "3f5e2f5e-4952-4c92-ae19-c17d885f5936" + ], + "content-length": [ + "432" + ], + "x-envoy-upstream-service-time": [ + "1" + ], + "date": [ + "Sat, 13 Aug 2022 07:34: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": 62.4, + "targetHighPrice": 78, + "targetLowPrice": 11.2, + "targetMeanPrice": 57.74, + "targetMedianPrice": 64.63, + "recommendationMean": 2.4, + "recommendationKey": "buy", + "numberOfAnalystOpinions": 12, + "revenuePerShare": 70.564, + "grossProfits": 22321000000, + "grossMargins": 0, + "ebitdaMargins": 0, + "operatingMargins": 0, + "profitMargins": 0, + "financialCurrency": "TRY" + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-fundOwnership-THYAO.IS.json b/tests/http/quoteSummary-fundOwnership-THYAO.IS.json new file mode 100644 index 00000000..fed6f8a4 --- /dev/null +++ b/tests/http/quoteSummary-fundOwnership-THYAO.IS.json @@ -0,0 +1,82 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/THYAO.IS?formatted=false&modules=fundOwnership" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "y-rid": [ + "fpbd1kdhfekva" + ], + "x-yahoo-request-id": [ + "fpbd1kdhfekva" + ], + "x-request-id": [ + "5418e721-9d9f-41a7-a993-3f8509b650d1" + ], + "content-length": [ + "92" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Sat, 13 Aug 2022 07:34: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-THYAO.IS.json b/tests/http/quoteSummary-incomeStatementHistory-THYAO.IS.json new file mode 100644 index 00000000..a7e261e7 --- /dev/null +++ b/tests/http/quoteSummary-incomeStatementHistory-THYAO.IS.json @@ -0,0 +1,458 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/THYAO.IS?formatted=false&modules=incomeStatementHistory" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "y-rid": [ + "9b05ajphfekva" + ], + "x-yahoo-request-id": [ + "9b05ajphfekva" + ], + "x-request-id": [ + "8a844143-7127-4f81-a69f-ac021f7eb7a5" + ], + "content-encoding": [ + "gzip" + ], + "content-length": [ + "1198" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Sat, 13 Aug 2022 07:34:02 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": [ + { + "incomeStatementHistory": { + "incomeStatementHistory": [ + { + "maxAge": 1, + "endDate": { + "raw": 1640908800, + "fmt": "2021-12-31" + }, + "totalRevenue": { + "raw": 97378000000, + "fmt": "97.38B", + "longFmt": "97,378,000,000" + }, + "costOfRevenue": { + "raw": 75057000000, + "fmt": "75.06B", + "longFmt": "75,057,000,000" + }, + "grossProfit": { + "raw": 22321000000, + "fmt": "22.32B", + "longFmt": "22,321,000,000" + }, + "researchDevelopment": {}, + "sellingGeneralAdministrative": { + "raw": 9668000000, + "fmt": "9.67B", + "longFmt": "9,668,000,000" + }, + "nonRecurring": {}, + "otherOperatingExpenses": { + "raw": -524000000, + "fmt": "-524M", + "longFmt": "-524,000,000" + }, + "totalOperatingExpenses": { + "raw": 84201000000, + "fmt": "84.2B", + "longFmt": "84,201,000,000" + }, + "operatingIncome": { + "raw": 13177000000, + "fmt": "13.18B", + "longFmt": "13,177,000,000" + }, + "totalOtherIncomeExpenseNet": { + "raw": -3986000000, + "fmt": "-3.99B", + "longFmt": "-3,986,000,000" + }, + "ebit": { + "raw": 13177000000, + "fmt": "13.18B", + "longFmt": "13,177,000,000" + }, + "interestExpense": { + "raw": -3214000000, + "fmt": "-3.21B", + "longFmt": "-3,214,000,000" + }, + "incomeBeforeTax": { + "raw": 9191000000, + "fmt": "9.19B", + "longFmt": "9,191,000,000" + }, + "incomeTaxExpense": { + "raw": 977000000, + "fmt": "977M", + "longFmt": "977,000,000" + }, + "minorityInterest": { + "raw": 10000000, + "fmt": "10M", + "longFmt": "10,000,000" + }, + "netIncomeFromContinuingOps": { + "raw": 8214000000, + "fmt": "8.21B", + "longFmt": "8,214,000,000" + }, + "discontinuedOperations": {}, + "extraordinaryItems": {}, + "effectOfAccountingCharges": {}, + "otherItems": {}, + "netIncome": { + "raw": 8213000000, + "fmt": "8.21B", + "longFmt": "8,213,000,000" + }, + "netIncomeApplicableToCommonShares": { + "raw": 8213000000, + "fmt": "8.21B", + "longFmt": "8,213,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1609372800, + "fmt": "2020-12-31" + }, + "totalRevenue": { + "raw": 46448000000, + "fmt": "46.45B", + "longFmt": "46,448,000,000" + }, + "costOfRevenue": { + "raw": 43628000000, + "fmt": "43.63B", + "longFmt": "43,628,000,000" + }, + "grossProfit": { + "raw": 2820000000, + "fmt": "2.82B", + "longFmt": "2,820,000,000" + }, + "researchDevelopment": {}, + "sellingGeneralAdministrative": { + "raw": 6008000000, + "fmt": "6.01B", + "longFmt": "6,008,000,000" + }, + "nonRecurring": {}, + "otherOperatingExpenses": { + "raw": -1283000000, + "fmt": "-1.28B", + "longFmt": "-1,283,000,000" + }, + "totalOperatingExpenses": { + "raw": 48353000000, + "fmt": "48.35B", + "longFmt": "48,353,000,000" + }, + "operatingIncome": { + "raw": -1905000000, + "fmt": "-1.91B", + "longFmt": "-1,905,000,000" + }, + "totalOtherIncomeExpenseNet": { + "raw": -4196000000, + "fmt": "-4.2B", + "longFmt": "-4,196,000,000" + }, + "ebit": { + "raw": -1905000000, + "fmt": "-1.91B", + "longFmt": "-1,905,000,000" + }, + "interestExpense": { + "raw": -2040000000, + "fmt": "-2.04B", + "longFmt": "-2,040,000,000" + }, + "incomeBeforeTax": { + "raw": -6101000000, + "fmt": "-6.1B", + "longFmt": "-6,101,000,000" + }, + "incomeTaxExpense": { + "raw": -513000000, + "fmt": "-513M", + "longFmt": "-513,000,000" + }, + "minorityInterest": { + "raw": 9000000, + "fmt": "9M", + "longFmt": "9,000,000" + }, + "netIncomeFromContinuingOps": { + "raw": -5588000000, + "fmt": "-5.59B", + "longFmt": "-5,588,000,000" + }, + "discontinuedOperations": {}, + "extraordinaryItems": {}, + "effectOfAccountingCharges": {}, + "otherItems": {}, + "netIncome": { + "raw": -5588000000, + "fmt": "-5.59B", + "longFmt": "-5,588,000,000" + }, + "netIncomeApplicableToCommonShares": { + "raw": -5588000000, + "fmt": "-5.59B", + "longFmt": "-5,588,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1577750400, + "fmt": "2019-12-31" + }, + "totalRevenue": { + "raw": 75118000000, + "fmt": "75.12B", + "longFmt": "75,118,000,000" + }, + "costOfRevenue": { + "raw": 61937000000, + "fmt": "61.94B", + "longFmt": "61,937,000,000" + }, + "grossProfit": { + "raw": 13181000000, + "fmt": "13.18B", + "longFmt": "13,181,000,000" + }, + "researchDevelopment": {}, + "sellingGeneralAdministrative": { + "raw": 9610000000, + "fmt": "9.61B", + "longFmt": "9,610,000,000" + }, + "nonRecurring": {}, + "otherOperatingExpenses": { + "raw": -1294000000, + "fmt": "-1.29B", + "longFmt": "-1,294,000,000" + }, + "totalOperatingExpenses": { + "raw": 70253000000, + "fmt": "70.25B", + "longFmt": "70,253,000,000" + }, + "operatingIncome": { + "raw": 4865000000, + "fmt": "4.87B", + "longFmt": "4,865,000,000" + }, + "totalOtherIncomeExpenseNet": { + "raw": 191000000, + "fmt": "191M", + "longFmt": "191,000,000" + }, + "ebit": { + "raw": 4865000000, + "fmt": "4.87B", + "longFmt": "4,865,000,000" + }, + "interestExpense": { + "raw": -1492000000, + "fmt": "-1.49B", + "longFmt": "-1,492,000,000" + }, + "incomeBeforeTax": { + "raw": 5056000000, + "fmt": "5.06B", + "longFmt": "5,056,000,000" + }, + "incomeTaxExpense": { + "raw": 520000000, + "fmt": "520M", + "longFmt": "520,000,000" + }, + "minorityInterest": { + "raw": 3000000, + "fmt": "3M", + "longFmt": "3,000,000" + }, + "netIncomeFromContinuingOps": { + "raw": 4536000000, + "fmt": "4.54B", + "longFmt": "4,536,000,000" + }, + "discontinuedOperations": {}, + "extraordinaryItems": {}, + "effectOfAccountingCharges": {}, + "otherItems": {}, + "netIncome": { + "raw": 4535000000, + "fmt": "4.54B", + "longFmt": "4,535,000,000" + }, + "netIncomeApplicableToCommonShares": { + "raw": 4535000000, + "fmt": "4.54B", + "longFmt": "4,535,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1546214400, + "fmt": "2018-12-31" + }, + "totalRevenue": { + "raw": 62853000000, + "fmt": "62.85B", + "longFmt": "62,853,000,000" + }, + "costOfRevenue": { + "raw": 49212000000, + "fmt": "49.21B", + "longFmt": "49,212,000,000" + }, + "grossProfit": { + "raw": 13641000000, + "fmt": "13.64B", + "longFmt": "13,641,000,000" + }, + "researchDevelopment": {}, + "sellingGeneralAdministrative": { + "raw": 7368000000, + "fmt": "7.37B", + "longFmt": "7,368,000,000" + }, + "nonRecurring": {}, + "otherOperatingExpenses": { + "raw": -450000000, + "fmt": "-450M", + "longFmt": "-450,000,000" + }, + "totalOperatingExpenses": { + "raw": 56130000000, + "fmt": "56.13B", + "longFmt": "56,130,000,000" + }, + "operatingIncome": { + "raw": 6723000000, + "fmt": "6.72B", + "longFmt": "6,723,000,000" + }, + "totalOtherIncomeExpenseNet": { + "raw": -1489000000, + "fmt": "-1.49B", + "longFmt": "-1,489,000,000" + }, + "ebit": { + "raw": 6723000000, + "fmt": "6.72B", + "longFmt": "6,723,000,000" + }, + "interestExpense": { + "raw": -1347000000, + "fmt": "-1.35B", + "longFmt": "-1,347,000,000" + }, + "incomeBeforeTax": { + "raw": 5234000000, + "fmt": "5.23B", + "longFmt": "5,234,000,000" + }, + "incomeTaxExpense": { + "raw": 1189000000, + "fmt": "1.19B", + "longFmt": "1,189,000,000" + }, + "minorityInterest": { + "raw": 3000000, + "fmt": "3M", + "longFmt": "3,000,000" + }, + "netIncomeFromContinuingOps": { + "raw": 4045000000, + "fmt": "4.04B", + "longFmt": "4,045,000,000" + }, + "discontinuedOperations": {}, + "extraordinaryItems": {}, + "effectOfAccountingCharges": {}, + "otherItems": {}, + "netIncome": { + "raw": 4045000000, + "fmt": "4.04B", + "longFmt": "4,045,000,000" + }, + "netIncomeApplicableToCommonShares": { + "raw": 4045000000, + "fmt": "4.04B", + "longFmt": "4,045,000,000" + } + } + ], + "maxAge": 86400 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-incomeStatementHistoryQuarterly-THYAO.IS.json b/tests/http/quoteSummary-incomeStatementHistoryQuarterly-THYAO.IS.json new file mode 100644 index 00000000..19bc4ad8 --- /dev/null +++ b/tests/http/quoteSummary-incomeStatementHistoryQuarterly-THYAO.IS.json @@ -0,0 +1,426 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/THYAO.IS?formatted=false&modules=incomeStatementHistoryQuarterly" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "y-rid": [ + "cdtiv4thfekva" + ], + "x-yahoo-request-id": [ + "cdtiv4thfekva" + ], + "x-request-id": [ + "92ecde5d-1155-4342-a9e1-c229d9506589" + ], + "content-encoding": [ + "gzip" + ], + "content-length": [ + "1081" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Sat, 13 Aug 2022 07:34: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": [ + { + "incomeStatementHistoryQuarterly": { + "incomeStatementHistory": [ + { + "maxAge": 1, + "endDate": { + "raw": 1656547200, + "fmt": "2022-06-30" + }, + "totalRevenue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "costOfRevenue": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "grossProfit": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "researchDevelopment": {}, + "sellingGeneralAdministrative": {}, + "nonRecurring": {}, + "otherOperatingExpenses": {}, + "totalOperatingExpenses": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "operatingIncome": {}, + "totalOtherIncomeExpenseNet": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "ebit": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "interestExpense": {}, + "incomeBeforeTax": {}, + "incomeTaxExpense": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "minorityInterest": {}, + "netIncomeFromContinuingOps": {}, + "discontinuedOperations": {}, + "extraordinaryItems": {}, + "effectOfAccountingCharges": {}, + "otherItems": {}, + "netIncome": { + "raw": 0, + "fmt": null, + "longFmt": "0" + }, + "netIncomeApplicableToCommonShares": {} + }, + { + "maxAge": 1, + "endDate": { + "raw": 1648684800, + "fmt": "2022-03-31" + }, + "totalRevenue": { + "raw": 42614000000, + "fmt": "42.61B", + "longFmt": "42,614,000,000" + }, + "costOfRevenue": { + "raw": 35426000000, + "fmt": "35.43B", + "longFmt": "35,426,000,000" + }, + "grossProfit": { + "raw": 7188000000, + "fmt": "7.19B", + "longFmt": "7,188,000,000" + }, + "researchDevelopment": {}, + "sellingGeneralAdministrative": { + "raw": 5149000000, + "fmt": "5.15B", + "longFmt": "5,149,000,000" + }, + "nonRecurring": {}, + "otherOperatingExpenses": { + "raw": -255000000, + "fmt": "-255M", + "longFmt": "-255,000,000" + }, + "totalOperatingExpenses": { + "raw": 40320000000, + "fmt": "40.32B", + "longFmt": "40,320,000,000" + }, + "operatingIncome": { + "raw": 2294000000, + "fmt": "2.29B", + "longFmt": "2,294,000,000" + }, + "totalOtherIncomeExpenseNet": { + "raw": -640000000, + "fmt": "-640M", + "longFmt": "-640,000,000" + }, + "ebit": { + "raw": 2294000000, + "fmt": "2.29B", + "longFmt": "2,294,000,000" + }, + "interestExpense": { + "raw": -1878000000, + "fmt": "-1.88B", + "longFmt": "-1,878,000,000" + }, + "incomeBeforeTax": { + "raw": 1654000000, + "fmt": "1.65B", + "longFmt": "1,654,000,000" + }, + "incomeTaxExpense": { + "raw": -566000000, + "fmt": "-566M", + "longFmt": "-566,000,000" + }, + "minorityInterest": { + "raw": 10000000, + "fmt": "10M", + "longFmt": "10,000,000" + }, + "netIncomeFromContinuingOps": { + "raw": 2220000000, + "fmt": "2.22B", + "longFmt": "2,220,000,000" + }, + "discontinuedOperations": {}, + "extraordinaryItems": {}, + "effectOfAccountingCharges": {}, + "otherItems": {}, + "netIncome": { + "raw": 2220000000, + "fmt": "2.22B", + "longFmt": "2,220,000,000" + }, + "netIncomeApplicableToCommonShares": { + "raw": 2220000000, + "fmt": "2.22B", + "longFmt": "2,220,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1640908800, + "fmt": "2021-12-31" + }, + "totalRevenue": { + "raw": 36860000000, + "fmt": "36.86B", + "longFmt": "36,860,000,000" + }, + "costOfRevenue": { + "raw": 27332000000, + "fmt": "27.33B", + "longFmt": "27,332,000,000" + }, + "grossProfit": { + "raw": 9528000000, + "fmt": "9.53B", + "longFmt": "9,528,000,000" + }, + "researchDevelopment": {}, + "sellingGeneralAdministrative": { + "raw": 3263000000, + "fmt": "3.26B", + "longFmt": "3,263,000,000" + }, + "nonRecurring": {}, + "otherOperatingExpenses": { + "raw": 173000000, + "fmt": "173M", + "longFmt": "173,000,000" + }, + "totalOperatingExpenses": { + "raw": 30768000000, + "fmt": "30.77B", + "longFmt": "30,768,000,000" + }, + "operatingIncome": { + "raw": 6092000000, + "fmt": "6.09B", + "longFmt": "6,092,000,000" + }, + "totalOtherIncomeExpenseNet": { + "raw": -3861000000, + "fmt": "-3.86B", + "longFmt": "-3,861,000,000" + }, + "ebit": { + "raw": 6092000000, + "fmt": "6.09B", + "longFmt": "6,092,000,000" + }, + "interestExpense": { + "raw": -991000000, + "fmt": "-991M", + "longFmt": "-991,000,000" + }, + "incomeBeforeTax": { + "raw": 2231000000, + "fmt": "2.23B", + "longFmt": "2,231,000,000" + }, + "incomeTaxExpense": { + "raw": 249000000, + "fmt": "249M", + "longFmt": "249,000,000" + }, + "minorityInterest": { + "raw": 10000000, + "fmt": "10M", + "longFmt": "10,000,000" + }, + "netIncomeFromContinuingOps": { + "raw": 1982000000, + "fmt": "1.98B", + "longFmt": "1,982,000,000" + }, + "discontinuedOperations": {}, + "extraordinaryItems": {}, + "effectOfAccountingCharges": {}, + "otherItems": {}, + "netIncome": { + "raw": 1981000000, + "fmt": "1.98B", + "longFmt": "1,981,000,000" + }, + "netIncomeApplicableToCommonShares": { + "raw": 1981000000, + "fmt": "1.98B", + "longFmt": "1,981,000,000" + } + }, + { + "maxAge": 1, + "endDate": { + "raw": 1632960000, + "fmt": "2021-09-30" + }, + "totalRevenue": { + "raw": 29033000000, + "fmt": "29.03B", + "longFmt": "29,033,000,000" + }, + "costOfRevenue": { + "raw": 20535000000, + "fmt": "20.54B", + "longFmt": "20,535,000,000" + }, + "grossProfit": { + "raw": 8498000000, + "fmt": "8.5B", + "longFmt": "8,498,000,000" + }, + "researchDevelopment": {}, + "sellingGeneralAdministrative": { + "raw": 2508000000, + "fmt": "2.51B", + "longFmt": "2,508,000,000" + }, + "nonRecurring": {}, + "otherOperatingExpenses": { + "raw": -398000000, + "fmt": "-398M", + "longFmt": "-398,000,000" + }, + "totalOperatingExpenses": { + "raw": 22645000000, + "fmt": "22.64B", + "longFmt": "22,645,000,000" + }, + "operatingIncome": { + "raw": 6388000000, + "fmt": "6.39B", + "longFmt": "6,388,000,000" + }, + "totalOtherIncomeExpenseNet": { + "raw": 1052000000, + "fmt": "1.05B", + "longFmt": "1,052,000,000" + }, + "ebit": { + "raw": 6388000000, + "fmt": "6.39B", + "longFmt": "6,388,000,000" + }, + "interestExpense": { + "raw": -832000000, + "fmt": "-832M", + "longFmt": "-832,000,000" + }, + "incomeBeforeTax": { + "raw": 7440000000, + "fmt": "7.44B", + "longFmt": "7,440,000,000" + }, + "incomeTaxExpense": { + "raw": 1149000000, + "fmt": "1.15B", + "longFmt": "1,149,000,000" + }, + "minorityInterest": { + "raw": 10000000, + "fmt": "10M", + "longFmt": "10,000,000" + }, + "netIncomeFromContinuingOps": { + "raw": 6291000000, + "fmt": "6.29B", + "longFmt": "6,291,000,000" + }, + "discontinuedOperations": {}, + "extraordinaryItems": {}, + "effectOfAccountingCharges": {}, + "otherItems": {}, + "netIncome": { + "raw": 6291000000, + "fmt": "6.29B", + "longFmt": "6,291,000,000" + }, + "netIncomeApplicableToCommonShares": { + "raw": 6291000000, + "fmt": "6.29B", + "longFmt": "6,291,000,000" + } + } + ], + "maxAge": 86400 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-indexTrend-THYAO.IS.json b/tests/http/quoteSummary-indexTrend-THYAO.IS.json new file mode 100644 index 00000000..2a20cdd5 --- /dev/null +++ b/tests/http/quoteSummary-indexTrend-THYAO.IS.json @@ -0,0 +1,109 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/THYAO.IS?formatted=false&modules=indexTrend" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "y-rid": [ + "dqniit1hfekvb" + ], + "x-yahoo-request-id": [ + "dqniit1hfekvb" + ], + "x-request-id": [ + "af13c7ee-330e-4007-a914-607e336e9e4f" + ], + "content-length": [ + "313" + ], + "x-envoy-upstream-service-time": [ + "3" + ], + "date": [ + "Sat, 13 Aug 2022 07:34:03 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": 18.2042, + "pegRatio": 1.84218, + "estimates": [ + { + "period": "0q", + "growth": 0.122 + }, + { + "period": "+1q", + "growth": 0.14 + }, + { + "period": "0y", + "growth": 0.093 + }, + { + "period": "+1y", + "growth": 0.09 + }, + { + "period": "+5y", + "growth": 0.0965644 + }, + { + "period": "-5y" + } + ] + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-industryTrend-THYAO.IS.json b/tests/http/quoteSummary-industryTrend-THYAO.IS.json new file mode 100644 index 00000000..61a5800f --- /dev/null +++ b/tests/http/quoteSummary-industryTrend-THYAO.IS.json @@ -0,0 +1,83 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/THYAO.IS?formatted=false&modules=industryTrend" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "y-rid": [ + "dqiogadhfekvb" + ], + "x-yahoo-request-id": [ + "dqiogadhfekvb" + ], + "x-request-id": [ + "8f6a9aac-4caf-4789-98b5-296ccf078c6d" + ], + "content-length": [ + "102" + ], + "x-envoy-upstream-service-time": [ + "1" + ], + "date": [ + "Sat, 13 Aug 2022 07:34:03 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": [ + { + "industryTrend": { + "maxAge": 1, + "symbol": null, + "estimates": [] + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-insiderHolders-THYAO.IS.json b/tests/http/quoteSummary-insiderHolders-THYAO.IS.json new file mode 100644 index 00000000..979a7e15 --- /dev/null +++ b/tests/http/quoteSummary-insiderHolders-THYAO.IS.json @@ -0,0 +1,82 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/THYAO.IS?formatted=false&modules=insiderHolders" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "y-rid": [ + "av86at9hfekvb" + ], + "x-yahoo-request-id": [ + "av86at9hfekvb" + ], + "x-request-id": [ + "e1c230ee-9c11-46ba-b8ef-d8f84be1fcdb" + ], + "content-length": [ + "87" + ], + "x-envoy-upstream-service-time": [ + "1" + ], + "date": [ + "Sat, 13 Aug 2022 07:34:03 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-THYAO.IS.json b/tests/http/quoteSummary-insiderTransactions-THYAO.IS.json new file mode 100644 index 00000000..d8c0f9ea --- /dev/null +++ b/tests/http/quoteSummary-insiderTransactions-THYAO.IS.json @@ -0,0 +1,81 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/THYAO.IS?formatted=false&modules=insiderTransactions" + }, + "response": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "7bu85l5hfekvc" + ], + "x-yahoo-request-id": [ + "7bu85l5hfekvc" + ], + "x-request-id": [ + "814b35bf-f75c-420e-8cf3-e769d5fd5908" + ], + "content-length": [ + "152" + ], + "x-envoy-upstream-service-time": [ + "1" + ], + "date": [ + "Sat, 13 Aug 2022 07:34:04 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=insiderTransactions" + } + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-institutionOwnership-THYAO.IS.json b/tests/http/quoteSummary-institutionOwnership-THYAO.IS.json new file mode 100644 index 00000000..37b86fbc --- /dev/null +++ b/tests/http/quoteSummary-institutionOwnership-THYAO.IS.json @@ -0,0 +1,82 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/THYAO.IS?formatted=false&modules=institutionOwnership" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "y-rid": [ + "6ob245hhfekvc" + ], + "x-yahoo-request-id": [ + "6ob245hhfekvc" + ], + "x-request-id": [ + "f2f41482-cf8a-44dd-a058-ec05c5629ca7" + ], + "content-length": [ + "99" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Sat, 13 Aug 2022 07:34: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": [ + { + "institutionOwnership": { + "maxAge": 1, + "ownershipList": [] + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-majorDirectHolders-THYAO.IS.json b/tests/http/quoteSummary-majorDirectHolders-THYAO.IS.json new file mode 100644 index 00000000..7526ac5d --- /dev/null +++ b/tests/http/quoteSummary-majorDirectHolders-THYAO.IS.json @@ -0,0 +1,82 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/THYAO.IS?formatted=false&modules=majorDirectHolders" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "y-rid": [ + "ce7vscphfekvc" + ], + "x-yahoo-request-id": [ + "ce7vscphfekvc" + ], + "x-request-id": [ + "4d9af10f-11d2-4dcb-bbb9-5c32a586762c" + ], + "content-length": [ + "91" + ], + "x-envoy-upstream-service-time": [ + "1" + ], + "date": [ + "Sat, 13 Aug 2022 07:34: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": [ + { + "majorDirectHolders": { + "holders": [], + "maxAge": 1 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-majorHoldersBreakdown-THYAO.IS.json b/tests/http/quoteSummary-majorHoldersBreakdown-THYAO.IS.json new file mode 100644 index 00000000..d5dbd214 --- /dev/null +++ b/tests/http/quoteSummary-majorHoldersBreakdown-THYAO.IS.json @@ -0,0 +1,85 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/THYAO.IS?formatted=false&modules=majorHoldersBreakdown" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "y-rid": [ + "eoam9jdhfekvd" + ], + "x-yahoo-request-id": [ + "eoam9jdhfekvd" + ], + "x-request-id": [ + "01486014-caf0-433a-8364-3a4249b92656" + ], + "content-length": [ + "210" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Sat, 13 Aug 2022 07:34:04 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": [ + { + "majorHoldersBreakdown": { + "maxAge": 1, + "insidersPercentHeld": 0.49122003, + "institutionsPercentHeld": 0.07789, + "institutionsFloatPercentHeld": 0.15308, + "institutionsCount": 99 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-netSharePurchaseActivity-THYAO.IS.json b/tests/http/quoteSummary-netSharePurchaseActivity-THYAO.IS.json new file mode 100644 index 00000000..b0f363a1 --- /dev/null +++ b/tests/http/quoteSummary-netSharePurchaseActivity-THYAO.IS.json @@ -0,0 +1,89 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/THYAO.IS?formatted=false&modules=netSharePurchaseActivity" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "y-rid": [ + "2m696rdhfekvd" + ], + "x-yahoo-request-id": [ + "2m696rdhfekvd" + ], + "x-request-id": [ + "2a5a10b6-5557-42a7-96b2-b75664bc1313" + ], + "content-length": [ + "247" + ], + "x-envoy-upstream-service-time": [ + "1" + ], + "date": [ + "Sat, 13 Aug 2022 07:34:05 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": [ + { + "netSharePurchaseActivity": { + "maxAge": 1, + "period": "6m", + "buyInfoCount": 0, + "buyInfoShares": 0, + "sellInfoCount": 0, + "netInfoCount": 0, + "netInfoShares": 0, + "netPercentInsiderShares": 0, + "totalInsiderShares": 677883648 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-price-THYAO.IS.json b/tests/http/quoteSummary-price-THYAO.IS.json new file mode 100644 index 00000000..960e5078 --- /dev/null +++ b/tests/http/quoteSummary-price-THYAO.IS.json @@ -0,0 +1,107 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/THYAO.IS?formatted=false&modules=price" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "y-rid": [ + "dh3ha6lhfekve" + ], + "x-yahoo-request-id": [ + "dh3ha6lhfekve" + ], + "x-request-id": [ + "3dfd906d-76a8-42d9-8044-aecf08f4d246" + ], + "content-length": [ + "743" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Sat, 13 Aug 2022 07:34: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": [ + { + "price": { + "maxAge": 1, + "regularMarketChangePercent": 0.016286645, + "regularMarketChange": 1, + "regularMarketTime": 1660316996, + "priceHint": 2, + "regularMarketPrice": 62.4, + "regularMarketDayHigh": 63.35, + "regularMarketDayLow": 61.25, + "regularMarketVolume": 101328664, + "regularMarketPreviousClose": 61.4, + "regularMarketSource": "DELAYED", + "regularMarketOpen": 61.85, + "exchange": "IST", + "exchangeName": "Istanbul", + "exchangeDataDelayedBy": 15, + "marketState": "CLOSED", + "quoteType": "EQUITY", + "symbol": "THYAO.IS", + "underlyingSymbol": null, + "shortName": "TURK HAVA YOLLARI", + "longName": "Türk Hava Yollari Anonim Ortakligi", + "currency": "TRY", + "currencySymbol": "₺", + "fromCurrency": null, + "toCurrency": null, + "lastMarket": null, + "marketCap": 86112002048 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-quoteType-THYAO.IS.json b/tests/http/quoteSummary-quoteType-THYAO.IS.json new file mode 100644 index 00000000..70ec78ba --- /dev/null +++ b/tests/http/quoteSummary-quoteType-THYAO.IS.json @@ -0,0 +1,93 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/THYAO.IS?formatted=false&modules=quoteType" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "y-rid": [ + "4gafvithfekve" + ], + "x-yahoo-request-id": [ + "4gafvithfekve" + ], + "x-request-id": [ + "1ae682fa-1805-4762-9acd-4d99032219d3" + ], + "content-length": [ + "448" + ], + "x-envoy-upstream-service-time": [ + "1" + ], + "date": [ + "Sat, 13 Aug 2022 07:34: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": [ + { + "quoteType": { + "exchange": "IST", + "quoteType": "EQUITY", + "symbol": "THYAO.IS", + "underlyingSymbol": "THYAO.IS", + "shortName": "TURK HAVA YOLLARI", + "longName": "Türk Hava Yollari Anonim Ortakligi", + "firstTradeDateEpochUtc": 957940200, + "timeZoneFullName": "Europe/Istanbul", + "timeZoneShortName": "TRST", + "uuid": "240595ca-21e9-34bf-861b-0d9e7a7826f4", + "messageBoardId": "finmb_884162", + "gmtOffSetMilliseconds": 10800000, + "maxAge": 1 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-recommendationTrend-THYAO.IS.json b/tests/http/quoteSummary-recommendationTrend-THYAO.IS.json new file mode 100644 index 00000000..e3d6277b --- /dev/null +++ b/tests/http/quoteSummary-recommendationTrend-THYAO.IS.json @@ -0,0 +1,115 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/THYAO.IS?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": [ + "87qhrgphfekve" + ], + "x-yahoo-request-id": [ + "87qhrgphfekve" + ], + "x-request-id": [ + "8296fc35-316f-432b-bb31-9126fdfe365a" + ], + "content-length": [ + "383" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Sat, 13 Aug 2022 07:34:06 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": [ + { + "recommendationTrend": { + "trend": [ + { + "period": "0m", + "strongBuy": 0, + "buy": 0, + "hold": 0, + "sell": 0, + "strongSell": 0 + }, + { + "period": "-1m", + "strongBuy": 2, + "buy": 13, + "hold": 5, + "sell": 0, + "strongSell": 0 + }, + { + "period": "-2m", + "strongBuy": 2, + "buy": 12, + "hold": 5, + "sell": 0, + "strongSell": 1 + }, + { + "period": "-3m", + "strongBuy": 2, + "buy": 11, + "hold": 6, + "sell": 0, + "strongSell": 2 + } + ], + "maxAge": 86400 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-secFilings-THYAO.IS.json b/tests/http/quoteSummary-secFilings-THYAO.IS.json new file mode 100644 index 00000000..adaafbba --- /dev/null +++ b/tests/http/quoteSummary-secFilings-THYAO.IS.json @@ -0,0 +1,81 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/THYAO.IS?formatted=false&modules=secFilings" + }, + "response": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "d04b2pdhfekvf" + ], + "x-yahoo-request-id": [ + "d04b2pdhfekvf" + ], + "x-request-id": [ + "652be342-0e6e-4bb7-98f0-e3235cd4b9ba" + ], + "content-length": [ + "143" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Sat, 13 Aug 2022 07:34:06 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=secFilings" + } + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-summaryDetail-THYAO.IS.json b/tests/http/quoteSummary-summaryDetail-THYAO.IS.json new file mode 100644 index 00000000..a2c9bfd8 --- /dev/null +++ b/tests/http/quoteSummary-summaryDetail-THYAO.IS.json @@ -0,0 +1,117 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/THYAO.IS?formatted=false&modules=summaryDetail" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "y-rid": [ + "bg0vka1hfekvf" + ], + "x-yahoo-request-id": [ + "bg0vka1hfekvf" + ], + "x-request-id": [ + "4b7ab646-a5b8-4b59-9acf-27e781264707" + ], + "content-length": [ + "881" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Sat, 13 Aug 2022 07:34:07 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": [ + { + "summaryDetail": { + "maxAge": 1, + "priceHint": 2, + "previousClose": 61.4, + "open": 61.85, + "dayLow": 61.25, + "dayHigh": 63.35, + "regularMarketPreviousClose": 61.4, + "regularMarketOpen": 61.85, + "regularMarketDayLow": 61.25, + "regularMarketDayHigh": 63.35, + "exDividendDate": 1369872000, + "payoutRatio": 0, + "trailingPE": 4.3943663, + "forwardPE": 5.3516297, + "volume": 101328664, + "regularMarketVolume": 101328664, + "averageVolume": 101730026, + "averageVolume10days": 107099871, + "averageDailyVolume10Day": 107099871, + "bid": 62.1, + "ask": 62.45, + "bidSize": 0, + "askSize": 0, + "marketCap": 86112002048, + "fiftyTwoWeekLow": 12.1, + "fiftyTwoWeekHigh": 63.35, + "fiftyDayAverage": 50.6702, + "twoHundredDayAverage": 34.1869, + "trailingAnnualDividendRate": 0, + "trailingAnnualDividendYield": 0, + "currency": "TRY", + "fromCurrency": null, + "toCurrency": null, + "lastMarket": null, + "coinMarketCapLink": null, + "algorithm": null, + "tradeable": false + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-summaryProfile-THYAO.IS.json b/tests/http/quoteSummary-summaryProfile-THYAO.IS.json new file mode 100644 index 00000000..d9cc4aef --- /dev/null +++ b/tests/http/quoteSummary-summaryProfile-THYAO.IS.json @@ -0,0 +1,94 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/THYAO.IS?formatted=false&modules=summaryProfile" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "y-rid": [ + "41n74tphfekvf" + ], + "x-yahoo-request-id": [ + "41n74tphfekvf" + ], + "x-request-id": [ + "de8d94f8-1515-4666-bf03-3dd290c92381" + ], + "content-length": [ + "1191" + ], + "x-envoy-upstream-service-time": [ + "1" + ], + "date": [ + "Sat, 13 Aug 2022 07:34:07 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": "Türk Hava Yollari AO Genel Yönetim Binas", + "address2": "Yesilköy Mahallesi Havaalani Caddesi No: 3/1 Bakirköy", + "city": "Istanbul", + "zip": "34149", + "country": "Turkey", + "phone": "90 212 463 63 63", + "fax": "90 212 465 21 21", + "website": "https://www.turkishairlines.com", + "industry": "Airlines", + "sector": "Industrials", + "longBusinessSummary": "Türk Hava Yollari Anonim Ortakligi provides air transport and aircraft technical maintenance services in Turkey and internationally. The company offers domestic and international passenger and cargo air transportation services; repair and maintenance, and technical and infrastructure support services related to aviation sector; catering and aviation ground handling services; software system maintenance and information technology consulting services. It is also involved in training, airport operation, and investment activities; the manufacture and trading of cabin interior accessories and aircraft seats; and the trading of aviation fuel. The company was incorporated in 1933 and is headquartered in Istanbul, Turkey.", + "fullTimeEmployees": 37394, + "companyOfficers": [], + "maxAge": 86400 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-upgradeDowngradeHistory-THYAO.IS.json b/tests/http/quoteSummary-upgradeDowngradeHistory-THYAO.IS.json new file mode 100644 index 00000000..3dff0504 --- /dev/null +++ b/tests/http/quoteSummary-upgradeDowngradeHistory-THYAO.IS.json @@ -0,0 +1,81 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/THYAO.IS?formatted=false&modules=upgradeDowngradeHistory" + }, + "response": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "d0doo1hhfekvg" + ], + "x-yahoo-request-id": [ + "d0doo1hhfekvg" + ], + "x-request-id": [ + "25c0ed20-f18f-4f1d-a03a-b85cda51c7f2" + ], + "content-length": [ + "156" + ], + "x-envoy-upstream-service-time": [ + "1" + ], + "date": [ + "Sat, 13 Aug 2022 07:34:08 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=upgradeDowngradeHistory" + } + } + } + } +} \ No newline at end of file