From eaa77ef1873c26ed9022f5a5df8bc75d71d3dae1 Mon Sep 17 00:00:00 2001 From: Gahow Wang Date: Mon, 5 Oct 2026 23:38:10 -0700 Subject: [PATCH] Map Wikipedia's PSKY to IBKR's SKYD Paramount Skydance moved its listing to NYSE as SKYD; Wikipedia still lists the old NASDAQ ticker PSKY, which IBKR cannot qualify. --- src/ibkr_quant/universe.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/ibkr_quant/universe.py b/src/ibkr_quant/universe.py index 786c14c..6542d64 100644 --- a/src/ibkr_quant/universe.py +++ b/src/ibkr_quant/universe.py @@ -7,7 +7,12 @@ import pandas as pd SP500_URL = "https://en.wikipedia.org/wiki/List_of_S%26P_500_companies" +# Tickers Wikipedia lists differently from what IBKR carries. +IBKR_SYMBOL_OVERRIDES = {"PSKY": "SKYD"} # Paramount Skydance trades as SKYD/NYSE on IBKR + + def to_ib_symbol(ticker: str) -> str: + ticker = IBKR_SYMBOL_OVERRIDES.get(ticker, ticker) # IBKR writes share classes with a space: BRK.B -> "BRK B". return ticker.replace(".", " ")