akshare 1.16.30__tar.gz → 1.16.31__tar.gz

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.
Files changed (402) hide show
  1. {akshare-1.16.30 → akshare-1.16.31}/PKG-INFO +2 -2
  2. {akshare-1.16.30 → akshare-1.16.31}/README.md +1 -1
  3. {akshare-1.16.30 → akshare-1.16.31}/akshare/__init__.py +12 -1
  4. akshare-1.16.31/akshare/index/cons.py +195 -0
  5. akshare-1.16.31/akshare/index/index_global_em.py +169 -0
  6. akshare-1.16.31/akshare/index/index_global_sina.py +82 -0
  7. {akshare-1.16.30 → akshare-1.16.31}/akshare.egg-info/PKG-INFO +2 -2
  8. {akshare-1.16.30 → akshare-1.16.31}/akshare.egg-info/SOURCES.txt +2 -0
  9. akshare-1.16.30/akshare/index/cons.py +0 -91
  10. {akshare-1.16.30 → akshare-1.16.31}/LICENSE +0 -0
  11. {akshare-1.16.30 → akshare-1.16.31}/akshare/air/__init__.py +0 -0
  12. {akshare-1.16.30 → akshare-1.16.31}/akshare/air/air_hebei.py +0 -0
  13. {akshare-1.16.30 → akshare-1.16.31}/akshare/air/air_zhenqi.py +0 -0
  14. {akshare-1.16.30 → akshare-1.16.31}/akshare/air/cons.py +0 -0
  15. {akshare-1.16.30 → akshare-1.16.31}/akshare/air/crypto.js +0 -0
  16. {akshare-1.16.30 → akshare-1.16.31}/akshare/air/outcrypto.js +0 -0
  17. {akshare-1.16.30 → akshare-1.16.31}/akshare/air/sunrise_tad.py +0 -0
  18. {akshare-1.16.30 → akshare-1.16.31}/akshare/article/__init__.py +0 -0
  19. {akshare-1.16.30 → akshare-1.16.31}/akshare/article/cons.py +0 -0
  20. {akshare-1.16.30 → akshare-1.16.31}/akshare/article/epu_index.py +0 -0
  21. {akshare-1.16.30 → akshare-1.16.31}/akshare/article/ff_factor.py +0 -0
  22. {akshare-1.16.30 → akshare-1.16.31}/akshare/article/fred_md.py +0 -0
  23. {akshare-1.16.30 → akshare-1.16.31}/akshare/article/risk_rv.py +0 -0
  24. {akshare-1.16.30 → akshare-1.16.31}/akshare/bank/__init__.py +0 -0
  25. {akshare-1.16.30 → akshare-1.16.31}/akshare/bank/bank_cbirc_2020.py +0 -0
  26. {akshare-1.16.30 → akshare-1.16.31}/akshare/bank/cons.py +0 -0
  27. {akshare-1.16.30 → akshare-1.16.31}/akshare/bond/__init__.py +0 -0
  28. {akshare-1.16.30 → akshare-1.16.31}/akshare/bond/bond_cb_sina.py +0 -0
  29. {akshare-1.16.30 → akshare-1.16.31}/akshare/bond/bond_cb_ths.py +0 -0
  30. {akshare-1.16.30 → akshare-1.16.31}/akshare/bond/bond_cbond.py +0 -0
  31. {akshare-1.16.30 → akshare-1.16.31}/akshare/bond/bond_china.py +0 -0
  32. {akshare-1.16.30 → akshare-1.16.31}/akshare/bond/bond_china_money.py +0 -0
  33. {akshare-1.16.30 → akshare-1.16.31}/akshare/bond/bond_convert.py +0 -0
  34. {akshare-1.16.30 → akshare-1.16.31}/akshare/bond/bond_em.py +0 -0
  35. {akshare-1.16.30 → akshare-1.16.31}/akshare/bond/bond_info_cm.py +0 -0
  36. {akshare-1.16.30 → akshare-1.16.31}/akshare/bond/bond_issue_cninfo.py +0 -0
  37. {akshare-1.16.30 → akshare-1.16.31}/akshare/bond/bond_nafmii.py +0 -0
  38. {akshare-1.16.30 → akshare-1.16.31}/akshare/bond/bond_summary.py +0 -0
  39. {akshare-1.16.30 → akshare-1.16.31}/akshare/bond/bond_zh_cov.py +0 -0
  40. {akshare-1.16.30 → akshare-1.16.31}/akshare/bond/bond_zh_sina.py +0 -0
  41. {akshare-1.16.30 → akshare-1.16.31}/akshare/bond/cons.py +0 -0
  42. {akshare-1.16.30 → akshare-1.16.31}/akshare/cal/__init__.py +0 -0
  43. {akshare-1.16.30 → akshare-1.16.31}/akshare/cal/rv.py +0 -0
  44. {akshare-1.16.30 → akshare-1.16.31}/akshare/cost/__init__.py +0 -0
  45. {akshare-1.16.30 → akshare-1.16.31}/akshare/cost/cost_living.py +0 -0
  46. {akshare-1.16.30 → akshare-1.16.31}/akshare/crypto/__init__.py +0 -0
  47. {akshare-1.16.30 → akshare-1.16.31}/akshare/crypto/crypto_bitcoin_cme.py +0 -0
  48. {akshare-1.16.30 → akshare-1.16.31}/akshare/crypto/crypto_hold.py +0 -0
  49. {akshare-1.16.30 → akshare-1.16.31}/akshare/currency/__init__.py +0 -0
  50. {akshare-1.16.30 → akshare-1.16.31}/akshare/currency/currency.py +0 -0
  51. {akshare-1.16.30 → akshare-1.16.31}/akshare/currency/currency_china_bank_sina.py +0 -0
  52. {akshare-1.16.30 → akshare-1.16.31}/akshare/currency/currency_safe.py +0 -0
  53. {akshare-1.16.30 → akshare-1.16.31}/akshare/data/__init__.py +0 -0
  54. {akshare-1.16.30 → akshare-1.16.31}/akshare/data/cninfo.js +0 -0
  55. {akshare-1.16.30 → akshare-1.16.31}/akshare/data/crypto_info.zip +0 -0
  56. {akshare-1.16.30 → akshare-1.16.31}/akshare/data/ths.js +0 -0
  57. {akshare-1.16.30 → akshare-1.16.31}/akshare/datasets.py +0 -0
  58. {akshare-1.16.30 → akshare-1.16.31}/akshare/economic/__init__.py +0 -0
  59. {akshare-1.16.30 → akshare-1.16.31}/akshare/economic/cons.py +0 -0
  60. {akshare-1.16.30 → akshare-1.16.31}/akshare/economic/macro_australia.py +0 -0
  61. {akshare-1.16.30 → akshare-1.16.31}/akshare/economic/macro_bank.py +0 -0
  62. {akshare-1.16.30 → akshare-1.16.31}/akshare/economic/macro_canada.py +0 -0
  63. {akshare-1.16.30 → akshare-1.16.31}/akshare/economic/macro_china.py +0 -0
  64. {akshare-1.16.30 → akshare-1.16.31}/akshare/economic/macro_china_hk.py +0 -0
  65. {akshare-1.16.30 → akshare-1.16.31}/akshare/economic/macro_china_nbs.py +0 -0
  66. {akshare-1.16.30 → akshare-1.16.31}/akshare/economic/macro_constitute.py +0 -0
  67. {akshare-1.16.30 → akshare-1.16.31}/akshare/economic/macro_euro.py +0 -0
  68. {akshare-1.16.30 → akshare-1.16.31}/akshare/economic/macro_finance_ths.py +0 -0
  69. {akshare-1.16.30 → akshare-1.16.31}/akshare/economic/macro_germany.py +0 -0
  70. {akshare-1.16.30 → akshare-1.16.31}/akshare/economic/macro_info_ws.py +0 -0
  71. {akshare-1.16.30 → akshare-1.16.31}/akshare/economic/macro_japan.py +0 -0
  72. {akshare-1.16.30 → akshare-1.16.31}/akshare/economic/macro_other.py +0 -0
  73. {akshare-1.16.30 → akshare-1.16.31}/akshare/economic/macro_swiss.py +0 -0
  74. {akshare-1.16.30 → akshare-1.16.31}/akshare/economic/macro_uk.py +0 -0
  75. {akshare-1.16.30 → akshare-1.16.31}/akshare/economic/macro_usa.py +0 -0
  76. {akshare-1.16.30 → akshare-1.16.31}/akshare/economic/marco_cnbs.py +0 -0
  77. {akshare-1.16.30 → akshare-1.16.31}/akshare/energy/__init__.py +0 -0
  78. {akshare-1.16.30 → akshare-1.16.31}/akshare/energy/energy_carbon.py +0 -0
  79. {akshare-1.16.30 → akshare-1.16.31}/akshare/energy/energy_oil_em.py +0 -0
  80. {akshare-1.16.30 → akshare-1.16.31}/akshare/event/__init__.py +0 -0
  81. {akshare-1.16.30 → akshare-1.16.31}/akshare/event/cons.py +0 -0
  82. {akshare-1.16.30 → akshare-1.16.31}/akshare/event/migration.py +0 -0
  83. {akshare-1.16.30 → akshare-1.16.31}/akshare/exceptions.py +0 -0
  84. {akshare-1.16.30 → akshare-1.16.31}/akshare/file_fold/__init__.py +0 -0
  85. {akshare-1.16.30 → akshare-1.16.31}/akshare/file_fold/calendar.json +0 -0
  86. {akshare-1.16.30 → akshare-1.16.31}/akshare/forex/__init__.py +0 -0
  87. {akshare-1.16.30 → akshare-1.16.31}/akshare/forex/cons.py +0 -0
  88. {akshare-1.16.30 → akshare-1.16.31}/akshare/forex/forex_em.py +0 -0
  89. {akshare-1.16.30 → akshare-1.16.31}/akshare/fortune/__init__.py +0 -0
  90. {akshare-1.16.30 → akshare-1.16.31}/akshare/fortune/fortune_500.py +0 -0
  91. {akshare-1.16.30 → akshare-1.16.31}/akshare/fortune/fortune_bloomberg.py +0 -0
  92. {akshare-1.16.30 → akshare-1.16.31}/akshare/fortune/fortune_forbes_500.py +0 -0
  93. {akshare-1.16.30 → akshare-1.16.31}/akshare/fortune/fortune_hurun.py +0 -0
  94. {akshare-1.16.30 → akshare-1.16.31}/akshare/fortune/fortune_xincaifu_500.py +0 -0
  95. {akshare-1.16.30 → akshare-1.16.31}/akshare/fund/__init__.py +0 -0
  96. {akshare-1.16.30 → akshare-1.16.31}/akshare/fund/fund_amac.py +0 -0
  97. {akshare-1.16.30 → akshare-1.16.31}/akshare/fund/fund_announcement.py +0 -0
  98. {akshare-1.16.30 → akshare-1.16.31}/akshare/fund/fund_aum_em.py +0 -0
  99. {akshare-1.16.30 → akshare-1.16.31}/akshare/fund/fund_em.py +0 -0
  100. {akshare-1.16.30 → akshare-1.16.31}/akshare/fund/fund_etf_em.py +0 -0
  101. {akshare-1.16.30 → akshare-1.16.31}/akshare/fund/fund_etf_sina.py +0 -0
  102. {akshare-1.16.30 → akshare-1.16.31}/akshare/fund/fund_etf_ths.py +0 -0
  103. {akshare-1.16.30 → akshare-1.16.31}/akshare/fund/fund_fee_em.py +0 -0
  104. {akshare-1.16.30 → akshare-1.16.31}/akshare/fund/fund_fhsp_em.py +0 -0
  105. {akshare-1.16.30 → akshare-1.16.31}/akshare/fund/fund_init_em.py +0 -0
  106. {akshare-1.16.30 → akshare-1.16.31}/akshare/fund/fund_lof_em.py +0 -0
  107. {akshare-1.16.30 → akshare-1.16.31}/akshare/fund/fund_manager.py +0 -0
  108. {akshare-1.16.30 → akshare-1.16.31}/akshare/fund/fund_portfolio_em.py +0 -0
  109. {akshare-1.16.30 → akshare-1.16.31}/akshare/fund/fund_position_lg.py +0 -0
  110. {akshare-1.16.30 → akshare-1.16.31}/akshare/fund/fund_rank_em.py +0 -0
  111. {akshare-1.16.30 → akshare-1.16.31}/akshare/fund/fund_rating.py +0 -0
  112. {akshare-1.16.30 → akshare-1.16.31}/akshare/fund/fund_report_cninfo.py +0 -0
  113. {akshare-1.16.30 → akshare-1.16.31}/akshare/fund/fund_scale_em.py +0 -0
  114. {akshare-1.16.30 → akshare-1.16.31}/akshare/fund/fund_scale_sina.py +0 -0
  115. {akshare-1.16.30 → akshare-1.16.31}/akshare/fund/fund_xq.py +0 -0
  116. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures/__init__.py +0 -0
  117. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures/cons.py +0 -0
  118. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures/cot.py +0 -0
  119. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures/futures_basis.py +0 -0
  120. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures/futures_comex_em.py +0 -0
  121. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures/futures_comm_ctp.py +0 -0
  122. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures/futures_comm_qihuo.py +0 -0
  123. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures/futures_contract_detail.py +0 -0
  124. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures/futures_daily_bar.py +0 -0
  125. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures/futures_foreign.py +0 -0
  126. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures/futures_hf_em.py +0 -0
  127. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures/futures_hist_em.py +0 -0
  128. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures/futures_hq_sina.py +0 -0
  129. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures/futures_index_ccidx.py +0 -0
  130. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures/futures_inventory_99.py +0 -0
  131. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures/futures_inventory_em.py +0 -0
  132. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures/futures_news_shmet.py +0 -0
  133. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures/futures_roll_yield.py +0 -0
  134. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures/futures_rule.py +0 -0
  135. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures/futures_rule_em.py +0 -0
  136. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures/futures_settlement_price_sgx.py +0 -0
  137. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures/futures_spot_stock_em.py +0 -0
  138. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures/futures_stock_js.py +0 -0
  139. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures/futures_to_spot.py +0 -0
  140. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures/futures_warehouse_receipt.py +0 -0
  141. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures/futures_zh_sina.py +0 -0
  142. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures/receipt.py +0 -0
  143. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures/requests_fun.py +0 -0
  144. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures/symbol_var.py +0 -0
  145. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures_derivative/__init__.py +0 -0
  146. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures_derivative/cons.py +0 -0
  147. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures_derivative/futures_contract_info_cffex.py +0 -0
  148. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures_derivative/futures_contract_info_czce.py +0 -0
  149. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures_derivative/futures_contract_info_dce.py +0 -0
  150. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures_derivative/futures_contract_info_gfex.py +0 -0
  151. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures_derivative/futures_contract_info_ine.py +0 -0
  152. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures_derivative/futures_contract_info_shfe.py +0 -0
  153. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures_derivative/futures_cot_sina.py +0 -0
  154. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures_derivative/futures_hog.py +0 -0
  155. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures_derivative/futures_index_sina.py +0 -0
  156. {akshare-1.16.30 → akshare-1.16.31}/akshare/futures_derivative/futures_spot_sys.py +0 -0
  157. {akshare-1.16.30 → akshare-1.16.31}/akshare/fx/__init__.py +0 -0
  158. {akshare-1.16.30 → akshare-1.16.31}/akshare/fx/cons.py +0 -0
  159. {akshare-1.16.30 → akshare-1.16.31}/akshare/fx/currency_investing.py +0 -0
  160. {akshare-1.16.30 → akshare-1.16.31}/akshare/fx/fx_quote.py +0 -0
  161. {akshare-1.16.30 → akshare-1.16.31}/akshare/fx/fx_quote_baidu.py +0 -0
  162. {akshare-1.16.30 → akshare-1.16.31}/akshare/hf/__init__.py +0 -0
  163. {akshare-1.16.30 → akshare-1.16.31}/akshare/hf/hf_sp500.py +0 -0
  164. {akshare-1.16.30 → akshare-1.16.31}/akshare/index/__init__.py +0 -0
  165. {akshare-1.16.30 → akshare-1.16.31}/akshare/index/index_cflp.py +0 -0
  166. {akshare-1.16.30 → akshare-1.16.31}/akshare/index/index_cni.py +0 -0
  167. {akshare-1.16.30 → akshare-1.16.31}/akshare/index/index_cons.py +0 -0
  168. {akshare-1.16.30 → akshare-1.16.31}/akshare/index/index_cx.py +0 -0
  169. {akshare-1.16.30 → akshare-1.16.31}/akshare/index/index_drewry.py +0 -0
  170. {akshare-1.16.30 → akshare-1.16.31}/akshare/index/index_eri.py +0 -0
  171. {akshare-1.16.30 → akshare-1.16.31}/akshare/index/index_hog.py +0 -0
  172. {akshare-1.16.30 → akshare-1.16.31}/akshare/index/index_kq_fz.py +0 -0
  173. {akshare-1.16.30 → akshare-1.16.31}/akshare/index/index_kq_ss.py +0 -0
  174. {akshare-1.16.30 → akshare-1.16.31}/akshare/index/index_option_qvix.py +0 -0
  175. {akshare-1.16.30 → akshare-1.16.31}/akshare/index/index_research_fund_sw.py +0 -0
  176. {akshare-1.16.30 → akshare-1.16.31}/akshare/index/index_research_sw.py +0 -0
  177. {akshare-1.16.30 → akshare-1.16.31}/akshare/index/index_spot.py +0 -0
  178. {akshare-1.16.30 → akshare-1.16.31}/akshare/index/index_stock_hk.py +0 -0
  179. {akshare-1.16.30 → akshare-1.16.31}/akshare/index/index_stock_us_sina.py +0 -0
  180. {akshare-1.16.30 → akshare-1.16.31}/akshare/index/index_stock_zh.py +0 -0
  181. {akshare-1.16.30 → akshare-1.16.31}/akshare/index/index_stock_zh_csindex.py +0 -0
  182. {akshare-1.16.30 → akshare-1.16.31}/akshare/index/index_sugar.py +0 -0
  183. {akshare-1.16.30 → akshare-1.16.31}/akshare/index/index_sw.py +0 -0
  184. {akshare-1.16.30 → akshare-1.16.31}/akshare/index/index_yw.py +0 -0
  185. {akshare-1.16.30 → akshare-1.16.31}/akshare/index/index_zh_a_scope.py +0 -0
  186. {akshare-1.16.30 → akshare-1.16.31}/akshare/index/index_zh_em.py +0 -0
  187. {akshare-1.16.30 → akshare-1.16.31}/akshare/interest_rate/__init__.py +0 -0
  188. {akshare-1.16.30 → akshare-1.16.31}/akshare/interest_rate/interbank_rate_em.py +0 -0
  189. {akshare-1.16.30 → akshare-1.16.31}/akshare/movie/__init__.py +0 -0
  190. {akshare-1.16.30 → akshare-1.16.31}/akshare/movie/artist_yien.py +0 -0
  191. {akshare-1.16.30 → akshare-1.16.31}/akshare/movie/jm.js +0 -0
  192. {akshare-1.16.30 → akshare-1.16.31}/akshare/movie/movie_yien.py +0 -0
  193. {akshare-1.16.30 → akshare-1.16.31}/akshare/movie/video_yien.py +0 -0
  194. {akshare-1.16.30 → akshare-1.16.31}/akshare/news/__init__.py +0 -0
  195. {akshare-1.16.30 → akshare-1.16.31}/akshare/news/news_baidu.py +0 -0
  196. {akshare-1.16.30 → akshare-1.16.31}/akshare/news/news_cctv.py +0 -0
  197. {akshare-1.16.30 → akshare-1.16.31}/akshare/news/news_stock.py +0 -0
  198. {akshare-1.16.30 → akshare-1.16.31}/akshare/nlp/__init__.py +0 -0
  199. {akshare-1.16.30 → akshare-1.16.31}/akshare/nlp/nlp_interface.py +0 -0
  200. {akshare-1.16.30 → akshare-1.16.31}/akshare/option/__init__.py +0 -0
  201. {akshare-1.16.30 → akshare-1.16.31}/akshare/option/cons.py +0 -0
  202. {akshare-1.16.30 → akshare-1.16.31}/akshare/option/option_comm_qihuo.py +0 -0
  203. {akshare-1.16.30 → akshare-1.16.31}/akshare/option/option_commodity.py +0 -0
  204. {akshare-1.16.30 → akshare-1.16.31}/akshare/option/option_commodity_sina.py +0 -0
  205. {akshare-1.16.30 → akshare-1.16.31}/akshare/option/option_czce.py +0 -0
  206. {akshare-1.16.30 → akshare-1.16.31}/akshare/option/option_daily_stats_sse_szse.py +0 -0
  207. {akshare-1.16.30 → akshare-1.16.31}/akshare/option/option_em.py +0 -0
  208. {akshare-1.16.30 → akshare-1.16.31}/akshare/option/option_finance.py +0 -0
  209. {akshare-1.16.30 → akshare-1.16.31}/akshare/option/option_finance_sina.py +0 -0
  210. {akshare-1.16.30 → akshare-1.16.31}/akshare/option/option_lhb_em.py +0 -0
  211. {akshare-1.16.30 → akshare-1.16.31}/akshare/option/option_premium_analysis_em.py +0 -0
  212. {akshare-1.16.30 → akshare-1.16.31}/akshare/option/option_risk_analysis_em.py +0 -0
  213. {akshare-1.16.30 → akshare-1.16.31}/akshare/option/option_risk_indicator_sse.py +0 -0
  214. {akshare-1.16.30 → akshare-1.16.31}/akshare/option/option_value_analysis_em.py +0 -0
  215. {akshare-1.16.30 → akshare-1.16.31}/akshare/other/__init__.py +0 -0
  216. {akshare-1.16.30 → akshare-1.16.31}/akshare/other/other_car_cpca.py +0 -0
  217. {akshare-1.16.30 → akshare-1.16.31}/akshare/other/other_car_gasgoo.py +0 -0
  218. {akshare-1.16.30 → akshare-1.16.31}/akshare/pro/__init__.py +0 -0
  219. {akshare-1.16.30 → akshare-1.16.31}/akshare/pro/client.py +0 -0
  220. {akshare-1.16.30 → akshare-1.16.31}/akshare/pro/cons.py +0 -0
  221. {akshare-1.16.30 → akshare-1.16.31}/akshare/pro/data_pro.py +0 -0
  222. {akshare-1.16.30 → akshare-1.16.31}/akshare/qdii/__init__.py +0 -0
  223. {akshare-1.16.30 → akshare-1.16.31}/akshare/qdii/qdii_jsl.py +0 -0
  224. {akshare-1.16.30 → akshare-1.16.31}/akshare/qhkc/__init__.py +0 -0
  225. {akshare-1.16.30 → akshare-1.16.31}/akshare/qhkc/qhkc_api.py +0 -0
  226. {akshare-1.16.30 → akshare-1.16.31}/akshare/qhkc_web/__init__.py +0 -0
  227. {akshare-1.16.30 → akshare-1.16.31}/akshare/qhkc_web/qhkc_fund.py +0 -0
  228. {akshare-1.16.30 → akshare-1.16.31}/akshare/qhkc_web/qhkc_index.py +0 -0
  229. {akshare-1.16.30 → akshare-1.16.31}/akshare/qhkc_web/qhkc_tool.py +0 -0
  230. {akshare-1.16.30 → akshare-1.16.31}/akshare/rate/__init__.py +0 -0
  231. {akshare-1.16.30 → akshare-1.16.31}/akshare/rate/repo_rate.py +0 -0
  232. {akshare-1.16.30 → akshare-1.16.31}/akshare/reits/__init__.py +0 -0
  233. {akshare-1.16.30 → akshare-1.16.31}/akshare/reits/reits_basic.py +0 -0
  234. {akshare-1.16.30 → akshare-1.16.31}/akshare/request.py +0 -0
  235. {akshare-1.16.30 → akshare-1.16.31}/akshare/sport/__init__.py +0 -0
  236. {akshare-1.16.30 → akshare-1.16.31}/akshare/sport/sport_olympic.py +0 -0
  237. {akshare-1.16.30 → akshare-1.16.31}/akshare/spot/__init__.py +0 -0
  238. {akshare-1.16.30 → akshare-1.16.31}/akshare/spot/spot_hog_soozhu.py +0 -0
  239. {akshare-1.16.30 → akshare-1.16.31}/akshare/spot/spot_price_qh.py +0 -0
  240. {akshare-1.16.30 → akshare-1.16.31}/akshare/spot/spot_sge.py +0 -0
  241. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/__init__.py +0 -0
  242. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/cons.py +0 -0
  243. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_allotment_cninfo.py +0 -0
  244. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_ask_bid_em.py +0 -0
  245. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_board_concept_em.py +0 -0
  246. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_board_industry_em.py +0 -0
  247. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_cg_equity_mortgage.py +0 -0
  248. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_cg_guarantee.py +0 -0
  249. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_cg_lawsuit.py +0 -0
  250. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_dividend_cninfo.py +0 -0
  251. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_dzjy_em.py +0 -0
  252. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_fund_em.py +0 -0
  253. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_fund_hold.py +0 -0
  254. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_gsrl_em.py +0 -0
  255. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_hk_famous.py +0 -0
  256. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_hk_fhpx_ths.py +0 -0
  257. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_hk_hot_rank_em.py +0 -0
  258. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_hk_sina.py +0 -0
  259. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_hold_control_cninfo.py +0 -0
  260. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_hold_control_em.py +0 -0
  261. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_hold_num_cninfo.py +0 -0
  262. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_hot_rank_em.py +0 -0
  263. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_hot_search_baidu.py +0 -0
  264. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_hot_up_em.py +0 -0
  265. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_hsgt_em.py +0 -0
  266. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_industry.py +0 -0
  267. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_industry_cninfo.py +0 -0
  268. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_industry_pe_cninfo.py +0 -0
  269. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_industry_sw.py +0 -0
  270. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_info.py +0 -0
  271. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_info_em.py +0 -0
  272. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_intraday_em.py +0 -0
  273. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_intraday_sina.py +0 -0
  274. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_ipo_summary_cninfo.py +0 -0
  275. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_new_cninfo.py +0 -0
  276. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_news_cx.py +0 -0
  277. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_profile_cninfo.py +0 -0
  278. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_rank_forecast.py +0 -0
  279. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_repurchase_em.py +0 -0
  280. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_share_changes_cninfo.py +0 -0
  281. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_share_hold.py +0 -0
  282. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_stop.py +0 -0
  283. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_summary.py +0 -0
  284. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_us_famous.py +0 -0
  285. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_us_js.py +0 -0
  286. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_us_pink.py +0 -0
  287. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_us_sina.py +0 -0
  288. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_weibo_nlp.py +0 -0
  289. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_xq.py +0 -0
  290. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_zh_a_sina.py +0 -0
  291. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_zh_a_special.py +0 -0
  292. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_zh_a_tick_tx.py +0 -0
  293. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_zh_ah_tx.py +0 -0
  294. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_zh_b_sina.py +0 -0
  295. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_zh_kcb_report.py +0 -0
  296. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock/stock_zh_kcb_sina.py +0 -0
  297. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/__init__.py +0 -0
  298. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/cons.py +0 -0
  299. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_a_below_net_asset_statistics.py +0 -0
  300. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_a_high_low.py +0 -0
  301. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_a_indicator.py +0 -0
  302. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_a_pe_and_pb.py +0 -0
  303. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_account_em.py +0 -0
  304. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_all_pb.py +0 -0
  305. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_analyst_em.py +0 -0
  306. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_board_concept_ths.py +0 -0
  307. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_board_industry_ths.py +0 -0
  308. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_buffett_index_lg.py +0 -0
  309. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_classify_sina.py +0 -0
  310. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_comment_em.py +0 -0
  311. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_concept_futu.py +0 -0
  312. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_congestion_lg.py +0 -0
  313. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_cyq_em.py +0 -0
  314. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_disclosure_cninfo.py +0 -0
  315. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_dxsyl_em.py +0 -0
  316. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_ebs_lg.py +0 -0
  317. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_esg_sina.py +0 -0
  318. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_fhps_em.py +0 -0
  319. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_fhps_ths.py +0 -0
  320. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_fund_flow.py +0 -0
  321. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_gddh_em.py +0 -0
  322. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_gdfx_em.py +0 -0
  323. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_gdhs.py +0 -0
  324. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_gdzjc_em.py +0 -0
  325. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_gpzy_em.py +0 -0
  326. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_gxl_lg.py +0 -0
  327. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_hist_em.py +0 -0
  328. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_hist_tx.py +0 -0
  329. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_hk_valuation_baidu.py +0 -0
  330. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_hot_xq.py +0 -0
  331. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_hsgt_em.py +0 -0
  332. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_hsgt_exchange_rate.py +0 -0
  333. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_hsgt_min_em.py +0 -0
  334. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_info.py +0 -0
  335. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_inner_trade_xq.py +0 -0
  336. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_irm_cninfo.py +0 -0
  337. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_jgdy_em.py +0 -0
  338. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_lh_yybpm.py +0 -0
  339. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_lhb_em.py +0 -0
  340. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_lhb_sina.py +0 -0
  341. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_margin_em.py +0 -0
  342. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_margin_sse.py +0 -0
  343. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_margin_szse.py +0 -0
  344. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_market_legu.py +0 -0
  345. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_pankou_em.py +0 -0
  346. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_qsjy_em.py +0 -0
  347. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_report_em.py +0 -0
  348. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_research_report_em.py +0 -0
  349. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_sns_sseinfo.py +0 -0
  350. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_sy_em.py +0 -0
  351. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_technology_ths.py +0 -0
  352. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_tfp_em.py +0 -0
  353. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_three_report_em.py +0 -0
  354. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_ttm_lyr.py +0 -0
  355. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_value_em.py +0 -0
  356. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_wencai.py +0 -0
  357. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_yjbb_em.py +0 -0
  358. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_yjyg_cninfo.py +0 -0
  359. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_yjyg_em.py +0 -0
  360. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_yzxdr_em.py +0 -0
  361. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_zdhtmx_em.py +0 -0
  362. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_zf_pg.py +0 -0
  363. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_zh_valuation_baidu.py +0 -0
  364. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_zh_vote_baidu.py +0 -0
  365. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/stock_ztb_em.py +0 -0
  366. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_feature/ths.js +0 -0
  367. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_fundamental/__init__.py +0 -0
  368. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_fundamental/stock_finance_hk_em.py +0 -0
  369. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_fundamental/stock_finance_sina.py +0 -0
  370. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_fundamental/stock_finance_ths.py +0 -0
  371. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_fundamental/stock_finance_us_em.py +0 -0
  372. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_fundamental/stock_hold.py +0 -0
  373. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_fundamental/stock_ipo_declare.py +0 -0
  374. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_fundamental/stock_kcb_detail_sse.py +0 -0
  375. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_fundamental/stock_kcb_sse.py +0 -0
  376. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_fundamental/stock_mda_ym.py +0 -0
  377. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_fundamental/stock_notice.py +0 -0
  378. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_fundamental/stock_profit_forecast_em.py +0 -0
  379. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_fundamental/stock_profit_forecast_hk_etnet.py +0 -0
  380. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_fundamental/stock_profit_forecast_ths.py +0 -0
  381. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_fundamental/stock_recommend.py +0 -0
  382. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_fundamental/stock_register_em.py +0 -0
  383. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_fundamental/stock_restricted_em.py +0 -0
  384. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_fundamental/stock_zygc.py +0 -0
  385. {akshare-1.16.30 → akshare-1.16.31}/akshare/stock_fundamental/stock_zyjs_ths.py +0 -0
  386. {akshare-1.16.30 → akshare-1.16.31}/akshare/tool/__init__.py +0 -0
  387. {akshare-1.16.30 → akshare-1.16.31}/akshare/tool/trade_date_hist.py +0 -0
  388. {akshare-1.16.30 → akshare-1.16.31}/akshare/utils/__init__.py +0 -0
  389. {akshare-1.16.30 → akshare-1.16.31}/akshare/utils/cons.py +0 -0
  390. {akshare-1.16.30 → akshare-1.16.31}/akshare/utils/context.py +0 -0
  391. {akshare-1.16.30 → akshare-1.16.31}/akshare/utils/demjson.py +0 -0
  392. {akshare-1.16.30 → akshare-1.16.31}/akshare/utils/func.py +0 -0
  393. {akshare-1.16.30 → akshare-1.16.31}/akshare/utils/token_process.py +0 -0
  394. {akshare-1.16.30 → akshare-1.16.31}/akshare/utils/tqdm.py +0 -0
  395. {akshare-1.16.30 → akshare-1.16.31}/akshare.egg-info/dependency_links.txt +0 -0
  396. {akshare-1.16.30 → akshare-1.16.31}/akshare.egg-info/requires.txt +0 -0
  397. {akshare-1.16.30 → akshare-1.16.31}/akshare.egg-info/top_level.txt +0 -0
  398. {akshare-1.16.30 → akshare-1.16.31}/pyproject.toml +0 -0
  399. {akshare-1.16.30 → akshare-1.16.31}/setup.cfg +0 -0
  400. {akshare-1.16.30 → akshare-1.16.31}/setup.py +0 -0
  401. {akshare-1.16.30 → akshare-1.16.31}/tests/__init__.py +0 -0
  402. {akshare-1.16.30 → akshare-1.16.31}/tests/test_func.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: akshare
3
- Version: 1.16.30
3
+ Version: 1.16.31
4
4
  Summary: AKShare is an elegant and simple financial data interface library for Python, built for human beings!
5
5
  Home-page: https://github.com/akfamily/akshare
6
6
  Author: AKFamily
@@ -59,7 +59,7 @@ Dynamic: summary
59
59
  详情请关注【数据科学实战】公众号,查看更多课程信息!
60
60
 
61
61
  **广告推广**:期魔方是一款非常专业本地化期货量化终端,无需部署或搭建环境,可直接调用及时和历史数据做回测实盘,
62
- 支持开箱即用的机器学习训练,策略投研、回测均免费,详情请[访问期魔方官网](https://qmfquant.com)
62
+ 支持开箱即用的机器学习训练,策略投研、回测均免费,详情请[访问期魔方官网](https://qmfquant.com)
63
63
 
64
64
  ![AKShare Logo](https://github.com/akfamily/akshare/blob/main/assets/images/akshare_logo.jpg)
65
65
 
@@ -7,7 +7,7 @@
7
7
  详情请关注【数据科学实战】公众号,查看更多课程信息!
8
8
 
9
9
  **广告推广**:期魔方是一款非常专业本地化期货量化终端,无需部署或搭建环境,可直接调用及时和历史数据做回测实盘,
10
- 支持开箱即用的机器学习训练,策略投研、回测均免费,详情请[访问期魔方官网](https://qmfquant.com)
10
+ 支持开箱即用的机器学习训练,策略投研、回测均免费,详情请[访问期魔方官网](https://qmfquant.com)
11
11
 
12
12
  ![AKShare Logo](https://github.com/akfamily/akshare/blob/main/assets/images/akshare_logo.jpg)
13
13
 
@@ -3039,9 +3039,10 @@ amac_manager_cancelled_info # 中国证券投资基金业协会-信息公示-诚
3039
3039
  1.16.28 fix: fix futures_global_hist_em interface
3040
3040
  1.16.29 fix: fix futures_global_hist_em interface
3041
3041
  1.16.30 add: add forex_hist_em interface
3042
+ 1.16.31 add: add index_global_hist_em interface
3042
3043
  """
3043
3044
 
3044
- __version__ = "1.16.30"
3045
+ __version__ = "1.16.31"
3045
3046
  __author__ = "AKFamily"
3046
3047
 
3047
3048
  import sys
@@ -3063,6 +3064,16 @@ if sys.version_info < (3, 9):
3063
3064
 
3064
3065
  del sys
3065
3066
 
3067
+ """
3068
+ 新浪财经-行情中心-环球市场
3069
+ """
3070
+ from akshare.index.index_global_sina import index_global_hist_sina, index_global_name_table
3071
+
3072
+ """
3073
+ 东方财富网-行情中心-全球指数
3074
+ """
3075
+ from akshare.index.index_global_em import index_global_hist_em, index_global_spot_em
3076
+
3066
3077
  """
3067
3078
  东方财富网-行情中心-外汇市场-所有汇率
3068
3079
  """
@@ -0,0 +1,195 @@
1
+ #!/usr/bin/env python
2
+ # -*- coding:utf-8 -*-
3
+ """
4
+ Date: 2021/5/27 20:19
5
+ Desc: 指数配置文件
6
+ """
7
+
8
+ # weibo-user-agent
9
+ index_weibo_headers = {
10
+ "User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) "
11
+ "AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1",
12
+ "Referer": "http://data.weibo.com/index/newindex",
13
+ "Accept": "application/json",
14
+ "Origin": "https://data.weibo.com",
15
+ }
16
+
17
+ # sw-cons
18
+ sw_cons_headers = {
19
+ "Accept": "*/*",
20
+ "Accept-Encoding": "gzip, deflate",
21
+ "Accept-Language": "zh-CN,zh;q=0.9,en;q=0.8",
22
+ "Connection": "keep-alive",
23
+ "Content-Length": "34",
24
+ "Content-Type": "text/plain; charset=UTF-8",
25
+ # "Cookie": "ASP.NET_SessionId=i55eaz55142xdxfx0bkqp145",
26
+ "Host": "www.swsindex.com",
27
+ "Origin": "http://www.swsindex.com",
28
+ "Referer": "http://www.swsindex.com/idx0210.aspx?swindexcode=801010",
29
+ "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) "
30
+ "Chrome/78.0.3904.108 Safari/537.36",
31
+ "X-AjaxPro-Method": "ReturnContent",
32
+ }
33
+
34
+ # sw-url
35
+ sw_url = "http://www.swsindex.com/handler.aspx"
36
+
37
+ # sw-payload
38
+ sw_payload = {
39
+ "tablename": "swzs",
40
+ "key": "L1",
41
+ "p": "1",
42
+ "where": "L1 in('801010','801020','801030','801040','801050','801080','801110','801120','801130',"
43
+ "'801140','801150','801160','801170','801180','801200','801210','801230','801710','801720',"
44
+ "'801730','801740','801750','801760','801770','801780','801790','801880','801890','801950',"
45
+ "'801960','801970','801980')",
46
+ "orderby": "",
47
+ "fieldlist": "L1,L2,L3,L4,L5,L6,L7,L8,L11",
48
+ "pagecount": "28",
49
+ "timed": "",
50
+ }
51
+
52
+ # sw-headers
53
+ sw_headers = {
54
+ "Accept": "application/json, text/javascript, */*",
55
+ "Accept-Encoding": "gzip, deflate",
56
+ "Accept-Language": "zh-CN,zh;q=0.9,en;q=0.8",
57
+ "Cache-Control": "no-cache",
58
+ "Content-Type": "application/x-www-form-urlencoded",
59
+ "DNT": "1",
60
+ "Host": "www.swsindex.com",
61
+ "Origin": "http://www.swsindex.com",
62
+ "Pragma": "no-cache",
63
+ "Referer": "http://www.swsindex.com/idx0120.aspx?columnid=8832",
64
+ "User-Agent": "Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) "
65
+ "Chrome/74.0.3729.169 Safari/537.36",
66
+ "X-Requested-With": "XMLHttpRequest",
67
+ }
68
+
69
+ # zh-sina-a
70
+ zh_sina_index_stock_url = (
71
+ "http://vip.stock.finance.sina.com.cn/quotes_service/api/json_v2.php/"
72
+ "Market_Center.getHQNodeDataSimple"
73
+ )
74
+ zh_sina_index_stock_payload = {
75
+ "page": "1",
76
+ "num": "80",
77
+ "sort": "symbol",
78
+ "asc": "1",
79
+ "node": "hs_s",
80
+ "_s_r_a": "page",
81
+ }
82
+ zh_sina_index_stock_count_url = (
83
+ "http://vip.stock.finance.sina.com.cn/quotes_service/api/json_v2.php/"
84
+ "Market_Center.getHQNodeStockCountSimple?node=hs_s"
85
+ )
86
+ zh_sina_index_stock_hist_url = (
87
+ "https://finance.sina.com.cn/realstock/company/{}/hisdata/klc_kl.js"
88
+ )
89
+
90
+ # investing
91
+ short_headers = {
92
+ "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) "
93
+ "Chrome/61.0.3163.91 Safari/537.36"
94
+ }
95
+
96
+ long_headers = {
97
+ "accept": "text/plain, */*; q=0.01",
98
+ # 'accept-encoding': 'gzip, deflate, br',
99
+ "accept-language": "zh-CN,zh;q=0.9,en;q=0.8",
100
+ # 'cache-control': 'no-cache',
101
+ "content-length": "267",
102
+ "content-type": "application/x-www-form-urlencoded",
103
+ "origin": "https://cn.investing.com",
104
+ "referer": "https://cn.investing.com/commodities/brent-oil-historical-data",
105
+ "user-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) "
106
+ "Chrome/61.0.3163.91 Safari/537.36",
107
+ "x-requested-with": "XMLHttpRequest",
108
+ }
109
+
110
+ index_global_sina_symbol_map = {
111
+ # 欧洲股市
112
+ "英国富时100指数": "UKX",
113
+ "德国DAX 30种股价指数": "DAX",
114
+ "俄罗斯MICEX指数": "INDEXCF",
115
+ "法CAC40指数": "CAC",
116
+ "瑞士股票指数": "SWI20",
117
+ "富时意大利MIB指数": "FTSEMIB",
118
+ "荷兰AEX综合指数": "AEX",
119
+ "西班牙IBEX指数": "IBEX",
120
+ "欧洲Stoxx50指数": "SX5E",
121
+ # 美洲股市
122
+ "加拿大S&P/TSX综合指数": "GSPTSE",
123
+ "墨西哥BOLSA指数": "MXX",
124
+ "巴西BOVESPA股票指数": "IBOV",
125
+ # 亚洲股市
126
+ "中国台湾加权指数": "TWJQ",
127
+ "日经225指数": "NKY",
128
+ "首尔综合指数": "KOSPI",
129
+ "印度尼西亚雅加达综合指数": "JCI",
130
+ "印度孟买SENSEX指数": "SENSEX",
131
+ # 澳洲股市
132
+ "澳大利亚标准普尔200指数": "AS51",
133
+ "新西兰NZSE 50指数": "NZ250",
134
+ # 非洲股市
135
+ "埃及CASE 30指数": "CASE",
136
+ }
137
+
138
+ index_global_em_symbol_map = {
139
+ "波罗的海BDI指数": {"code": "BDI", "market": "100"},
140
+ "葡萄牙PSI20": {"code": "PSI20", "market": "100"},
141
+ "菲律宾马尼拉": {"code": "PSI", "market": "100"},
142
+ "泰国SET": {"code": "SET", "market": "100"},
143
+ "俄罗斯RTS": {"code": "RTS", "market": "100"},
144
+ "巴基斯坦卡拉奇": {"code": "KSE100", "market": "100"},
145
+ "越南胡志明": {"code": "VNINDEX", "market": "100"},
146
+ "红筹指数": {"code": "HSCCI", "market": "124"},
147
+ "印尼雅加达综合": {"code": "JKSE", "market": "100"},
148
+ "希腊雅典ASE": {"code": "ASE", "market": "100"},
149
+ "墨西哥BOLSA": {"code": "MXX", "market": "100"},
150
+ "挪威OSEBX": {"code": "OSEBX", "market": "100"},
151
+ "巴西BOVESPA": {"code": "BVSP", "market": "100"},
152
+ "波兰WIG": {"code": "WIG", "market": "100"},
153
+ "印度孟买SENSEX": {"code": "SENSEX", "market": "100"},
154
+ "布拉格指数": {"code": "PX", "market": "100"},
155
+ "荷兰AEX": {"code": "AEX", "market": "100"},
156
+ "冰岛ICEX": {"code": "ICEXI", "market": "100"},
157
+ "斯里兰卡科伦坡": {"code": "CSEALL", "market": "100"},
158
+ "富时新加坡海峡时报": {"code": "STI", "market": "100"},
159
+ "富时意大利MIB": {"code": "MIB", "market": "100"},
160
+ "路透CRB商品指数": {"code": "CRB", "market": "100"},
161
+ "比利时BFX": {"code": "BFX", "market": "100"},
162
+ "富时AIM全股": {"code": "AXX", "market": "100"},
163
+ "新西兰50": {"code": "NZ50", "market": "100"},
164
+ "上证指数": {"code": "000001", "market": "1"},
165
+ "国企指数": {"code": "HSCEI", "market": "100"},
166
+ "沪深300": {"code": "000300", "market": "1"},
167
+ "英国富时100": {"code": "FTSE", "market": "100"},
168
+ "中小100": {"code": "399005", "market": "0"},
169
+ "瑞士SMI": {"code": "SSMI", "market": "100"},
170
+ "西班牙IBEX35": {"code": "IBEX", "market": "100"},
171
+ "瑞典OMXSPI": {"code": "OMXSPI", "market": "100"},
172
+ "爱尔兰综合": {"code": "ISEQ", "market": "100"},
173
+ "韩国KOSPI": {"code": "KS11", "market": "100"},
174
+ "深证成指": {"code": "399001", "market": "0"},
175
+ "韩国KOSPI200": {"code": "KOSPI200", "market": "100"},
176
+ "芬兰赫尔辛基": {"code": "HEX", "market": "100"},
177
+ "恒生指数": {"code": "HSI", "market": "100"},
178
+ "欧洲斯托克50": {"code": "SX5E", "market": "100"},
179
+ "美元指数": {"code": "UDI", "market": "100"},
180
+ "法国CAC40": {"code": "FCHI", "market": "100"},
181
+ "台湾加权": {"code": "TWII", "market": "100"},
182
+ "英国富时250": {"code": "MCX", "market": "100"},
183
+ "富时马来西亚KLCI": {"code": "KLSE", "market": "100"},
184
+ "OMX哥本哈根20": {"code": "OMXC20", "market": "100"},
185
+ "道琼斯": {"code": "DJIA", "market": "100"},
186
+ "奥地利ATX": {"code": "ATX", "market": "100"},
187
+ "加拿大S&P/TSX": {"code": "TSX", "market": "100"},
188
+ "德国DAX30": {"code": "GDAXI", "market": "100"},
189
+ "创业板指": {"code": "399006", "market": "0"},
190
+ "澳大利亚普通股": {"code": "AORD", "market": "100"},
191
+ "标普500": {"code": "SPX", "market": "100"},
192
+ "澳大利亚标普200": {"code": "AS51", "market": "100"},
193
+ "日经225": {"code": "N225", "market": "100"},
194
+ "纳斯达克": {"code": "NDX", "market": "100"},
195
+ }
@@ -0,0 +1,169 @@
1
+ #!/usr/bin/env python
2
+ # -*- coding:utf-8 -*-
3
+ """
4
+ Date: 2025/3/7 17:00
5
+ Desc: 东方财富网-行情中心-全球指数
6
+ https://quote.eastmoney.com/center/gridlist.html#global_qtzs
7
+ """
8
+
9
+ import pandas as pd
10
+ import requests
11
+
12
+ from akshare.index.cons import index_global_em_symbol_map
13
+
14
+
15
+ def index_global_spot_em() -> pd.DataFrame:
16
+ """
17
+ 东方财富网-行情中心-全球指数-实时行情数据
18
+ https://quote.eastmoney.com/center/gridlist.html#global_qtzs
19
+ :return: 实时行情数据
20
+ :rtype: pandas.DataFrame
21
+ """
22
+ url = "https://push2.eastmoney.com/api/qt/clist/get"
23
+ params = {
24
+ "np": "2",
25
+ "fltt": "1",
26
+ "invt": "2",
27
+ "fs": "i:1.000001,i:0.399001,i:0.399005,i:0.399006,i:1.000300,i:100.HSI,i:100.HSCEI,i:124.HSCCI,"
28
+ "i:100.TWII,i:100.N225,i:100.KOSPI200,i:100.KS11,i:100.STI,i:100.SENSEX,i:100.KLSE,i:100.SET,"
29
+ "i:100.PSI,i:100.KSE100,i:100.VNINDEX,i:100.JKSE,i:100.CSEALL,i:100.SX5E,i:100.FTSE,i:100.MCX,"
30
+ "i:100.AXX,i:100.FCHI,i:100.GDAXI,i:100.RTS,i:100.IBEX,i:100.PSI20,i:100.OMXC20,i:100.BFX,"
31
+ "i:100.AEX,i:100.WIG,i:100.OMXSPI,i:100.SSMI,i:100.HEX,i:100.OSEBX,i:100.ATX,i:100.MIB,"
32
+ "i:100.ASE,i:100.ICEXI,i:100.PX,i:100.ISEQ,i:100.DJIA,i:100.SPX,i:100.NDX,i:100.TSX,"
33
+ "i:100.BVSP,i:100.MXX,i:100.AS51,i:100.AORD,i:100.NZ50,i:100.UDI,i:100.BDI,i:100.CRB",
34
+ "fields": "f12,f13,f14,f292,f1,f2,f4,f3,f152,f17,f18,f15,f16,f7,f124",
35
+ "fid": "f3",
36
+ "pn": "1",
37
+ "pz": "200",
38
+ "po": "1",
39
+ "dect": "1",
40
+ "ut": "fa5fd1943c7b386f172d6893dbfba10b",
41
+ "wbp2u": "|0|0|0|web",
42
+ "_": "1741340608118",
43
+ }
44
+ r = requests.get(url=url, params=params)
45
+ data_json = r.json()
46
+ temp_df = pd.DataFrame(data_json["data"]["diff"]).T
47
+ temp_df.reset_index(inplace=True)
48
+ temp_df["index"] = temp_df["index"].astype(int) + 1
49
+ temp_df.rename(
50
+ columns={
51
+ "index": "序号",
52
+ "f12": "代码",
53
+ "f14": "名称",
54
+ "f17": "最新价",
55
+ "f4": "涨跌额",
56
+ "f3": "涨跌幅",
57
+ "f2": "开盘价",
58
+ "f15": "最高价",
59
+ "f16": "最低价",
60
+ "f18": "昨收价",
61
+ "f7": "振幅",
62
+ "f124": "最新行情时间",
63
+ },
64
+ inplace=True,
65
+ )
66
+ temp_df = temp_df[
67
+ [
68
+ "序号",
69
+ "代码",
70
+ "名称",
71
+ "最新价",
72
+ "涨跌额",
73
+ "涨跌幅",
74
+ "开盘价",
75
+ "最高价",
76
+ "最低价",
77
+ "昨收价",
78
+ "振幅",
79
+ "最新行情时间",
80
+ ]
81
+ ]
82
+ temp_df["最新行情时间"] = pd.to_datetime(
83
+ temp_df["最新行情时间"], unit="s", utc=True, errors="coerce"
84
+ ).dt.tz_convert("Asia/Shanghai")
85
+ temp_df["最新行情时间"] = temp_df["最新行情时间"].dt.strftime("%Y-%m-%d %H:%M:%S")
86
+ temp_df["最新价"] = pd.to_numeric(temp_df["最新价"], errors="coerce") / 100
87
+ temp_df["涨跌额"] = pd.to_numeric(temp_df["涨跌额"], errors="coerce") / 100
88
+ temp_df["涨跌幅"] = pd.to_numeric(temp_df["涨跌幅"], errors="coerce") / 100
89
+ temp_df["开盘价"] = pd.to_numeric(temp_df["开盘价"], errors="coerce") / 100
90
+ temp_df["最高价"] = pd.to_numeric(temp_df["最高价"], errors="coerce") / 100
91
+ temp_df["最低价"] = pd.to_numeric(temp_df["最低价"], errors="coerce") / 100
92
+ temp_df["昨收价"] = pd.to_numeric(temp_df["昨收价"], errors="coerce") / 100
93
+ temp_df["振幅"] = pd.to_numeric(temp_df["振幅"], errors="coerce") / 100
94
+ return temp_df
95
+
96
+
97
+ def index_global_hist_em(symbol: str = "美元指数") -> pd.DataFrame:
98
+ """
99
+ 东方财富网-行情中心-全球指数-历史行情数据
100
+ https://quote.eastmoney.com/gb/zsUDI.html
101
+ :param symbol: 指数名称;可以通过 ak.index_global_spot_em() 获取
102
+ :type symbol: str
103
+ :return: 历史行情数据
104
+ :rtype: pandas.DataFrame
105
+ """
106
+ url = "https://push2his.eastmoney.com/api/qt/stock/kline/get"
107
+ params = {
108
+ "secid": f"{index_global_em_symbol_map[symbol]['market']}.{index_global_em_symbol_map[symbol]['code']}",
109
+ "klt": "101",
110
+ "fqt": "1",
111
+ "lmt": "50000",
112
+ "end": "20500000",
113
+ "iscca": "1",
114
+ "fields1": "f1,f2,f3,f4,f5,f6,f7,f8",
115
+ "fields2": "f51,f52,f53,f54,f55,f56,f57,f58,f59,f60,f61,f62,f63,f64",
116
+ "ut": "f057cbcbce2a86e2866ab8877db1d059",
117
+ "forcect": "1",
118
+ }
119
+ r = requests.get(url=url, params=params)
120
+ data_json = r.json()
121
+
122
+ temp_df = pd.DataFrame([item.split(",") for item in data_json["data"]["klines"]])
123
+ temp_df["code"] = data_json["data"]["code"]
124
+ temp_df["name"] = data_json["data"]["name"]
125
+ temp_df.columns = [
126
+ "日期",
127
+ "今开",
128
+ "最新价",
129
+ "最高",
130
+ "最低",
131
+ "-",
132
+ "-",
133
+ "振幅",
134
+ "-",
135
+ "-",
136
+ "-",
137
+ "-",
138
+ "-",
139
+ "-",
140
+ "代码",
141
+ "名称",
142
+ ]
143
+ temp_df = temp_df[
144
+ [
145
+ "日期",
146
+ "代码",
147
+ "名称",
148
+ "今开",
149
+ "最新价",
150
+ "最高",
151
+ "最低",
152
+ "振幅",
153
+ ]
154
+ ]
155
+ temp_df["日期"] = pd.to_datetime(temp_df["日期"], errors="coerce").dt.date
156
+ temp_df["今开"] = pd.to_numeric(temp_df["今开"], errors="coerce")
157
+ temp_df["最新价"] = pd.to_numeric(temp_df["最新价"], errors="coerce")
158
+ temp_df["最高"] = pd.to_numeric(temp_df["最高"], errors="coerce")
159
+ temp_df["最低"] = pd.to_numeric(temp_df["最低"], errors="coerce")
160
+ temp_df["振幅"] = pd.to_numeric(temp_df["振幅"], errors="coerce")
161
+ return temp_df
162
+
163
+
164
+ if __name__ == "__main__":
165
+ index_global_spot_em_df = index_global_spot_em()
166
+ print(index_global_spot_em_df)
167
+
168
+ index_global_hist_em_df = index_global_hist_em(symbol="美元指数")
169
+ print(index_global_hist_em_df)
@@ -0,0 +1,82 @@
1
+ #!/usr/bin/env python
2
+ # -*- coding:utf-8 -*-
3
+ """
4
+ Date: 2025/3/7 17:00
5
+ Desc: 新浪财经-行情中心-环球市场
6
+ https://finance.sina.com.cn/stock/globalindex/quotes/UKX
7
+ """
8
+
9
+ import pandas as pd
10
+ import requests
11
+
12
+ from akshare.index.cons import index_global_sina_symbol_map
13
+
14
+
15
+ def index_global_name_table() -> pd.DataFrame:
16
+ """
17
+ 新浪财经-行情中心-环球市场-名称代码映射表
18
+ https://finance.sina.com.cn/stock/globalindex/quotes/UKX
19
+ :return: 名称代码映射表
20
+ :rtype: pandas.DataFrame
21
+ """
22
+ temp_df = pd.DataFrame.from_dict(
23
+ index_global_sina_symbol_map, orient="index", columns=["代码"]
24
+ )
25
+ temp_df.index.name = "指数名称"
26
+ temp_df.reset_index(inplace=True)
27
+ return temp_df
28
+
29
+
30
+ def index_global_hist_sina(symbol: str = "OMX") -> pd.DataFrame:
31
+ """
32
+ 新浪财经-行情中心-环球市场-历史行情
33
+ https://finance.sina.com.cn/stock/globalindex/quotes/UKX
34
+ :param symbol: 指数名称;可以通过 ak.index_global_name_table() 获取
35
+ :type symbol: str
36
+ :return: 环球市场历史行情
37
+ :rtype: pandas.DataFrame
38
+ """
39
+ url = "https://gi.finance.sina.com.cn/hq/daily"
40
+ params = {
41
+ "symbol": index_global_sina_symbol_map[symbol],
42
+ "num": "10000",
43
+ }
44
+ r = requests.get(url=url, params=params)
45
+ data_json = r.json()
46
+ temp_df = pd.DataFrame(data_json["result"]["data"])
47
+ temp_df.rename(
48
+ columns={
49
+ "d": "date",
50
+ "o": "open",
51
+ "h": "high",
52
+ "l": "low",
53
+ "c": "close",
54
+ "v": "volume",
55
+ },
56
+ inplace=True,
57
+ )
58
+ temp_df = temp_df[
59
+ [
60
+ "date",
61
+ "open",
62
+ "high",
63
+ "low",
64
+ "close",
65
+ "volume",
66
+ ]
67
+ ]
68
+ temp_df["date"] = pd.to_datetime(temp_df["date"], errors="coerce").dt.date
69
+ temp_df["open"] = pd.to_numeric(temp_df["open"], errors="coerce")
70
+ temp_df["high"] = pd.to_numeric(temp_df["high"], errors="coerce")
71
+ temp_df["low"] = pd.to_numeric(temp_df["low"], errors="coerce")
72
+ temp_df["close"] = pd.to_numeric(temp_df["close"], errors="coerce")
73
+ temp_df["volume"] = pd.to_numeric(temp_df["volume"], errors="coerce")
74
+ return temp_df
75
+
76
+
77
+ if __name__ == "__main__":
78
+ index_global_name_table_df = index_global_name_table()
79
+ print(index_global_name_table_df)
80
+
81
+ index_global_hist_sina_df = index_global_hist_sina(symbol="瑞士股票指数")
82
+ print(index_global_hist_sina_df)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: akshare
3
- Version: 1.16.30
3
+ Version: 1.16.31
4
4
  Summary: AKShare is an elegant and simple financial data interface library for Python, built for human beings!
5
5
  Home-page: https://github.com/akfamily/akshare
6
6
  Author: AKFamily
@@ -59,7 +59,7 @@ Dynamic: summary
59
59
  详情请关注【数据科学实战】公众号,查看更多课程信息!
60
60
 
61
61
  **广告推广**:期魔方是一款非常专业本地化期货量化终端,无需部署或搭建环境,可直接调用及时和历史数据做回测实盘,
62
- 支持开箱即用的机器学习训练,策略投研、回测均免费,详情请[访问期魔方官网](https://qmfquant.com)
62
+ 支持开箱即用的机器学习训练,策略投研、回测均免费,详情请[访问期魔方官网](https://qmfquant.com)
63
63
 
64
64
  ![AKShare Logo](https://github.com/akfamily/akshare/blob/main/assets/images/akshare_logo.jpg)
65
65
 
@@ -170,6 +170,8 @@ akshare/index/index_cons.py
170
170
  akshare/index/index_cx.py
171
171
  akshare/index/index_drewry.py
172
172
  akshare/index/index_eri.py
173
+ akshare/index/index_global_em.py
174
+ akshare/index/index_global_sina.py
173
175
  akshare/index/index_hog.py
174
176
  akshare/index/index_kq_fz.py
175
177
  akshare/index/index_kq_ss.py
@@ -1,91 +0,0 @@
1
- #!/usr/bin/env python
2
- # -*- coding:utf-8 -*-
3
- """
4
- Date: 2021/5/27 20:19
5
- Desc: 指数配置文件
6
- """
7
- # weibo-user-agent
8
- index_weibo_headers = {
9
- "User-Agent": "Mozilla/5.0 (iPhone; CPU iPhone OS 11_0 like Mac OS X) AppleWebKit/604.1.38 (KHTML, like Gecko) Version/11.0 Mobile/15A372 Safari/604.1",
10
- "Referer": "http://data.weibo.com/index/newindex",
11
- "Accept": "application/json",
12
- "Origin": "https://data.weibo.com",
13
- }
14
-
15
- # sw-cons
16
- sw_cons_headers = {
17
- "Accept": "*/*",
18
- "Accept-Encoding": "gzip, deflate",
19
- "Accept-Language": "zh-CN,zh;q=0.9,en;q=0.8",
20
- "Connection": "keep-alive",
21
- "Content-Length": "34",
22
- "Content-Type": "text/plain; charset=UTF-8",
23
- # "Cookie": "ASP.NET_SessionId=i55eaz55142xdxfx0bkqp145",
24
- "Host": "www.swsindex.com",
25
- "Origin": "http://www.swsindex.com",
26
- "Referer": "http://www.swsindex.com/idx0210.aspx?swindexcode=801010",
27
- 'User-Agent': "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36",
28
- "X-AjaxPro-Method": "ReturnContent",
29
- }
30
-
31
- # sw-url
32
- sw_url = "http://www.swsindex.com/handler.aspx"
33
-
34
- # sw-payload
35
- sw_payload = {
36
- "tablename": "swzs",
37
- "key": "L1",
38
- "p": "1",
39
- "where": "L1 in('801010','801020','801030','801040','801050','801080','801110','801120','801130','801140','801150','801160','801170','801180','801200','801210','801230','801710','801720','801730','801740','801750','801760','801770','801780','801790','801880','801890','801950','801960','801970','801980')",
40
- "orderby": "",
41
- "fieldlist": "L1,L2,L3,L4,L5,L6,L7,L8,L11",
42
- "pagecount": "28",
43
- "timed": "",
44
- }
45
-
46
- # sw-headers
47
- sw_headers = {
48
- 'Accept': 'application/json, text/javascript, */*',
49
- 'Accept-Encoding': 'gzip, deflate',
50
- 'Accept-Language': 'zh-CN,zh;q=0.9,en;q=0.8',
51
- 'Cache-Control': 'no-cache',
52
- 'Content-Type': 'application/x-www-form-urlencoded',
53
- 'DNT': '1',
54
- 'Host': 'www.swsindex.com',
55
- 'Origin': 'http://www.swsindex.com',
56
- 'Pragma': 'no-cache',
57
- 'Referer': 'http://www.swsindex.com/idx0120.aspx?columnid=8832',
58
- 'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36',
59
- 'X-Requested-With': 'XMLHttpRequest'
60
- }
61
-
62
- # zh-sina-a
63
- zh_sina_index_stock_url = "http://vip.stock.finance.sina.com.cn/quotes_service/api/json_v2.php/Market_Center.getHQNodeDataSimple"
64
- zh_sina_index_stock_payload = {
65
- "page": "1",
66
- "num": "80",
67
- "sort": "symbol",
68
- "asc": "1",
69
- "node": "hs_s",
70
- "_s_r_a": "page"
71
- }
72
- zh_sina_index_stock_count_url = "http://vip.stock.finance.sina.com.cn/quotes_service/api/json_v2.php/Market_Center.getHQNodeStockCountSimple?node=hs_s"
73
- zh_sina_index_stock_hist_url = "https://finance.sina.com.cn/realstock/company/{}/hisdata/klc_kl.js"
74
-
75
- # investing
76
- short_headers = {
77
- 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.91 Safari/537.36'
78
- }
79
-
80
- long_headers = {
81
- 'accept': 'text/plain, */*; q=0.01',
82
- # 'accept-encoding': 'gzip, deflate, br',
83
- 'accept-language': 'zh-CN,zh;q=0.9,en;q=0.8',
84
- # 'cache-control': 'no-cache',
85
- 'content-length': '267',
86
- 'content-type': 'application/x-www-form-urlencoded',
87
- 'origin': 'https://cn.investing.com',
88
- 'referer': 'https://cn.investing.com/commodities/brent-oil-historical-data',
89
- 'user-agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.91 Safari/537.36',
90
- 'x-requested-with': 'XMLHttpRequest',
91
- }
File without changes
File without changes