From 99390023852ad699af0e4a53fa943126b8b7ac0b Mon Sep 17 00:00:00 2001 From: Daniil Molchanov Date: Thu, 4 Sep 2025 18:16:37 +0200 Subject: [PATCH] Fix IBKR import ticker symbol --- src/utils/brokers.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/utils/brokers.js b/src/utils/brokers.js index 2d29a9d..2743312 100644 --- a/src/utils/brokers.js +++ b/src/utils/brokers.js @@ -672,12 +672,7 @@ export async function useBrokerInteractiveBrokers(param, param2) { } temp.SymbolOriginal = element["Symbol"] - - if (temp.Type == "stock") { - temp.Symbol = element["Symbol"] - } else { - temp.Symbol = element["UnderlyingSymbol"] - } + temp.Symbol = element["Symbol"].replace(/\s+/g, "") temp.Qty = Number(element.Quantity) < 0 ? (-Number(element.Quantity)).toString() : element.Quantity temp.Price = element.Price