akshare 1.16.5__tar.gz → 1.16.7__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.
- {akshare-1.16.5 → akshare-1.16.7}/PKG-INFO +1 -1
- {akshare-1.16.5 → akshare-1.16.7}/akshare/__init__.py +3 -1
- {akshare-1.16.5 → akshare-1.16.7}/akshare/fund/fund_etf_em.py +7 -34
- {akshare-1.16.5 → akshare-1.16.7}/akshare/fund/fund_lof_em.py +4 -4
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures/futures_hist_em.py +3 -2
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_us_pink.py +4 -4
- akshare-1.16.7/akshare/stock_feature/stock_hsgt_exchange_rate.py +207 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare.egg-info/PKG-INFO +1 -1
- akshare-1.16.5/akshare/stock_feature/stock_hsgt_exchange_rate.py +0 -177
- {akshare-1.16.5 → akshare-1.16.7}/LICENSE +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/README.md +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/air/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/air/air_hebei.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/air/air_zhenqi.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/air/cons.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/air/crypto.js +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/air/outcrypto.js +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/air/sunrise_tad.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/article/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/article/cons.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/article/epu_index.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/article/ff_factor.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/article/fred_md.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/article/risk_rv.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/bank/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/bank/bank_cbirc_2020.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/bank/cons.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/bond/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/bond/bond_cb_sina.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/bond/bond_cb_ths.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/bond/bond_cbond.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/bond/bond_china.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/bond/bond_china_money.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/bond/bond_convert.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/bond/bond_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/bond/bond_info_cm.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/bond/bond_issue_cninfo.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/bond/bond_nafmii.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/bond/bond_summary.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/bond/bond_zh_cov.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/bond/bond_zh_sina.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/bond/cons.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/cal/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/cal/rv.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/cost/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/cost/cost_living.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/crypto/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/crypto/crypto_bitcoin_cme.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/crypto/crypto_hold.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/currency/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/currency/currency.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/currency/currency_china_bank_sina.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/currency/currency_safe.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/data/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/data/cninfo.js +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/data/crypto_info.zip +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/data/ths.js +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/datasets.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/economic/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/economic/cons.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/economic/macro_australia.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/economic/macro_bank.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/economic/macro_canada.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/economic/macro_china.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/economic/macro_china_hk.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/economic/macro_china_nbs.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/economic/macro_constitute.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/economic/macro_euro.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/economic/macro_finance_ths.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/economic/macro_germany.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/economic/macro_info_ws.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/economic/macro_japan.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/economic/macro_other.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/economic/macro_swiss.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/economic/macro_uk.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/economic/macro_usa.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/economic/marco_cnbs.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/energy/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/energy/energy_carbon.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/energy/energy_oil_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/event/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/event/cons.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/event/migration.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/exceptions.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/file_fold/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/file_fold/calendar.json +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/fortune/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/fortune/fortune_500.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/fortune/fortune_bloomberg.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/fortune/fortune_forbes_500.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/fortune/fortune_hurun.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/fortune/fortune_xincaifu_500.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/fund/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/fund/fund_amac.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/fund/fund_announcement.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/fund/fund_aum_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/fund/fund_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/fund/fund_etf_sina.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/fund/fund_etf_ths.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/fund/fund_fee_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/fund/fund_fhsp_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/fund/fund_init_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/fund/fund_manager.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/fund/fund_portfolio_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/fund/fund_position_lg.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/fund/fund_rank_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/fund/fund_rating.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/fund/fund_report_cninfo.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/fund/fund_scale_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/fund/fund_scale_sina.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/fund/fund_xq.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures/cons.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures/cot.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures/futures_basis.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures/futures_comex_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures/futures_comm_ctp.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures/futures_comm_qihuo.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures/futures_contract_detail.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures/futures_daily_bar.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures/futures_foreign.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures/futures_hf_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures/futures_hq_sina.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures/futures_index_ccidx.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures/futures_inventory_99.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures/futures_inventory_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures/futures_news_shmet.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures/futures_roll_yield.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures/futures_rule.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures/futures_rule_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures/futures_settlement_price_sgx.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures/futures_spot_stock_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures/futures_stock_js.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures/futures_to_spot.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures/futures_warehouse_receipt.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures/futures_zh_sina.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures/receipt.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures/requests_fun.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures/symbol_var.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures_derivative/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures_derivative/cons.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures_derivative/futures_contract_info_cffex.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures_derivative/futures_contract_info_czce.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures_derivative/futures_contract_info_dce.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures_derivative/futures_contract_info_gfex.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures_derivative/futures_contract_info_ine.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures_derivative/futures_contract_info_shfe.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures_derivative/futures_cot_sina.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures_derivative/futures_hog.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures_derivative/futures_index_sina.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/futures_derivative/futures_spot_sys.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/fx/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/fx/cons.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/fx/currency_investing.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/fx/fx_quote.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/fx/fx_quote_baidu.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/hf/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/hf/hf_sp500.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/index/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/index/cons.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/index/index_cflp.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/index/index_cni.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/index/index_cons.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/index/index_cx.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/index/index_drewry.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/index/index_eri.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/index/index_hog.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/index/index_kq_fz.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/index/index_kq_ss.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/index/index_option_qvix.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/index/index_research_fund_sw.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/index/index_research_sw.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/index/index_spot.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/index/index_stock_hk.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/index/index_stock_us_sina.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/index/index_stock_zh.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/index/index_stock_zh_csindex.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/index/index_sugar.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/index/index_sw.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/index/index_yw.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/index/index_zh_a_scope.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/index/index_zh_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/interest_rate/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/interest_rate/interbank_rate_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/movie/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/movie/artist_yien.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/movie/jm.js +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/movie/movie_yien.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/movie/video_yien.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/news/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/news/news_baidu.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/news/news_cctv.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/news/news_stock.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/nlp/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/nlp/nlp_interface.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/option/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/option/cons.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/option/option_comm_qihuo.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/option/option_commodity.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/option/option_commodity_sina.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/option/option_czce.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/option/option_daily_stats_sse_szse.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/option/option_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/option/option_finance.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/option/option_finance_sina.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/option/option_lhb_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/option/option_premium_analysis_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/option/option_risk_analysis_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/option/option_risk_indicator_sse.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/option/option_value_analysis_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/other/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/other/other_car_cpca.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/other/other_car_gasgoo.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/pro/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/pro/client.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/pro/cons.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/pro/data_pro.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/qdii/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/qdii/qdii_jsl.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/qhkc/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/qhkc/qhkc_api.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/qhkc_web/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/qhkc_web/qhkc_fund.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/qhkc_web/qhkc_index.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/qhkc_web/qhkc_tool.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/rate/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/rate/repo_rate.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/reits/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/reits/reits_basic.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/request.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/sport/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/sport/sport_olympic.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/spot/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/spot/spot_hog_soozhu.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/spot/spot_price_qh.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/spot/spot_sge.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/cons.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_allotment_cninfo.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_ask_bid_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_board_concept_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_board_industry_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_cg_equity_mortgage.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_cg_guarantee.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_cg_lawsuit.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_dividend_cninfo.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_dzjy_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_fund_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_fund_hold.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_gsrl_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_hk_famous.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_hk_fhpx_ths.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_hk_hot_rank_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_hk_sina.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_hold_control_cninfo.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_hold_control_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_hold_num_cninfo.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_hot_rank_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_hot_search_baidu.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_hot_up_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_industry.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_industry_cninfo.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_industry_pe_cninfo.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_industry_sw.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_info.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_info_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_intraday_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_intraday_sina.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_ipo_summary_cninfo.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_new_cninfo.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_news_cx.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_profile_cninfo.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_rank_forecast.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_repurchase_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_share_changes_cninfo.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_share_hold.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_stop.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_summary.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_us_famous.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_us_js.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_us_sina.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_weibo_nlp.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_xq.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_zh_a_sina.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_zh_a_special.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_zh_a_tick_tx.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_zh_ah_tx.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_zh_b_sina.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_zh_kcb_report.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock/stock_zh_kcb_sina.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/cons.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_a_below_net_asset_statistics.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_a_high_low.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_a_indicator.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_a_pe_and_pb.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_account_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_all_pb.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_analyst_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_board_industry_ths.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_buffett_index_lg.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_classify_sina.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_comment_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_concept_futu.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_congestion_lg.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_cyq_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_disclosure_cninfo.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_dxsyl_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_ebs_lg.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_esg_sina.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_fhps_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_fhps_ths.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_fund_flow.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_gddh_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_gdfx_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_gdhs.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_gdzjc_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_gpzy_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_gxl_lg.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_hist_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_hist_tx.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_hk_valuation_baidu.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_hot_xq.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_hsgt_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_hsgt_min_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_info.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_inner_trade_xq.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_irm_cninfo.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_jgdy_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_lh_yybpm.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_lhb_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_lhb_sina.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_margin_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_margin_sse.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_margin_szse.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_market_legu.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_pankou_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_qsjy_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_report_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_research_report_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_sns_sseinfo.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_sy_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_technology_ths.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_tfp_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_three_report_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_ttm_lyr.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_value_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_wencai.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_yjbb_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_yjyg_cninfo.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_yjyg_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_yzxdr_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_zdhtmx_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_zf_pg.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_zh_valuation_baidu.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_zh_vote_baidu.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/stock_ztb_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_feature/ths.js +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_fundamental/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_fundamental/stock_finance.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_fundamental/stock_finance_hk.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_fundamental/stock_finance_ths.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_fundamental/stock_hold.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_fundamental/stock_ipo_declare.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_fundamental/stock_kcb_detail_sse.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_fundamental/stock_kcb_sse.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_fundamental/stock_mda_ym.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_fundamental/stock_notice.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_fundamental/stock_profit_forecast_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_fundamental/stock_profit_forecast_hk_etnet.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_fundamental/stock_profit_forecast_ths.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_fundamental/stock_recommend.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_fundamental/stock_register_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_fundamental/stock_restricted_em.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_fundamental/stock_zygc.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/stock_fundamental/stock_zyjs_ths.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/tool/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/tool/trade_date_hist.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/utils/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/utils/cons.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/utils/context.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/utils/demjson.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/utils/func.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/utils/token_process.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare/utils/tqdm.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare.egg-info/SOURCES.txt +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare.egg-info/dependency_links.txt +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare.egg-info/requires.txt +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/akshare.egg-info/top_level.txt +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/pyproject.toml +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/setup.cfg +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/setup.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/tests/__init__.py +0 -0
- {akshare-1.16.5 → akshare-1.16.7}/tests/test_func.py +0 -0
@@ -3014,9 +3014,11 @@ amac_manager_cancelled_info # 中国证券投资基金业协会-信息公示-诚
|
|
3014
3014
|
1.16.3 fix: fix stock_zh_index_spot_em interface
|
3015
3015
|
1.16.4 fix: fix stock_hk_ggt_components_em interface
|
3016
3016
|
1.16.5 fix: fix stock_sector_fund_flow_rank interface
|
3017
|
+
1.16.6 fix: fix stock_sgt_reference_exchange_rate_sse interface
|
3018
|
+
1.16.7 fix: fix fund_lof_hist_em interface
|
3017
3019
|
"""
|
3018
3020
|
|
3019
|
-
__version__ = "1.16.
|
3021
|
+
__version__ = "1.16.7"
|
3020
3022
|
__author__ = "AKFamily"
|
3021
3023
|
|
3022
3024
|
import sys
|
@@ -7,10 +7,9 @@ https://quote.eastmoney.com/sh513500.html
|
|
7
7
|
"""
|
8
8
|
|
9
9
|
from functools import lru_cache
|
10
|
-
|
10
|
+
|
11
11
|
import pandas as pd
|
12
12
|
import requests
|
13
|
-
from akshare.utils.tqdm import get_tqdm
|
14
13
|
|
15
14
|
|
16
15
|
@lru_cache()
|
@@ -24,9 +23,9 @@ def _fund_etf_code_id_map_em() -> dict:
|
|
24
23
|
url = "https://88.push2.eastmoney.com/api/qt/clist/get"
|
25
24
|
params = {
|
26
25
|
"pn": "1",
|
27
|
-
"pz": "
|
26
|
+
"pz": "50000",
|
28
27
|
"po": "1",
|
29
|
-
"np": "
|
28
|
+
"np": "2",
|
30
29
|
"ut": "bd1d9ddb04089700cf9c27f6f7426281",
|
31
30
|
"fltt": "2",
|
32
31
|
"invt": "2",
|
@@ -38,20 +37,7 @@ def _fund_etf_code_id_map_em() -> dict:
|
|
38
37
|
}
|
39
38
|
r = requests.get(url, params=params, timeout=15)
|
40
39
|
data_json = r.json()
|
41
|
-
|
42
|
-
temp_list = []
|
43
|
-
tqdm = get_tqdm()
|
44
|
-
for page in tqdm(range(1, total_page + 1), leave=False):
|
45
|
-
params.update(
|
46
|
-
{
|
47
|
-
"pn": page,
|
48
|
-
}
|
49
|
-
)
|
50
|
-
r = requests.get(url, params=params, timeout=15)
|
51
|
-
data_json = r.json()
|
52
|
-
inner_temp_df = pd.DataFrame(data_json["data"]["diff"])
|
53
|
-
temp_list.append(inner_temp_df)
|
54
|
-
temp_df = pd.concat(temp_list, ignore_index=True)
|
40
|
+
temp_df = pd.DataFrame(data_json["data"]["diff"]).T
|
55
41
|
temp_dict = dict(zip(temp_df["f12"], temp_df["f13"]))
|
56
42
|
return temp_dict
|
57
43
|
|
@@ -66,9 +52,9 @@ def fund_etf_spot_em() -> pd.DataFrame:
|
|
66
52
|
url = "https://88.push2.eastmoney.com/api/qt/clist/get"
|
67
53
|
params = {
|
68
54
|
"pn": "1",
|
69
|
-
"pz": "
|
55
|
+
"pz": "50000",
|
70
56
|
"po": "1",
|
71
|
-
"np": "
|
57
|
+
"np": "2",
|
72
58
|
"ut": "bd1d9ddb04089700cf9c27f6f7426281",
|
73
59
|
"fltt": "2",
|
74
60
|
"invt": "2",
|
@@ -87,20 +73,7 @@ def fund_etf_spot_em() -> pd.DataFrame:
|
|
87
73
|
}
|
88
74
|
r = requests.get(url, timeout=15, params=params)
|
89
75
|
data_json = r.json()
|
90
|
-
|
91
|
-
temp_list = []
|
92
|
-
tqdm = get_tqdm()
|
93
|
-
for page in tqdm(range(1, total_page + 1), leave=False):
|
94
|
-
params.update(
|
95
|
-
{
|
96
|
-
"pn": page,
|
97
|
-
}
|
98
|
-
)
|
99
|
-
r = requests.get(url, params=params, timeout=15)
|
100
|
-
data_json = r.json()
|
101
|
-
inner_temp_df = pd.DataFrame(data_json["data"]["diff"])
|
102
|
-
temp_list.append(inner_temp_df)
|
103
|
-
temp_df = pd.concat(temp_list, ignore_index=True)
|
76
|
+
temp_df = pd.DataFrame(data_json["data"]["diff"]).T
|
104
77
|
temp_df.rename(
|
105
78
|
columns={
|
106
79
|
"f12": "代码",
|
@@ -26,7 +26,7 @@ def _fund_lof_code_id_map_em() -> dict:
|
|
26
26
|
"pn": "1",
|
27
27
|
"pz": "5000",
|
28
28
|
"po": "1",
|
29
|
-
"np": "
|
29
|
+
"np": "2",
|
30
30
|
"ut": "bd1d9ddb04089700cf9c27f6f7426281",
|
31
31
|
"fltt": "2",
|
32
32
|
"invt": "2",
|
@@ -38,7 +38,7 @@ def _fund_lof_code_id_map_em() -> dict:
|
|
38
38
|
}
|
39
39
|
r = requests.get(url, params=params)
|
40
40
|
data_json = r.json()
|
41
|
-
temp_df = pd.DataFrame(data_json["data"]["diff"])
|
41
|
+
temp_df = pd.DataFrame(data_json["data"]["diff"]).T
|
42
42
|
temp_dict = dict(zip(temp_df["f12"], temp_df["f13"]))
|
43
43
|
return temp_dict
|
44
44
|
|
@@ -55,7 +55,7 @@ def fund_lof_spot_em() -> pd.DataFrame:
|
|
55
55
|
"pn": "1",
|
56
56
|
"pz": "5000",
|
57
57
|
"po": "1",
|
58
|
-
"np": "
|
58
|
+
"np": "2",
|
59
59
|
"ut": "bd1d9ddb04089700cf9c27f6f7426281",
|
60
60
|
"fltt": "2",
|
61
61
|
"invt": "2",
|
@@ -68,7 +68,7 @@ def fund_lof_spot_em() -> pd.DataFrame:
|
|
68
68
|
}
|
69
69
|
r = requests.get(url, params=params)
|
70
70
|
data_json = r.json()
|
71
|
-
temp_df = pd.DataFrame(data_json["data"]["diff"])
|
71
|
+
temp_df = pd.DataFrame(data_json["data"]["diff"]).T
|
72
72
|
temp_df.rename(
|
73
73
|
columns={
|
74
74
|
"f12": "代码",
|
@@ -1,13 +1,14 @@
|
|
1
1
|
#!/usr/bin/env python
|
2
2
|
# -*- coding:utf-8 -*-
|
3
3
|
"""
|
4
|
-
Date: 2024/
|
4
|
+
Date: 2024/2/20 17:00
|
5
5
|
Desc: 东方财富网-期货行情
|
6
6
|
https://qhweb.eastmoney.com/quote
|
7
7
|
"""
|
8
8
|
|
9
9
|
import re
|
10
10
|
from functools import lru_cache
|
11
|
+
from typing import Tuple, Dict
|
11
12
|
|
12
13
|
import pandas as pd
|
13
14
|
import requests
|
@@ -53,7 +54,7 @@ def __fetch_exchange_symbol_raw_em() -> list:
|
|
53
54
|
|
54
55
|
|
55
56
|
@lru_cache()
|
56
|
-
def __get_exchange_symbol_map() ->
|
57
|
+
def __get_exchange_symbol_map() -> Tuple[Dict, Dict, Dict, Dict]:
|
57
58
|
"""
|
58
59
|
东方财富网-期货行情-交易所品种映射
|
59
60
|
https://quote.eastmoney.com/qihuo/al2505.html
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/usr/bin/env python
|
2
2
|
# -*- coding:utf-8 -*-
|
3
3
|
"""
|
4
|
-
Date:
|
4
|
+
Date: 2025/2/20 17:00
|
5
5
|
Desc: 东方财富网-行情中心-美股市场-粉单市场
|
6
6
|
https://quote.eastmoney.com/center/gridlist.html#us_pinksheet
|
7
7
|
"""
|
@@ -20,9 +20,9 @@ def stock_us_pink_spot_em() -> pd.DataFrame:
|
|
20
20
|
url = "https://23.push2.eastmoney.com/api/qt/clist/get"
|
21
21
|
params = {
|
22
22
|
"pn": "1",
|
23
|
-
"pz": "
|
23
|
+
"pz": "50000",
|
24
24
|
"po": "1",
|
25
|
-
"np": "
|
25
|
+
"np": "2",
|
26
26
|
"ut": "bd1d9ddb04089700cf9c27f6f7426281",
|
27
27
|
"fltt": "2",
|
28
28
|
"invt": "2",
|
@@ -34,7 +34,7 @@ def stock_us_pink_spot_em() -> pd.DataFrame:
|
|
34
34
|
}
|
35
35
|
r = requests.get(url, params=params)
|
36
36
|
data_json = r.json()
|
37
|
-
temp_df = pd.DataFrame(data_json["data"]["diff"])
|
37
|
+
temp_df = pd.DataFrame(data_json["data"]["diff"]).T
|
38
38
|
temp_df.columns = [
|
39
39
|
"_",
|
40
40
|
"最新价",
|
@@ -0,0 +1,207 @@
|
|
1
|
+
# -*- coding:utf-8 -*-
|
2
|
+
# !/usr/bin/env python
|
3
|
+
"""
|
4
|
+
Date: 2025/2/19 22:00
|
5
|
+
Desc: 参考汇率和结算汇率
|
6
|
+
深港通-港股通业务信息
|
7
|
+
深港通-港股通业务信息: https://www.szse.cn/szhk/hkbussiness/exchangerate/index.html
|
8
|
+
沪港通-港股通信息披露: https://www.sse.com.cn/services/hkexsc/disclo/ratios/
|
9
|
+
"""
|
10
|
+
|
11
|
+
import warnings
|
12
|
+
from datetime import datetime
|
13
|
+
|
14
|
+
import pandas as pd
|
15
|
+
import requests
|
16
|
+
|
17
|
+
|
18
|
+
def stock_sgt_settlement_exchange_rate_szse() -> pd.DataFrame:
|
19
|
+
"""
|
20
|
+
深港通-港股通业务信息-结算汇率
|
21
|
+
https://www.szse.cn/szhk/hkbussiness/exchangerate/index.html
|
22
|
+
:return: 结算汇率
|
23
|
+
:rtype: pandas.DataFrame
|
24
|
+
"""
|
25
|
+
url = "https://www.szse.cn/api/report/ShowReport"
|
26
|
+
params = {
|
27
|
+
"SHOWTYPE": "xlsx",
|
28
|
+
"CATALOGID": "SGT_LSHL",
|
29
|
+
"TABKEY": "tab2",
|
30
|
+
"random": "0.9184251620553985",
|
31
|
+
}
|
32
|
+
r = requests.get(url, params=params)
|
33
|
+
with warnings.catch_warnings(record=True):
|
34
|
+
warnings.simplefilter("always")
|
35
|
+
temp_df = pd.read_excel(r.content, engine="openpyxl")
|
36
|
+
temp_df.sort_values(by="适用日期", inplace=True, ignore_index=True)
|
37
|
+
temp_df["适用日期"] = pd.to_datetime(temp_df["适用日期"], errors="coerce").dt.date
|
38
|
+
temp_df["买入结算汇兑比率"] = pd.to_numeric(
|
39
|
+
temp_df["买入结算汇兑比率"], errors="coerce"
|
40
|
+
)
|
41
|
+
temp_df["卖出结算汇兑比率"] = pd.to_numeric(
|
42
|
+
temp_df["卖出结算汇兑比率"], errors="coerce"
|
43
|
+
)
|
44
|
+
return temp_df
|
45
|
+
|
46
|
+
|
47
|
+
def stock_sgt_reference_exchange_rate_szse() -> pd.DataFrame:
|
48
|
+
"""
|
49
|
+
深港通-港股通业务信息-参考汇率
|
50
|
+
https://www.szse.cn/szhk/hkbussiness/exchangerate/index.html
|
51
|
+
:return: 参考汇率
|
52
|
+
:rtype: pandas.DataFrame
|
53
|
+
"""
|
54
|
+
url = "https://www.szse.cn/api/report/ShowReport"
|
55
|
+
params = {
|
56
|
+
"SHOWTYPE": "xlsx",
|
57
|
+
"CATALOGID": "SGT_LSHL",
|
58
|
+
"TABKEY": "tab1",
|
59
|
+
"random": "0.9184251620553985",
|
60
|
+
}
|
61
|
+
r = requests.get(url, params=params)
|
62
|
+
with warnings.catch_warnings(record=True):
|
63
|
+
warnings.simplefilter("always")
|
64
|
+
temp_df = pd.read_excel(r.content, engine="openpyxl")
|
65
|
+
temp_df.sort_values(by="适用日期", inplace=True, ignore_index=True)
|
66
|
+
temp_df["适用日期"] = pd.to_datetime(temp_df["适用日期"], errors="coerce").dt.date
|
67
|
+
temp_df["参考汇率买入价"] = pd.to_numeric(
|
68
|
+
temp_df["参考汇率买入价"], errors="coerce"
|
69
|
+
)
|
70
|
+
temp_df["参考汇率卖出价"] = pd.to_numeric(
|
71
|
+
temp_df["参考汇率卖出价"], errors="coerce"
|
72
|
+
)
|
73
|
+
return temp_df
|
74
|
+
|
75
|
+
|
76
|
+
def stock_sgt_reference_exchange_rate_sse() -> pd.DataFrame:
|
77
|
+
"""
|
78
|
+
沪港通-港股通信息披露-参考汇率
|
79
|
+
https://www.sse.com.cn/services/hkexsc/disclo/ratios/
|
80
|
+
:return: 参考汇率
|
81
|
+
:rtype: pandas.DataFrame
|
82
|
+
"""
|
83
|
+
current_date = datetime.now().date().isoformat().replace("-", "")
|
84
|
+
url = "https://query.sse.com.cn/commonSoaQuery.do"
|
85
|
+
params = {
|
86
|
+
"isPagination": "true",
|
87
|
+
"updateDate": "20120601",
|
88
|
+
"updateDateEnd": current_date,
|
89
|
+
"sqlId": "FW_HGT_GGTHL",
|
90
|
+
"pageHelp.cacheSize": "1",
|
91
|
+
"pageHelp.pageSize": "10000",
|
92
|
+
"pageHelp.pageNo": "1",
|
93
|
+
"pageHelp.beginPage": "1",
|
94
|
+
"pageHelp.endPage": "1",
|
95
|
+
"_": "1664523262778",
|
96
|
+
}
|
97
|
+
headers = {
|
98
|
+
"Host": "query.sse.com.cn",
|
99
|
+
"Referer": "https://www.sse.com.cn/",
|
100
|
+
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) "
|
101
|
+
"Chrome/105.0.0.0 Safari/537.36",
|
102
|
+
}
|
103
|
+
r = requests.get(url, params=params, headers=headers)
|
104
|
+
data_json = r.json()
|
105
|
+
temp_df = pd.DataFrame(data_json["result"])
|
106
|
+
temp_df.rename(
|
107
|
+
columns={
|
108
|
+
"currencyType": "货币种类",
|
109
|
+
"buyPrice": "参考汇率买入价",
|
110
|
+
"updateDate": "-",
|
111
|
+
"validDate": "适用日期",
|
112
|
+
"sellPrice": "参考汇率卖出价",
|
113
|
+
},
|
114
|
+
inplace=True,
|
115
|
+
)
|
116
|
+
temp_df = temp_df[
|
117
|
+
[
|
118
|
+
"适用日期",
|
119
|
+
"参考汇率买入价",
|
120
|
+
"参考汇率卖出价",
|
121
|
+
"货币种类",
|
122
|
+
]
|
123
|
+
]
|
124
|
+
temp_df.sort_values("适用日期", inplace=True, ignore_index=True)
|
125
|
+
temp_df["适用日期"] = pd.to_datetime(temp_df["适用日期"], errors="coerce").dt.date
|
126
|
+
temp_df["参考汇率买入价"] = pd.to_numeric(
|
127
|
+
temp_df["参考汇率买入价"], errors="coerce"
|
128
|
+
)
|
129
|
+
temp_df["参考汇率卖出价"] = pd.to_numeric(
|
130
|
+
temp_df["参考汇率卖出价"], errors="coerce"
|
131
|
+
)
|
132
|
+
return temp_df
|
133
|
+
|
134
|
+
|
135
|
+
def stock_sgt_settlement_exchange_rate_sse() -> pd.DataFrame:
|
136
|
+
"""
|
137
|
+
沪港通-港股通信息披露-结算汇兑
|
138
|
+
https://www.sse.com.cn/services/hkexsc/disclo/ratios/
|
139
|
+
:return: 结算汇兑比率
|
140
|
+
:rtype: pandas.DataFrame
|
141
|
+
"""
|
142
|
+
current_date = datetime.now().date().isoformat().replace("-", "")
|
143
|
+
url = "https://query.sse.com.cn/commonSoaQuery.do"
|
144
|
+
params = {
|
145
|
+
"isPagination": "true",
|
146
|
+
"updateDate": "20120601",
|
147
|
+
"updateDateEnd": current_date,
|
148
|
+
"sqlId": "FW_HGT_JSHDBL",
|
149
|
+
"pageHelp.cacheSize": "1",
|
150
|
+
"pageHelp.pageSize": "10000",
|
151
|
+
"pageHelp.pageNo": "1",
|
152
|
+
"pageHelp.beginPage": "1",
|
153
|
+
"pageHelp.endPage": "1",
|
154
|
+
"_": "1664523262778",
|
155
|
+
}
|
156
|
+
headers = {
|
157
|
+
"Host": "query.sse.com.cn",
|
158
|
+
"Referer": "https://www.sse.com.cn/",
|
159
|
+
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) "
|
160
|
+
"Chrome/105.0.0.0 Safari/537.36",
|
161
|
+
}
|
162
|
+
r = requests.get(url, params=params, headers=headers)
|
163
|
+
data_json = r.json()
|
164
|
+
temp_df = pd.DataFrame(data_json["result"])
|
165
|
+
temp_df.rename(
|
166
|
+
columns={
|
167
|
+
"currencyType": "货币种类",
|
168
|
+
"buyPrice": "买入结算汇兑比率",
|
169
|
+
"updateDate": "-",
|
170
|
+
"validDate": "适用日期",
|
171
|
+
"sellPrice": "卖出结算汇兑比率",
|
172
|
+
},
|
173
|
+
inplace=True,
|
174
|
+
)
|
175
|
+
temp_df = temp_df[
|
176
|
+
[
|
177
|
+
"适用日期",
|
178
|
+
"买入结算汇兑比率",
|
179
|
+
"卖出结算汇兑比率",
|
180
|
+
"货币种类",
|
181
|
+
]
|
182
|
+
]
|
183
|
+
temp_df.sort_values("适用日期", inplace=True, ignore_index=True)
|
184
|
+
temp_df["适用日期"] = pd.to_datetime(temp_df["适用日期"], errors="coerce").dt.date
|
185
|
+
temp_df["买入结算汇兑比率"] = pd.to_numeric(
|
186
|
+
temp_df["买入结算汇兑比率"], errors="coerce"
|
187
|
+
)
|
188
|
+
temp_df["卖出结算汇兑比率"] = pd.to_numeric(
|
189
|
+
temp_df["卖出结算汇兑比率"], errors="coerce"
|
190
|
+
)
|
191
|
+
return temp_df
|
192
|
+
|
193
|
+
|
194
|
+
if __name__ == "__main__":
|
195
|
+
stock_sgt_settlement_exchange_rate_szse_df = (
|
196
|
+
stock_sgt_settlement_exchange_rate_szse()
|
197
|
+
)
|
198
|
+
print(stock_sgt_settlement_exchange_rate_szse_df)
|
199
|
+
|
200
|
+
stock_sgt_reference_exchange_rate_szse_df = stock_sgt_reference_exchange_rate_szse()
|
201
|
+
print(stock_sgt_reference_exchange_rate_szse_df)
|
202
|
+
|
203
|
+
stock_sgt_reference_exchange_rate_sse_df = stock_sgt_reference_exchange_rate_sse()
|
204
|
+
print(stock_sgt_reference_exchange_rate_sse_df)
|
205
|
+
|
206
|
+
stock_sgt_settlement_exchange_rate_sse_df = stock_sgt_settlement_exchange_rate_sse()
|
207
|
+
print(stock_sgt_settlement_exchange_rate_sse_df)
|
@@ -1,177 +0,0 @@
|
|
1
|
-
# -*- coding:utf-8 -*-
|
2
|
-
# !/usr/bin/env python
|
3
|
-
"""
|
4
|
-
Date: 2022/9/30 15:20
|
5
|
-
Desc: 参考汇率和结算汇率
|
6
|
-
深港通-港股通业务信息
|
7
|
-
深港通-港股通业务信息: https://www.szse.cn/szhk/hkbussiness/exchangerate/index.html
|
8
|
-
沪港通-港股通信息披露: http://www.sse.com.cn/services/hkexsc/disclo/ratios/
|
9
|
-
"""
|
10
|
-
from datetime import datetime
|
11
|
-
|
12
|
-
import pandas as pd
|
13
|
-
import requests
|
14
|
-
|
15
|
-
|
16
|
-
def stock_sgt_settlement_exchange_rate_szse() -> pd.DataFrame:
|
17
|
-
"""
|
18
|
-
深港通-港股通业务信息-结算汇率
|
19
|
-
https://www.szse.cn/szhk/hkbussiness/exchangerate/index.html
|
20
|
-
:return: 结算汇率
|
21
|
-
:rtype: pandas.DataFrame
|
22
|
-
"""
|
23
|
-
url = "https://www.szse.cn/api/report/ShowReport"
|
24
|
-
params = {
|
25
|
-
'SHOWTYPE': 'xlsx',
|
26
|
-
'CATALOGID': 'SGT_LSHL',
|
27
|
-
'TABKEY': 'tab2',
|
28
|
-
'random': '0.9184251620553985',
|
29
|
-
}
|
30
|
-
r = requests.get(url, params=params)
|
31
|
-
import warnings
|
32
|
-
with warnings.catch_warnings(record=True):
|
33
|
-
warnings.simplefilter("always")
|
34
|
-
temp_df = pd.read_excel(r.content, engine="openpyxl")
|
35
|
-
temp_df.sort_values('适用日期', inplace=True, ignore_index=True)
|
36
|
-
temp_df['适用日期'] = pd.to_datetime(temp_df['适用日期']).dt.date
|
37
|
-
temp_df['买入结算汇兑比率'] = pd.to_numeric(temp_df['买入结算汇兑比率'], errors='coerce')
|
38
|
-
temp_df['卖出结算汇兑比率'] = pd.to_numeric(temp_df['卖出结算汇兑比率'], errors='coerce')
|
39
|
-
return temp_df
|
40
|
-
|
41
|
-
|
42
|
-
def stock_sgt_reference_exchange_rate_szse() -> pd.DataFrame:
|
43
|
-
"""
|
44
|
-
深港通-港股通业务信息-参考汇率
|
45
|
-
https://www.szse.cn/szhk/hkbussiness/exchangerate/index.html
|
46
|
-
:return: 参考汇率
|
47
|
-
:rtype: pandas.DataFrame
|
48
|
-
"""
|
49
|
-
url = "https://www.szse.cn/api/report/ShowReport"
|
50
|
-
params = {
|
51
|
-
'SHOWTYPE': 'xlsx',
|
52
|
-
'CATALOGID': 'SGT_LSHL',
|
53
|
-
'TABKEY': 'tab1',
|
54
|
-
'random': '0.9184251620553985',
|
55
|
-
}
|
56
|
-
r = requests.get(url, params=params)
|
57
|
-
import warnings
|
58
|
-
with warnings.catch_warnings(record=True):
|
59
|
-
warnings.simplefilter("always")
|
60
|
-
temp_df = pd.read_excel(r.content, engine="openpyxl")
|
61
|
-
temp_df.sort_values('适用日期', inplace=True, ignore_index=True)
|
62
|
-
temp_df['适用日期'] = pd.to_datetime(temp_df['适用日期']).dt.date
|
63
|
-
temp_df['参考汇率买入价'] = pd.to_numeric(temp_df['参考汇率买入价'], errors='coerce')
|
64
|
-
temp_df['参考汇率卖出价'] = pd.to_numeric(temp_df['参考汇率卖出价'], errors='coerce')
|
65
|
-
return temp_df
|
66
|
-
|
67
|
-
|
68
|
-
def stock_sgt_reference_exchange_rate_sse() -> pd.DataFrame:
|
69
|
-
"""
|
70
|
-
沪港通-港股通信息披露-参考汇率
|
71
|
-
http://www.sse.com.cn/services/hkexsc/disclo/ratios/
|
72
|
-
:return: 参考汇率
|
73
|
-
:rtype: pandas.DataFrame
|
74
|
-
"""
|
75
|
-
current_date = datetime.now().date().isoformat().replace("-", "")
|
76
|
-
url = "http://query.sse.com.cn/commonSoaQuery.do"
|
77
|
-
params = {
|
78
|
-
'isPagination': 'true',
|
79
|
-
'updateDate': '20120601',
|
80
|
-
'updateDateEnd': current_date,
|
81
|
-
'sqlId': 'FW_HGT_GGTHL',
|
82
|
-
'pageHelp.cacheSize': '1',
|
83
|
-
'pageHelp.pageSize': '10000',
|
84
|
-
'pageHelp.pageNo': '1',
|
85
|
-
'pageHelp.beginPage': '1',
|
86
|
-
'pageHelp.endPage': '1',
|
87
|
-
'_': '1664523262778',
|
88
|
-
}
|
89
|
-
headers = {
|
90
|
-
'Host': 'query.sse.com.cn',
|
91
|
-
'Referer': 'http://www.sse.com.cn/',
|
92
|
-
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36'
|
93
|
-
}
|
94
|
-
r = requests.get(url, params=params, headers=headers)
|
95
|
-
data_json = r.json()
|
96
|
-
temp_df = pd.DataFrame(data_json['result'])
|
97
|
-
temp_df.rename(columns={
|
98
|
-
'currencyType': "货币种类",
|
99
|
-
'buyPrice': "参考汇率买入价",
|
100
|
-
'updateDate': "-",
|
101
|
-
'validDate': "适用日期",
|
102
|
-
'sellPrice': "参考汇率卖出价"
|
103
|
-
}, inplace=True)
|
104
|
-
temp_df = temp_df[[
|
105
|
-
"适用日期",
|
106
|
-
"参考汇率买入价",
|
107
|
-
"参考汇率卖出价",
|
108
|
-
"货币种类",
|
109
|
-
]]
|
110
|
-
temp_df.sort_values('适用日期', inplace=True, ignore_index=True)
|
111
|
-
temp_df['适用日期'] = pd.to_datetime(temp_df['适用日期']).dt.date
|
112
|
-
temp_df['参考汇率买入价'] = pd.to_numeric(temp_df['参考汇率买入价'], errors='coerce')
|
113
|
-
temp_df['参考汇率卖出价'] = pd.to_numeric(temp_df['参考汇率卖出价'], errors='coerce')
|
114
|
-
return temp_df
|
115
|
-
|
116
|
-
|
117
|
-
def stock_sgt_settlement_exchange_rate_sse() -> pd.DataFrame:
|
118
|
-
"""
|
119
|
-
沪港通-港股通信息披露-结算汇兑
|
120
|
-
http://www.sse.com.cn/services/hkexsc/disclo/ratios/
|
121
|
-
:return: 结算汇兑比率
|
122
|
-
:rtype: pandas.DataFrame
|
123
|
-
"""
|
124
|
-
current_date = datetime.now().date().isoformat().replace("-", "")
|
125
|
-
url = "http://query.sse.com.cn/commonSoaQuery.do"
|
126
|
-
params = {
|
127
|
-
'isPagination': 'true',
|
128
|
-
'updateDate': '20120601',
|
129
|
-
'updateDateEnd': current_date,
|
130
|
-
'sqlId': 'FW_HGT_JSHDBL',
|
131
|
-
'pageHelp.cacheSize': '1',
|
132
|
-
'pageHelp.pageSize': '10000',
|
133
|
-
'pageHelp.pageNo': '1',
|
134
|
-
'pageHelp.beginPage': '1',
|
135
|
-
'pageHelp.endPage': '1',
|
136
|
-
'_': '1664523262778',
|
137
|
-
}
|
138
|
-
headers = {
|
139
|
-
'Host': 'query.sse.com.cn',
|
140
|
-
'Referer': 'http://www.sse.com.cn/',
|
141
|
-
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36'
|
142
|
-
}
|
143
|
-
r = requests.get(url, params=params, headers=headers)
|
144
|
-
data_json = r.json()
|
145
|
-
temp_df = pd.DataFrame(data_json['result'])
|
146
|
-
temp_df.rename(columns={
|
147
|
-
'currencyType': "货币种类",
|
148
|
-
'buyPrice': "买入结算汇兑比率",
|
149
|
-
'updateDate': "-",
|
150
|
-
'validDate': "适用日期",
|
151
|
-
'sellPrice': "卖出结算汇兑比率"
|
152
|
-
}, inplace=True)
|
153
|
-
temp_df = temp_df[[
|
154
|
-
"适用日期",
|
155
|
-
"买入结算汇兑比率",
|
156
|
-
"卖出结算汇兑比率",
|
157
|
-
"货币种类",
|
158
|
-
]]
|
159
|
-
temp_df.sort_values('适用日期', inplace=True, ignore_index=True)
|
160
|
-
temp_df['适用日期'] = pd.to_datetime(temp_df['适用日期']).dt.date
|
161
|
-
temp_df['买入结算汇兑比率'] = pd.to_numeric(temp_df['买入结算汇兑比率'], errors='coerce')
|
162
|
-
temp_df['卖出结算汇兑比率'] = pd.to_numeric(temp_df['卖出结算汇兑比率'], errors='coerce')
|
163
|
-
return temp_df
|
164
|
-
|
165
|
-
|
166
|
-
if __name__ == "__main__":
|
167
|
-
stock_sgt_settlement_exchange_rate_szse_df = stock_sgt_settlement_exchange_rate_szse()
|
168
|
-
print(stock_sgt_settlement_exchange_rate_szse_df)
|
169
|
-
|
170
|
-
stock_sgt_reference_exchange_rate_szse_df = stock_sgt_reference_exchange_rate_szse()
|
171
|
-
print(stock_sgt_reference_exchange_rate_szse_df)
|
172
|
-
|
173
|
-
stock_sgt_reference_exchange_rate_sse_df = stock_sgt_reference_exchange_rate_sse()
|
174
|
-
print(stock_sgt_reference_exchange_rate_sse_df)
|
175
|
-
|
176
|
-
stock_sgt_settlement_exchange_rate_sse_df = stock_sgt_settlement_exchange_rate_sse()
|
177
|
-
print(stock_sgt_settlement_exchange_rate_sse_df)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|