-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(validation): more optionality, SQYFuture type, more tests
* test: add more symbols to test against * fix(validation): fix the validation for the new symbols added * refactor(search.ts): add SearchQuoteYahooFuture enum
- Loading branch information
1 parent
16eea3e
commit 4377fdf
Showing
220 changed files
with
97,851 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,139 @@ | ||
{ | ||
"request": { | ||
"url": "https://autoc.finance.yahoo.com/autoc?region=1&lang=en&query=ABBV" | ||
}, | ||
"response": { | ||
"ok": true, | ||
"status": 200, | ||
"statusText": "OK", | ||
"headers": { | ||
"x-content-type-options": [ | ||
"nosniff" | ||
], | ||
"x-yahoo-request-id": [ | ||
"ftsb68dg2vse0" | ||
], | ||
"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": [ | ||
"309" | ||
], | ||
"date": [ | ||
"Fri, 19 Feb 2021 17:13:36 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": "ABBV", | ||
"Result": [ | ||
{ | ||
"symbol": "ABBV", | ||
"name": "AbbVie Inc.", | ||
"exch": "NYQ", | ||
"type": "S", | ||
"exchDisp": "NYSE", | ||
"typeDisp": "Equity" | ||
}, | ||
{ | ||
"symbol": "ABBV34.SA", | ||
"name": "AbbVie Inc.", | ||
"exch": "SAO", | ||
"type": "S", | ||
"exchDisp": "Sao Paolo", | ||
"typeDisp": "Equity" | ||
}, | ||
{ | ||
"symbol": "4AB.F", | ||
"name": "AbbVie Inc.", | ||
"exch": "FRA", | ||
"type": "S", | ||
"exchDisp": "Frankfurt", | ||
"typeDisp": "Equity" | ||
}, | ||
{ | ||
"symbol": "4AB.DE", | ||
"name": "AbbVie Inc.", | ||
"exch": "GER", | ||
"type": "S", | ||
"exchDisp": "XETRA", | ||
"typeDisp": "Equity" | ||
}, | ||
{ | ||
"symbol": "ABBV.VI", | ||
"name": "AbbVie Inc.", | ||
"exch": "VIE", | ||
"type": "S", | ||
"exchDisp": "Vienna", | ||
"typeDisp": "Equity" | ||
}, | ||
{ | ||
"symbol": "ABBV.MX", | ||
"name": "AbbVie Inc.", | ||
"exch": "MEX", | ||
"type": "S", | ||
"exchDisp": "Mexico", | ||
"typeDisp": "Equity" | ||
}, | ||
{ | ||
"symbol": "4AB.SG", | ||
"name": "AbbVie Inc. Registered Shares D", | ||
"exch": "STU", | ||
"type": "S", | ||
"exchDisp": "Stuttgart", | ||
"typeDisp": "Equity" | ||
}, | ||
{ | ||
"symbol": "4AB.DU", | ||
"name": "ABBVIE INC. DL-,01", | ||
"exch": "DUS", | ||
"type": "S", | ||
"exchDisp": "Dusseldorf Stock Exchange", | ||
"typeDisp": "Equity" | ||
}, | ||
{ | ||
"symbol": "4AB.BE", | ||
"name": "ABBVIE INC. DL-,01", | ||
"exch": "BER", | ||
"type": "S", | ||
"exchDisp": "Berlin", | ||
"typeDisp": "Equity" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.