fix(stocks): Fix Yahoo provider request handling and bump dependency versions
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import * as plugins from '../../plugins.js';
|
||||
|
||||
export interface IStockPrice {
|
||||
ticker: string;
|
||||
price: number;
|
||||
@@ -11,6 +13,10 @@ export interface IStockPrice {
|
||||
exchange?: string;
|
||||
exchangeName?: string;
|
||||
}
|
||||
type CheckStockPrice = plugins.tsclass.typeFest.IsEqual<
|
||||
IStockPrice,
|
||||
plugins.tsclass.finance.IStockPrice
|
||||
>;
|
||||
|
||||
export interface IStockPriceError {
|
||||
ticker: string;
|
||||
@@ -27,4 +33,4 @@ export interface IStockQuoteRequest {
|
||||
export interface IStockBatchQuoteRequest {
|
||||
tickers: string[];
|
||||
includeExtendedHours?: boolean;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user