siat 2.0.19__py3-none-any.whl → 2.1.5__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/grafix.py +12 -2
- siat/stock.py +35 -9
- siat/stock_china.py +525 -300
- siat/stock_china_test.py +6 -6
- siat/translate.py +2 -2
- {siat-2.0.19.dist-info → siat-2.1.5.dist-info}/METADATA +1 -1
- {siat-2.0.19.dist-info → siat-2.1.5.dist-info}/RECORD +9 -9
- {siat-2.0.19.dist-info → siat-2.1.5.dist-info}/WHEEL +0 -0
- {siat-2.0.19.dist-info → siat-2.1.5.dist-info}/top_level.txt +0 -0
siat/stock_china_test.py
CHANGED
@@ -11,24 +11,24 @@ df = ak.stock_individual_fund_flow(stock=ticker, market=market)
|
|
11
11
|
df.to_excel("D:/BFSU WORK/600519MFI.xlsx",index=False,encoding='utf-8',sheet_name='Sheet1')
|
12
12
|
|
13
13
|
if __name__=='__main__':
|
14
|
-
ticker='600519'
|
14
|
+
ticker='600519.SS'
|
15
15
|
dfp=get_money_flowin(ticker)
|
16
16
|
|
17
17
|
X,ydf=make_sample(dfp,ndays=1,preCumTimes=1)
|
18
18
|
|
19
|
-
scaler_X1=
|
20
|
-
scaler_X2=
|
21
|
-
scaler_X3=
|
19
|
+
scaler_X1=preprocess(X,preproctype='min-max')
|
20
|
+
scaler_X2=preprocess(X,preproctype='0-1')
|
21
|
+
scaler_X3=preprocess(X,preproctype='log')
|
22
22
|
|
23
23
|
|
24
24
|
#==============================================================================
|
25
|
-
ticker='600519'
|
25
|
+
ticker='600519.ss'
|
26
26
|
|
27
27
|
forecast_direction_knn(ticker,ndays=5,max_neighbours=2,max_RS=2)
|
28
28
|
|
29
29
|
if __name__=='__main__':
|
30
30
|
df=get_money_flowin(ticker)
|
31
|
-
df=price_price_knn('600519',df,ndays=1,max_neighbours=3,max_RS=2)
|
31
|
+
df=price_price_knn('600519.SS',df,ndays=1,max_neighbours=3,max_RS=2)
|
32
32
|
|
33
33
|
forecast_price_knn(ticker,ndays=1,max_neighbours=2,max_RS=2)
|
34
34
|
|
siat/translate.py
CHANGED
@@ -781,7 +781,7 @@ def codetranslate0(code):
|
|
781
781
|
#股票:电商、互联网
|
782
782
|
['AMZN','亚马逊'],['Amazon','亚马逊'],
|
783
783
|
['SHOP','Shopify'],['MELI','美客多'],
|
784
|
-
['EBAY','易贝'],['eBay','易贝'],['
|
784
|
+
['EBAY','易贝'],['eBay','易贝'],['META','脸书'],['ZM','ZOOM'],
|
785
785
|
['GOOG','谷歌'],['TWTR','推特'],
|
786
786
|
['VIPS','唯品会'],['Vipshop','唯品会'],
|
787
787
|
['PDD','拼多多'],['Pinduoduo','拼多多'],
|
@@ -1284,7 +1284,7 @@ def codetranslate1(code):
|
|
1284
1284
|
#股票:电商、互联网
|
1285
1285
|
['AMZN','Amazon'],['Amazon','Amazon'],
|
1286
1286
|
['SHOP','Shopify'],['MELI','Mercado Libre'],
|
1287
|
-
['EBAY','eBay'],['eBay','eBay'],['
|
1287
|
+
['EBAY','eBay'],['eBay','eBay'],['META','META'],['ZM','ZOOM'],
|
1288
1288
|
['GOOG','Google'],['TWTR','Twitter'],
|
1289
1289
|
['VIPS','Vipshop'],['Vipshop','Vipshop'],
|
1290
1290
|
['PDD','Pinduoduo'],['Pinduoduo','Pinduoduo'],
|
@@ -54,7 +54,7 @@ siat/fund_test.py,sha256=V4ADb8Gsp8gyeFTwcgRsJBpnUih_O-Q2V1ILc5oKjK8,1116
|
|
54
54
|
siat/future_china.py,sha256=PCHpxxC-eBDo3P_nkSeQzMnVCt-H7YAZEDJcxfkdnuU,17513
|
55
55
|
siat/future_china_test.py,sha256=BrSzmDVaOHki6rntOtosmRn-6dkfOBuLulJNqh7MOpc,1163
|
56
56
|
siat/global_index_test.py,sha256=hnFp3wqqzzL-kAP8mgxDZ54Bd5Ijf6ENi5YJlGBgcXw,2402
|
57
|
-
siat/grafix.py,sha256=
|
57
|
+
siat/grafix.py,sha256=SslCHur0_9TIIV75kLabaFX8V4LARoH-CldwA0ZDcwo,64367
|
58
58
|
siat/grafix_test.py,sha256=kXvcpLgQNO7wd30g_bWljLj5UH7bIVI0_dUtXbfiKR0,3150
|
59
59
|
siat/holding_risk.py,sha256=108tiI7DDl8uUZkyUiq6Y-McKeim1mxYsgqgk7CcXw8,30544
|
60
60
|
siat/holding_risk_test.py,sha256=FRlw_9wFG98BYcg_cSj95HX5WZ1TvkGaOUdXD7-V86s,474
|
@@ -88,11 +88,11 @@ siat/security_prices.py,sha256=xDK2HSsiyedQIvjcU56yZZCa9mnTNQfJfVWnx9ihPVs,72184
|
|
88
88
|
siat/security_prices_test.py,sha256=OEphoJ87NPKoNow1QA8EU_5MUYrJF-qKoWKNapVfZNI,10779
|
89
89
|
siat/setup.py,sha256=up65rQGLmTBkhtaMLowjoQXYmIsnycnm4g1SYmeQS6o,1335
|
90
90
|
siat/shenwan index history test.py,sha256=JCVAzOSEldHalhSFa3pqD8JI_8_djPMQOxpkuYU-Esg,1418
|
91
|
-
siat/stock.py,sha256=
|
91
|
+
siat/stock.py,sha256=swB1HjQhImaQ6zEsSHgiLODXFHUPYCbkU5Y6dCIaEvc,118820
|
92
92
|
siat/stock_advice_linear.py,sha256=-twT7IGP-NEplkL1WPSACcNJjggRB2j4mlAQCkzOAuo,31655
|
93
93
|
siat/stock_base.py,sha256=uISvbRyOGy8p9QREA96CVydgflBkn5L3OXOGKl8oanc,1312
|
94
|
-
siat/stock_china.py,sha256=
|
95
|
-
siat/stock_china_test.py,sha256=
|
94
|
+
siat/stock_china.py,sha256=jVSuCWr6TaTx0Y0sgqN-dU9ZL72uKiI_MzvugvH9NaI,82785
|
95
|
+
siat/stock_china_test.py,sha256=eO4HWsSvc6qezl0LndjtL24lViEyrBjH_sx2c2Y2Q2M,1294
|
96
96
|
siat/stock_info.pickle,sha256=o4M-pcN8Sh8QiwZQAZWY1aelI4xgIGIxors7n2uHSJI,1266744
|
97
97
|
siat/stock_info_test.py,sha256=gfG3DbhDACbtD8wnv_R6zhj0t11XaC8NX8uLD9Qv3Fo,6122
|
98
98
|
siat/stock_list_china_test.py,sha256=gv14UwMMvkZqtb6G7DCTSuehIwVHuVwu7w60p6gyHoo,1014
|
@@ -109,12 +109,12 @@ siat/transaction_test.py,sha256=Z8g1LJCN4-mnUByXMUMoFmN0t105cbmsz2QmvSuIkbU,1858
|
|
109
109
|
siat/translate-20230125.py,sha256=NPPSXhT38s5t9fzMvl_fvi4ckSB73ThLmZetVI-xGdU,117953
|
110
110
|
siat/translate-20230206.py,sha256=-vtI125WyaJhmPotOpDAmclt_XnYVaWU9ByLWZ6FyYE,118133
|
111
111
|
siat/translate-20230215.py,sha256=TJgtPE3n8IjljmZ4Pefy8dmHoNdFF-1zpML6BhA9FKE,121657
|
112
|
-
siat/translate.py,sha256=
|
112
|
+
siat/translate.py,sha256=nS9gqygAkb-2M2utEjucdw-5kWe7hCrDW1OqX3sed7E,133928
|
113
113
|
siat/universal_test.py,sha256=CDAOffW1Rvs-TcNN5giWVvHMlch1w4dp-w5SIV9jXL0,3936
|
114
114
|
siat/valuation_china.py,sha256=gYYXeT9bBPyQ251TCsYlibWcu6JA8x-YOKqLUEeLE7U,51342
|
115
115
|
siat/valuation_market_china_test.py,sha256=gbJ0ioauuo4koTPH6WKUkqcXiQPafnbhU5eKJ6lpdLA,1571
|
116
116
|
siat/var_model_validation.py,sha256=zB_Skk_tmzIR15l6oAW3am4HBGVIG-eZ8gJhCdXZ8Qw,14859
|
117
|
-
siat-2.
|
118
|
-
siat-2.
|
119
|
-
siat-2.
|
120
|
-
siat-2.
|
117
|
+
siat-2.1.5.dist-info/METADATA,sha256=l813XBKUMdV7LKxkkj9w92tLkcHooA-SNvcFocfZ2ts,1410
|
118
|
+
siat-2.1.5.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
|
119
|
+
siat-2.1.5.dist-info/top_level.txt,sha256=r1cVyL7AIKqeAmEJjNR8FMT20OmEzufDstC2gv3NvEY,5
|
120
|
+
siat-2.1.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|