feat(watchlist): add company identity catalog

Embed a pinned FinanceDatabase equity snapshot, add authenticated company search and identity-based follows, preserve legacy assets, and map selected Yahoo symbols for collection.

Refs #19

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
2026-11-22 15:08:22 +01:00
parent 1123360914
commit d65222169a
50 changed files with 49897 additions and 193 deletions

View File

@ -0,0 +1,6 @@
symbol,name,exchange,mic,country,isin,figi,composite_figi,delisted,listing_score,primary_listing,main_venue,listings,usual_currency,home_known
002594.SZ,BYD Company Limited,SHZ,XSHE,China,CNE100001526,BBG001QVK2K1,BBG000G44NQ0,False,3.999605988967691,True,True,11,True,True
0285.HK,BYD Electronic (International) Company Limited,HKG,XHKG,China,HK0285041858,BBG000JPLTR7,BBG000JPKS36,False,2.4508226691042045,True,True,2,True,True
9888.HK,"Baidu, Inc.",HKG,XHKG,China,KYG070341048,BBG00ZMFX1S5,BBG000Q1VPS8,False,2.4508226691042045,True,True,15,True,True
AAPL,Apple Inc.,NMS,XNAS,United States,US0378331005,BBG000B9Y5X2,BBG000B9XRY4,False,3.7479016786570742,True,True,18,True,True
NVDA,NVIDIA Corporation,NMS,XNAS,United States,US67066G1040,BBG000BBJQV0,BBG000BBJQV0,False,3.7479016786570742,True,True,18,True,True
1 symbol name exchange mic country isin figi composite_figi delisted listing_score primary_listing main_venue listings usual_currency home_known
2 002594.SZ BYD Company Limited SHZ XSHE China CNE100001526 BBG001QVK2K1 BBG000G44NQ0 False 3.999605988967691 True True 11 True True
3 0285.HK BYD Electronic (International) Company Limited HKG XHKG China HK0285041858 BBG000JPLTR7 BBG000JPKS36 False 2.4508226691042045 True True 2 True True
4 9888.HK Baidu, Inc. HKG XHKG China KYG070341048 BBG00ZMFX1S5 BBG000Q1VPS8 False 2.4508226691042045 True True 15 True True
5 AAPL Apple Inc. NMS XNAS United States US0378331005 BBG000B9Y5X2 BBG000B9XRY4 False 3.7479016786570742 True True 18 True True
6 NVDA NVIDIA Corporation NMS XNAS United States US67066G1040 BBG000BBJQV0 BBG000BBJQV0 False 3.7479016786570742 True True 18 True True

View File

@ -0,0 +1,40 @@
{
"source": "FinanceDatabase Equities",
"upstream_repository": "https://github.com/JerBouma/FinanceDatabase",
"upstream_commit": "93b872f0e4b4e05e8d35b7f0a39efe9245bcc2c1",
"upstream_commit_date_utc": "2026-11-17T13:27:37Z",
"package_version": "2.5.2",
"license": "MIT",
"upstream_equities_data_file": "compression/equities.parquet",
"upstream_equities_data_sha256": "decfcf03f1294dabe09a591a5015775dc49a5a54a3536e35b4869659a5123f7f",
"snapshot_date": "2026-11-22",
"selection": "Ran pinned source with its commit-pinned local compression data: Equities(use_local_location=True).select(only_primary_listing=True, exclude_delisted=True). The raw fixture contains symbols NVDA, AAPL, BIDU, 9888.HK, 89888.HK, 1211.HK, 002594.SZ, 0285.HK, BYDIF, BYDIY, BYDDF and BYDDY before primary filtering. The runtime fixture contains rows produced by the selector; it was sorted by symbol only after selection for deterministic file ordering.",
"primary_listing_evidence": "Runtime primary_listing flags and listing_score are from upstream listings_model.get_listing_ranks() over the full pinned Equities dataset. Ranking considers exchanges, country/home-market shares, main venues, currency, number of listings, and linked names; not random choice or ticker sorting.",
"fields": [
"symbol",
"name",
"exchange",
"mic",
"country",
"isin",
"figi",
"composite_figi",
"delisted",
"listing_score",
"primary_listing",
"main_venue",
"listings",
"usual_currency",
"home_known"
],
"fixtures": {
"finance_database_raw_multilistings_2026-11-22.csv": {
"sha256": "2ae92b90ba9ec2797d7c27c46b46cff423d6968b36e91576ae488b53fdba19cd",
"records": 12
},
"finance_database_equities_primary_2026-11-22.csv": {
"sha256": "977d473bd05658406631b9fac829ac628ab057ff240868b9fd38314fd7848732",
"records": 5
}
}
}

View File

@ -0,0 +1,13 @@
symbol,name,exchange,mic,country,isin,figi,composite_figi,delisted,listing_score,primary_listing,main_venue,listings,usual_currency,home_known
002594.SZ,BYD Company Limited,SHZ,XSHE,China,CNE100001526,BBG001QVK2K1,BBG000G44NQ0,False,3.999605988967691,True,True,11,True,True
0285.HK,BYD Electronic (International) Company Limited,HKG,XHKG,China,HK0285041858,BBG000JPLTR7,BBG000JPKS36,False,2.4508226691042045,True,True,2,True,True
1211.HK,"BYD Co., Ltd.",HKG,XHKG,China,CNE100000296,BBG000G6RLL9,BBG000G6RL93,False,2.4508226691042045,False,True,11,True,True
89888.HK,"Baidu, Inc.",HKG,XHKG,China,KYG070341048,BBG01GXJWMV7,BBG01GXJWMT0,False,2.4508226691042045,False,True,15,False,True
9888.HK,"Baidu, Inc.",HKG,XHKG,China,KYG070341048,BBG00ZMFX1S5,BBG000Q1VPS8,False,2.4508226691042045,True,True,15,True,True
AAPL,Apple Inc.,NMS,XNAS,United States,US0378331005,BBG000B9Y5X2,BBG000B9XRY4,False,3.7479016786570742,True,True,18,True,True
BIDU,"Baidu, Inc.",NMS,XNAS,China,KYG070341048,BBG000QXWHD1,BBG000QXWHD1,False,1.0584459696877415,False,True,15,True,True
BYDDF,"BYD Co., Ltd.",PNK,OTCM,China,CNE100000296,BBG000NZG2R5,BBG000NZG2R5,False,0.0,False,False,11,True,True
BYDDY,"BYD Co., Ltd.",PNK,OTCM,China,US05606L1008,BBG000SFXPB1,BBG000SFXPB1,False,0.0,False,False,11,True,True
BYDIF,BYD Electronic (International) Company Limited,PNK,OTCM,China,HK0285041858,BBG000VKK8W5,BBG000VKK8W5,False,0.0,False,False,2,True,True
BYDIY,BYD Electronic (International) Company Limited,PNK,OTCM,China,US1243121092,BBG004WFYQV3,BBG004WFYQV3,False,0.0,False,False,2,True,True
NVDA,NVIDIA Corporation,NMS,XNAS,United States,US67066G1040,BBG000BBJQV0,BBG000BBJQV0,False,3.7479016786570742,True,True,18,True,True
1 symbol name exchange mic country isin figi composite_figi delisted listing_score primary_listing main_venue listings usual_currency home_known
2 002594.SZ BYD Company Limited SHZ XSHE China CNE100001526 BBG001QVK2K1 BBG000G44NQ0 False 3.999605988967691 True True 11 True True
3 0285.HK BYD Electronic (International) Company Limited HKG XHKG China HK0285041858 BBG000JPLTR7 BBG000JPKS36 False 2.4508226691042045 True True 2 True True
4 1211.HK BYD Co., Ltd. HKG XHKG China CNE100000296 BBG000G6RLL9 BBG000G6RL93 False 2.4508226691042045 False True 11 True True
5 89888.HK Baidu, Inc. HKG XHKG China KYG070341048 BBG01GXJWMV7 BBG01GXJWMT0 False 2.4508226691042045 False True 15 False True
6 9888.HK Baidu, Inc. HKG XHKG China KYG070341048 BBG00ZMFX1S5 BBG000Q1VPS8 False 2.4508226691042045 True True 15 True True
7 AAPL Apple Inc. NMS XNAS United States US0378331005 BBG000B9Y5X2 BBG000B9XRY4 False 3.7479016786570742 True True 18 True True
8 BIDU Baidu, Inc. NMS XNAS China KYG070341048 BBG000QXWHD1 BBG000QXWHD1 False 1.0584459696877415 False True 15 True True
9 BYDDF BYD Co., Ltd. PNK OTCM China CNE100000296 BBG000NZG2R5 BBG000NZG2R5 False 0.0 False False 11 True True
10 BYDDY BYD Co., Ltd. PNK OTCM China US05606L1008 BBG000SFXPB1 BBG000SFXPB1 False 0.0 False False 11 True True
11 BYDIF BYD Electronic (International) Company Limited PNK OTCM China HK0285041858 BBG000VKK8W5 BBG000VKK8W5 False 0.0 False False 2 True True
12 BYDIY BYD Electronic (International) Company Limited PNK OTCM China US1243121092 BBG004WFYQV3 BBG004WFYQV3 False 0.0 False False 2 True True
13 NVDA NVIDIA Corporation NMS XNAS United States US67066G1040 BBG000BBJQV0 BBG000BBJQV0 False 3.7479016786570742 True True 18 True True