diff --git a/tests/http/autoc-^VXAPL.json b/tests/http/autoc-^VXAPL.json new file mode 100644 index 00000000..32663397 --- /dev/null +++ b/tests/http/autoc-^VXAPL.json @@ -0,0 +1,75 @@ +{ + "request": { + "url": "https://autoc.finance.yahoo.com/autoc?region=1&lang=en&query=%5EVXAPL" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "x-content-type-options": [ + "nosniff" + ], + "x-yahoo-request-id": [ + "fsclkotgg1s5j" + ], + "cache-control": [ + "public, max-age=300, stale-while-revalidate=30, stale-if-error=3600" + ], + "content-encoding": [ + "gzip" + ], + "content-type": [ + "application/json;charset=utf-8" + ], + "content-length": [ + "160" + ], + "date": [ + "Wed, 28 Jul 2021 05:52:51 GMT" + ], + "age": [ + "0" + ], + "strict-transport-security": [ + "max-age=31536000" + ], + "server": [ + "ATS" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "public-key-pins-report-only": [ + "max-age=2592000; pin-sha256=\"2fRAUXyxl4A1/XHrKNBmc8bTkzA7y4FB/GLJuNAzCqY=\"; pin-sha256=\"I/Lt/z7ekCWanjD0Cvj5EqXls2lOaThEA0H2Bg4BT/o=\"; pin-sha256=\"K87oWBWM9UZfyddvDfoxL+8lpNyoUB2ptGtn0fv6G2Q=\"; pin-sha256=\"Wd8xe/qfTwq3ylFNd3IpaqLHZbh2ZNCLluVzmeNkcpw=\"; pin-sha256=\"WoiWRyIOVNa9ihaBciRSC7XHjliYS9VwUGOIud4PB18=\"; pin-sha256=\"cGuxAXyFXFkWm61cF4HPWX8S0srS9j0aSqN0k4AP+4A=\"; pin-sha256=\"dolnbtzEBnELx/9lOEQ22e6OZO/QNb6VSSX2XHA3E7A=\"; pin-sha256=\"i7WTqTvh0OioIruIfFR4kMPnBqrS2rdiVPl/s2uC/CY=\"; pin-sha256=\"r/mIkG3eEpVdm+u/ko/cwxzOMo1bk4TyHIlByibiA5E=\"; pin-sha256=\"uUwZgwDOxcBXrQcntwu+kYFpkiVkOaezL0WYEZ3anJc=\"; includeSubdomains; report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-hpkp-report-only\"" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "connection": [ + "close" + ] + }, + "bodyJson": { + "ResultSet": { + "Query": "^VXAPL", + "Result": [ + { + "symbol": "^VXAPL", + "name": "CBOE EQUITY VIXON APPLE", + "exch": "WCB", + "type": "I", + "exchDisp": "Chicago Board Options Exchange", + "typeDisp": "Index" + } + ] + } + } + } +} \ No newline at end of file diff --git a/tests/http/insights-^VXAPL.json b/tests/http/insights-^VXAPL.json new file mode 100644 index 00000000..6039c795 --- /dev/null +++ b/tests/http/insights-^VXAPL.json @@ -0,0 +1,78 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/ws/insights/v2/finance/insights?lang=en-US®ion=US&getAllResearchReports=true&reportsCount=2&symbol=%5EVXAPL" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "cache-control": [ + "public, max-age=300, stale-while-revalidate=120" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "y-rid": [ + "aa1nb31gg1s5j" + ], + "x-yahoo-request-id": [ + "aa1nb31gg1s5j" + ], + "x-request-id": [ + "c66a2b67-bd13-4c6a-98e1-eb0889a29566" + ], + "content-length": [ + "68" + ], + "x-envoy-upstream-service-time": [ + "5" + ], + "date": [ + "Wed, 28 Jul 2021 05:52:51 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-market-analytics-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "0" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "finance": { + "result": { + "symbol": "^VXAPL", + "sigDevs": [] + }, + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quote-^VXAPL.json b/tests/http/quote-^VXAPL.json new file mode 100644 index 00000000..7f5b45ff --- /dev/null +++ b/tests/http/quote-^VXAPL.json @@ -0,0 +1,117 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v7/finance/quote?symbols=%5EVXAPL" + }, + "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": [ + "dtmibq9gg1s5j" + ], + "x-yahoo-request-id": [ + "dtmibq9gg1s5j" + ], + "x-request-id": [ + "352a87f3-07f8-432b-a8a8-2862baea596e" + ], + "content-length": [ + "1018" + ], + "x-envoy-upstream-service-time": [ + "3" + ], + "date": [ + "Wed, 28 Jul 2021 05:52:51 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-quote-api--mtls-baseline-production-bf1.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "0" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteResponse": { + "result": [ + { + "language": "en-US", + "region": "US", + "quoteType": "INDEX", + "triggerable": true, + "currency": "USD", + "marketState": "PREPRE", + "shortName": "CBOE EQUITY VIXON APPLE", + "exchange": "WCB", + "messageBoardId": "finmb_INDEXVXAPL", + "exchangeTimezoneName": "America/New_York", + "exchangeTimezoneShortName": "EDT", + "gmtOffSetMilliseconds": -14400000, + "market": "us_market", + "esgPopulated": false, + "regularMarketPreviousClose": 30.44, + "bid": 0, + "ask": 0, + "bidSize": 0, + "askSize": 0, + "fullExchangeName": "Chicago Options", + "regularMarketOpen": 0, + "fiftyTwoWeekLowChange": 30.99, + "fiftyTwoWeekRange": "0.0 - 0.0", + "fiftyTwoWeekHighChange": 30.99, + "fiftyTwoWeekLow": 0, + "fiftyTwoWeekHigh": 0, + "sourceInterval": 15, + "exchangeDataDelayedBy": 20, + "tradeable": false, + "priceHint": 2, + "regularMarketChange": 0.54999924, + "regularMarketChangePercent": 1.8068306, + "regularMarketTime": 1627415991, + "regularMarketPrice": 30.99, + "regularMarketDayHigh": 0, + "regularMarketDayRange": "0.0 - 0.0", + "regularMarketDayLow": 0, + "regularMarketVolume": 0, + "symbol": "^VXAPL" + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-all-^VXAPL.json b/tests/http/quoteSummary-all-^VXAPL.json new file mode 100644 index 00000000..9f8f05c3 --- /dev/null +++ b/tests/http/quoteSummary-all-^VXAPL.json @@ -0,0 +1,147 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/^VXAPL?formatted=false&modules=assetProfile%2CbalanceSheetHistory%2CbalanceSheetHistoryQuarterly%2CcalendarEvents%2CcashflowStatementHistory%2CcashflowStatementHistoryQuarterly%2CdefaultKeyStatistics%2Cearnings%2CearningsHistory%2CearningsTrend%2CfinancialData%2CfundOwnership%2CfundPerformance%2CfundProfile%2CincomeStatementHistory%2CincomeStatementHistoryQuarterly%2CindexTrend%2CindustryTrend%2CinsiderHolders%2CinsiderTransactions%2CinstitutionOwnership%2CmajorDirectHolders%2CmajorHoldersBreakdown%2CnetSharePurchaseActivity%2Cprice%2CquoteType%2CrecommendationTrend%2CsecFilings%2CsectorTrend%2CsummaryDetail%2CsummaryProfile%2CtopHoldings%2CupgradeDowngradeHistory" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "362s26tgg1s67" + ], + "x-yahoo-request-id": [ + "362s26tgg1s67" + ], + "x-request-id": [ + "a74f56a0-0043-4c93-901d-22a2c5f72c6c" + ], + "content-length": [ + "1508" + ], + "x-envoy-upstream-service-time": [ + "3" + ], + "date": [ + "Wed, 28 Jul 2021 05:53:11 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-bf1.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": 30.44, + "open": 0, + "dayLow": 0, + "dayHigh": 0, + "regularMarketPreviousClose": 30.44, + "regularMarketOpen": 0, + "regularMarketDayLow": 0, + "regularMarketDayHigh": 0, + "volume": 0, + "regularMarketVolume": 0, + "bid": 0, + "ask": 0, + "bidSize": 0, + "askSize": 0, + "fiftyTwoWeekLow": 0, + "fiftyTwoWeekHigh": 0, + "currency": "USD", + "fromCurrency": null, + "toCurrency": null, + "lastMarket": null, + "algorithm": null, + "tradeable": false + }, + "quoteType": { + "exchange": "WCB", + "quoteType": "INDEX", + "symbol": "^VXAPL", + "underlyingSymbol": "^VXAPL", + "shortName": "CBOE EQUITY VIXON APPLE", + "longName": null, + "firstTradeDateEpochUtc": null, + "timeZoneFullName": "America/New_York", + "timeZoneShortName": "EDT", + "uuid": "7c2e25cc-68b6-3f1f-80e4-c3112a870a21", + "messageBoardId": "finmb_INDEXVXAPL", + "gmtOffSetMilliseconds": -14400000, + "maxAge": 1 + }, + "price": { + "maxAge": 1, + "regularMarketChangePercent": 0.018068306, + "regularMarketChange": 0.54999924, + "regularMarketTime": 1627415991, + "priceHint": 2, + "regularMarketPrice": 30.99, + "regularMarketDayHigh": 0, + "regularMarketDayLow": 0, + "regularMarketVolume": 0, + "regularMarketPreviousClose": 30.44, + "regularMarketSource": "DELAYED", + "regularMarketOpen": 0, + "exchange": "WCB", + "exchangeName": "Chicago Options", + "exchangeDataDelayedBy": 20, + "marketState": "PREPRE", + "quoteType": "INDEX", + "symbol": "^VXAPL", + "underlyingSymbol": null, + "shortName": "CBOE EQUITY VIXON APPLE", + "longName": null, + "currency": "USD", + "currencySymbol": "$", + "fromCurrency": null, + "toCurrency": null, + "lastMarket": null + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-assetProfile-^VXAPL.json b/tests/http/quoteSummary-assetProfile-^VXAPL.json new file mode 100644 index 00000000..cc5281d1 --- /dev/null +++ b/tests/http/quoteSummary-assetProfile-^VXAPL.json @@ -0,0 +1,81 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/^VXAPL?formatted=false&modules=assetProfile" + }, + "response": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "a612q7lgg1s5j" + ], + "x-yahoo-request-id": [ + "a612q7lgg1s5j" + ], + "x-request-id": [ + "8d360204-d523-4a9a-a3c0-e05539a5a0db" + ], + "content-length": [ + "145" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 28 Jul 2021 05:52:51 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-bf1.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=assetProfile" + } + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-balanceSheetHistory-^VXAPL.json b/tests/http/quoteSummary-balanceSheetHistory-^VXAPL.json new file mode 100644 index 00000000..210439ea --- /dev/null +++ b/tests/http/quoteSummary-balanceSheetHistory-^VXAPL.json @@ -0,0 +1,81 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/^VXAPL?formatted=false&modules=balanceSheetHistory" + }, + "response": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "2tl81glgg1s5k" + ], + "x-yahoo-request-id": [ + "2tl81glgg1s5k" + ], + "x-request-id": [ + "add81291-9dd3-46cb-b10d-839900072739" + ], + "content-length": [ + "152" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 28 Jul 2021 05:52:52 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-bf1.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=balanceSheetHistory" + } + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-balanceSheetHistoryQuarterly-^VXAPL.json b/tests/http/quoteSummary-balanceSheetHistoryQuarterly-^VXAPL.json new file mode 100644 index 00000000..e16b7922 --- /dev/null +++ b/tests/http/quoteSummary-balanceSheetHistoryQuarterly-^VXAPL.json @@ -0,0 +1,81 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/^VXAPL?formatted=false&modules=balanceSheetHistoryQuarterly" + }, + "response": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "83jppq9gg1s5l" + ], + "x-yahoo-request-id": [ + "83jppq9gg1s5l" + ], + "x-request-id": [ + "8993a6fd-b789-47e1-8391-73551f295c1d" + ], + "content-length": [ + "161" + ], + "x-envoy-upstream-service-time": [ + "4" + ], + "date": [ + "Wed, 28 Jul 2021 05:52:52 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-bf1.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=balanceSheetHistoryQuarterly" + } + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-calendarEvents-^VXAPL.json b/tests/http/quoteSummary-calendarEvents-^VXAPL.json new file mode 100644 index 00000000..33970358 --- /dev/null +++ b/tests/http/quoteSummary-calendarEvents-^VXAPL.json @@ -0,0 +1,81 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/^VXAPL?formatted=false&modules=calendarEvents" + }, + "response": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "f88ebs9gg1s5l" + ], + "x-yahoo-request-id": [ + "f88ebs9gg1s5l" + ], + "x-request-id": [ + "d24768f6-c064-42b0-9a26-5afe73065cb4" + ], + "content-length": [ + "147" + ], + "x-envoy-upstream-service-time": [ + "3" + ], + "date": [ + "Wed, 28 Jul 2021 05:52:53 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-bf1.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=calendarEvents" + } + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-cashflowStatementHistory-^VXAPL.json b/tests/http/quoteSummary-cashflowStatementHistory-^VXAPL.json new file mode 100644 index 00000000..92e34d0e --- /dev/null +++ b/tests/http/quoteSummary-cashflowStatementHistory-^VXAPL.json @@ -0,0 +1,81 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/^VXAPL?formatted=false&modules=cashflowStatementHistory" + }, + "response": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "473p42dgg1s5m" + ], + "x-yahoo-request-id": [ + "473p42dgg1s5m" + ], + "x-request-id": [ + "0903a1d6-adbf-49bc-bb61-e0f1efa29106" + ], + "content-length": [ + "157" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 28 Jul 2021 05:52:54 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-bf1.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=cashflowStatementHistory" + } + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-cashflowStatementHistoryQuarterly-^VXAPL.json b/tests/http/quoteSummary-cashflowStatementHistoryQuarterly-^VXAPL.json new file mode 100644 index 00000000..b2d58ed1 --- /dev/null +++ b/tests/http/quoteSummary-cashflowStatementHistoryQuarterly-^VXAPL.json @@ -0,0 +1,81 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/^VXAPL?formatted=false&modules=cashflowStatementHistoryQuarterly" + }, + "response": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "22odmr9gg1s5n" + ], + "x-yahoo-request-id": [ + "22odmr9gg1s5n" + ], + "x-request-id": [ + "03b55f67-33c1-4165-9271-55aa1a6cd60c" + ], + "content-length": [ + "166" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 28 Jul 2021 05:52:54 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-bf1.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=cashflowStatementHistoryQuarterly" + } + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-defaultKeyStatistics-^VXAPL.json b/tests/http/quoteSummary-defaultKeyStatistics-^VXAPL.json new file mode 100644 index 00000000..ec8588a4 --- /dev/null +++ b/tests/http/quoteSummary-defaultKeyStatistics-^VXAPL.json @@ -0,0 +1,81 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/^VXAPL?formatted=false&modules=defaultKeyStatistics" + }, + "response": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "8firlrpgg1s5n" + ], + "x-yahoo-request-id": [ + "8firlrpgg1s5n" + ], + "x-request-id": [ + "958ddd25-2bc1-4702-9bd5-e0c54c87c4f0" + ], + "content-length": [ + "153" + ], + "x-envoy-upstream-service-time": [ + "4" + ], + "date": [ + "Wed, 28 Jul 2021 05:52:55 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-bf1.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=defaultKeyStatistics" + } + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-earnings-^VXAPL.json b/tests/http/quoteSummary-earnings-^VXAPL.json new file mode 100644 index 00000000..123e8166 --- /dev/null +++ b/tests/http/quoteSummary-earnings-^VXAPL.json @@ -0,0 +1,81 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/^VXAPL?formatted=false&modules=earnings" + }, + "response": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "d1rp3llgg1s5o" + ], + "x-yahoo-request-id": [ + "d1rp3llgg1s5o" + ], + "x-request-id": [ + "01eed852-0029-4a63-8203-9c7a50ad9129" + ], + "content-length": [ + "141" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 28 Jul 2021 05:52:56 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-bf1.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=earnings" + } + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-earningsHistory-^VXAPL.json b/tests/http/quoteSummary-earningsHistory-^VXAPL.json new file mode 100644 index 00000000..a5bef03f --- /dev/null +++ b/tests/http/quoteSummary-earningsHistory-^VXAPL.json @@ -0,0 +1,81 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/^VXAPL?formatted=false&modules=earningsHistory" + }, + "response": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "4jokb89gg1s5p" + ], + "x-yahoo-request-id": [ + "4jokb89gg1s5p" + ], + "x-request-id": [ + "28f6f153-2bea-432e-ba13-a2ef9b1dfac9" + ], + "content-length": [ + "148" + ], + "x-envoy-upstream-service-time": [ + "3" + ], + "date": [ + "Wed, 28 Jul 2021 05:52:57 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-baseline-production-bf1.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=earningsHistory" + } + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-earningsTrend-^VXAPL.json b/tests/http/quoteSummary-earningsTrend-^VXAPL.json new file mode 100644 index 00000000..c699c613 --- /dev/null +++ b/tests/http/quoteSummary-earningsTrend-^VXAPL.json @@ -0,0 +1,81 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/^VXAPL?formatted=false&modules=earningsTrend" + }, + "response": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "cl40b4pgg1s5p" + ], + "x-yahoo-request-id": [ + "cl40b4pgg1s5p" + ], + "x-request-id": [ + "391de26b-6b0c-4db7-bb9b-a19e22b24586" + ], + "content-length": [ + "146" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 28 Jul 2021 05:52:57 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-baseline-production-bf1.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=earningsTrend" + } + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-financialData-^VXAPL.json b/tests/http/quoteSummary-financialData-^VXAPL.json new file mode 100644 index 00000000..bf5fae4a --- /dev/null +++ b/tests/http/quoteSummary-financialData-^VXAPL.json @@ -0,0 +1,81 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/^VXAPL?formatted=false&modules=financialData" + }, + "response": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "29b6731gg1s5q" + ], + "x-yahoo-request-id": [ + "29b6731gg1s5q" + ], + "x-request-id": [ + "f33b83b1-2ac7-49ec-8e96-c5a9642ec4c8" + ], + "content-length": [ + "146" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 28 Jul 2021 05:52:58 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-bf1.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=financialData" + } + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-fundOwnership-^VXAPL.json b/tests/http/quoteSummary-fundOwnership-^VXAPL.json new file mode 100644 index 00000000..ae377c9d --- /dev/null +++ b/tests/http/quoteSummary-fundOwnership-^VXAPL.json @@ -0,0 +1,81 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/^VXAPL?formatted=false&modules=fundOwnership" + }, + "response": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "baqnkk9gg1s5r" + ], + "x-yahoo-request-id": [ + "baqnkk9gg1s5r" + ], + "x-request-id": [ + "8509434b-8c85-492e-8bf5-6625fb75ca21" + ], + "content-length": [ + "146" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 28 Jul 2021 05:52:58 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-bf1.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=fundOwnership" + } + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-incomeStatementHistory-^VXAPL.json b/tests/http/quoteSummary-incomeStatementHistory-^VXAPL.json new file mode 100644 index 00000000..20284d9d --- /dev/null +++ b/tests/http/quoteSummary-incomeStatementHistory-^VXAPL.json @@ -0,0 +1,81 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/^VXAPL?formatted=false&modules=incomeStatementHistory" + }, + "response": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "3l1te3lgg1s5r" + ], + "x-yahoo-request-id": [ + "3l1te3lgg1s5r" + ], + "x-request-id": [ + "6eee9916-8bfb-40e7-9c13-2cfd9cdb0a40" + ], + "content-length": [ + "155" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 28 Jul 2021 05:52:59 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-bf1.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=incomeStatementHistory" + } + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-incomeStatementHistoryQuarterly-^VXAPL.json b/tests/http/quoteSummary-incomeStatementHistoryQuarterly-^VXAPL.json new file mode 100644 index 00000000..68b96a81 --- /dev/null +++ b/tests/http/quoteSummary-incomeStatementHistoryQuarterly-^VXAPL.json @@ -0,0 +1,81 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/^VXAPL?formatted=false&modules=incomeStatementHistoryQuarterly" + }, + "response": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "41mgps1gg1s5s" + ], + "x-yahoo-request-id": [ + "41mgps1gg1s5s" + ], + "x-request-id": [ + "5295a25e-0637-4680-9572-e6bfa2874c6d" + ], + "content-length": [ + "164" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 28 Jul 2021 05:53:00 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-bf1.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=incomeStatementHistoryQuarterly" + } + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-indexTrend-^VXAPL.json b/tests/http/quoteSummary-indexTrend-^VXAPL.json new file mode 100644 index 00000000..70408fa6 --- /dev/null +++ b/tests/http/quoteSummary-indexTrend-^VXAPL.json @@ -0,0 +1,81 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/^VXAPL?formatted=false&modules=indexTrend" + }, + "response": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "b1n67s1gg1s5t" + ], + "x-yahoo-request-id": [ + "b1n67s1gg1s5t" + ], + "x-request-id": [ + "f11be1fd-a362-4be3-869c-3da21c333847" + ], + "content-length": [ + "143" + ], + "x-envoy-upstream-service-time": [ + "3" + ], + "date": [ + "Wed, 28 Jul 2021 05:53:01 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-bf1.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=indexTrend" + } + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-industryTrend-^VXAPL.json b/tests/http/quoteSummary-industryTrend-^VXAPL.json new file mode 100644 index 00000000..630c3c7b --- /dev/null +++ b/tests/http/quoteSummary-industryTrend-^VXAPL.json @@ -0,0 +1,81 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/^VXAPL?formatted=false&modules=industryTrend" + }, + "response": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "dde2rq5gg1s5u" + ], + "x-yahoo-request-id": [ + "dde2rq5gg1s5u" + ], + "x-request-id": [ + "a16af5b6-68f3-45b9-9830-7b59c4c40fe8" + ], + "content-length": [ + "146" + ], + "x-envoy-upstream-service-time": [ + "3" + ], + "date": [ + "Wed, 28 Jul 2021 05:53:01 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-bf1.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=industryTrend" + } + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-insiderHolders-^VXAPL.json b/tests/http/quoteSummary-insiderHolders-^VXAPL.json new file mode 100644 index 00000000..21edcde9 --- /dev/null +++ b/tests/http/quoteSummary-insiderHolders-^VXAPL.json @@ -0,0 +1,81 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/^VXAPL?formatted=false&modules=insiderHolders" + }, + "response": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "cq8l989gg1s5u" + ], + "x-yahoo-request-id": [ + "cq8l989gg1s5u" + ], + "x-request-id": [ + "778b6734-0aab-4e8b-994e-5eb6965404f5" + ], + "content-length": [ + "147" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 28 Jul 2021 05:53:02 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-bf1.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=insiderHolders" + } + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-insiderTransactions-^VXAPL.json b/tests/http/quoteSummary-insiderTransactions-^VXAPL.json new file mode 100644 index 00000000..a977b691 --- /dev/null +++ b/tests/http/quoteSummary-insiderTransactions-^VXAPL.json @@ -0,0 +1,81 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/^VXAPL?formatted=false&modules=insiderTransactions" + }, + "response": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "c9brsvpgg1s5v" + ], + "x-yahoo-request-id": [ + "c9brsvpgg1s5v" + ], + "x-request-id": [ + "7b693e3d-7e3b-4947-90b7-11b9545819a3" + ], + "content-length": [ + "152" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 28 Jul 2021 05:53:03 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-baseline-production-bf1.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-^VXAPL.json b/tests/http/quoteSummary-institutionOwnership-^VXAPL.json new file mode 100644 index 00000000..cd43641d --- /dev/null +++ b/tests/http/quoteSummary-institutionOwnership-^VXAPL.json @@ -0,0 +1,81 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/^VXAPL?formatted=false&modules=institutionOwnership" + }, + "response": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "4lht86lgg1s60" + ], + "x-yahoo-request-id": [ + "4lht86lgg1s60" + ], + "x-request-id": [ + "2ebc87ce-6db8-4410-98d4-5a55f4d069ae" + ], + "content-length": [ + "153" + ], + "x-envoy-upstream-service-time": [ + "3" + ], + "date": [ + "Wed, 28 Jul 2021 05:53:03 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-bf1.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=institutionOwnership" + } + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-majorDirectHolders-^VXAPL.json b/tests/http/quoteSummary-majorDirectHolders-^VXAPL.json new file mode 100644 index 00000000..895810ea --- /dev/null +++ b/tests/http/quoteSummary-majorDirectHolders-^VXAPL.json @@ -0,0 +1,81 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/^VXAPL?formatted=false&modules=majorDirectHolders" + }, + "response": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "9v6rc3tgg1s60" + ], + "x-yahoo-request-id": [ + "9v6rc3tgg1s60" + ], + "x-request-id": [ + "fe618b13-6f30-4d93-8b73-96f3f3136e21" + ], + "content-length": [ + "151" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 28 Jul 2021 05:53:04 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-bf1.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=majorDirectHolders" + } + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-majorHoldersBreakdown-^VXAPL.json b/tests/http/quoteSummary-majorHoldersBreakdown-^VXAPL.json new file mode 100644 index 00000000..85f4da53 --- /dev/null +++ b/tests/http/quoteSummary-majorHoldersBreakdown-^VXAPL.json @@ -0,0 +1,81 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/^VXAPL?formatted=false&modules=majorHoldersBreakdown" + }, + "response": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "513cr79gg1s61" + ], + "x-yahoo-request-id": [ + "513cr79gg1s61" + ], + "x-request-id": [ + "9fbccee9-eeeb-49c5-9ba7-ae69b051d52e" + ], + "content-length": [ + "154" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 28 Jul 2021 05:53:05 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-bf1.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=majorHoldersBreakdown" + } + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-netSharePurchaseActivity-^VXAPL.json b/tests/http/quoteSummary-netSharePurchaseActivity-^VXAPL.json new file mode 100644 index 00000000..e6a94a86 --- /dev/null +++ b/tests/http/quoteSummary-netSharePurchaseActivity-^VXAPL.json @@ -0,0 +1,81 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/^VXAPL?formatted=false&modules=netSharePurchaseActivity" + }, + "response": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "fm3ubfpgg1s62" + ], + "x-yahoo-request-id": [ + "fm3ubfpgg1s62" + ], + "x-request-id": [ + "b831bbf7-66ca-4380-bf87-2052dd6469c9" + ], + "content-length": [ + "157" + ], + "x-envoy-upstream-service-time": [ + "3" + ], + "date": [ + "Wed, 28 Jul 2021 05:53:05 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-baseline-production-bf1.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=netSharePurchaseActivity" + } + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-price-^VXAPL.json b/tests/http/quoteSummary-price-^VXAPL.json new file mode 100644 index 00000000..f61929e4 --- /dev/null +++ b/tests/http/quoteSummary-price-^VXAPL.json @@ -0,0 +1,106 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/^VXAPL?formatted=false&modules=price" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "9rml5qhgg1s62" + ], + "x-yahoo-request-id": [ + "9rml5qhgg1s62" + ], + "x-request-id": [ + "dd87131e-fb1e-4d49-8d85-aad377b1bdc3" + ], + "content-length": [ + "689" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 28 Jul 2021 05:53:06 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "0" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteSummary": { + "result": [ + { + "price": { + "maxAge": 1, + "regularMarketChangePercent": 0.018068306, + "regularMarketChange": 0.54999924, + "regularMarketTime": 1627415991, + "priceHint": 2, + "regularMarketPrice": 30.99, + "regularMarketDayHigh": 0, + "regularMarketDayLow": 0, + "regularMarketVolume": 0, + "regularMarketPreviousClose": 30.44, + "regularMarketSource": "DELAYED", + "regularMarketOpen": 0, + "exchange": "WCB", + "exchangeName": "Chicago Options", + "exchangeDataDelayedBy": 20, + "marketState": "PREPRE", + "quoteType": "INDEX", + "symbol": "^VXAPL", + "underlyingSymbol": null, + "shortName": "CBOE EQUITY VIXON APPLE", + "longName": null, + "currency": "USD", + "currencySymbol": "$", + "fromCurrency": null, + "toCurrency": null, + "lastMarket": null + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-quoteType-^VXAPL.json b/tests/http/quoteSummary-quoteType-^VXAPL.json new file mode 100644 index 00000000..a7614307 --- /dev/null +++ b/tests/http/quoteSummary-quoteType-^VXAPL.json @@ -0,0 +1,93 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/^VXAPL?formatted=false&modules=quoteType" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "00sit49gg1s63" + ], + "x-yahoo-request-id": [ + "00sit49gg1s63" + ], + "x-request-id": [ + "2ba80c15-aa14-48cc-b675-c144ef8e67b6" + ], + "content-length": [ + "416" + ], + "x-envoy-upstream-service-time": [ + "3" + ], + "date": [ + "Wed, 28 Jul 2021 05:53:07 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-bf1.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": "WCB", + "quoteType": "INDEX", + "symbol": "^VXAPL", + "underlyingSymbol": "^VXAPL", + "shortName": "CBOE EQUITY VIXON APPLE", + "longName": null, + "firstTradeDateEpochUtc": null, + "timeZoneFullName": "America/New_York", + "timeZoneShortName": "EDT", + "uuid": "7c2e25cc-68b6-3f1f-80e4-c3112a870a21", + "messageBoardId": "finmb_INDEXVXAPL", + "gmtOffSetMilliseconds": -14400000, + "maxAge": 1 + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-recommendationTrend-^VXAPL.json b/tests/http/quoteSummary-recommendationTrend-^VXAPL.json new file mode 100644 index 00000000..9691bf57 --- /dev/null +++ b/tests/http/quoteSummary-recommendationTrend-^VXAPL.json @@ -0,0 +1,81 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/^VXAPL?formatted=false&modules=recommendationTrend" + }, + "response": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "0e5rhbtgg1s64" + ], + "x-yahoo-request-id": [ + "0e5rhbtgg1s64" + ], + "x-request-id": [ + "0eb3ba27-697f-41a7-a810-44378b125667" + ], + "content-length": [ + "152" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 28 Jul 2021 05:53:07 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-bf1.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=recommendationTrend" + } + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-secFilings-^VXAPL.json b/tests/http/quoteSummary-secFilings-^VXAPL.json new file mode 100644 index 00000000..171327b9 --- /dev/null +++ b/tests/http/quoteSummary-secFilings-^VXAPL.json @@ -0,0 +1,81 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/^VXAPL?formatted=false&modules=secFilings" + }, + "response": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "5k9k91hgg1s64" + ], + "x-yahoo-request-id": [ + "5k9k91hgg1s64" + ], + "x-request-id": [ + "f8104e5c-2d5b-40e0-babb-fc976c30af8b" + ], + "content-length": [ + "143" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 28 Jul 2021 05:53:08 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/*" + ], + "cache-control": [ + "max-age=0, private" + ], + "expires": [ + "-1" + ], + "age": [ + "0" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "quoteSummary": { + "result": null, + "error": { + "code": "Not Found", + "description": "No fundamentals data found for any of the summaryTypes=secFilings" + } + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-summaryDetail-^VXAPL.json b/tests/http/quoteSummary-summaryDetail-^VXAPL.json new file mode 100644 index 00000000..15f724e5 --- /dev/null +++ b/tests/http/quoteSummary-summaryDetail-^VXAPL.json @@ -0,0 +1,104 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/^VXAPL?formatted=false&modules=summaryDetail" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=1, stale-while-revalidate=9" + ], + "y-rid": [ + "347lgjhgg1s65" + ], + "x-yahoo-request-id": [ + "347lgjhgg1s65" + ], + "x-request-id": [ + "f2f72882-c98b-40cf-8456-92733a3325db" + ], + "content-length": [ + "491" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 28 Jul 2021 05:53:09 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-bf1.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": 30.44, + "open": 0, + "dayLow": 0, + "dayHigh": 0, + "regularMarketPreviousClose": 30.44, + "regularMarketOpen": 0, + "regularMarketDayLow": 0, + "regularMarketDayHigh": 0, + "volume": 0, + "regularMarketVolume": 0, + "bid": 0, + "ask": 0, + "bidSize": 0, + "askSize": 0, + "fiftyTwoWeekLow": 0, + "fiftyTwoWeekHigh": 0, + "currency": "USD", + "fromCurrency": null, + "toCurrency": null, + "lastMarket": null, + "algorithm": null, + "tradeable": false + } + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-summaryProfile-^VXAPL.json b/tests/http/quoteSummary-summaryProfile-^VXAPL.json new file mode 100644 index 00000000..949dc261 --- /dev/null +++ b/tests/http/quoteSummary-summaryProfile-^VXAPL.json @@ -0,0 +1,81 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/^VXAPL?formatted=false&modules=summaryProfile" + }, + "response": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "5i2p0k9gg1s66" + ], + "x-yahoo-request-id": [ + "5i2p0k9gg1s66" + ], + "x-request-id": [ + "1c91a61b-0b44-4f4b-8a46-2bad5b50ae12" + ], + "content-length": [ + "147" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 28 Jul 2021 05:53:09 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-bf1.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=summaryProfile" + } + } + } + } +} \ No newline at end of file diff --git a/tests/http/quoteSummary-upgradeDowngradeHistory-^VXAPL.json b/tests/http/quoteSummary-upgradeDowngradeHistory-^VXAPL.json new file mode 100644 index 00000000..2f058e49 --- /dev/null +++ b/tests/http/quoteSummary-upgradeDowngradeHistory-^VXAPL.json @@ -0,0 +1,81 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v10/finance/quoteSummary/^VXAPL?formatted=false&modules=upgradeDowngradeHistory" + }, + "response": { + "ok": false, + "status": 404, + "statusText": "Not Found", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "y-rid": [ + "8nvgcu9gg1s66" + ], + "x-yahoo-request-id": [ + "8nvgcu9gg1s66" + ], + "x-request-id": [ + "c79d78d5-126d-489d-8d99-0e3802892524" + ], + "content-length": [ + "156" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 28 Jul 2021 05:53:10 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-company-fundamentals-api--mtls-production-bf1.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 diff --git a/tests/http/recommendationsBySymbol-^VXAPL.json b/tests/http/recommendationsBySymbol-^VXAPL.json new file mode 100644 index 00000000..1ed4f29b --- /dev/null +++ b/tests/http/recommendationsBySymbol-^VXAPL.json @@ -0,0 +1,98 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v6/finance/recommendationsbysymbol/^VXAPL?" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "x-yahoo-request-id": [ + "e95q279gg1s5j" + ], + "cache-control": [ + "public, max-age=60, stale-while-revalidate=15, stale-if-error=3600" + ], + "content-encoding": [ + "gzip" + ], + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin" + ], + "content-length": [ + "157" + ], + "x-envoy-upstream-service-time": [ + "2" + ], + "date": [ + "Wed, 28 Jul 2021 05:52:51 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-yql--mtls-default-production-bf1.finance-k8s.svc.yahoo.local:4080/*" + ], + "age": [ + "0" + ], + "strict-transport-security": [ + "max-age=15552000" + ], + "referrer-policy": [ + "no-referrer-when-downgrade" + ], + "x-frame-options": [ + "SAMEORIGIN" + ], + "connection": [ + "close" + ], + "expect-ct": [ + "max-age=31536000, report-uri=\"http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only\"" + ], + "x-xss-protection": [ + "1; mode=block" + ], + "x-content-type-options": [ + "nosniff" + ] + }, + "bodyJson": { + "finance": { + "result": [ + { + "symbol": "^VXAPL", + "recommendedSymbols": [ + { + "symbol": "^VXAZN", + "score": 0.032758 + }, + { + "symbol": "^GVZ", + "score": 0.024122 + }, + { + "symbol": "^RVX", + "score": 0.022736 + }, + { + "symbol": "^OVX", + "score": 0.019446 + }, + { + "symbol": "^VXGOG", + "score": 0.019221 + } + ] + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/http/search-^VXAPL.json b/tests/http/search-^VXAPL.json new file mode 100644 index 00000000..32405133 --- /dev/null +++ b/tests/http/search-^VXAPL.json @@ -0,0 +1,97 @@ +{ + "request": { + "url": "https://query2.finance.yahoo.com/v1/finance/search?lang=en-US®ion=US"esCount=6&newsCount=4&enableFuzzyQuery=false"esQueryId=tss_match_phrase_query&multiQuoteQueryId=multi_quote_single_token_query&newsQueryId=news_cie_vespa&enableCb=true&enableNavLinks=true&enableEnhancedTrivialQuery=true&q=%5EVXAPL" + }, + "response": { + "ok": true, + "status": 200, + "statusText": "OK", + "headers": { + "content-type": [ + "application/json;charset=utf-8" + ], + "vary": [ + "Origin,Origin,Accept-Encoding" + ], + "cache-control": [ + "public, max-age=120, stale-while-revalidate=180" + ], + "y-rid": [ + "2l3b0b9gg1s5j" + ], + "x-yahoo-request-id": [ + "2l3b0b9gg1s5j" + ], + "x-request-id": [ + "a109d77b-c9f1-4663-8017-132e4105d0a8" + ], + "content-length": [ + "473" + ], + "x-envoy-upstream-service-time": [ + "33" + ], + "date": [ + "Wed, 28 Jul 2021 05:52:51 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-search--mtls-canary-production-bf1.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": { + "explains": [], + "count": 1, + "quotes": [ + { + "exchange": "WCB", + "shortname": "CBOE EQUITY VIXON APPLE", + "quoteType": "INDEX", + "symbol": "^VXAPL", + "index": "quotes", + "score": 2002100, + "typeDisp": "Index", + "isYahooFinance": true + } + ], + "news": [], + "nav": [], + "lists": [], + "researchReports": [], + "totalTime": 31, + "timeTakenForQuotes": 415, + "timeTakenForNews": 600, + "timeTakenForAlgowatchlist": 400, + "timeTakenForPredefinedScreener": 400, + "timeTakenForCrunchbase": 400, + "timeTakenForNav": 400, + "timeTakenForResearchReports": 0 + } + } +} \ No newline at end of file diff --git a/tests/http/trendingSymbols-^VXAPL.json b/tests/http/trendingSymbols-^VXAPL.json new file mode 100644 index 00000000..fd17bb70 --- /dev/null +++ b/tests/http/trendingSymbols-^VXAPL.json @@ -0,0 +1,124 @@ +{ + "request": { + "url": "https://query1.finance.yahoo.com/v7/finance/options/^VXAPL?formatted=false&lang=en-US®ion=US" + }, + "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": [ + "5aud3v1gg1s5j" + ], + "x-yahoo-request-id": [ + "5aud3v1gg1s5j" + ], + "x-request-id": [ + "938a761e-b574-4324-a566-b71363ce027d" + ], + "content-length": [ + "1124" + ], + "x-envoy-upstream-service-time": [ + "4" + ], + "date": [ + "Wed, 28 Jul 2021 05:52:51 GMT" + ], + "server": [ + "ATS" + ], + "x-envoy-decorator-operation": [ + "finance-quote-api--mtls-production-bf1.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": { + "optionChain": { + "result": [ + { + "underlyingSymbol": "^VXAPL", + "expirationDates": [], + "strikes": [], + "hasMiniOptions": false, + "quote": { + "language": "en-US", + "region": "US", + "quoteType": "INDEX", + "triggerable": true, + "sourceInterval": 15, + "exchangeDataDelayedBy": 20, + "currency": "USD", + "tradeable": false, + "exchange": "WCB", + "messageBoardId": "finmb_INDEXVXAPL", + "exchangeTimezoneName": "America/New_York", + "exchangeTimezoneShortName": "EDT", + "gmtOffSetMilliseconds": -14400000, + "market": "us_market", + "esgPopulated": false, + "shortName": "CBOE EQUITY VIXON APPLE", + "marketState": "PREPRE", + "priceHint": 2, + "regularMarketChange": 0.54999924, + "regularMarketChangePercent": 1.8068306, + "regularMarketTime": 1627415991, + "regularMarketPrice": 30.99, + "regularMarketDayHigh": 0, + "regularMarketDayRange": "0.0 - 0.0", + "regularMarketDayLow": 0, + "regularMarketVolume": 0, + "regularMarketPreviousClose": 30.44, + "bid": 0, + "ask": 0, + "bidSize": 0, + "askSize": 0, + "fullExchangeName": "Chicago Options", + "regularMarketOpen": 0, + "fiftyTwoWeekLowChange": 30.99, + "fiftyTwoWeekRange": "0.0 - 0.0", + "fiftyTwoWeekHighChange": 30.99, + "fiftyTwoWeekLow": 0, + "fiftyTwoWeekHigh": 0, + "symbol": "^VXAPL" + }, + "options": [] + } + ], + "error": null + } + } + } +} \ No newline at end of file diff --git a/tests/symbols.ts b/tests/symbols.ts index 277eb237..4d95e0ff 100644 --- a/tests/symbols.ts +++ b/tests/symbols.ts @@ -24,5 +24,6 @@ export const testSymbols = [ "BTC-USD", // CryptoCurrency, CoinMarketCap "EURUSD=X", // Currency "SIMP", // see #107, - "ORSTED.CO", // quoteSummary.price.shortName = null (#197) + "ORSTED.CO", // quoteSummary.price.shortName = null (#197), + "^VXAPL", // Index (#248) ];