From aa71ccbc61e4f3105f9dd667225bd82edd1dd7d1 Mon Sep 17 00:00:00 2001 From: james Date: Fri, 24 Feb 2023 11:00:56 -0500 Subject: [PATCH] Tests --- ...cac40-3mo-2010-01-01-2016-02-06-High].yaml | 59 +++------ ...nes-1mo-2015-01-01-2015-02-02-Volume].yaml | 33 ++--- ...sdaq-1wk-2020-06-06-2020-07-07-Close].yaml | 79 ++++++++++-- ...0-1d-2022-01-01-2022-02-02-Adj Close].yaml | 117 +++++++++++++----- 4 files changed, 193 insertions(+), 95 deletions(-) diff --git a/tests/openbb_terminal/economy/cassettes/test_yfinance_model/test_get_index[cac40-3mo-2010-01-01-2016-02-06-High].yaml b/tests/openbb_terminal/economy/cassettes/test_yfinance_model/test_get_index[cac40-3mo-2010-01-01-2016-02-06-High].yaml index 33e14992e5f..277449b996b 100644 --- a/tests/openbb_terminal/economy/cassettes/test_yfinance_model/test_get_index[cac40-3mo-2010-01-01-2016-02-06-High].yaml +++ b/tests/openbb_terminal/economy/cassettes/test_yfinance_model/test_get_index[cac40-3mo-2010-01-01-2016-02-06-High].yaml @@ -12,76 +12,53 @@ interactions: - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36 method: GET - uri: https://query2.finance.yahoo.com/v8/finance/chart/%5EFCHI?period1=1262300400&period2=1454713200&interval=3mo&includePrePost=False&events=div%2Csplits + uri: https://query2.finance.yahoo.com/v8/finance/chart/CAC40?range=1d&interval=1d response: body: - string: !!binary | - H4sIAAAAAAAAAO1WTW/cNhD9L3tesCSHQ3JyKxy3yaGBEbhAgcAFVK/ibLu7crXaNK6x/71vKNmi - nEPbWw+9aEej4XA+3rzZx9Xtp6YfVq8eV317PO0gfXhc7duhUdXtqe/bw+3D6tXq8sf3q/Xq+LD/ - pdvh9efvLt68haL9gvOHu/Zds2+hvvpWrbaH49Cf9u1huH64V/Xbd68vf8KHj9v+OFz3zaZ93Qz4 - EC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wqAgpm4+oRMVK6D3ASNWtRqhgXvmmWOkhKGcocxZF/Tc6whqAuOOSaJTn7vdSf8KfGAl - g4RhBGNaQCon5Zq1OOsjxgeiLjoq6nUOLkfRE+uEFah6PQemFuyWwrresscH1SPgmHFfcZ0IBDou - HcSJhjg1kUgovTZgHZlIXNlQQEYUVwhduXwy4OTQ/sjFAIl63IM4COQPdlKtgFgCl5gDK/OTitan - WBYiRJCvlO0AkXRrqQddl9iUqgWGXNLgUaJd94diGR6N2BqqPmMzLPiX/EugpbzkAHTTROxi8VPH - KIIE6vH1WZxxNeK9mlRjBBzhmgonHrxk6tUAXPsls6DqznBNPhxpyUYocYUNvGOqQZUzvsHN/vlz - sBiqsu2ybhisWzHYvvNoYx6XacADsFiPasjgMt3wz+TmCSQ64x//fxc7h1A3E56H8uaM9jSbX5+2 - 92P98v8q/0+v8vPNWbvX9n2Hv/D4i7w7n/8CslMmJ3ANAAA= + string: '{"chart":{"result":null,"error":{"code":"Not Found","description":"No + data found, symbol may be delisted"}}}' headers: Age: - '0' + Cache-Control: + - max-age=0, private Connection: - keep-alive Expect-CT: - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Expires: + - '-1' Referrer-Policy: - no-referrer-when-downgrade Strict-Transport-Security: - - max-age=15552000 + - max-age=31536000 X-Content-Type-Options: - nosniff X-Frame-Options: - SAMEORIGIN X-XSS-Protection: - 1; mode=block - cache-control: - - public, max-age=10, stale-while-revalidate=20 - content-encoding: - - gzip content-length: - - '1346' + - '108' content-type: - application/json;charset=utf-8 date: - - Mon, 21 Mar 2022 11:04:33 GMT + - Fri, 24 Feb 2023 16:00:33 GMT server: - ATS vary: - - Origin,Accept-Encoding + - Origin x-envoy-decorator-operation: - - finance-chart-api--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/* + - finance-chart-api--mtls-canary-production-bf1.finance-k8s.svc.yahoo.local:4080/* x-envoy-upstream-service-time: - - '4' + - '3' x-request-id: - - f383d400-d576-47cd-8902-b1f3cb20505a + - 7e200c20-47ba-491e-95e7-2a20fed8e68a x-yahoo-request-id: - - 0ohs2v5h3gmu1 + - bi2i331hvhnp1 y-rid: - - 0ohs2v5h3gmu1 + - bi2i331hvhnp1 status: - code: 200 - message: OK + code: 404 + message: Not Found version: 1 diff --git a/tests/openbb_terminal/economy/cassettes/test_yfinance_model/test_get_index[dowjones-1mo-2015-01-01-2015-02-02-Volume].yaml b/tests/openbb_terminal/economy/cassettes/test_yfinance_model/test_get_index[dowjones-1mo-2015-01-01-2015-02-02-Volume].yaml index cecc2c3bece..291af436662 100644 --- a/tests/openbb_terminal/economy/cassettes/test_yfinance_model/test_get_index[dowjones-1mo-2015-01-01-2015-02-02-Volume].yaml +++ b/tests/openbb_terminal/economy/cassettes/test_yfinance_model/test_get_index[dowjones-1mo-2015-01-01-2015-02-02-Volume].yaml @@ -12,50 +12,53 @@ interactions: - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36 method: GET - uri: https://query2.finance.yahoo.com/v8/finance/chart/%5EDJI?period1=1420066800&period2=1422831600&interval=1mo&includePrePost=False&events=div%2Csplits + uri: https://query2.finance.yahoo.com/v8/finance/chart/DOWJONES?range=1d&interval=1d response: body: - string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"^DJI","exchangeName":"DJI","instrumentType":"INDEX","firstTradeDate":694362600,"regularMarketTime":1647637670,"gmtoffset":-14400,"timezone":"EDT","exchangeTimezoneName":"America/New_York","regularMarketPrice":34754.93,"chartPreviousClose":17823.07,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EDT","start":1647849600,"end":1647869400,"gmtoffset":-14400},"regular":{"timezone":"EDT","start":1647869400,"end":1647892800,"gmtoffset":-14400},"post":{"timezone":"EDT","start":1647892800,"end":1647907200,"gmtoffset":-14400}},"dataGranularity":"1mo","range":"","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1420088400,1422766800],"indicators":{"quote":[{"close":[17164.94921875,18132.69921875],"volume":[2173260000,1751250000],"open":[17823.0703125,17169.990234375],"low":[17136.30078125,17037.759765625],"high":[17951.779296875,18244.380859375]}],"adjclose":[{"adjclose":[17164.94921875,18132.69921875]}]}}],"error":null}}' + string: '{"chart":{"result":null,"error":{"code":"Not Found","description":"No + data found, symbol may be delisted"}}}' headers: Age: - '0' + Cache-Control: + - max-age=0, private Connection: - keep-alive Expect-CT: - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Expires: + - '-1' Referrer-Policy: - no-referrer-when-downgrade Strict-Transport-Security: - - max-age=15552000 + - max-age=31536000 X-Content-Type-Options: - nosniff X-Frame-Options: - SAMEORIGIN X-XSS-Protection: - 1; mode=block - cache-control: - - public, max-age=10, stale-while-revalidate=20 content-length: - - '1030' + - '108' content-type: - application/json;charset=utf-8 date: - - Mon, 21 Mar 2022 11:04:33 GMT + - Fri, 24 Feb 2023 16:00:33 GMT server: - ATS vary: - - Origin,Accept-Encoding + - Origin x-envoy-decorator-operation: - - finance-chart-api--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/* + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* x-envoy-upstream-service-time: - - '2' + - '3' x-request-id: - - de69ead3-565b-4403-ba11-398acfad5c3d + - c5f42423-f9ec-47e8-9c17-0ae2df60d59e x-yahoo-request-id: - - 16dtef9h3gmu1 + - f0rn7qphvhnp1 y-rid: - - 16dtef9h3gmu1 + - f0rn7qphvhnp1 status: - code: 200 - message: OK + code: 404 + message: Not Found version: 1 diff --git a/tests/openbb_terminal/economy/cassettes/test_yfinance_model/test_get_index[nasdaq-1wk-2020-06-06-2020-07-07-Close].yaml b/tests/openbb_terminal/economy/cassettes/test_yfinance_model/test_get_index[nasdaq-1wk-2020-06-06-2020-07-07-Close].yaml index 89196c0ee46..837f3f1a0ad 100644 --- a/tests/openbb_terminal/economy/cassettes/test_yfinance_model/test_get_index[nasdaq-1wk-2020-06-06-2020-07-07-Close].yaml +++ b/tests/openbb_terminal/economy/cassettes/test_yfinance_model/test_get_index[nasdaq-1wk-2020-06-06-2020-07-07-Close].yaml @@ -12,10 +12,69 @@ interactions: - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36 method: GET - uri: https://query2.finance.yahoo.com/v8/finance/chart/%5EIXIC?period1=1591394400&period2=1594072800&interval=1wk&includePrePost=False&events=div%2Csplits + uri: https://query2.finance.yahoo.com/v8/finance/chart/%5EIXIC?range=1d&interval=1d response: body: - string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"^IXIC","exchangeName":"NIM","instrumentType":"INDEX","firstTradeDate":34612200,"regularMarketTime":1647638159,"gmtoffset":-14400,"timezone":"EDT","exchangeTimezoneName":"America/New_York","regularMarketPrice":13893.837,"chartPreviousClose":9814.08,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EDT","end":1647869400,"start":1647849600,"gmtoffset":-14400},"regular":{"timezone":"EDT","end":1647892800,"start":1647869400,"gmtoffset":-14400},"post":{"timezone":"EDT","end":1647907200,"start":1647892800,"gmtoffset":-14400}},"dataGranularity":"1wk","range":"","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1590984000,1591588800,1592193600,1592798400,1593403200,1594008000],"indicators":{"quote":[{"volume":[6572850000,26190570000,23693060000,27718740000,17393620000,4529480000],"low":[9685.349609375,9413.6201171875,9403.0,9749.0703125,9663.6103515625,10354.98046875],"high":[9845.6904296875,10086.8896484375,10053.91015625,10221.849609375,10310.3603515625,10462.0498046875],"close":[9814.080078125,9588.8095703125,9946.1201171875,9757.2197265625,10207.6298828125,10433.650390625],"open":[9703.5400390625,9823.4404296875,9426.900390625,9945.490234375,9771.7197265625,10360.3798828125]}],"adjclose":[{"adjclose":[9814.080078125,9588.8095703125,9946.1201171875,9757.2197265625,10207.6298828125,10433.650390625]}]}}],"error":null}}' + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"^IXIC","exchangeName":"NIM","instrumentType":"INDEX","firstTradeDate":34612200,"regularMarketTime":1677254424,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":11346.033,"chartPreviousClose":11590.401,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1677229200,"end":1677249000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1677249000,"end":1677272400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1677272400,"end":1677286800,"gmtoffset":-18000}},"dataGranularity":"1d","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1677254424],"indicators":{"quote":[{"volume":[1281909000],"close":[11346.033203125],"high":[11434.3642578125],"low":[11334.4658203125],"open":[11404.2001953125]}],"adjclose":[{"adjclose":[11346.033203125]}]}}],"error":null}}' + headers: + Age: + - '4' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=31536000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '941' + content-type: + - application/json;charset=utf-8 + date: + - Fri, 24 Feb 2023 16:00:29 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '2' + x-request-id: + - b0961b9f-ab9e-4e44-882e-d77971a49e58 + x-yahoo-request-id: + - 2veavkhhvhnot + y-rid: + - 2veavkhhvhnot + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, + like Gecko) Chrome/39.0.2171.95 Safari/537.36 + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/%5EIXIC?period1=1591416000&period2=1594094400&interval=1wk&includePrePost=False&events=div%2Csplits%2CcapitalGains + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"^IXIC","exchangeName":"NIM","instrumentType":"INDEX","firstTradeDate":34612200,"regularMarketTime":1677254431,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":11346.06,"chartPreviousClose":9814.08,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","start":1677229200,"end":1677249000,"gmtoffset":-18000},"regular":{"timezone":"EST","start":1677249000,"end":1677272400,"gmtoffset":-18000},"post":{"timezone":"EST","start":1677272400,"end":1677286800,"gmtoffset":-18000}},"dataGranularity":"1wk","range":"","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1591588800,1592193600,1592798400,1593403200,1594008000],"indicators":{"quote":[{"close":[9588.8095703125,9946.1201171875,9757.2197265625,10207.6298828125,10343.8896484375],"high":[10086.8896484375,10053.91015625,10221.849609375,10310.3603515625,10518.98046875],"low":[9413.6201171875,9403.0,9749.0703125,9663.6103515625,10337.98046875],"volume":[26377480000,23854180000,27940280000,17509830000,8907390000],"open":[9823.4404296875,9426.900390625,9945.490234375,9771.7197265625,10360.3798828125]}],"adjclose":[{"adjclose":[9588.8095703125,9946.1201171875,9757.2197265625,10207.6298828125,10343.8896484375]}]}}],"error":null}}' headers: Age: - '0' @@ -26,7 +85,7 @@ interactions: Referrer-Policy: - no-referrer-when-downgrade Strict-Transport-Security: - - max-age=15552000 + - max-age=31536000 X-Content-Type-Options: - nosniff X-Frame-Options: @@ -36,25 +95,25 @@ interactions: cache-control: - public, max-age=10, stale-while-revalidate=20 content-length: - - '1436' + - '1336' content-type: - application/json;charset=utf-8 date: - - Mon, 21 Mar 2022 11:04:33 GMT + - Fri, 24 Feb 2023 16:00:33 GMT server: - ATS vary: - Origin,Accept-Encoding x-envoy-decorator-operation: - - finance-chart-api--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/* + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* x-envoy-upstream-service-time: - - '2' + - '8' x-request-id: - - ce51e5cf-c2fa-49d8-a0a6-e21425fc0b95 + - 79fd3cef-06ee-4e5c-b10c-4f9bad009dca x-yahoo-request-id: - - c4g1ttlh3gmu1 + - 7i1ddclhvhnp1 y-rid: - - c4g1ttlh3gmu1 + - 7i1ddclhvhnp1 status: code: 200 message: OK diff --git a/tests/openbb_terminal/economy/cassettes/test_yfinance_model/test_get_index[sp500-1d-2022-01-01-2022-02-02-Adj Close].yaml b/tests/openbb_terminal/economy/cassettes/test_yfinance_model/test_get_index[sp500-1d-2022-01-01-2022-02-02-Adj Close].yaml index eaa226fbfd7..a51e87d56ab 100644 --- a/tests/openbb_terminal/economy/cassettes/test_yfinance_model/test_get_index[sp500-1d-2022-01-01-2022-02-02-Adj Close].yaml +++ b/tests/openbb_terminal/economy/cassettes/test_yfinance_model/test_get_index[sp500-1d-2022-01-01-2022-02-02-Adj Close].yaml @@ -12,30 +12,89 @@ interactions: - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.95 Safari/537.36 method: GET - uri: https://query2.finance.yahoo.com/v8/finance/chart/%5EGSPC?period1=1640991600&period2=1643756400&interval=1d&includePrePost=False&events=div%2Csplits + uri: https://query2.finance.yahoo.com/v8/finance/chart/%5EGSPC?range=1d&interval=1d + response: + body: + string: '{"chart":{"result":[{"meta":{"currency":"USD","symbol":"^GSPC","exchangeName":"SNP","instrumentType":"INDEX","firstTradeDate":-1325583000,"regularMarketTime":1677254431,"gmtoffset":-18000,"timezone":"EST","exchangeTimezoneName":"America/New_York","regularMarketPrice":3948.55,"chartPreviousClose":4012.32,"priceHint":2,"currentTradingPeriod":{"pre":{"timezone":"EST","end":1677249000,"start":1677229200,"gmtoffset":-18000},"regular":{"timezone":"EST","end":1677272400,"start":1677249000,"gmtoffset":-18000},"post":{"timezone":"EST","end":1677286800,"start":1677272400,"gmtoffset":-18000}},"dataGranularity":"1d","range":"1d","validRanges":["1d","5d","1mo","3mo","6mo","1y","2y","5y","10y","ytd","max"]},"timestamp":[1677254431],"indicators":{"quote":[{"high":[3973.239990234375],"low":[3943.080078125],"close":[3948.550048828125],"volume":[579373084],"open":[3973.239990234375]}],"adjclose":[{"adjclose":[3948.550048828125]}]}}],"error":null}}' + headers: + Age: + - '1' + Connection: + - keep-alive + Expect-CT: + - max-age=31536000, report-uri="http://csp.yahoo.com/beacon/csp?src=yahoocom-expect-ct-report-only" + Referrer-Policy: + - no-referrer-when-downgrade + Strict-Transport-Security: + - max-age=31536000 + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - SAMEORIGIN + X-XSS-Protection: + - 1; mode=block + cache-control: + - public, max-age=10, stale-while-revalidate=20 + content-length: + - '943' + content-type: + - application/json;charset=utf-8 + date: + - Fri, 24 Feb 2023 16:00:32 GMT + server: + - ATS + vary: + - Origin,Accept-Encoding + x-envoy-decorator-operation: + - finance-chart-api--mtls-baseline-production-bf1.finance-k8s.svc.yahoo.local:4080/* + x-envoy-upstream-service-time: + - '3' + x-request-id: + - 1151c690-d755-4dcd-b01d-bce1dd80ca9c + x-yahoo-request-id: + - 3athbr5hvhnp1 + y-rid: + - 3athbr5hvhnp1 + status: + code: 200 + message: OK +- request: + body: null + headers: + Accept: + - '*/*' + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + User-Agent: + - Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, + like Gecko) Chrome/39.0.2171.95 Safari/537.36 + method: GET + uri: https://query2.finance.yahoo.com/v8/finance/chart/%5EGSPC?period1=1641013200&period2=1643778000&interval=1d&includePrePost=False&events=div%2Csplits%2CcapitalGains response: body: string: !!binary | - H4sIAAAAAAAAAO1WwW4bNxD9F51VluSQQzK3Ig7SHmoYtQu0MNxia61tNZLWXa2cuIb+PW9WXIl0 - WuTWUy/UkBwO37x5w9XL7Pah6YfZm5dZ3253K1jXL7N1OzSydLvr+3Zz+zx7M/v58mw2n22f1390 - K0x/e3958RYL7Sec39y35826xfLl+QUWl5vt0O/W7Wa4en6U5R/Oz979go27Zb8drvpm0Z41Aza+ - MWS9j6S1nuP++92q6X9s+g/tcLWUeIZdYAocsH2/Hrq7u207yDHn5MQAp7+7jdzw7uyqQHOVNzKq - 79Ztv7xtvj1vP/7+a9d/mL267AK78HOOSRk7P1By0bdPy263fbvqtrIZmJWJ89mjOH+/3ACHuI4M - jTktN/cXuKdbCHOPfSs/XyDcDiPbklh0iSWLdrPIC5zGtL7IdH/E+9WYOcQpZrLx32I+dtvhqwHz - +WPApIP954CIuGiG5n3fbATqchDZmIWQLTXBBOZTs1oufpL5Fko7bHsZzLrDSOPI42ieMVgZvAxG - y/g8iPO6+TS72R8EALDrR8QCOJ3YiJRgGmu1zSZp5slMNDkgFZdNzz5mM1o/OSRjJoeUQnawOroc - 15qgc1zrDU+rrO20yjHlYDYEn4ORJpcdyNgJL1kdJgebKN9GMHJcYprwUrCC90YabQFdD12/lTr+ - teukqdC/twfNXmfRahN8iMb6OZJm5XG9jz5RGBdICTRKmkcHrZVEz/4Mf+1S1I6juHMISlvQ4cHa - 6BC0sqk4b0hpTtGCn/FEsKwIpKbA+YRPr0KwVbH08LjE6BSZ7AGFJ6uCP+67iKlNJ1SUgkqUEqp6 - QOGMRienGHMA8qyc1yZ5OsxdwoGCFwJKf0KA0ryCZDxoOt3oHRe0oRRP3Wonj821xTNipO56LlXP - JkFF2h/MQCRHxaRgbF61IcWQfUGdPphgkbMpYsvHPKXx0RSHiFkOZscXZTR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HQe1ajDSOdhzVEwYdB46DknF8 + GqLyrv5U3Z4mAiDY3QG2lDVKaxkhjSJJa2cxjASLonHBJJEt+yR6zbNCUGpWCMElBS29SXa1cjLZ + 1azsvGqlnletD8mYdo6TMZJkkgIprZICaelmBR0oeSMIyS5ZmuMlNAIUbmN3rUHmoe36WLy/jm3s + JDTtaiLqDXK0guGNPQdyvMACiRgJBWl1nEspojHnVZxa6EsTvDTWR3VUWUiN7BkgjQpOCh2y84qE + tMFrwDGecNoKAobB2XSCwysTVgufazCcKBm8JT1FwaSF45d94zHV4RwVBScChYAiTlEYJYXSwftk + gNgKw1IFpmluAg5I5TjlSYiSzxGgEq9CUgyYzh7Z2Aw2IN8emv0IsPMCUSiybsofR3LLziPUIDWZ + EX4L+GHjrG6RCtg5Q8MsiIJPyjaUttFxKNa87YjK2loqfQFFdOw8Ze/LOrBxZaVQTEGuRJFUVlvC + vWfzgIz0whS4+oJORPGizAsFoF1GH1YBOby4ALDb9uOIKwNXG8LMKmeEBldfKooteM4sIyShz5yJ + JHN58gUWlnxpDp0snAzBygQllzS3yojRjvUiP8cEvWyOQEXIiRfygmqtBe4JpRJ82r8iPoE8Lie6 + BDzQCxp0PkeHpIUs3HpQ4VxbwPiwuX+YL4CiZF75IgYHAhZIaBYZJ5wsE7KOStcOseSt5/Bwxlfc + zdNy21ou5yVJrVJF3+EyLREyAe1VpK5esxgm8imT0PnlAdRzZph41+CtUCYVCVe58HmLMrhg5rYC + tI/t9hj/JW7Ik4pY4FaGbcJzMIreA/RJ1IG1n0TlFatJZIVJWkXnh0mUuOaSMTwnjiYRL4BJCkB2 + 9AAR/IyvxegYPTg5xt9TUJOCDYBrcsEKFyEnBdB8OsbIV0+6LJFFSCKQTpF5ZcefMXl7Qs71+s/5 + TXnOJ/8/MP/NA3O6PUXYm65r8aOHn6jt6fQZST2vJ6ALAAA= headers: Age: - '0' @@ -46,7 +105,7 @@ interactions: Referrer-Policy: - no-referrer-when-downgrade Strict-Transport-Security: - - max-age=15552000 + - max-age=31536000 X-Content-Type-Options: - nosniff X-Frame-Options: @@ -58,25 +117,25 @@ interactions: content-encoding: - gzip content-length: - - '1138' + - '1118' content-type: - application/json;charset=utf-8 date: - - Mon, 21 Mar 2022 11:04:33 GMT + - Fri, 24 Feb 2023 16:00:33 GMT server: - ATS vary: - Origin,Accept-Encoding x-envoy-decorator-operation: - - finance-chart-api--mtls-production-ir2.finance-k8s.svc.yahoo.local:4080/* + - finance-chart-api--mtls-production-bf1.finance-k8s.svc.yahoo.local:4080/* x-envoy-upstream-service-time: - - '3' + - '4' x-request-id: - - cdf4cc2c-b308-4c63-ba32-08cb56153f0e + - 98131962-ad56-459c-a7a0-05a51e54f38c x-yahoo-request-id: - - 1bd3i4hh3gmu1 + - 47l9j5thvhnp1 y-rid: - - 1bd3i4hh3gmu1 + - 47l9j5thvhnp1 status: code: 200 message: OK