siat 3.3.1__py3-none-any.whl → 3.3.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- siat/fund_china.pickle +0 -0
- siat/stock_info.pickle +0 -0
- siat/translate.py +21 -6
- {siat-3.3.1.dist-info → siat-3.3.2.dist-info}/METADATA +1 -1
- {siat-3.3.1.dist-info → siat-3.3.2.dist-info}/RECORD +7 -7
- {siat-3.3.1.dist-info → siat-3.3.2.dist-info}/WHEEL +0 -0
- {siat-3.3.1.dist-info → siat-3.3.2.dist-info}/top_level.txt +0 -0
siat/fund_china.pickle
CHANGED
Binary file
|
siat/stock_info.pickle
CHANGED
Binary file
|
siat/translate.py
CHANGED
@@ -3108,11 +3108,22 @@ def update_all_names2files():
|
|
3108
3108
|
功能:更新股票(中港美)、基金(沪深)和债券(沪深)名称至文件中(S:/siat)
|
3109
3109
|
"""
|
3110
3110
|
print(" Updating stock names in China, China HK and US markets ... ...")
|
3111
|
-
|
3112
|
-
|
3113
|
-
|
3114
|
-
|
3115
|
-
|
3111
|
+
try:
|
3112
|
+
df1=update_stock_names()
|
3113
|
+
except:
|
3114
|
+
pass
|
3115
|
+
|
3116
|
+
print("\n Updating exchange fund names in China markets ... ...")
|
3117
|
+
try:
|
3118
|
+
df2=update_fund_names_china()
|
3119
|
+
except:
|
3120
|
+
pass
|
3121
|
+
|
3122
|
+
print("\n Updating exchange bond names in China markets ... ...")
|
3123
|
+
try:
|
3124
|
+
df3=update_exchange_bond_name_china()
|
3125
|
+
except:
|
3126
|
+
pass
|
3116
3127
|
|
3117
3128
|
return
|
3118
3129
|
|
@@ -3292,6 +3303,7 @@ def ticker1_name(ticker,ticker_type='auto'):
|
|
3292
3303
|
ttlist=['bond','stock','fund']
|
3293
3304
|
|
3294
3305
|
#循环查询,查到则跳出
|
3306
|
+
lang=check_language()
|
3295
3307
|
tname=symbol
|
3296
3308
|
for tt in ttlist:
|
3297
3309
|
#查找证券名称文件:优先股票
|
@@ -3302,7 +3314,10 @@ def ticker1_name(ticker,ticker_type='auto'):
|
|
3302
3314
|
if '.HK' in symbol and len(symbol)==8: symbol=symbol[1:]
|
3303
3315
|
|
3304
3316
|
try:
|
3305
|
-
|
3317
|
+
if lang == "Chinese":
|
3318
|
+
tname=df1[df1['SYMBOL']==symbol]['CNAME'].values[0]
|
3319
|
+
else:
|
3320
|
+
tname=df1[df1['SYMBOL']==symbol]['ENAME'].values[0]
|
3306
3321
|
except: pass
|
3307
3322
|
if tname != symbol: break
|
3308
3323
|
|
@@ -52,7 +52,7 @@ siat/financials_china_test2_fin_indicator.py,sha256=WkNlVW_0hGegdw1rzg4BP_dKR-sm
|
|
52
52
|
siat/financials_test.py,sha256=HJ3CPo_Xckz2wXi3AEP6ZNWCF1Duc1pLi0Y10USiImc,23829
|
53
53
|
siat/fred_test.py,sha256=KF50ssSbsfpa_kT6iuomD0vG4eXztAcOasZxg1OGX5w,1201
|
54
54
|
siat/fund.py,sha256=wMDORsCBV8ZXfgwbtq-0bu3qqWY66dHnbqgllW0gWCo,24637
|
55
|
-
siat/fund_china.pickle,sha256=
|
55
|
+
siat/fund_china.pickle,sha256=x_nPPdwy7wzIhtZQOplgDyTSyyUdXy9lbNxWysq7N6k,2437771
|
56
56
|
siat/fund_china.py,sha256=rPGnYSPkbZUqtBoJnxLZLIQ8MjD8vD3TovCMfletBP4,111839
|
57
57
|
siat/fund_china_test.py,sha256=-Bh6m0J0GPpIbYXx-H2vpzJoNFI6pE2C2jVPa8DazgE,6649
|
58
58
|
siat/fund_test.py,sha256=V4ADb8Gsp8gyeFTwcgRsJBpnUih_O-Q2V1ILc5oKjK8,1116
|
@@ -110,7 +110,7 @@ siat/stock_advice_linear.py,sha256=-twT7IGP-NEplkL1WPSACcNJjggRB2j4mlAQCkzOAuo,3
|
|
110
110
|
siat/stock_base.py,sha256=uISvbRyOGy8p9QREA96CVydgflBkn5L3OXOGKl8oanc,1312
|
111
111
|
siat/stock_china.py,sha256=zyUyghIrkkkYWlHRRP7Hoblxzfp-jrck60pTJpwMahg,91553
|
112
112
|
siat/stock_china_test.py,sha256=eO4HWsSvc6qezl0LndjtL24lViEyrBjH_sx2c2Y2Q2M,1294
|
113
|
-
siat/stock_info.pickle,sha256=
|
113
|
+
siat/stock_info.pickle,sha256=XqcFwQrXoBXAzZnE6rnfpI7zETXZS2usqzsx2ff7MEg,1319005
|
114
114
|
siat/stock_info_test.py,sha256=gfG3DbhDACbtD8wnv_R6zhj0t11XaC8NX8uLD9Qv3Fo,6122
|
115
115
|
siat/stock_list_china_test.py,sha256=gv14UwMMvkZqtb6G7DCTSuehIwVHuVwu7w60p6gyHoo,1014
|
116
116
|
siat/stock_prices_kneighbors.py,sha256=WfZvo5EyeBsm-T37zDj7Sl9dPSRq5Bx4JxIJ9IUum6s,36738
|
@@ -131,7 +131,7 @@ siat/transaction_test.py,sha256=Z8g1LJCN4-mnUByXMUMoFmN0t105cbmsz2QmvSuIkbU,1858
|
|
131
131
|
siat/translate-20230125.py,sha256=NPPSXhT38s5t9fzMvl_fvi4ckSB73ThLmZetVI-xGdU,117953
|
132
132
|
siat/translate-20230206.py,sha256=-vtI125WyaJhmPotOpDAmclt_XnYVaWU9ByLWZ6FyYE,118133
|
133
133
|
siat/translate-20230215.py,sha256=TJgtPE3n8IjljmZ4Pefy8dmHoNdFF-1zpML6BhA9FKE,121657
|
134
|
-
siat/translate.py,sha256=
|
134
|
+
siat/translate.py,sha256=_3fOZozd4RsJGJaITSn7Kil4PvmQFGpKVKHbcLRiBZI,218193
|
135
135
|
siat/translate_20240606.py,sha256=63IyHWEU3Uz9mjwyuAX3fqY4nUMdwh0ICQAgmgPXP7Y,215121
|
136
136
|
siat/universal_test.py,sha256=CDAOffW1Rvs-TcNN5giWVvHMlch1w4dp-w5SIV9jXL0,3936
|
137
137
|
siat/valuation.py,sha256=NKfeZMdDJOW42oLVHob6eSVBXUqlN1OCnnzwyGAst8c,48855
|
@@ -139,7 +139,7 @@ siat/valuation_china.py,sha256=EkZQaVkoBjM0c4MCNbaX-bMnlG0e3FXeaWczZDnkptU,67784
|
|
139
139
|
siat/valuation_market_china_test.py,sha256=gbJ0ioauuo4koTPH6WKUkqcXiQPafnbhU5eKJ6lpdLA,1571
|
140
140
|
siat/var_model_validation.py,sha256=R0caWnuZarrRg9939hxh3vJIIpIyPfvelYmzFNZtPbo,14910
|
141
141
|
siat/yf_name.py,sha256=H1EM8YYXA8nQHIqsJlso0I3HKPiJLT3QujO4gRVQXWs,13945
|
142
|
-
siat-3.3.
|
143
|
-
siat-3.3.
|
144
|
-
siat-3.3.
|
145
|
-
siat-3.3.
|
142
|
+
siat-3.3.2.dist-info/METADATA,sha256=hCA4-ijGDtrWLphZmALyrRCRNi2L6dNLfstlUOODTpc,7309
|
143
|
+
siat-3.3.2.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
144
|
+
siat-3.3.2.dist-info/top_level.txt,sha256=r1cVyL7AIKqeAmEJjNR8FMT20OmEzufDstC2gv3NvEY,5
|
145
|
+
siat-3.3.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|