Skip to content

Commit

Permalink
fix(quote): allow optional pageViewGrowthWeekly (fixes #326)
Browse files Browse the repository at this point in the history
  • Loading branch information
gadicc committed Nov 13, 2021
1 parent 0bc1c0a commit e425cd5
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
25 changes: 25 additions & 0 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -912,6 +912,9 @@
},
"averageAnalystRating": {
"type": "string"
},
"pageViewGrowthWeekly": {
"yahooFinanceType": "number"
}
},
"required": [
Expand Down Expand Up @@ -1224,6 +1227,9 @@
"averageAnalystRating": {
"type": "string"
},
"pageViewGrowthWeekly": {
"yahooFinanceType": "number"
},
"circulatingSupply": {
"yahooFinanceType": "number"
},
Expand Down Expand Up @@ -1547,6 +1553,9 @@
},
"averageAnalystRating": {
"type": "string"
},
"pageViewGrowthWeekly": {
"yahooFinanceType": "number"
}
},
"required": [
Expand Down Expand Up @@ -1839,6 +1848,9 @@
},
"averageAnalystRating": {
"type": "string"
},
"pageViewGrowthWeekly": {
"yahooFinanceType": "number"
}
},
"required": [
Expand Down Expand Up @@ -2131,6 +2143,9 @@
},
"averageAnalystRating": {
"type": "string"
},
"pageViewGrowthWeekly": {
"yahooFinanceType": "number"
}
},
"required": [
Expand Down Expand Up @@ -2423,6 +2438,9 @@
},
"averageAnalystRating": {
"type": "string"
},
"pageViewGrowthWeekly": {
"yahooFinanceType": "number"
}
},
"required": [
Expand Down Expand Up @@ -2716,6 +2734,9 @@
"averageAnalystRating": {
"type": "string"
},
"pageViewGrowthWeekly": {
"yahooFinanceType": "number"
},
"strike": {
"yahooFinanceType": "number"
},
Expand Down Expand Up @@ -3027,6 +3048,9 @@
},
"averageAnalystRating": {
"type": "string"
},
"pageViewGrowthWeekly": {
"yahooFinanceType": "number"
}
},
"required": [
Expand Down Expand Up @@ -3172,6 +3196,7 @@
"nameChangeDate",
"prevName",
"averageAnalystRating",
"pageViewGrowthWeekly",
"strike",
"openInterest",
"expireDate",
Expand Down
1 change: 1 addition & 0 deletions src/modules/quote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ export interface QuoteBase {
nameChangeDate?: Date;
prevName?: string;
averageAnalystRating?: string;
pageViewGrowthWeekly?: number; // Since 2021-11-11 (#326)
}

/*
Expand Down

0 comments on commit e425cd5

Please sign in to comment.