siat 3.6.1__py3-none-any.whl → 3.6.7__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/translate.py CHANGED
@@ -1089,11 +1089,11 @@ def codetranslate0(code):
1089
1089
  ['^SMI','瑞士SMI指数'],['^MOEX','俄罗斯莫斯科指数(卢布计价)'],
1090
1090
  ['^UX','乌克兰UX指数'],['^RTS','俄罗斯市值加权指数(美元计价)'],
1091
1091
  ['^AEX','荷兰阿姆斯特丹指数'],['^ATH','希腊雅典综合指数'],
1092
- ['^BEL20','比利时20指数'],['^BVP','巴西BVP指数'],
1093
- ['^IPC','墨西哥IPC指数'],['^IPSA','智利IPSA指数'],
1092
+ ['^BEL20','比利时20指数'],['^BVSP','巴西圣保罗指数'],
1093
+ ['^MXX','墨西哥IPC指数'],['^IPSA','智利IPSA指数'],
1094
1094
  ['^JCI','印尼雅加达指数'],['^KOSPI','韩国综合指数'],
1095
1095
  ['^KLCI','马来西亚吉隆坡指数'],
1096
- ['^MRV','阿根廷MERVAL指数'],['M.BA','阿根廷MERVAL指数'],
1096
+ ['^MRV','阿根廷MERVAL指数'],['^MERV','阿根廷MERVAL指数'],['M.BA','阿根廷MERVAL指数'],
1097
1097
  ['^MT30','沙特TASI指数'],['^NZ50','新西兰50指数'],
1098
1098
  ['^PSI20','葡萄牙PSI20指数'],['^PSEI','菲律宾PSEi指数'],
1099
1099
  ['^SET','泰国SET指数'],['^STI','新加坡海峡时报指数'],
@@ -1268,6 +1268,8 @@ def codetranslate0(code):
1268
1268
 
1269
1269
  #期货==================================================================
1270
1270
  ["HG=F",'COMEX铜矿石期货'],["CL=F",'NYM原油期货'],
1271
+ ["NG=F",'NYM天然气期货'],["MTF=F",'NYM煤炭期货'],
1272
+ ["GC=F",'COMEX黄金期货'],["MGC=F",'COMEX微型黄金期货'],
1271
1273
  ["6B=F",'CME英镑兑美元期货'],
1272
1274
  ["S=F",'CBT大豆期货'],["C=F",'CBT玉米期货'],
1273
1275
  ["ES=F",'CME标普500指数期货'],["YM=F",'CBT道指期货'],
siat/valuation.py CHANGED
@@ -942,8 +942,8 @@ def security_valuation(tickers,indicators,start,end, \
942
942
  preprocess='none',scaling_option='start', \
943
943
  twinx=False,loc1='best',loc2='best', \
944
944
  graph=True,facecolor='whitesmoke', \
945
- attention_value='', \
946
- attention_point='', \
945
+ attention_value='',attention_value_area='', \
946
+ attention_point='',attention_point_area='', \
947
947
  annotate=False,annotate_value=False, \
948
948
  mark_top=False,mark_bottom=False,mark_end=False):
949
949
  """
@@ -1004,9 +1004,9 @@ def security_valuation(tickers,indicators,start,end, \
1004
1004
  axhline_value=0,axhline_label='', \
1005
1005
  title_txt=titletxt,data_label=False, \
1006
1006
  resample_freq='D',loc=loc1,facecolor=facecolor, \
1007
- attention_value=attention_value, \
1008
- attention_point=attention_point, \
1009
- annotate=annotate,annotate_value=annotate_value, \
1007
+ attention_value=attention_value,attention_value_area=attention_value_area, \
1008
+ attention_point=attention_point,attention_point_area=attention_point_area, \
1009
+ annotate=annotate,annotate_value=annotate_value, \
1010
1010
  mark_top=mark_top,mark_bottom=mark_bottom,mark_end=mark_end)
1011
1011
 
1012
1012
  return df
@@ -1043,9 +1043,9 @@ def security_valuation(tickers,indicators,start,end, \
1043
1043
  twinx=twinx, \
1044
1044
  resample_freq='D',loc1=loc1,loc2=loc2, \
1045
1045
  color1='red',color2='blue',facecolor=facecolor, \
1046
- yline=attention_value, \
1047
- xline=attention_point
1048
- )
1046
+ yline=attention_value,attention_value_area=attention_value_area, \
1047
+ xline=attention_point,attention_point_area=attention_point_area, \
1048
+ )
1049
1049
 
1050
1050
  return df
1051
1051
 
@@ -1084,8 +1084,8 @@ def security_valuation(tickers,indicators,start,end, \
1084
1084
  twinx=twinx, \
1085
1085
  resample_freq='D',loc1=loc1,loc2=loc2, \
1086
1086
  color1='red',color2='blue',facecolor=facecolor, \
1087
- yline=attention_value, \
1088
- xline=attention_point
1087
+ yline=attention_value,attention_value_area=attention_value_area, \
1088
+ xline=attention_point,attention_point_area=attention_point_area, \
1089
1089
  )
1090
1090
 
1091
1091
  return df
@@ -1122,8 +1122,8 @@ def security_valuation(tickers,indicators,start,end, \
1122
1122
  annotate=annotate,annotate_value=annotate_value, \
1123
1123
  plus_sign=plus_sign, \
1124
1124
  facecolor=facecolor, \
1125
- attention_value=attention_value, \
1126
- attention_point=attention_point, \
1125
+ attention_value=attention_value,attention_value_area=attention_value_area, \
1126
+ attention_point=attention_point,attention_point_area=attention_point_area, \
1127
1127
  mark_top=mark_top,mark_bottom=mark_bottom,mark_end=mark_end)
1128
1128
 
1129
1129
  return df
@@ -1168,9 +1168,8 @@ def security_valuation(tickers,indicators,start,end, \
1168
1168
  resample_freq='D',loc=loc1,plus_sign=plus_sign, \
1169
1169
  annotate=annotate,annotate_value=annotate_value, \
1170
1170
  facecolor=facecolor, \
1171
- attention_value=attention_value, \
1172
- attention_point=attention_point, \
1173
-
1171
+ attention_value=attention_value,attention_value_area=attention_value_area, \
1172
+ attention_point=attention_point,attention_point_area=attention_point_area, \
1174
1173
  mark_top=mark_top,mark_bottom=mark_bottom,mark_end=mark_end)
1175
1174
 
1176
1175
  return df
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: siat
3
- Version: 3.6.1
3
+ Version: 3.6.7
4
4
  Summary: Securities Investment Analysis Tools (siat)
5
5
  Home-page: https://pypi.org/project/siat/
6
6
  Author: Prof. WANG Dehong, International Business School, Beijing Foreign Studies University
@@ -15,7 +15,7 @@ siat/bond_china.py,sha256=eYv-nMoWSS5fZ4VxnuJ29QFY9GUS6meGiIc0Xjm1fQI,3038
15
15
  siat/bond_test.py,sha256=yUOFw7ddGU-kb1rJdnsjkJWziDNgUR7OLDA7F7Ub91A,5246
16
16
  siat/bond_zh_sina.py,sha256=26BohGcS120utwqg9dJvdGm5OkuNpNu5bco80uOuQpU,4423
17
17
  siat/capm_beta.py,sha256=cxXdRVBQBllhbfz1LeTJAIWvyRYhW54nhtNUXv4HwS0,29063
18
- siat/capm_beta2.py,sha256=kT1cEWs35swRECHzi0umZehLz8mEQpIHK9xSW8oG2co,31746
18
+ siat/capm_beta2.py,sha256=-ZYYp1HK7SkfTR3vBKZ0QVC4Q_tbST2O4MGbX_V77J0,32031
19
19
  siat/capm_beta_test.py,sha256=ImR0c5mc4hIl714XmHztdl7qg8v1E2lycKyiqnFj6qs,1745
20
20
  siat/cmat_commons.py,sha256=Nj9Kf0alywaztVoMVeVVL_EZk5jRERJy8R8kBw88_Tg,38116
21
21
  siat/common.py,sha256=dqvWnw2gyMVo7l2dMyhJeaJZJIyUCVcTMTXC1ryHQos,160442
@@ -60,7 +60,7 @@ siat/future_china.py,sha256=F-HsIf2Op8Z22RzTjet1g8COzldgnMjFNSXsAkeGyWo,17595
60
60
  siat/future_china_test.py,sha256=BrSzmDVaOHki6rntOtosmRn-6dkfOBuLulJNqh7MOpc,1163
61
61
  siat/global_index_test.py,sha256=hnFp3wqqzzL-kAP8mgxDZ54Bd5Ijf6ENi5YJlGBgcXw,2402
62
62
  siat/google_authenticator.py,sha256=ZUbZR8OW0IAKDbcYtlqGqIpZdERpFor9NccFELxg9yI,1637
63
- siat/grafix.py,sha256=YDpAo2N-YD3G5tilMErYgPT30Fue05ogul6XI8tBebo,97976
63
+ siat/grafix.py,sha256=yhWxVk0b-u5ZbP_DS32tZLudl5rwFlUBquiF4JrhXq8,107612
64
64
  siat/grafix_test.py,sha256=kXvcpLgQNO7wd30g_bWljLj5UH7bIVI0_dUtXbfiKR0,3150
65
65
  siat/holding_risk.py,sha256=G3wpaewAKF9CwEqRpr4khyuDu9SU2EGyQUHdk7cmHOA,30693
66
66
  siat/holding_risk_test.py,sha256=FRlw_9wFG98BYcg_cSj95HX5WZ1TvkGaOUdXD7-V86s,474
@@ -88,7 +88,7 @@ siat/option_sina_api_test.py,sha256=dn-k_wrQnAaNKHoROvWJEc7lqlU0bwiV2Aa4usWAFGM,
88
88
  siat/proxy_test.py,sha256=erQJrmGs2X46z8Gb1h-7GYQ0rTUcaR8dxHExWoBz2eM,2610
89
89
  siat/quandl_test.py,sha256=EcPoXnLuqzPl5dKyVEZi3j3PJZFpsnU_iNPhLWC9p-A,1552
90
90
  siat/risk_adjusted_return.py,sha256=oRUOagpQlGB56R1xIHZoYwAi42RqcZl0R-JCVBCKVe0,55086
91
- siat/risk_adjusted_return2.py,sha256=r5o0tVAJZmlWvdHYiN8SlCCaShEVYCyNCdPuFzoUO-Y,83913
91
+ siat/risk_adjusted_return2.py,sha256=59YDzhbvr8PRRzb1Ew_8fuGqV4lEitm6itpk54xEb48,84335
92
92
  siat/risk_adjusted_return_test.py,sha256=m_VHL5AtT74cJv5i7taTeTfnkX48y0AFJk5phawyYWg,3416
93
93
  siat/risk_evaluation.py,sha256=I6B3gty-t--AkDCO0tKF-291YfpnF-IkXcFjqNKCt9I,76286
94
94
  siat/risk_evaluation_test.py,sha256=YEXM96gKzTfwN4U61AS4Rr1tV7KgUvn4rRC6f3iMw9s,3731
@@ -102,10 +102,10 @@ siat/security_prices.py,sha256=Zhn6pvwLy996mbBHDorbqWQdQw9RHdr9m0yzke3ya8M,10859
102
102
  siat/security_prices_test.py,sha256=OEphoJ87NPKoNow1QA8EU_5MUYrJF-qKoWKNapVfZNI,10779
103
103
  siat/security_trend.py,sha256=o0vpWdrJkmODCP94X-Bvn-w7efHhj9HpUYBHtLl55D0,17240
104
104
  siat/security_trend2-20240620.py,sha256=QVnEcb7AyVbO77jVqfFsJffGXrX8pgJ9xCfoAKmWBPk,24854
105
- siat/security_trend2.py,sha256=Hu2drmy7ryy1q3VNRcPQZB4_LXzvAuZEU2QJgC1jlwE,29013
105
+ siat/security_trend2.py,sha256=mamJtFAbXC1orGgMEmp0taPk-yUqWm-jdGf64bjhn2Q,29756
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=0HnhZjbddNg1ZOeUgsSg0gdm4bqq-VACY-s8sJUpDdo,158372
108
+ siat/stock.py,sha256=sDYEXGE9XYnzRYzxv1AUJqMqAu6ISZx7skiu82L1Z7Y,158613
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
@@ -131,17 +131,17 @@ 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=4A5uovLiv2wwfMOc71hnKpxCMp8WV6mDohkARKBdSB8,241180
134
+ siat/translate.py,sha256=aAWk9museEsdxDstXjEy_SXiEzvKD_6fDi0W4TrBiwI,241364
135
135
  siat/translate_20240606.py,sha256=63IyHWEU3Uz9mjwyuAX3fqY4nUMdwh0ICQAgmgPXP7Y,215121
136
136
  siat/translate_241003_keep.py,sha256=un7Fqe1v35MXsja5exZgjmLzrZtt66NARZIGlyFuGGU,218747
137
137
  siat/universal_test.py,sha256=CDAOffW1Rvs-TcNN5giWVvHMlch1w4dp-w5SIV9jXL0,3936
138
- siat/valuation.py,sha256=4t3tLWNC-eh5dmtefzpQiElo0I_5l6zD8vzOXizhpdg,50309
138
+ siat/valuation.py,sha256=o5FsEBkYGCgyEg2m9oF3_KdTzUxPIsEeJCYtsTDZ8OE,50514
139
139
  siat/valuation_china.py,sha256=CVp1IwIsF3Om0J29RGkyxZLt4n9Ug-ua_RKhLwL9fUQ,69624
140
140
  siat/valuation_market_china_test.py,sha256=gbJ0ioauuo4koTPH6WKUkqcXiQPafnbhU5eKJ6lpdLA,1571
141
141
  siat/var_model_validation.py,sha256=R0caWnuZarrRg9939hxh3vJIIpIyPfvelYmzFNZtPbo,14910
142
142
  siat/yf_name.py,sha256=7uLAcOc8XwfYDjuLqWDiUZHfdMpEbytW7E2ayNNT3f4,20069
143
- siat-3.6.1.dist-info/LICENSE,sha256=NTEMMROY9_4U1szoKC3N2BLHcDd_o5uTgqdVH8tbApw,1071
144
- siat-3.6.1.dist-info/METADATA,sha256=baefddzhmDzGjz9TMSNKBzecLcSYV1WywCO5yV3WTcE,8009
145
- siat-3.6.1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
146
- siat-3.6.1.dist-info/top_level.txt,sha256=r1cVyL7AIKqeAmEJjNR8FMT20OmEzufDstC2gv3NvEY,5
147
- siat-3.6.1.dist-info/RECORD,,
143
+ siat-3.6.7.dist-info/LICENSE,sha256=NTEMMROY9_4U1szoKC3N2BLHcDd_o5uTgqdVH8tbApw,1071
144
+ siat-3.6.7.dist-info/METADATA,sha256=vhM0Z4lhSt8gGEQbaP8AvVOSR-k63r5nc-5YnBXjts8,8009
145
+ siat-3.6.7.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
146
+ siat-3.6.7.dist-info/top_level.txt,sha256=r1cVyL7AIKqeAmEJjNR8FMT20OmEzufDstC2gv3NvEY,5
147
+ siat-3.6.7.dist-info/RECORD,,
File without changes
File without changes