Skip to content

Commit

Permalink
fix(quoteSummary): 10-QA; pctChange; coinMarketCapLink (fixes #500)
Browse files Browse the repository at this point in the history
FilingType 10-Q/A; Ownership pctChange; coinMarketCapLink
  • Loading branch information
gadicc committed Jun 29, 2022
1 parent f9b6f99 commit a1119a8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
12 changes: 11 additions & 1 deletion schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -5797,6 +5797,9 @@
},
"value": {
"yahooFinanceType": "number"
},
"pctChange": {
"yahooFinanceType": "number"
}
},
"required": [
Expand Down Expand Up @@ -7021,7 +7024,8 @@
"10-Q",
"8-K",
"8-K/A",
"10-K/A"
"10-K/A",
"10-Q/A"
]
},
"SummaryDetail": {
Expand Down Expand Up @@ -7183,6 +7187,12 @@
"startDate": {
"yahooFinanceType": "date"
},
"coinMarketCapLink": {
"type": [
"string",
"null"
]
},
"expireDate": {
"yahooFinanceType": "date"
},
Expand Down
3 changes: 3 additions & 0 deletions src/modules/quoteSummary-iface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,7 @@ export interface OwnershipList {
pctHeld: number;
position: number;
value: number;
pctChange?: number;
}

export interface FundPerformance {
Expand Down Expand Up @@ -801,6 +802,7 @@ export enum Type {
The8K = "8-K",
The8KA = "8-K/A",
The10KA = "10-K/A",
The10QA = "10-Q/A",
}

export interface SummaryDetail {
Expand Down Expand Up @@ -857,6 +859,7 @@ export interface SummaryDetail {
volumeAllCurrencies?: number; // 62650314752
circulatingSupply?: number; // 18638932
startDate?: Date; // new Date(1367107200 * 1000)
coinMarketCapLink?: string | null; // "https://coinmarketcap.com/currencies/cardano"

// futures
expireDate?: Date; // 1656374400,
Expand Down

0 comments on commit a1119a8

Please sign in to comment.