Skip to content

Commit

Permalink
fix(quote): extend marketState property
Browse files Browse the repository at this point in the history
  • Loading branch information
pudgereyem committed Feb 10, 2021
1 parent 208c4a9 commit 0c36a60
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
16 changes: 12 additions & 4 deletions schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2635,7 +2635,9 @@
"marketState": {
"enum": [
"CLOSED",
"PREPRE"
"PREPRE",
"POST",
"POSTPOST"
],
"type": "string"
},
Expand Down Expand Up @@ -2915,7 +2917,9 @@
"marketState": {
"enum": [
"CLOSED",
"PREPRE"
"PREPRE",
"POST",
"POSTPOST"
],
"type": "string"
},
Expand Down Expand Up @@ -3196,7 +3200,9 @@
"marketState": {
"enum": [
"CLOSED",
"PREPRE"
"PREPRE",
"POST",
"POSTPOST"
],
"type": "string"
},
Expand Down Expand Up @@ -3477,7 +3483,9 @@
"marketState": {
"enum": [
"CLOSED",
"PREPRE"
"PREPRE",
"POST",
"POSTPOST"
],
"type": "string"
},
Expand Down
2 changes: 1 addition & 1 deletion src/modules/quote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export interface QuoteBase {
quoteSourceName: string; // "Delayed Quote",
triggerable: boolean; // true,
currency: string; // "USD",
marketState: "CLOSED" | "PREPRE";
marketState: "CLOSED" | "PREPRE" | "POST" | "POSTPOST";
tradeable: boolean; // false,
exchange: string; // "NMS",
shortName: string; // "NVIDIA Corporation",
Expand Down

0 comments on commit 0c36a60

Please sign in to comment.