-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -690,13 +690,13 @@ | |
}, | ||
"additionalProperties": false | ||
}, | ||
"HistoricalResult": { | ||
"HistoricalHistoryResult": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/HistoricalRow" | ||
"$ref": "#/definitions/HistoricalRowHistory" | ||
} | ||
}, | ||
"HistoricalRow": { | ||
"HistoricalRowHistory": { | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
gadicc
Author
Owner
|
||
"type": "object", | ||
"properties": { | ||
"date": { | ||
|
@@ -730,6 +730,63 @@ | |
"volume" | ||
] | ||
}, | ||
"HistoricalDividendsResult": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/HistoricalRowDividend" | ||
} | ||
}, | ||
"HistoricalRowDividend": { | ||
"type": "object", | ||
"properties": { | ||
"date": { | ||
"yahooFinanceType": "date" | ||
}, | ||
"dividends": { | ||
"yahooFinanceType": "number" | ||
} | ||
}, | ||
"required": [ | ||
"date", | ||
"dividends" | ||
], | ||
"additionalProperties": false | ||
}, | ||
"HistoricalStockSplitsResult": { | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/HistoricalRowStockSplit" | ||
} | ||
}, | ||
"HistoricalRowStockSplit": { | ||
"type": "object", | ||
"properties": { | ||
"date": { | ||
"yahooFinanceType": "date" | ||
}, | ||
"stockSplits": { | ||
"type": "string" | ||
} | ||
}, | ||
"required": [ | ||
"date", | ||
"stockSplits" | ||
], | ||
"additionalProperties": false | ||
}, | ||
"HistoricalResult": { | ||
"anyOf": [ | ||
{ | ||
"$ref": "#/definitions/HistoricalHistoryResult" | ||
}, | ||
{ | ||
"$ref": "#/definitions/HistoricalDividendsResult" | ||
}, | ||
{ | ||
"$ref": "#/definitions/HistoricalStockSplitsResult" | ||
} | ||
] | ||
}, | ||
"HistoricalOptions": { | ||
"type": "object", | ||
"properties": { | ||
|
@@ -779,6 +836,159 @@ | |
], | ||
"additionalProperties": false | ||
}, | ||
"HistoricalOptionsEventsHistory": { | ||
"type": "object", | ||
"properties": { | ||
"period1": { | ||
"anyOf": [ | ||
{ | ||
"yahooFinanceType": "date" | ||
}, | ||
{ | ||
"type": "string" | ||
}, | ||
{ | ||
"yahooFinanceType": "number" | ||
} | ||
] | ||
}, | ||
"period2": { | ||
"anyOf": [ | ||
{ | ||
"yahooFinanceType": "date" | ||
}, | ||
{ | ||
"type": "string" | ||
}, | ||
{ | ||
"yahooFinanceType": "number" | ||
} | ||
] | ||
}, | ||
"interval": { | ||
"type": "string", | ||
"enum": [ | ||
"1d", | ||
"1wk", | ||
"1mo" | ||
] | ||
}, | ||
"events": { | ||
"type": "string", | ||
"const": "history" | ||
}, | ||
"includeAdjustedClose": { | ||
"type": "boolean" | ||
} | ||
}, | ||
"required": [ | ||
"events", | ||
"period1" | ||
], | ||
"additionalProperties": false | ||
}, | ||
"HistoricalOptionsEventsDividends": { | ||
"type": "object", | ||
"properties": { | ||
"period1": { | ||
"anyOf": [ | ||
{ | ||
"yahooFinanceType": "date" | ||
}, | ||
{ | ||
"type": "string" | ||
}, | ||
{ | ||
"yahooFinanceType": "number" | ||
} | ||
] | ||
}, | ||
"period2": { | ||
"anyOf": [ | ||
{ | ||
"yahooFinanceType": "date" | ||
}, | ||
{ | ||
"type": "string" | ||
}, | ||
{ | ||
"yahooFinanceType": "number" | ||
} | ||
] | ||
}, | ||
"interval": { | ||
"type": "string", | ||
"enum": [ | ||
"1d", | ||
"1wk", | ||
"1mo" | ||
] | ||
}, | ||
"events": { | ||
"type": "string", | ||
"const": "dividends" | ||
}, | ||
"includeAdjustedClose": { | ||
"type": "boolean" | ||
} | ||
}, | ||
"required": [ | ||
"events", | ||
"period1" | ||
], | ||
"additionalProperties": false | ||
}, | ||
"HistoricalOptionsEventsSplit": { | ||
"type": "object", | ||
"properties": { | ||
"period1": { | ||
"anyOf": [ | ||
{ | ||
"yahooFinanceType": "date" | ||
}, | ||
{ | ||
"type": "string" | ||
}, | ||
{ | ||
"yahooFinanceType": "number" | ||
} | ||
] | ||
}, | ||
"period2": { | ||
"anyOf": [ | ||
{ | ||
"yahooFinanceType": "date" | ||
}, | ||
{ | ||
"type": "string" | ||
}, | ||
{ | ||
"yahooFinanceType": "number" | ||
} | ||
] | ||
}, | ||
"interval": { | ||
"type": "string", | ||
"enum": [ | ||
"1d", | ||
"1wk", | ||
"1mo" | ||
] | ||
}, | ||
"events": { | ||
"type": "string", | ||
"const": "split" | ||
}, | ||
"includeAdjustedClose": { | ||
"type": "boolean" | ||
} | ||
}, | ||
"required": [ | ||
"events", | ||
"period1" | ||
], | ||
"additionalProperties": false | ||
}, | ||
"NamedParameters<typeof historical>": { | ||
"type": "object", | ||
"properties": { | ||
|
@gadicc This is a breaking change for typescript projects