siat 3.10.129__py3-none-any.whl → 3.10.130__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/security_prices.py CHANGED
@@ -1782,7 +1782,7 @@ def get_dividend_yq(ticker,start,end,facecolor="papayawhip"):
1782
1782
  import datetime
1783
1783
  todaydt = datetime.date.today()
1784
1784
  footnote_cn=f"【注】期间:{start}至{end}, 数据来源:雅虎, {todaydt}"
1785
- footnote_en=f"[Note]Period:{start} to {end}. Data source:Yahoo, {todaydt}"
1785
+ footnote_en=f"Period:{start} to {end}. Data source:Yahoo, {todaydt}"
1786
1786
  footnote=text_lang(footnote_cn,footnote_en)
1787
1787
  df_display_CSS(div2,titletxt=titletxt,footnote=footnote,facecolor=facecolor,decimals=2, \
1788
1788
  first_col_align='center',second_col_align='center', \
@@ -1819,7 +1819,7 @@ def get_split_yq(ticker,start,end,facecolor="papayawhip"):
1819
1819
  return None
1820
1820
 
1821
1821
  div2['Close']=div2['Close']*div2['splits']
1822
- div2['splits']=div2['splits'].apply(lambda x: int(x) if x.is_integer() else round(x,1))
1822
+ div2['splits']=div2['splits'].apply(lambda x: str(int(x)) if x.is_integer() else str(round(x,1)))
1823
1823
  div2['Close']=div2['Close'].apply(lambda x: round(x,2))
1824
1824
  div2['Adj Close']=div2['Adj Close'].apply(lambda x: round(x,2))
1825
1825
  div2.rename(columns={"date":text_lang("分拆日期","Split Date"), \
@@ -1832,7 +1832,7 @@ def get_split_yq(ticker,start,end,facecolor="papayawhip"):
1832
1832
  import datetime
1833
1833
  todaydt = datetime.date.today()
1834
1834
  footnote_cn=f"【注】期间:{start}至{end}, 数据来源:雅虎, {todaydt}"
1835
- footnote_en=f"[Note]Period:{start} to {end}. Data source:Yahoo, {todaydt}"
1835
+ footnote_en=f"Period:{start} to {end}. Data source:Yahoo, {todaydt}"
1836
1836
  footnote=text_lang(footnote_cn,footnote_en)
1837
1837
  df_display_CSS(div2,titletxt=titletxt,footnote=footnote,facecolor=facecolor,decimals=2, \
1838
1838
  first_col_align='center',second_col_align='center', \
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: siat
3
- Version: 3.10.129
3
+ Version: 3.10.130
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
@@ -50,7 +50,7 @@ siat/risk_evaluation.py,sha256=xfgLSKlIWYmRJrIL4kn2k2hp9fyOMAzYGIhi9ImvKOw,88917
50
50
  siat/risk_free_rate.py,sha256=IBuRqA2kppdZsW4D4fapW7vnM5HMEXOn95A5r9Pkwlo,12384
51
51
  siat/sector_china.py,sha256=uLsDXdRBDVfgG6tnXWnQOTyDmyZfglVO9DRUYU2e3pk,157914
52
52
  siat/security_price2.py,sha256=DDiZ2dlv_TYPLhA8-gGb9i9xrl88r4rgSMEcxqQ6aU0,28065
53
- siat/security_prices.py,sha256=Qo-0mLNcmiQ5EfvXbm48pVh2--1V5T0sytKuR8nBUM0,122901
53
+ siat/security_prices.py,sha256=8hDAzq7hmanuUC-sIV9NaedA47OMIbFQoHji19W32Ac,122899
54
54
  siat/security_trend.py,sha256=o0vpWdrJkmODCP94X-Bvn-w7efHhj9HpUYBHtLl55D0,17240
55
55
  siat/security_trend2.py,sha256=HmUk1Va94qSbgo-WQw-n5DuwBVfO8yb1m9B-d9rEGd8,31762
56
56
  siat/stock.py,sha256=s7ny7He7vAIuF8xcWQKjc8VK_9_XuI9P4niobHX-5vw,161339
@@ -69,8 +69,8 @@ siat/valuation.py,sha256=xGizcKJZ3ADLWWHm2TFQub18FxiDv2doQwBwbEqyqz0,51980
69
69
  siat/valuation_china.py,sha256=eSKIDckyjG8QkENlW_OKkqbQHno8pzDcomBO9iGNJVM,83079
70
70
  siat/var_model_validation.py,sha256=loqziBYO2p0xkeWm3Rb1rJsDhbcgAZ5aR9rBLRwLU5E,17624
71
71
  siat/yf_name.py,sha256=laNKMTZ9hdenGX3IZ7G0a2RLBKEWtUQJFY9CWuk_fp8,24058
72
- siat-3.10.129.dist-info/licenses/LICENSE,sha256=NTEMMROY9_4U1szoKC3N2BLHcDd_o5uTgqdVH8tbApw,1071
73
- siat-3.10.129.dist-info/METADATA,sha256=F3Uxo-RjU5X-5M6TyBy_i_5S7mpIaqpHDSPPQay4UEU,8176
74
- siat-3.10.129.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
75
- siat-3.10.129.dist-info/top_level.txt,sha256=r1cVyL7AIKqeAmEJjNR8FMT20OmEzufDstC2gv3NvEY,5
76
- siat-3.10.129.dist-info/RECORD,,
72
+ siat-3.10.130.dist-info/licenses/LICENSE,sha256=NTEMMROY9_4U1szoKC3N2BLHcDd_o5uTgqdVH8tbApw,1071
73
+ siat-3.10.130.dist-info/METADATA,sha256=UtaFN9zzPG7iEXV5vwZOaTnYBD6r3PIPsrAj_x3LjWI,8176
74
+ siat-3.10.130.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
75
+ siat-3.10.130.dist-info/top_level.txt,sha256=r1cVyL7AIKqeAmEJjNR8FMT20OmEzufDstC2gv3NvEY,5
76
+ siat-3.10.130.dist-info/RECORD,,