siat 2.13.17__py3-none-any.whl → 2.13.18__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
@@ -1738,12 +1738,14 @@ def compare_msecurity(tickers,measure,start,end, \
|
|
1738
1738
|
for c in collist:
|
1739
1739
|
pos=collist.index(c)
|
1740
1740
|
cfactor=meanlist2[pos]
|
1741
|
-
dfs2[c]=dfs2[c].apply(lambda x: x/cfactor)
|
1741
|
+
#dfs2[c]=dfs2[c].apply(lambda x: x/cfactor)
|
1742
|
+
dfs2[c]=dfs2[c].apply(lambda x: x/abs(cfactor))
|
1742
1743
|
elif scaling_option == 'percentage':
|
1743
1744
|
for c in collist:
|
1744
1745
|
pos=collist.index(c)
|
1745
1746
|
cfactor=meanlist[pos]
|
1746
|
-
dfs2[c]=dfs2[c].apply(lambda x: round(x/cfactor*100,2))
|
1747
|
+
#dfs2[c]=dfs2[c].apply(lambda x: round(x/cfactor*100,2))
|
1748
|
+
dfs2[c]=dfs2[c].apply(lambda x: round(x/abs(cfactor)*100,2))
|
1747
1749
|
elif scaling_option == 'change%':
|
1748
1750
|
plus_sign=True
|
1749
1751
|
for c in collist:
|
@@ -1,9 +1,9 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: siat
|
3
|
-
Version: 2.13.
|
3
|
+
Version: 2.13.18
|
4
4
|
Summary: Securities Investment Analysis Tools (siat)
|
5
5
|
Home-page: https://pypi.org/project/siat/
|
6
|
-
Author: Prof. WANG Dehong, Business School,
|
6
|
+
Author: Prof. WANG Dehong, International Business School, Beijing Foreign Studies University
|
7
7
|
Author-email: wdehong2000@163.com
|
8
8
|
License: Copyright (C) WANG Dehong, 2024. For educational purpose only!
|
9
9
|
Requires-Dist: pandas-datareader
|
@@ -31,10 +31,10 @@ Requires-Dist: luddite
|
|
31
31
|
Requires-Dist: pendulum
|
32
32
|
|
33
33
|
|
34
|
-
|
35
|
-
where
|
34
|
+
Security Investment Analysis Toolkit (siat) is designed to use for making case studies in learning security investment,
|
35
|
+
where cases can be replayed, updated and re-created in different securities,
|
36
36
|
different time lines and different measurements.
|
37
|
-
The plug-in is for teaching and learning purposes
|
37
|
+
The plug-in is only licensed for teaching and learning purposes, not for commercial use.
|
38
38
|
The author is not responsible for any results of applying this plug-in in real
|
39
39
|
investment activities.
|
40
40
|
|
@@ -95,7 +95,7 @@ siat/security_prices_test.py,sha256=OEphoJ87NPKoNow1QA8EU_5MUYrJF-qKoWKNapVfZNI,
|
|
95
95
|
siat/security_trend.py,sha256=HEGza36mpdkyvF69cuBjD9FETe-ztWGjTBbI2AS6AhY,15262
|
96
96
|
siat/setup.py,sha256=up65rQGLmTBkhtaMLowjoQXYmIsnycnm4g1SYmeQS6o,1335
|
97
97
|
siat/shenwan index history test.py,sha256=JCVAzOSEldHalhSFa3pqD8JI_8_djPMQOxpkuYU-Esg,1418
|
98
|
-
siat/stock.py,sha256=
|
98
|
+
siat/stock.py,sha256=QUbS7SM3rl4aCC6sBSK-CMJFcOXvtPzgpuKGIUmO8zI,140045
|
99
99
|
siat/stock_advice_linear.py,sha256=-twT7IGP-NEplkL1WPSACcNJjggRB2j4mlAQCkzOAuo,31655
|
100
100
|
siat/stock_base.py,sha256=uISvbRyOGy8p9QREA96CVydgflBkn5L3OXOGKl8oanc,1312
|
101
101
|
siat/stock_china.py,sha256=B1hbZCxJuE5GVvGGmf_rSmQodYHmEFuyiDrUvxHhg4w,83969
|
@@ -126,7 +126,7 @@ siat/valuation.py,sha256=3VKrO9b9xY9dOJGGuF0ZhytzB5d2pCx3kO3TtMml7mo,44025
|
|
126
126
|
siat/valuation_china.py,sha256=oEQRrktJNHiOG1mJSQN1aSSQAQrwrg-ppIHyNVjMjNg,67603
|
127
127
|
siat/valuation_market_china_test.py,sha256=gbJ0ioauuo4koTPH6WKUkqcXiQPafnbhU5eKJ6lpdLA,1571
|
128
128
|
siat/var_model_validation.py,sha256=zB_Skk_tmzIR15l6oAW3am4HBGVIG-eZ8gJhCdXZ8Qw,14859
|
129
|
-
siat-2.13.
|
130
|
-
siat-2.13.
|
131
|
-
siat-2.13.
|
132
|
-
siat-2.13.
|
129
|
+
siat-2.13.18.dist-info/METADATA,sha256=x6QZwrznAMS4MvpODdQ4LNDz9PKNaweEoqzdJY6lkv4,1449
|
130
|
+
siat-2.13.18.dist-info/WHEEL,sha256=2wepM1nk4DS4eFpYrW1TTqPcoGNfHhhO_i5m4cOimbo,92
|
131
|
+
siat-2.13.18.dist-info/top_level.txt,sha256=r1cVyL7AIKqeAmEJjNR8FMT20OmEzufDstC2gv3NvEY,5
|
132
|
+
siat-2.13.18.dist-info/RECORD,,
|
File without changes
|
File without changes
|