1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-06-06 05:51:17 +08:00

format with black

This commit is contained in:
Linlang
2025-03-10 17:04:51 +08:00
parent 84373de6e5
commit 06c8c4e37f

View File

@@ -204,7 +204,7 @@ def get_hs_stock_symbols() -> list:
{600000.ss, 600001.ss, 600002.ss, 600003.ss, ...}
"""
stock_info_a_code_name_df = ak.stock_info_a_code_name()
stock_codes = stock_info_a_code_name_df['code'].tolist()
stock_codes = stock_info_a_code_name_df["code"].tolist()
_symbols = [code for code in stock_codes if code and code.strip()]
if len(_symbols) < 3900: