fix(stocks): Fix Yahoo provider request handling and bump dependency versions

This commit is contained in:
2025-09-24 07:56:53 +00:00
parent 1b1324d0f9
commit e94a6f8d5b
6 changed files with 2091 additions and 1588 deletions

View File

@@ -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;
}
}