From bb7313459f06c2f6e9697a75011f20138fd0bc0b Mon Sep 17 00:00:00 2001 From: jeroen Date: Tue, 19 Sep 2023 21:07:14 +0200 Subject: [PATCH] Add exception for a ticker that is defined as NAN (actual letters) --- .github/workflows/database_update.yml | 5 ++++ database/equities.csv | 35 +-------------------------- 2 files changed, 6 insertions(+), 34 deletions(-) diff --git a/.github/workflows/database_update.yml b/.github/workflows/database_update.yml index 8b7e0bf19..1dbd9265e 100644 --- a/.github/workflows/database_update.yml +++ b/.github/workflows/database_update.yml @@ -90,6 +90,11 @@ jobs: ticker_dict[index][column] = value continue except KeyError: + if row['name'] == 'Nano Labs Ltd American Depositary Shares' + # Specific case where the ticker is NAN which is recognized + # as a NaN instead meaning it will continuously be added + index = "NAN" + ticker_dict[index] = {} ticker_dict[index]['name'] = row['name'] diff --git a/database/equities.csv b/database/equities.csv index e4302e61e..5ba36f669 100644 --- a/database/equities.csv +++ b/database/equities.csv @@ -158588,37 +158588,4 @@ ZZVA.BE,,,EUR,,,,BER,Berlin Stock Exchange,,,,,,,,,,, ZZVA.DU,,,EUR,,,,DUS,Dusseldorf Stock Exchange,,,,,,,,,,, ZZZ.TO,Sleep Country Canada Holdings Inc.,"Sleep Country Canada Holdings Inc., together with its subsidiaries, engages in retailing mattress and bedding related products in Canada. The company offers a range of mattresses, adjustable lifestyle bases, pillows, duvets, duvet covers, mattress toppers and protectors, pet beds, weighted blankets, throws, sheets, headboards, footboards, frames, mattress and pillow cases, platforms, metal frames, blankets, mattress pads, and other sleep accessories. The company operates under the Dormez-vous, Sleep Country Canada, and Endy retail banners. As of March 10, 2021, it operates 283 stores. It also sells its products through an e-commerce platform. The company was founded in 1994 and is headquartered in Brampton, Canada.",CAD,Consumer Discretionary,Retailing,Specialty Retail,TOR,TSX Toronto Exchange,Canada,ON,Brampton,L6T 4N8,http://www.sleepcountry.ca,Small Cap,,,,, ZZZOF,one,"one does not have significant operations. It intends to effect a merger, capital stock exchange, asset acquisition, stock purchase, reorganization, or other similar business combination with one or more operating businesses. The company was incorporated in 2020 and is based in San Francisco, California.",USD,Financials,Diversified Financials,Diversified Financial Services,PNK,OTC Bulletin Board,United States,CA,San Francisco,94129,http://www.a-star.co,Small Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Nano Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Nano Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Nano Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Nano Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Nano Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Nano Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Nano Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Nano Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Nano Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Nano Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Nano Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Nano Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Nano Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Nano Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Nano Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Nano Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Nano Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Nano Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Nano Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Nano Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Nano Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Nano Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Nano Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Nano Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Micro Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Micro Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Micro Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Micro Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Micro Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Micro Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Micro Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Micro Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Micro Cap,,,,, -,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Micro Cap,,,,, +NAN,Nano Labs Ltd American Depositary Shares,,USD,Information Technology,Semiconductors & Semiconductor Equipment,Semiconductors & Semiconductor Equipment,NMS,NASDAQ Global Select,China,,,,,Nano Cap,,,,, \ No newline at end of file