siat 3.4.4__py3-none-any.whl → 3.4.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/stock.py
CHANGED
@@ -2453,10 +2453,10 @@ def candlestick_demo(stkcd,fromdate,todate, \
|
|
2453
2453
|
low_txt=text_lang('最低价','Low')
|
2454
2454
|
close_txt=text_lang('收盘价','Close')
|
2455
2455
|
|
2456
|
-
plt.plot(p.index,p['Open'],color='green',ls="--",label=open_txt,marker='>',markersize=10,linewidth=2)
|
2457
|
-
plt.plot(p.index,p['High'],color='cyan',ls="-.",label=high_txt,marker='^',markersize=10,linewidth=2)
|
2458
|
-
plt.plot(p.index,p['Low'],color='k',ls=":",label=low_txt,marker='v',markersize=10,linewidth=2)
|
2459
|
-
plt.plot(p.index,p['Close'],color='blue',ls="-",label=close_txt,marker='<',markersize=10,linewidth=2)
|
2456
|
+
plt.plot(p.index,p['Open'],color='green',ls="--",label=open_txt,marker='>',markersize=10,linewidth=2,alpha=0.5)
|
2457
|
+
plt.plot(p.index,p['High'],color='cyan',ls="-.",label=high_txt,marker='^',markersize=10,linewidth=2,alpha=0.5)
|
2458
|
+
plt.plot(p.index,p['Low'],color='k',ls=":",label=low_txt,marker='v',markersize=10,linewidth=2,alpha=0.5)
|
2459
|
+
plt.plot(p.index,p['Close'],color='blue',ls="-",label=close_txt,marker='<',markersize=10,linewidth=2,alpha=0.5)
|
2460
2460
|
|
2461
2461
|
#绘制蜡烛图
|
2462
2462
|
try:
|
@@ -2468,7 +2468,7 @@ def candlestick_demo(stkcd,fromdate,todate, \
|
|
2468
2468
|
return None
|
2469
2469
|
|
2470
2470
|
#candlestick_ohlc(ax,b,colorup=colorup,colordown=colordown,width=width,alpha=0.5)
|
2471
|
-
candlestick_ohlc(ax,b,colorup=colorup,colordown=colordown,width=width)
|
2471
|
+
candlestick_ohlc(ax,b,colorup=colorup,colordown=colordown,width=width,alpha=0.5)
|
2472
2472
|
|
2473
2473
|
ax.xaxis_date() #draw dates in x axis
|
2474
2474
|
ax.autoscale_view()
|
siat/stock_technical.py
CHANGED
@@ -2267,7 +2267,7 @@ def security_bollinger(ticker,fromdate,todate,boll_days=20, \
|
|
2267
2267
|
|
2268
2268
|
y_label=text_lang('价格',"Price")
|
2269
2269
|
import datetime; today = datetime.date.today()
|
2270
|
-
x_label=text_lang("
|
2270
|
+
x_label=text_lang("数据来源:Sina/EM/Stooq/Yahoo,","Data source: Sina/EM/Stooq/Yahoo, ")+str(today)
|
2271
2271
|
|
2272
2272
|
axhline_value=0
|
2273
2273
|
axhline_label=''
|
@@ -2444,7 +2444,7 @@ def security_bubble(ticker,fromdate,todate,boll_years=7, \
|
|
2444
2444
|
|
2445
2445
|
y_label=indicatorname
|
2446
2446
|
import datetime; today = datetime.date.today()
|
2447
|
-
x_label="
|
2447
|
+
x_label="数据来源:Sina/EM/Stooq/Yahoo,"+str(today)+",估值前置窗口期"+str(boll_years)+"年"
|
2448
2448
|
|
2449
2449
|
axhline_value=0
|
2450
2450
|
axhline_label=''
|
@@ -105,7 +105,7 @@ siat/security_trend2-20240620.py,sha256=QVnEcb7AyVbO77jVqfFsJffGXrX8pgJ9xCfoAKmW
|
|
105
105
|
siat/security_trend2.py,sha256=lUMab8HilXIUPo_z9ZkztMiZ5kf3jAbbCwPPkYbQ1TI,25288
|
106
106
|
siat/setup.py,sha256=up65rQGLmTBkhtaMLowjoQXYmIsnycnm4g1SYmeQS6o,1335
|
107
107
|
siat/shenwan index history test.py,sha256=JCVAzOSEldHalhSFa3pqD8JI_8_djPMQOxpkuYU-Esg,1418
|
108
|
-
siat/stock.py,sha256=
|
108
|
+
siat/stock.py,sha256=22HTy0BfmynrkWuprNGlfRsYuWdTyCV0CJ9t_w5x238,152444
|
109
109
|
siat/stock_advice_linear.py,sha256=-twT7IGP-NEplkL1WPSACcNJjggRB2j4mlAQCkzOAuo,31655
|
110
110
|
siat/stock_base.py,sha256=uISvbRyOGy8p9QREA96CVydgflBkn5L3OXOGKl8oanc,1312
|
111
111
|
siat/stock_china.py,sha256=zyUyghIrkkkYWlHRRP7Hoblxzfp-jrck60pTJpwMahg,91553
|
@@ -117,7 +117,7 @@ siat/stock_prices_kneighbors.py,sha256=WfZvo5EyeBsm-T37zDj7Sl9dPSRq5Bx4JxIJ9IUum
|
|
117
117
|
siat/stock_prices_linear.py,sha256=-OUKRr27L2aStQgJSlJOrJ4gay_G7P-m-7t7cU2Yoqk,13991
|
118
118
|
siat/stock_profile.py,sha256=B3eIwzEmiCqiCaxIlhfdEPsQBoW1PFOe1hkiY3mVF6Y,26038
|
119
119
|
siat/stock_technical-20240620.py,sha256=A4x18mZgYSA8SSiDz4u_O3gd5oVRgbI6JIiBfFY0tVw,116013
|
120
|
-
siat/stock_technical.py,sha256=
|
120
|
+
siat/stock_technical.py,sha256=WpiB-e1u3PqUqu8uyY0xFP2rxXNvY9L9f7DZ7V4LQnU,136062
|
121
121
|
siat/stock_test.py,sha256=E9YJAvOw1VEGJSDI4IZuEjl0tGoisOIlN-g9UqA_IZE,19475
|
122
122
|
siat/stooq.py,sha256=dOc_S5HLrYg48YAKTCs1eX8UTJOOkPM8qLL2KupqlLY,2470
|
123
123
|
siat/temp.py,sha256=gbJ0ioauuo4koTPH6WKUkqcXiQPafnbhU5eKJ6lpdLA,1571
|
@@ -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.4.
|
143
|
-
siat-3.4.
|
144
|
-
siat-3.4.
|
145
|
-
siat-3.4.
|
142
|
+
siat-3.4.5.dist-info/METADATA,sha256=s7PokbLSpdGtRVg9ClmidJgxgmcaYFvsOPze9QP-UlQ,7309
|
143
|
+
siat-3.4.5.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
144
|
+
siat-3.4.5.dist-info/top_level.txt,sha256=r1cVyL7AIKqeAmEJjNR8FMT20OmEzufDstC2gv3NvEY,5
|
145
|
+
siat-3.4.5.dist-info/RECORD,,
|
File without changes
|