akshare 1.14.38__tar.gz → 1.14.40__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.
Potentially problematic release.
This version of akshare might be problematic. Click here for more details.
- {akshare-1.14.38 → akshare-1.14.40}/PKG-INFO +1 -1
- {akshare-1.14.38 → akshare-1.14.40}/akshare/__init__.py +8 -1
- {akshare-1.14.38 → akshare-1.14.40}/akshare/fund/fund_rank_em.py +89 -80
- akshare-1.14.40/akshare/stock/stock_hk_famous.py +108 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_us_famous.py +15 -6
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_zh_b_sina.py +27 -51
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_board_industry_ths.py +1 -1
- {akshare-1.14.38 → akshare-1.14.40}/akshare.egg-info/PKG-INFO +1 -1
- {akshare-1.14.38 → akshare-1.14.40}/akshare.egg-info/SOURCES.txt +1 -0
- {akshare-1.14.38 → akshare-1.14.40}/LICENSE +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/README.md +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/air/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/air/air_hebei.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/air/air_zhenqi.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/air/cons.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/air/crypto.js +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/air/outcrypto.js +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/air/sunrise_tad.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/article/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/article/cons.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/article/epu_index.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/article/ff_factor.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/article/fred_md.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/article/risk_rv.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/bank/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/bank/bank_cbirc_2020.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/bank/cons.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/bond/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/bond/bond_cb_sina.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/bond/bond_cb_ths.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/bond/bond_cbond.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/bond/bond_china.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/bond/bond_china_money.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/bond/bond_convert.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/bond/bond_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/bond/bond_futures.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/bond/bond_info_cm.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/bond/bond_investing.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/bond/bond_issue_cninfo.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/bond/bond_nafmii.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/bond/bond_summary.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/bond/bond_zh_cov.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/bond/bond_zh_sina.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/bond/cons.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/cost/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/cost/cost_living.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/crypto/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/crypto/crypto_bitcoin_cme.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/crypto/crypto_hist_investing.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/crypto/crypto_hold.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/currency/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/currency/currency.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/currency/currency_china_bank_sina.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/currency/currency_safe.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/data/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/data/cninfo.js +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/data/crypto_info.zip +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/data/ths.js +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/datasets.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/economic/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/economic/cons.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/economic/macro_australia.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/economic/macro_bank.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/economic/macro_canada.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/economic/macro_china.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/economic/macro_china_hk.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/economic/macro_china_nbs.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/economic/macro_constitute.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/economic/macro_euro.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/economic/macro_finance_ths.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/economic/macro_germany.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/economic/macro_info_ws.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/economic/macro_japan.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/economic/macro_other.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/economic/macro_swiss.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/economic/macro_uk.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/economic/macro_usa.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/economic/marco_cnbs.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/energy/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/energy/energy_carbon.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/energy/energy_oil_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/event/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/event/cons.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/event/migration.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/file_fold/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/file_fold/calendar.json +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/fortune/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/fortune/fortune_500.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/fortune/fortune_bloomberg.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/fortune/fortune_forbes_500.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/fortune/fortune_hurun.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/fortune/fortune_it_juzi.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/fortune/fortune_xincaifu_500.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/fund/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/fund/fund_amac.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/fund/fund_announcement.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/fund/fund_aum_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/fund/fund_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/fund/fund_etf_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/fund/fund_etf_sina.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/fund/fund_etf_ths.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/fund/fund_fhsp_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/fund/fund_init_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/fund/fund_lof_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/fund/fund_manager.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/fund/fund_portfolio_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/fund/fund_position_lg.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/fund/fund_rating.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/fund/fund_report_cninfo.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/fund/fund_scale_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/fund/fund_scale_sina.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/fund/fund_xq.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures/cons.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures/cot.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures/futures_basis.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures/futures_comex_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures/futures_comm_ctp.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures/futures_comm_qihuo.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures/futures_contract_detail.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures/futures_daily_bar.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures/futures_foreign.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures/futures_hf_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures/futures_hq_sina.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures/futures_index_ccidx.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures/futures_international.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures/futures_inventory_99.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures/futures_inventory_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures/futures_news_baidu.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures/futures_news_shmet.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures/futures_roll_yield.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures/futures_rule.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures/futures_settlement_price_sgx.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures/futures_spot_stock_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures/futures_stock_js.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures/futures_to_spot.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures/futures_warehouse_receipt.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures/futures_zh_sina.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures/inventory_data.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures/receipt.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures/requests_fun.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures/symbol_var.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures_derivative/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures_derivative/cons.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures_derivative/futures_contract_info_cffex.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures_derivative/futures_contract_info_czce.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures_derivative/futures_contract_info_dce.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures_derivative/futures_contract_info_gfex.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures_derivative/futures_contract_info_ine.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures_derivative/futures_contract_info_shfe.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures_derivative/futures_cot_sina.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures_derivative/futures_hog.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures_derivative/futures_index_price_nh.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures_derivative/futures_index_return_nh.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures_derivative/futures_index_sina.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures_derivative/futures_index_volatility_nh.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures_derivative/futures_other_index_nh.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/futures_derivative/futures_spot_sys.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/fx/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/fx/cons.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/fx/currency_investing.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/fx/fx_quote.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/fx/fx_quote_baidu.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/hf/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/hf/hf_sp500.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/index/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/index/cons.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/index/index_cflp.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/index/index_cni.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/index/index_cons.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/index/index_cx.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/index/index_drewry.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/index/index_eri.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/index/index_fear_greed_funddb.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/index/index_hog.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/index/index_investing.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/index/index_kq_fz.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/index/index_kq_ss.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/index/index_option_qvix.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/index/index_research_fund_sw.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/index/index_research_sw.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/index/index_spot.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/index/index_stock_hk.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/index/index_stock_us_sina.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/index/index_stock_zh.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/index/index_stock_zh_csindex.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/index/index_sugar.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/index/index_sw.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/index/index_yw.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/index/index_zh_a_scope.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/index/index_zh_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/interest_rate/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/interest_rate/interbank_rate_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/movie/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/movie/artist_yien.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/movie/jm.js +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/movie/movie_yien.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/movie/video_yien.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/news/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/news/news_baidu.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/news/news_cctv.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/news/news_stock.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/nlp/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/nlp/nlp_interface.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/option/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/option/cons.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/option/option_comm_qihuo.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/option/option_commodity.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/option/option_commodity_sina.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/option/option_czce.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/option/option_daily_stats_sse_szse.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/option/option_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/option/option_finance.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/option/option_finance_sina.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/option/option_lhb_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/option/option_premium_analysis_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/option/option_risk_analysis_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/option/option_risk_indicator_sse.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/option/option_value_analysis_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/other/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/other/other_car_cpca.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/other/other_car_gasgoo.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/pro/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/pro/client.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/pro/cons.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/pro/data_pro.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/qhkc/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/qhkc/qhkc_api.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/qhkc_web/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/qhkc_web/qhkc_fund.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/qhkc_web/qhkc_index.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/qhkc_web/qhkc_tool.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/rate/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/rate/repo_rate.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/reits/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/reits/reits_basic.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/sport/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/sport/sport_olympic.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/sport/sport_olympic_winter.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/spot/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/spot/spot_price_qh.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/spot/spot_sge.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/cons.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_allotment_cninfo.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_ask_bid_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_board_concept_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_board_industry_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_cg_equity_mortgage.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_cg_guarantee.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_cg_lawsuit.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_dividend_cninfo.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_dzjy_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_fund_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_fund_hold.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_gsrl_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_hk_fhpx_ths.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_hk_hot_rank_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_hk_sina.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_hold_control_cninfo.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_hold_control_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_hold_num_cninfo.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_hot_rank_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_hot_search_baidu.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_hot_up_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_industry.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_industry_cninfo.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_industry_pe_cninfo.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_industry_sw.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_info.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_info_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_intraday_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_intraday_sina.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_ipo_summary_cninfo.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_new_cninfo.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_profile_cninfo.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_rank_forecast.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_repurchase_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_share_changes_cninfo.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_share_hold.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_stop.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_summary.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_us_js.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_us_pink.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_us_sina.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_weibo_nlp.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_xq.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_zh_a_sina.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_zh_a_special.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_zh_a_tick_tx.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_zh_ah_tx.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_zh_kcb_report.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock/stock_zh_kcb_sina.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/cons.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_a_below_net_asset_statistics.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_a_high_low.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_a_indicator.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_a_pe_and_pb.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_account_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_all_pb.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_analyst_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_buffett_index_lg.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_classify_sina.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_comment_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_concept_futu.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_congestion_lg.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_cyq_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_disclosure_cninfo.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_dxsyl_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_ebs_lg.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_esg_sina.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_fhps_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_fhps_ths.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_fund_flow.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_gddh_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_gdfx_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_gdhs.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_gdzjc_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_gpzy_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_gxl_lg.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_hist_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_hist_tx.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_hk_valuation_baidu.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_hot_xq.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_hsgt_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_hsgt_exchange_rate.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_hsgt_min_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_info.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_inner_trade_xq.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_irm_cninfo.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_jgdy_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_lh_yybpm.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_lhb_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_lhb_sina.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_margin_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_margin_sse.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_margin_szse.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_market_legu.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_pankou_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_qsjy_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_report_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_research_report_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_sns_sseinfo.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_sy_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_technology_ths.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_tfp_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_three_report_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_ttm_lyr.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_wencai.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_yjbb_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_yjyg_cninfo.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_yjyg_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_yzxdr_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_zdhtmx_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_zf_pg.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_zh_valuation_baidu.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_zh_vote_baidu.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/stock_ztb_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_feature/ths.js +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_fundamental/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_fundamental/stock_finance.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_fundamental/stock_finance_hk.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_fundamental/stock_finance_ths.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_fundamental/stock_hold.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_fundamental/stock_ipo_declare.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_fundamental/stock_kcb_detail_sse.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_fundamental/stock_kcb_sse.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_fundamental/stock_mda_ym.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_fundamental/stock_notice.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_fundamental/stock_profit_forecast_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_fundamental/stock_profit_forecast_hk_etnet.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_fundamental/stock_profit_forecast_ths.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_fundamental/stock_recommend.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_fundamental/stock_register_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_fundamental/stock_restricted_em.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_fundamental/stock_zygc.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/stock_fundamental/stock_zyjs_ths.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/tool/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/tool/trade_date_hist.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/utils/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/utils/cons.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/utils/demjson.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/utils/func.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/utils/token_process.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare/utils/tqdm.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare.egg-info/dependency_links.txt +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare.egg-info/requires.txt +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/akshare.egg-info/top_level.txt +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/pyproject.toml +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/setup.cfg +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/setup.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/tests/__init__.py +0 -0
- {akshare-1.14.38 → akshare-1.14.40}/tests/test_func.py +0 -0
|
@@ -2849,9 +2849,11 @@ amac_manager_cancelled_info # 中国证券投资基金业协会-信息公示-诚
|
|
|
2849
2849
|
1.14.36 fix: fix option_czce_daily interface
|
|
2850
2850
|
1.14.37 fix: fix stock_zh_kcb_report_em interface
|
|
2851
2851
|
1.14.38 fix: fix stock_industry_clf_hist_sw interface
|
|
2852
|
+
1.14.39 fix: fix stock_zh_b_daily interface
|
|
2853
|
+
1.14.40 fix: fix fund_open_fund_rank_em interface
|
|
2852
2854
|
"""
|
|
2853
2855
|
|
|
2854
|
-
__version__ = "1.14.
|
|
2856
|
+
__version__ = "1.14.40"
|
|
2855
2857
|
__author__ = "AKFamily"
|
|
2856
2858
|
|
|
2857
2859
|
import sys
|
|
@@ -2873,6 +2875,11 @@ if sys.version_info < (3, 9):
|
|
|
2873
2875
|
|
|
2874
2876
|
del sys
|
|
2875
2877
|
|
|
2878
|
+
"""
|
|
2879
|
+
知名港股
|
|
2880
|
+
"""
|
|
2881
|
+
from akshare.stock.stock_hk_famous import stock_hk_famous_spot_em
|
|
2882
|
+
|
|
2876
2883
|
"""
|
|
2877
2884
|
同花顺-数据中心-宏观数据-股票筹资
|
|
2878
2885
|
"""
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env python
|
|
2
2
|
# -*- coding:utf-8 -*-
|
|
3
3
|
"""
|
|
4
|
-
Date: 2024/
|
|
4
|
+
Date: 2024/7/24 13:00
|
|
5
5
|
Desc: 东方财富网-数据中心-开放基金排行
|
|
6
6
|
https://fund.eastmoney.com/data/fundranking.html
|
|
7
7
|
名词解释
|
|
8
8
|
https://help.1234567.com.cn/list_236.html
|
|
9
9
|
"""
|
|
10
|
+
|
|
10
11
|
from datetime import datetime, date
|
|
11
12
|
|
|
12
13
|
import pandas as pd
|
|
@@ -33,7 +34,7 @@ def fund_open_fund_rank_em(symbol: str = "全部") -> pd.DataFrame:
|
|
|
33
34
|
"""
|
|
34
35
|
东方财富网-数据中心-开放基金排行
|
|
35
36
|
https://fund.eastmoney.com/data/fundranking.html
|
|
36
|
-
:param symbol: choice of {"全部", "股票型", "混合型", "债券型", "指数型", "QDII", "
|
|
37
|
+
:param symbol: choice of {"全部", "股票型", "混合型", "债券型", "指数型", "QDII", "FOF"}
|
|
37
38
|
:type symbol: str
|
|
38
39
|
:return: 开放基金排行
|
|
39
40
|
:rtype: pandas.DataFrame
|
|
@@ -69,12 +70,13 @@ def fund_open_fund_rank_em(symbol: str = "全部") -> pd.DataFrame:
|
|
|
69
70
|
"v": "0.1591891419018292",
|
|
70
71
|
}
|
|
71
72
|
headers = {
|
|
72
|
-
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
|
|
73
|
+
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) "
|
|
74
|
+
"Chrome/81.0.4044.138 Safari/537.36",
|
|
73
75
|
"Referer": "https://fund.eastmoney.com/fundguzhi.html",
|
|
74
76
|
}
|
|
75
77
|
r = requests.get(url, params=params, headers=headers)
|
|
76
78
|
data_text = r.text
|
|
77
|
-
data_json = demjson.decode(data_text[data_text.find("{"): -1])
|
|
79
|
+
data_json = demjson.decode(data_text[data_text.find("{") : -1])
|
|
78
80
|
temp_df = pd.DataFrame(data_json["datas"])
|
|
79
81
|
temp_df = temp_df.iloc[:, 0].str.split(",", expand=True)
|
|
80
82
|
temp_df.reset_index(inplace=True)
|
|
@@ -129,20 +131,20 @@ def fund_open_fund_rank_em(symbol: str = "全部") -> pd.DataFrame:
|
|
|
129
131
|
"手续费",
|
|
130
132
|
]
|
|
131
133
|
]
|
|
132
|
-
temp_df[
|
|
133
|
-
temp_df[
|
|
134
|
-
temp_df[
|
|
135
|
-
temp_df[
|
|
136
|
-
temp_df[
|
|
137
|
-
temp_df[
|
|
138
|
-
temp_df[
|
|
139
|
-
temp_df[
|
|
140
|
-
temp_df[
|
|
141
|
-
temp_df[
|
|
142
|
-
temp_df[
|
|
143
|
-
temp_df[
|
|
144
|
-
temp_df[
|
|
145
|
-
temp_df[
|
|
134
|
+
temp_df["日期"] = pd.to_datetime(temp_df["日期"], errors="coerce").dt.date
|
|
135
|
+
temp_df["单位净值"] = pd.to_numeric(temp_df["单位净值"], errors="coerce")
|
|
136
|
+
temp_df["累计净值"] = pd.to_numeric(temp_df["累计净值"], errors="coerce")
|
|
137
|
+
temp_df["日增长率"] = pd.to_numeric(temp_df["日增长率"], errors="coerce")
|
|
138
|
+
temp_df["近1周"] = pd.to_numeric(temp_df["近1周"], errors="coerce")
|
|
139
|
+
temp_df["近1月"] = pd.to_numeric(temp_df["近1月"], errors="coerce")
|
|
140
|
+
temp_df["近3月"] = pd.to_numeric(temp_df["近3月"], errors="coerce")
|
|
141
|
+
temp_df["近6月"] = pd.to_numeric(temp_df["近6月"], errors="coerce")
|
|
142
|
+
temp_df["近1年"] = pd.to_numeric(temp_df["近1年"], errors="coerce")
|
|
143
|
+
temp_df["近2年"] = pd.to_numeric(temp_df["近2年"], errors="coerce")
|
|
144
|
+
temp_df["近3年"] = pd.to_numeric(temp_df["近3年"], errors="coerce")
|
|
145
|
+
temp_df["今年来"] = pd.to_numeric(temp_df["今年来"], errors="coerce")
|
|
146
|
+
temp_df["成立来"] = pd.to_numeric(temp_df["成立来"], errors="coerce")
|
|
147
|
+
temp_df["自定义"] = pd.to_numeric(temp_df["自定义"], errors="coerce")
|
|
146
148
|
return temp_df
|
|
147
149
|
|
|
148
150
|
|
|
@@ -167,12 +169,13 @@ def fund_exchange_rank_em() -> pd.DataFrame:
|
|
|
167
169
|
"v": "0.1591891419018292",
|
|
168
170
|
}
|
|
169
171
|
headers = {
|
|
170
|
-
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
|
|
172
|
+
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) "
|
|
173
|
+
"Chrome/81.0.4044.138 Safari/537.36",
|
|
171
174
|
"Referer": "https://fund.eastmoney.com/fundguzhi.html",
|
|
172
175
|
}
|
|
173
176
|
r = requests.get(url, params=params, headers=headers)
|
|
174
177
|
text_data = r.text
|
|
175
|
-
json_data = demjson.decode(text_data[text_data.find("{"): -1])
|
|
178
|
+
json_data = demjson.decode(text_data[text_data.find("{") : -1])
|
|
176
179
|
temp_df = pd.DataFrame(json_data["datas"])
|
|
177
180
|
temp_df = temp_df.iloc[:, 0].str.split(",", expand=True)
|
|
178
181
|
temp_df.reset_index(inplace=True)
|
|
@@ -224,19 +227,19 @@ def fund_exchange_rank_em() -> pd.DataFrame:
|
|
|
224
227
|
"成立日期",
|
|
225
228
|
]
|
|
226
229
|
]
|
|
227
|
-
temp_df[
|
|
228
|
-
temp_df[
|
|
229
|
-
temp_df[
|
|
230
|
-
temp_df[
|
|
231
|
-
temp_df[
|
|
232
|
-
temp_df[
|
|
233
|
-
temp_df[
|
|
234
|
-
temp_df[
|
|
235
|
-
temp_df[
|
|
236
|
-
temp_df[
|
|
237
|
-
temp_df[
|
|
238
|
-
temp_df[
|
|
239
|
-
temp_df[
|
|
230
|
+
temp_df["日期"] = pd.to_datetime(temp_df["日期"], errors="coerce").dt.date
|
|
231
|
+
temp_df["成立日期"] = pd.to_datetime(temp_df["成立日期"]).dt.date
|
|
232
|
+
temp_df["单位净值"] = pd.to_numeric(temp_df["单位净值"], errors="coerce")
|
|
233
|
+
temp_df["累计净值"] = pd.to_numeric(temp_df["累计净值"], errors="coerce")
|
|
234
|
+
temp_df["近1周"] = pd.to_numeric(temp_df["近1周"], errors="coerce")
|
|
235
|
+
temp_df["近1月"] = pd.to_numeric(temp_df["近1月"], errors="coerce")
|
|
236
|
+
temp_df["近3月"] = pd.to_numeric(temp_df["近3月"], errors="coerce")
|
|
237
|
+
temp_df["近6月"] = pd.to_numeric(temp_df["近6月"], errors="coerce")
|
|
238
|
+
temp_df["近1年"] = pd.to_numeric(temp_df["近1年"], errors="coerce")
|
|
239
|
+
temp_df["近2年"] = pd.to_numeric(temp_df["近2年"], errors="coerce")
|
|
240
|
+
temp_df["近3年"] = pd.to_numeric(temp_df["近3年"], errors="coerce")
|
|
241
|
+
temp_df["今年来"] = pd.to_numeric(temp_df["今年来"], errors="coerce")
|
|
242
|
+
temp_df["成立来"] = pd.to_numeric(temp_df["成立来"], errors="coerce")
|
|
240
243
|
return temp_df
|
|
241
244
|
|
|
242
245
|
|
|
@@ -259,7 +262,8 @@ def fund_money_rank_em() -> pd.DataFrame:
|
|
|
259
262
|
"_": "1603867224251",
|
|
260
263
|
}
|
|
261
264
|
headers = {
|
|
262
|
-
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
|
|
265
|
+
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) "
|
|
266
|
+
"Chrome/81.0.4044.138 Safari/537.36",
|
|
263
267
|
"Referer": "https://fund.eastmoney.com/fundguzhi.html",
|
|
264
268
|
}
|
|
265
269
|
r = requests.get(url, params=params, headers=headers)
|
|
@@ -319,20 +323,24 @@ def fund_money_rank_em() -> pd.DataFrame:
|
|
|
319
323
|
"手续费",
|
|
320
324
|
]
|
|
321
325
|
]
|
|
322
|
-
temp_df[
|
|
323
|
-
temp_df[
|
|
324
|
-
temp_df[
|
|
325
|
-
temp_df[
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
temp_df[
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
temp_df[
|
|
332
|
-
temp_df[
|
|
333
|
-
temp_df[
|
|
334
|
-
temp_df[
|
|
335
|
-
temp_df[
|
|
326
|
+
temp_df["日期"] = pd.to_datetime(temp_df["日期"], errors="coerce").dt.date
|
|
327
|
+
temp_df["万份收益"] = pd.to_numeric(temp_df["万份收益"], errors="coerce")
|
|
328
|
+
temp_df["年化收益率7日"] = pd.to_numeric(temp_df["年化收益率7日"], errors="coerce")
|
|
329
|
+
temp_df["年化收益率14日"] = pd.to_numeric(
|
|
330
|
+
temp_df["年化收益率14日"], errors="coerce"
|
|
331
|
+
)
|
|
332
|
+
temp_df["年化收益率28日"] = pd.to_numeric(
|
|
333
|
+
temp_df["年化收益率28日"], errors="coerce"
|
|
334
|
+
)
|
|
335
|
+
temp_df["近1月"] = pd.to_numeric(temp_df["近1月"], errors="coerce")
|
|
336
|
+
temp_df["近3月"] = pd.to_numeric(temp_df["近3月"], errors="coerce")
|
|
337
|
+
temp_df["近6月"] = pd.to_numeric(temp_df["近6月"], errors="coerce")
|
|
338
|
+
temp_df["近1年"] = pd.to_numeric(temp_df["近1年"], errors="coerce")
|
|
339
|
+
temp_df["近2年"] = pd.to_numeric(temp_df["近2年"], errors="coerce")
|
|
340
|
+
temp_df["近3年"] = pd.to_numeric(temp_df["近3年"], errors="coerce")
|
|
341
|
+
temp_df["近5年"] = pd.to_numeric(temp_df["近5年"], errors="coerce")
|
|
342
|
+
temp_df["今年来"] = pd.to_numeric(temp_df["今年来"], errors="coerce")
|
|
343
|
+
temp_df["成立来"] = pd.to_numeric(temp_df["成立来"], errors="coerce")
|
|
336
344
|
return temp_df
|
|
337
345
|
|
|
338
346
|
|
|
@@ -358,13 +366,14 @@ def fund_lcx_rank_em() -> pd.DataFrame:
|
|
|
358
366
|
"_": "1603867224251",
|
|
359
367
|
}
|
|
360
368
|
headers = {
|
|
361
|
-
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
|
|
369
|
+
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) "
|
|
370
|
+
"Chrome/81.0.4044.138 Safari/537.36",
|
|
362
371
|
"Referer": "https://fund.eastmoney.com/fundguzhi.html",
|
|
363
372
|
}
|
|
364
373
|
r = requests.get(url, params=params, headers=headers)
|
|
365
374
|
try:
|
|
366
375
|
data_json = r.json()
|
|
367
|
-
except:
|
|
376
|
+
except: # noqa: E722
|
|
368
377
|
return pd.DataFrame()
|
|
369
378
|
temp_df = pd.DataFrame(data_json["Data"])
|
|
370
379
|
temp_df.reset_index(inplace=True)
|
|
@@ -427,21 +436,22 @@ def fund_hk_rank_em() -> pd.DataFrame:
|
|
|
427
436
|
format_date = datetime.now().date().isoformat()
|
|
428
437
|
url = "https://overseas.1234567.com.cn/overseasapi/OpenApiHander.ashx"
|
|
429
438
|
params = {
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
439
|
+
"api": "HKFDApi",
|
|
440
|
+
"m": "MethodFundList",
|
|
441
|
+
"action": "1",
|
|
442
|
+
"pageindex": "0",
|
|
443
|
+
"pagesize": "5000",
|
|
444
|
+
"dy": "1",
|
|
445
|
+
"date1": format_date,
|
|
446
|
+
"date2": format_date,
|
|
447
|
+
"sortfield": "Y",
|
|
448
|
+
"sorttype": "-1",
|
|
449
|
+
"isbuy": "0",
|
|
450
|
+
"_": "1610790553848",
|
|
442
451
|
}
|
|
443
452
|
headers = {
|
|
444
|
-
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko)
|
|
453
|
+
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) "
|
|
454
|
+
"Chrome/81.0.4044.138 Safari/537.36",
|
|
445
455
|
"Referer": "https://fund.eastmoney.com/fundguzhi.html",
|
|
446
456
|
}
|
|
447
457
|
r = requests.get(url, params=params, headers=headers)
|
|
@@ -494,20 +504,22 @@ def fund_hk_rank_em() -> pd.DataFrame:
|
|
|
494
504
|
"香港基金代码",
|
|
495
505
|
]
|
|
496
506
|
]
|
|
497
|
-
temp_df[
|
|
498
|
-
temp_df[
|
|
499
|
-
temp_df[
|
|
500
|
-
temp_df[
|
|
501
|
-
temp_df[
|
|
502
|
-
temp_df[
|
|
503
|
-
temp_df[
|
|
504
|
-
temp_df[
|
|
505
|
-
temp_df[
|
|
506
|
-
temp_df[
|
|
507
|
-
temp_df[
|
|
508
|
-
temp_df[
|
|
509
|
-
temp_df[
|
|
510
|
-
temp_df[
|
|
507
|
+
temp_df["日期"] = pd.to_datetime(temp_df["日期"], errors="coerce").dt.date
|
|
508
|
+
temp_df["单位净值"] = pd.to_numeric(temp_df["单位净值"], errors="coerce")
|
|
509
|
+
temp_df["日增长率"] = pd.to_numeric(temp_df["日增长率"], errors="coerce")
|
|
510
|
+
temp_df["近1周"] = pd.to_numeric(temp_df["近1周"], errors="coerce")
|
|
511
|
+
temp_df["近1月"] = pd.to_numeric(temp_df["近1月"], errors="coerce")
|
|
512
|
+
temp_df["近3月"] = pd.to_numeric(temp_df["近3月"], errors="coerce")
|
|
513
|
+
temp_df["近6月"] = pd.to_numeric(temp_df["近6月"], errors="coerce")
|
|
514
|
+
temp_df["近1年"] = pd.to_numeric(temp_df["近1年"], errors="coerce")
|
|
515
|
+
temp_df["近2年"] = pd.to_numeric(temp_df["近2年"], errors="coerce")
|
|
516
|
+
temp_df["近3年"] = pd.to_numeric(temp_df["近3年"], errors="coerce")
|
|
517
|
+
temp_df["今年来"] = pd.to_numeric(temp_df["今年来"], errors="coerce")
|
|
518
|
+
temp_df["成立来"] = pd.to_numeric(temp_df["成立来"], errors="coerce")
|
|
519
|
+
temp_df["成立来"] = pd.to_numeric(temp_df["成立来"], errors="coerce")
|
|
520
|
+
temp_df["可购买"] = temp_df["可购买"].map(
|
|
521
|
+
lambda x: "可购买" if x == "1" else "不可购买"
|
|
522
|
+
)
|
|
511
523
|
return temp_df
|
|
512
524
|
|
|
513
525
|
|
|
@@ -530,9 +542,6 @@ if __name__ == "__main__":
|
|
|
530
542
|
fund_open_fund_rank_em_df = fund_open_fund_rank_em(symbol="QDII")
|
|
531
543
|
print(fund_open_fund_rank_em_df)
|
|
532
544
|
|
|
533
|
-
fund_open_fund_rank_em_df = fund_open_fund_rank_em(symbol="LOF")
|
|
534
|
-
print(fund_open_fund_rank_em_df)
|
|
535
|
-
|
|
536
545
|
fund_open_fund_rank_em_df = fund_open_fund_rank_em(symbol="FOF")
|
|
537
546
|
print(fund_open_fund_rank_em_df)
|
|
538
547
|
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
#!/usr/bin/env python
|
|
2
|
+
# -*- coding:utf-8 -*-
|
|
3
|
+
"""
|
|
4
|
+
Date: 2024/7/24 13:30
|
|
5
|
+
Desc: 东方财富网-行情中心-港股市场-知名港股
|
|
6
|
+
https://quote.eastmoney.com/center/gridlist.html#hk_wellknown
|
|
7
|
+
"""
|
|
8
|
+
|
|
9
|
+
import pandas as pd
|
|
10
|
+
import requests
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def stock_hk_famous_spot_em() -> pd.DataFrame:
|
|
14
|
+
"""
|
|
15
|
+
东方财富网-行情中心-港股市场-知名港股
|
|
16
|
+
https://quote.eastmoney.com/center/gridlist.html#hk_wellknown
|
|
17
|
+
:return: 知名美股实时行情
|
|
18
|
+
:rtype: pandas.DataFrame
|
|
19
|
+
"""
|
|
20
|
+
url = "https://69.push2.eastmoney.com/api/qt/clist/get"
|
|
21
|
+
params = {
|
|
22
|
+
"pn": "1",
|
|
23
|
+
"pz": "2000",
|
|
24
|
+
"po": "1",
|
|
25
|
+
"np": "1",
|
|
26
|
+
"ut": "bd1d9ddb04089700cf9c27f6f7426281",
|
|
27
|
+
"fltt": "2",
|
|
28
|
+
"invt": "2",
|
|
29
|
+
"dect": "1",
|
|
30
|
+
"wbp2u": "|0|0|0|web",
|
|
31
|
+
"fid": "f3",
|
|
32
|
+
"fs": "b:DLMK0106",
|
|
33
|
+
"fields": "f1,f2,f3,f4,f5,f6,f7,f8,f9,f10,f12,f13,f14,f15,f16,f17,f18,f20,f21,f23,f24,"
|
|
34
|
+
"f25,f26,f22,f33,f11,f62,f128,f136,f115,f152",
|
|
35
|
+
"_": "1631271634231",
|
|
36
|
+
}
|
|
37
|
+
r = requests.get(url, params=params)
|
|
38
|
+
data_json = r.json()
|
|
39
|
+
temp_df = pd.DataFrame(data_json["data"]["diff"])
|
|
40
|
+
temp_df.columns = [
|
|
41
|
+
"_",
|
|
42
|
+
"最新价",
|
|
43
|
+
"涨跌幅",
|
|
44
|
+
"涨跌额",
|
|
45
|
+
"成交量",
|
|
46
|
+
"成交额",
|
|
47
|
+
"_",
|
|
48
|
+
"_",
|
|
49
|
+
"_",
|
|
50
|
+
"_",
|
|
51
|
+
"_",
|
|
52
|
+
"代码",
|
|
53
|
+
"编码",
|
|
54
|
+
"名称",
|
|
55
|
+
"最高",
|
|
56
|
+
"最低",
|
|
57
|
+
"今开",
|
|
58
|
+
"昨收",
|
|
59
|
+
"总市值",
|
|
60
|
+
"_",
|
|
61
|
+
"_",
|
|
62
|
+
"_",
|
|
63
|
+
"_",
|
|
64
|
+
"_",
|
|
65
|
+
"_",
|
|
66
|
+
"_",
|
|
67
|
+
"_",
|
|
68
|
+
"市盈率",
|
|
69
|
+
"_",
|
|
70
|
+
"_",
|
|
71
|
+
"_",
|
|
72
|
+
"_",
|
|
73
|
+
"_",
|
|
74
|
+
]
|
|
75
|
+
temp_df.reset_index(inplace=True)
|
|
76
|
+
temp_df["index"] = range(1, len(temp_df) + 1)
|
|
77
|
+
temp_df.rename(columns={"index": "序号"}, inplace=True)
|
|
78
|
+
temp_df = temp_df[
|
|
79
|
+
[
|
|
80
|
+
"序号",
|
|
81
|
+
"代码",
|
|
82
|
+
"名称",
|
|
83
|
+
"最新价",
|
|
84
|
+
"涨跌额",
|
|
85
|
+
"涨跌幅",
|
|
86
|
+
"今开",
|
|
87
|
+
"最高",
|
|
88
|
+
"最低",
|
|
89
|
+
"昨收",
|
|
90
|
+
"成交量",
|
|
91
|
+
"成交额",
|
|
92
|
+
]
|
|
93
|
+
]
|
|
94
|
+
temp_df["最新价"] = pd.to_numeric(temp_df["最新价"], errors="coerce")
|
|
95
|
+
temp_df["涨跌额"] = pd.to_numeric(temp_df["涨跌额"], errors="coerce")
|
|
96
|
+
temp_df["涨跌幅"] = pd.to_numeric(temp_df["涨跌幅"], errors="coerce")
|
|
97
|
+
temp_df["今开"] = pd.to_numeric(temp_df["今开"], errors="coerce")
|
|
98
|
+
temp_df["最高"] = pd.to_numeric(temp_df["最高"], errors="coerce")
|
|
99
|
+
temp_df["最低"] = pd.to_numeric(temp_df["最低"], errors="coerce")
|
|
100
|
+
temp_df["昨收"] = pd.to_numeric(temp_df["昨收"], errors="coerce")
|
|
101
|
+
temp_df["成交量"] = pd.to_numeric(temp_df["成交量"], errors="coerce")
|
|
102
|
+
temp_df["成交额"] = pd.to_numeric(temp_df["成交额"], errors="coerce")
|
|
103
|
+
return temp_df
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
if __name__ == "__main__":
|
|
107
|
+
stock_hk_famous_spot_em_df = stock_hk_famous_spot_em()
|
|
108
|
+
print(stock_hk_famous_spot_em_df)
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env python
|
|
2
2
|
# -*- coding:utf-8 -*-
|
|
3
3
|
"""
|
|
4
|
-
Date:
|
|
4
|
+
Date: 2024/7/24 13:30
|
|
5
5
|
Desc: 东方财富网-行情中心-美股市场-知名美股
|
|
6
|
-
|
|
6
|
+
https://quote.eastmoney.com/center/gridlist.html#us_wellknown
|
|
7
7
|
"""
|
|
8
|
+
|
|
8
9
|
import pandas as pd
|
|
9
10
|
import requests
|
|
10
11
|
|
|
@@ -12,7 +13,7 @@ import requests
|
|
|
12
13
|
def stock_us_famous_spot_em(symbol: str = "科技类") -> pd.DataFrame:
|
|
13
14
|
"""
|
|
14
15
|
东方财富网-行情中心-美股市场-知名美股
|
|
15
|
-
|
|
16
|
+
https://quote.eastmoney.com/center/gridlist.html#us_wellknown
|
|
16
17
|
:symbol: choice of {'科技类', '金融类', '医药食品类', '媒体类', '汽车能源类', '制造零售类'}
|
|
17
18
|
:type: str
|
|
18
19
|
:return: 知名美股实时行情
|
|
@@ -26,7 +27,7 @@ def stock_us_famous_spot_em(symbol: str = "科技类") -> pd.DataFrame:
|
|
|
26
27
|
"汽车能源类": "0219",
|
|
27
28
|
"制造零售类": "0221",
|
|
28
29
|
}
|
|
29
|
-
url = "
|
|
30
|
+
url = "https://69.push2.eastmoney.com/api/qt/clist/get"
|
|
30
31
|
params = {
|
|
31
32
|
"pn": "1",
|
|
32
33
|
"pz": "2000",
|
|
@@ -37,7 +38,8 @@ def stock_us_famous_spot_em(symbol: str = "科技类") -> pd.DataFrame:
|
|
|
37
38
|
"invt": "2",
|
|
38
39
|
"fid": "f3",
|
|
39
40
|
"fs": f"b:MK{market_map[symbol]}",
|
|
40
|
-
"fields": "f1,f2,f3,f4,f5,f6,f7,f8,f9,f10,f12,f13,f14,f15,f16,f17,f18,f20,f21,f23,f24,
|
|
41
|
+
"fields": "f1,f2,f3,f4,f5,f6,f7,f8,f9,f10,f12,f13,f14,f15,f16,f17,f18,f20,f21,f23,f24,"
|
|
42
|
+
"f25,f26,f22,f33,f11,f62,f128,f136,f115,f152",
|
|
41
43
|
"_": "1631271634231",
|
|
42
44
|
}
|
|
43
45
|
r = requests.get(url, params=params)
|
|
@@ -111,6 +113,13 @@ def stock_us_famous_spot_em(symbol: str = "科技类") -> pd.DataFrame:
|
|
|
111
113
|
|
|
112
114
|
|
|
113
115
|
if __name__ == "__main__":
|
|
114
|
-
for item in {
|
|
116
|
+
for item in {
|
|
117
|
+
"科技类",
|
|
118
|
+
"金融类",
|
|
119
|
+
"医药食品类",
|
|
120
|
+
"媒体类",
|
|
121
|
+
"汽车能源类",
|
|
122
|
+
"制造零售类",
|
|
123
|
+
}:
|
|
115
124
|
stock_us_famous_spot_em_df = stock_us_famous_spot_em(symbol=item)
|
|
116
125
|
print(stock_us_famous_spot_em_df)
|