siat 3.10.127__py3-none-any.whl → 3.10.129__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
@@ -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))
1822
+ div2['splits']=div2['splits'].apply(lambda x: int(x) if x.is_integer() else 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"), \
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: siat
3
- Version: 3.10.127
3
+ Version: 3.10.129
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=GrgwJ4uksXQCTGJZAqI9iEP5MvaxeZyeYSpzC2QLUbM,122867
53
+ siat/security_prices.py,sha256=Qo-0mLNcmiQ5EfvXbm48pVh2--1V5T0sytKuR8nBUM0,122901
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.127.dist-info/licenses/LICENSE,sha256=NTEMMROY9_4U1szoKC3N2BLHcDd_o5uTgqdVH8tbApw,1071
73
- siat-3.10.127.dist-info/METADATA,sha256=F8l2O5ngelIiliB9VxRi2Su-chEyQ2efvvSjDFJVQ64,8176
74
- siat-3.10.127.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
75
- siat-3.10.127.dist-info/top_level.txt,sha256=r1cVyL7AIKqeAmEJjNR8FMT20OmEzufDstC2gv3NvEY,5
76
- siat-3.10.127.dist-info/RECORD,,
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,,