laplace-api 1.1.7 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -53,7 +53,7 @@ export enum StockStatsKey {
|
|
|
53
53
|
|
|
54
54
|
export interface TopMover {
|
|
55
55
|
symbol: string;
|
|
56
|
-
|
|
56
|
+
percent_change: number;
|
|
57
57
|
}
|
|
58
58
|
export class FinancialFundamentalsClient extends Client {
|
|
59
59
|
async getStockDividends(symbol: string, region: Region): Promise<StockDividend[]> {
|
|
@@ -282,7 +282,9 @@ export class LivePriceWebSocketClient {
|
|
|
282
282
|
const symbolsForRemove = symbols.filter(
|
|
283
283
|
(s) => this.getHandlersForSymbol(s).length === 0
|
|
284
284
|
);
|
|
285
|
-
|
|
285
|
+
if (symbolsForRemove.length > 0) {
|
|
286
|
+
this.removeSymbols(symbolsForRemove);
|
|
287
|
+
}
|
|
286
288
|
};
|
|
287
289
|
}
|
|
288
290
|
|