<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          AKShare-股票數(shù)據(jù)-申萬指數(shù)歷史行情

          共 3725字,需瀏覽 8分鐘

           ·

          2024-05-23 12:00

          作者寄語

          本次更新股票數(shù)據(jù)-申萬指數(shù)歷史行情接口。主要修復(fù)該接口,目前該接口可以獲取 代碼日期收盤開盤最高最低成交量成交額 等字段的數(shù)據(jù)。

          歡迎加入專注于財經(jīng)數(shù)據(jù)和量化投資的【數(shù)據(jù)科學(xué)實戰(zhàn)】知識星球,加入方式參見文末!《AKShare 源碼解析》課程正在更新中!

          更新接口

          • "index_hist_sw"  # 申萬指數(shù)歷史行情

          申萬指數(shù)歷史行情

          接口: index_hist_sw

          目標(biāo)地址: https://www.swhyresearch.com/institute_sw/allIndex/releasedIndex/releasedetail?code=801002&name=申萬中小

          描述: 申萬宏源研究-指數(shù)發(fā)布-指數(shù)詳情-指數(shù)歷史數(shù)據(jù)

          限量: 該接口返回指定 symbol 和 period 的數(shù)據(jù)

          輸入?yún)?shù)

          名稱 類型 描述
          symbol str symbol="801030"; 指數(shù)代碼
          period str period="day"; choice of {"day", "week", "month"}

          輸出參數(shù)

          名稱 類型 描述
          代碼 object -
          日期 object -
          收盤 float64 -
          開盤 float64 -
          最高 float64 -
          最低 float64 -
          成交量 float64 -
          成交額 float64 -

          接口示例

          import akshare as ak

          index_hist_sw_df = ak.index_hist_sw(symbol="801193", period="day")
          print(index_hist_sw_df)

          數(shù)據(jù)示例

                  代碼       日期     收盤  ...      最低       成交量        成交額
          0     801193  1999-12-30  1000.00  ...  1000.00   0.007658    0.084756
          1     801193  2000-01-04  1035.54  ...  1000.64   0.017623    0.199261
          2     801193  2000-01-05  1050.67  ...  1023.45   0.033997    0.391641
          3     801193  2000-01-06  1096.88  ...  1031.74   0.057862    0.681682
          4     801193  2000-01-07  1127.42  ...  1091.98   0.110529    1.353346
                ...         ...      ...  ...      ...        ...         ...
          3921  801193  2024-02-08  5102.26  ...  5051.37  39.101170  334.712816
          3922  801193  2024-02-19  5038.90  ...  4951.17  29.566483  257.454494
          3923  801193  2024-02-20  5102.32  ...  4989.23  30.294334  278.767743
          3924  801193  2024-02-21  5150.54  ...  5034.29  41.888696  399.248119
          3925  801193  2024-02-22  5212.20  ...  5106.97  30.215073  297.497838
          [3926 rows x 8 columns]



          歡迎加入專注于財經(jīng)數(shù)據(jù)和量化投資的知識星球【數(shù)據(jù)科學(xué)實戰(zhàn)】


          瀏覽 25
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          分享
          舉報
          評論
          圖片
          表情
          推薦
          點贊
          評論
          收藏
          分享

          手機掃一掃分享

          分享
          舉報
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  成人免费看片又大又黄 | 亚洲AⅤ无码日韩AV中文AV伦 | jiujiujiu999 | 亚洲熟女乱色综合亚洲AV | 欧美成人手机在线砚看 |