akshare 1.15.60__tar.gz → 1.15.62__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.15.60 → akshare-1.15.62}/PKG-INFO +1 -1
- {akshare-1.15.60 → akshare-1.15.62}/akshare/__init__.py +17 -1
- akshare-1.15.62/akshare/index/index_option_qvix.py +435 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_ztb_em.py +19 -6
- {akshare-1.15.60 → akshare-1.15.62}/akshare.egg-info/PKG-INFO +1 -1
- akshare-1.15.60/akshare/index/index_option_qvix.py +0 -106
- {akshare-1.15.60 → akshare-1.15.62}/LICENSE +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/README.md +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/air/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/air/air_hebei.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/air/air_zhenqi.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/air/cons.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/air/crypto.js +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/air/outcrypto.js +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/air/sunrise_tad.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/article/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/article/cons.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/article/epu_index.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/article/ff_factor.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/article/fred_md.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/article/risk_rv.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/bank/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/bank/bank_cbirc_2020.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/bank/cons.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/bond/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/bond/bond_cb_sina.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/bond/bond_cb_ths.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/bond/bond_cbond.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/bond/bond_china.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/bond/bond_china_money.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/bond/bond_convert.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/bond/bond_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/bond/bond_info_cm.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/bond/bond_issue_cninfo.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/bond/bond_nafmii.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/bond/bond_summary.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/bond/bond_zh_cov.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/bond/bond_zh_sina.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/bond/cons.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/cal/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/cal/rv.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/cost/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/cost/cost_living.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/crypto/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/crypto/crypto_bitcoin_cme.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/crypto/crypto_hold.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/currency/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/currency/currency.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/currency/currency_china_bank_sina.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/currency/currency_safe.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/data/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/data/cninfo.js +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/data/crypto_info.zip +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/data/ths.js +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/datasets.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/economic/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/economic/cons.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/economic/macro_australia.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/economic/macro_bank.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/economic/macro_canada.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/economic/macro_china.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/economic/macro_china_hk.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/economic/macro_china_nbs.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/economic/macro_constitute.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/economic/macro_euro.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/economic/macro_finance_ths.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/economic/macro_germany.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/economic/macro_info_ws.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/economic/macro_japan.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/economic/macro_other.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/economic/macro_swiss.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/economic/macro_uk.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/economic/macro_usa.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/economic/marco_cnbs.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/energy/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/energy/energy_carbon.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/energy/energy_oil_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/event/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/event/cons.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/event/migration.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/exceptions.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/file_fold/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/file_fold/calendar.json +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/fortune/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/fortune/fortune_500.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/fortune/fortune_bloomberg.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/fortune/fortune_forbes_500.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/fortune/fortune_hurun.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/fortune/fortune_xincaifu_500.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/fund/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/fund/fund_amac.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/fund/fund_announcement.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/fund/fund_aum_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/fund/fund_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/fund/fund_etf_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/fund/fund_etf_sina.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/fund/fund_etf_ths.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/fund/fund_fhsp_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/fund/fund_init_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/fund/fund_lof_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/fund/fund_manager.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/fund/fund_portfolio_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/fund/fund_position_lg.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/fund/fund_rank_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/fund/fund_rating.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/fund/fund_report_cninfo.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/fund/fund_scale_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/fund/fund_scale_sina.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/fund/fund_xq.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures/cons.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures/cot.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures/futures_basis.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures/futures_comex_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures/futures_comm_ctp.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures/futures_comm_qihuo.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures/futures_contract_detail.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures/futures_daily_bar.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures/futures_foreign.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures/futures_hf_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures/futures_hq_sina.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures/futures_index_ccidx.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures/futures_inventory_99.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures/futures_inventory_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures/futures_news_shmet.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures/futures_roll_yield.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures/futures_rule.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures/futures_settlement_price_sgx.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures/futures_spot_stock_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures/futures_stock_js.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures/futures_to_spot.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures/futures_warehouse_receipt.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures/futures_zh_sina.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures/receipt.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures/requests_fun.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures/symbol_var.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures_derivative/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures_derivative/cons.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures_derivative/futures_contract_info_cffex.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures_derivative/futures_contract_info_czce.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures_derivative/futures_contract_info_dce.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures_derivative/futures_contract_info_gfex.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures_derivative/futures_contract_info_ine.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures_derivative/futures_contract_info_shfe.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures_derivative/futures_cot_sina.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures_derivative/futures_hog.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures_derivative/futures_index_sina.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/futures_derivative/futures_spot_sys.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/fx/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/fx/cons.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/fx/currency_investing.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/fx/fx_quote.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/fx/fx_quote_baidu.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/hf/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/hf/hf_sp500.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/index/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/index/cons.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/index/index_cflp.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/index/index_cni.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/index/index_cons.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/index/index_cx.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/index/index_drewry.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/index/index_eri.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/index/index_hog.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/index/index_kq_fz.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/index/index_kq_ss.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/index/index_research_fund_sw.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/index/index_research_sw.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/index/index_spot.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/index/index_stock_hk.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/index/index_stock_us_sina.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/index/index_stock_zh.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/index/index_stock_zh_csindex.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/index/index_sugar.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/index/index_sw.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/index/index_yw.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/index/index_zh_a_scope.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/index/index_zh_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/interest_rate/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/interest_rate/interbank_rate_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/movie/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/movie/artist_yien.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/movie/jm.js +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/movie/movie_yien.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/movie/video_yien.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/news/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/news/news_baidu.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/news/news_cctv.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/news/news_stock.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/nlp/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/nlp/nlp_interface.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/option/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/option/cons.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/option/option_comm_qihuo.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/option/option_commodity.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/option/option_commodity_sina.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/option/option_czce.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/option/option_daily_stats_sse_szse.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/option/option_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/option/option_finance.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/option/option_finance_sina.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/option/option_lhb_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/option/option_premium_analysis_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/option/option_risk_analysis_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/option/option_risk_indicator_sse.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/option/option_value_analysis_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/other/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/other/other_car_cpca.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/other/other_car_gasgoo.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/pro/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/pro/client.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/pro/cons.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/pro/data_pro.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/qdii/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/qdii/qdii_jsl.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/qhkc/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/qhkc/qhkc_api.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/qhkc_web/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/qhkc_web/qhkc_fund.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/qhkc_web/qhkc_index.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/qhkc_web/qhkc_tool.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/rate/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/rate/repo_rate.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/reits/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/reits/reits_basic.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/request.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/sport/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/sport/sport_olympic.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/spot/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/spot/spot_hog_soozhu.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/spot/spot_price_qh.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/spot/spot_sge.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/cons.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_allotment_cninfo.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_ask_bid_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_board_concept_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_board_industry_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_cg_equity_mortgage.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_cg_guarantee.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_cg_lawsuit.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_dividend_cninfo.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_dzjy_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_fund_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_fund_hold.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_gsrl_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_hk_famous.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_hk_fhpx_ths.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_hk_hot_rank_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_hk_sina.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_hold_control_cninfo.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_hold_control_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_hold_num_cninfo.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_hot_rank_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_hot_search_baidu.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_hot_up_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_industry.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_industry_cninfo.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_industry_pe_cninfo.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_industry_sw.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_info.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_info_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_intraday_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_intraday_sina.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_ipo_summary_cninfo.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_new_cninfo.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_news_cx.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_profile_cninfo.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_rank_forecast.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_repurchase_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_share_changes_cninfo.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_share_hold.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_stop.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_summary.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_us_famous.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_us_js.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_us_pink.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_us_sina.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_weibo_nlp.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_xq.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_zh_a_sina.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_zh_a_special.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_zh_a_tick_tx.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_zh_ah_tx.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_zh_b_sina.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_zh_kcb_report.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock/stock_zh_kcb_sina.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/cons.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_a_below_net_asset_statistics.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_a_high_low.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_a_indicator.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_a_pe_and_pb.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_account_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_all_pb.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_analyst_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_board_industry_ths.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_buffett_index_lg.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_classify_sina.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_comment_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_concept_futu.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_congestion_lg.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_cyq_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_disclosure_cninfo.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_dxsyl_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_ebs_lg.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_esg_sina.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_fhps_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_fhps_ths.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_fund_flow.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_gddh_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_gdfx_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_gdhs.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_gdzjc_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_gpzy_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_gxl_lg.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_hist_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_hist_tx.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_hk_valuation_baidu.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_hot_xq.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_hsgt_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_hsgt_exchange_rate.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_hsgt_min_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_info.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_inner_trade_xq.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_irm_cninfo.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_jgdy_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_lh_yybpm.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_lhb_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_lhb_sina.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_margin_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_margin_sse.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_margin_szse.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_market_legu.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_pankou_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_qsjy_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_report_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_research_report_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_sns_sseinfo.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_sy_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_technology_ths.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_tfp_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_three_report_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_ttm_lyr.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_value_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_wencai.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_yjbb_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_yjyg_cninfo.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_yjyg_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_yzxdr_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_zdhtmx_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_zf_pg.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_zh_valuation_baidu.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/stock_zh_vote_baidu.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_feature/ths.js +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_fundamental/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_fundamental/stock_finance.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_fundamental/stock_finance_hk.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_fundamental/stock_finance_ths.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_fundamental/stock_hold.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_fundamental/stock_ipo_declare.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_fundamental/stock_kcb_detail_sse.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_fundamental/stock_kcb_sse.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_fundamental/stock_mda_ym.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_fundamental/stock_notice.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_fundamental/stock_profit_forecast_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_fundamental/stock_profit_forecast_hk_etnet.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_fundamental/stock_profit_forecast_ths.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_fundamental/stock_recommend.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_fundamental/stock_register_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_fundamental/stock_restricted_em.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_fundamental/stock_zygc.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/stock_fundamental/stock_zyjs_ths.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/tool/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/tool/trade_date_hist.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/utils/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/utils/cons.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/utils/context.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/utils/demjson.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/utils/func.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/utils/token_process.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare/utils/tqdm.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare.egg-info/SOURCES.txt +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare.egg-info/dependency_links.txt +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare.egg-info/requires.txt +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/akshare.egg-info/top_level.txt +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/pyproject.toml +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/setup.cfg +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/setup.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/tests/__init__.py +0 -0
- {akshare-1.15.60 → akshare-1.15.62}/tests/test_func.py +0 -0
|
@@ -2970,9 +2970,11 @@ amac_manager_cancelled_info # 中国证券投资基金业协会-信息公示-诚
|
|
|
2970
2970
|
1.15.58 fix: fix futures_hold_pos_sina interface
|
|
2971
2971
|
1.15.59 fix: fix stock_sy_hy_em interface
|
|
2972
2972
|
1.15.60 fix: fix stock_hot_keyword_em interface
|
|
2973
|
+
1.15.61 fix: fix stock_zt_pool_strong_em interface
|
|
2974
|
+
1.15.62 fix: fix stock_zt_pool_sub_new_em interface
|
|
2973
2975
|
"""
|
|
2974
2976
|
|
|
2975
|
-
__version__ = "1.15.
|
|
2977
|
+
__version__ = "1.15.62"
|
|
2976
2978
|
__author__ = "AKFamily"
|
|
2977
2979
|
|
|
2978
2980
|
import sys
|
|
@@ -3391,6 +3393,20 @@ from akshare.index.index_option_qvix import (
|
|
|
3391
3393
|
index_option_300etf_min_qvix,
|
|
3392
3394
|
index_option_300etf_qvix,
|
|
3393
3395
|
index_option_50etf_min_qvix,
|
|
3396
|
+
index_option_1000index_min_qvix,
|
|
3397
|
+
index_option_1000index_qvix,
|
|
3398
|
+
index_option_100etf_min_qvix,
|
|
3399
|
+
index_option_100etf_qvix,
|
|
3400
|
+
index_option_300index_min_qvix,
|
|
3401
|
+
index_option_300index_qvix,
|
|
3402
|
+
index_option_500etf_min_qvix,
|
|
3403
|
+
index_option_500etf_qvix,
|
|
3404
|
+
index_option_50index_min_qvix,
|
|
3405
|
+
index_option_50index_qvix,
|
|
3406
|
+
index_option_cyb_min_qvix,
|
|
3407
|
+
index_option_cyb_qvix,
|
|
3408
|
+
index_option_kcb_min_qvix,
|
|
3409
|
+
index_option_kcb_qvix,
|
|
3394
3410
|
)
|
|
3395
3411
|
|
|
3396
3412
|
"""
|
|
@@ -0,0 +1,435 @@
|
|
|
1
|
+
# -*- coding:utf-8 -*-
|
|
2
|
+
# !/usr/bin/env python
|
|
3
|
+
"""
|
|
4
|
+
Date: 2023/10/19 16:00
|
|
5
|
+
Desc: 50 ETF 期权波动率指数 QVIX
|
|
6
|
+
300 ETF 期权波动率指数 QVIX
|
|
7
|
+
http://1.optbbs.com/s/vix.shtml?50ETF
|
|
8
|
+
http://1.optbbs.com/s/vix.shtml?300ETF
|
|
9
|
+
"""
|
|
10
|
+
import pandas as pd
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def index_option_50etf_qvix() -> pd.DataFrame:
|
|
14
|
+
"""
|
|
15
|
+
50ETF 期权波动率指数 QVIX
|
|
16
|
+
http://1.optbbs.com/s/vix.shtml?50ETF
|
|
17
|
+
:return: 50ETF 期权波动率指数 QVIX
|
|
18
|
+
:rtype: pandas.DataFrame
|
|
19
|
+
"""
|
|
20
|
+
url = "http://1.optbbs.com/d/csv/d/k.csv"
|
|
21
|
+
temp_df = pd.read_csv(url).iloc[:, :5]
|
|
22
|
+
temp_df.columns = [
|
|
23
|
+
"date",
|
|
24
|
+
"open",
|
|
25
|
+
"high",
|
|
26
|
+
"low",
|
|
27
|
+
"close",
|
|
28
|
+
]
|
|
29
|
+
temp_df["date"] = pd.to_datetime(temp_df["date"], errors="coerce").dt.date
|
|
30
|
+
temp_df['open'] = pd.to_numeric(temp_df['open'], errors="coerce")
|
|
31
|
+
temp_df['high'] = pd.to_numeric(temp_df['high'], errors="coerce")
|
|
32
|
+
temp_df['low'] = pd.to_numeric(temp_df['low'], errors="coerce")
|
|
33
|
+
temp_df['close'] = pd.to_numeric(temp_df['close'], errors="coerce")
|
|
34
|
+
return temp_df
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
def index_option_50etf_min_qvix() -> pd.DataFrame:
|
|
38
|
+
"""
|
|
39
|
+
50 ETF 期权波动率指数 QVIX
|
|
40
|
+
http://1.optbbs.com/s/vix.shtml?50ETF
|
|
41
|
+
:return: 50 ETF 期权波动率指数 QVIX
|
|
42
|
+
:rtype: pandas.DataFrame
|
|
43
|
+
"""
|
|
44
|
+
url = "http://1.optbbs.com/d/csv/d/vix50.csv"
|
|
45
|
+
temp_df = pd.read_csv(url).iloc[:, :2]
|
|
46
|
+
temp_df.columns = [
|
|
47
|
+
"time",
|
|
48
|
+
"qvix",
|
|
49
|
+
]
|
|
50
|
+
temp_df['qvix'] = pd.to_numeric(temp_df['qvix'], errors="coerce")
|
|
51
|
+
return temp_df
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
def index_option_300etf_qvix() -> pd.DataFrame:
|
|
55
|
+
"""
|
|
56
|
+
300 ETF 期权波动率指数 QVIX
|
|
57
|
+
http://1.optbbs.com/s/vix.shtml?300ETF
|
|
58
|
+
:return: 300 ETF 期权波动率指数 QVIX
|
|
59
|
+
:rtype: pandas.DataFrame
|
|
60
|
+
"""
|
|
61
|
+
url = "http://1.optbbs.com/d/csv/d/k.csv"
|
|
62
|
+
temp_df = pd.read_csv(url).iloc[:, [0, 9, 10, 11, 12]]
|
|
63
|
+
temp_df.columns = [
|
|
64
|
+
"date",
|
|
65
|
+
"open",
|
|
66
|
+
"high",
|
|
67
|
+
"low",
|
|
68
|
+
"close",
|
|
69
|
+
]
|
|
70
|
+
temp_df["date"] = pd.to_datetime(temp_df["date"], errors="coerce").dt.date
|
|
71
|
+
temp_df['open'] = pd.to_numeric(temp_df['open'], errors="coerce")
|
|
72
|
+
temp_df['high'] = pd.to_numeric(temp_df['high'], errors="coerce")
|
|
73
|
+
temp_df['low'] = pd.to_numeric(temp_df['low'], errors="coerce")
|
|
74
|
+
temp_df['close'] = pd.to_numeric(temp_df['close'], errors="coerce")
|
|
75
|
+
return temp_df
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
def index_option_300etf_min_qvix() -> pd.DataFrame:
|
|
79
|
+
"""
|
|
80
|
+
300 ETF 期权波动率指数 QVIX-分时
|
|
81
|
+
http://1.optbbs.com/s/vix.shtml?300ETF
|
|
82
|
+
:return: 300 ETF 期权波动率指数 QVIX-分时
|
|
83
|
+
:rtype: pandas.DataFrame
|
|
84
|
+
"""
|
|
85
|
+
url = "http://1.optbbs.com/d/csv/d/vix300.csv"
|
|
86
|
+
temp_df = pd.read_csv(url).iloc[:, :2]
|
|
87
|
+
temp_df.columns = [
|
|
88
|
+
"time",
|
|
89
|
+
"qvix",
|
|
90
|
+
]
|
|
91
|
+
temp_df['qvix'] = pd.to_numeric(temp_df['qvix'], errors="coerce")
|
|
92
|
+
return temp_df
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
def index_option_500etf_qvix() -> pd.DataFrame:
|
|
96
|
+
"""
|
|
97
|
+
500 ETF 期权波动率指数 QVIX
|
|
98
|
+
http://1.optbbs.com/s/vix.shtml?500ETF
|
|
99
|
+
:return: 500 ETF 期权波动率指数 QVIX
|
|
100
|
+
:rtype: pandas.DataFrame
|
|
101
|
+
"""
|
|
102
|
+
url = "http://1.optbbs.com/d/csv/d/k.csv"
|
|
103
|
+
temp_df = pd.read_csv(url).iloc[:, [0, 67, 68, 69, 70]]
|
|
104
|
+
temp_df.columns = [
|
|
105
|
+
"date",
|
|
106
|
+
"open",
|
|
107
|
+
"high",
|
|
108
|
+
"low",
|
|
109
|
+
"close",
|
|
110
|
+
]
|
|
111
|
+
temp_df["date"] = pd.to_datetime(temp_df["date"], errors="coerce").dt.date
|
|
112
|
+
temp_df["open"] = pd.to_numeric(temp_df["open"], errors="coerce")
|
|
113
|
+
temp_df["high"] = pd.to_numeric(temp_df["high"], errors="coerce")
|
|
114
|
+
temp_df["low"] = pd.to_numeric(temp_df["low"], errors="coerce")
|
|
115
|
+
temp_df["close"] = pd.to_numeric(temp_df["close"], errors="coerce")
|
|
116
|
+
return temp_df
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
def index_option_500etf_min_qvix() -> pd.DataFrame:
|
|
120
|
+
"""
|
|
121
|
+
500 ETF 期权波动率指数 QVIX-分时
|
|
122
|
+
http://1.optbbs.com/s/vix.shtml?500ETF
|
|
123
|
+
:return: 500 ETF 期权波动率指数 QVIX-分时
|
|
124
|
+
:rtype: pandas.DataFrame
|
|
125
|
+
"""
|
|
126
|
+
url = "http://1.optbbs.com/d/csv/d/vix500.csv"
|
|
127
|
+
temp_df = pd.read_csv(url).iloc[:, :2]
|
|
128
|
+
temp_df.columns = [
|
|
129
|
+
"time",
|
|
130
|
+
"qvix",
|
|
131
|
+
]
|
|
132
|
+
temp_df["qvix"] = pd.to_numeric(temp_df["qvix"], errors="coerce")
|
|
133
|
+
return temp_df
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
def index_option_cyb_qvix() -> pd.DataFrame:
|
|
137
|
+
"""
|
|
138
|
+
创业板 期权波动率指数 QVIX
|
|
139
|
+
http://1.optbbs.com/s/vix.shtml?CYB
|
|
140
|
+
:return: 创业板 期权波动率指数 QVIX
|
|
141
|
+
:rtype: pandas.DataFrame
|
|
142
|
+
"""
|
|
143
|
+
url = "http://1.optbbs.com/d/csv/d/k.csv"
|
|
144
|
+
temp_df = pd.read_csv(url).iloc[:, [0, 71, 72, 73, 74]]
|
|
145
|
+
temp_df.columns = [
|
|
146
|
+
"date",
|
|
147
|
+
"open",
|
|
148
|
+
"high",
|
|
149
|
+
"low",
|
|
150
|
+
"close",
|
|
151
|
+
]
|
|
152
|
+
temp_df["date"] = pd.to_datetime(temp_df["date"], errors="coerce").dt.date
|
|
153
|
+
temp_df["open"] = pd.to_numeric(temp_df["open"], errors="coerce")
|
|
154
|
+
temp_df["high"] = pd.to_numeric(temp_df["high"], errors="coerce")
|
|
155
|
+
temp_df["low"] = pd.to_numeric(temp_df["low"], errors="coerce")
|
|
156
|
+
temp_df["close"] = pd.to_numeric(temp_df["close"], errors="coerce")
|
|
157
|
+
return temp_df
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
def index_option_cyb_min_qvix() -> pd.DataFrame:
|
|
161
|
+
"""
|
|
162
|
+
创业板 期权波动率指数 QVIX-分时
|
|
163
|
+
http://1.optbbs.com/s/vix.shtml?CYB
|
|
164
|
+
:return: 创业板 期权波动率指数 QVIX-分时
|
|
165
|
+
:rtype: pandas.DataFrame
|
|
166
|
+
"""
|
|
167
|
+
url = "http://1.optbbs.com/d/csv/d/vixcyb.csv"
|
|
168
|
+
temp_df = pd.read_csv(url).iloc[:, :2]
|
|
169
|
+
temp_df.columns = [
|
|
170
|
+
"time",
|
|
171
|
+
"qvix",
|
|
172
|
+
]
|
|
173
|
+
temp_df["qvix"] = pd.to_numeric(temp_df["qvix"], errors="coerce")
|
|
174
|
+
return temp_df
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
def index_option_kcb_qvix() -> pd.DataFrame:
|
|
178
|
+
"""
|
|
179
|
+
科创板 期权波动率指数 QVIX
|
|
180
|
+
http://1.optbbs.com/s/vix.shtml?KCB
|
|
181
|
+
:return: 科创板 期权波动率指数 QVIX
|
|
182
|
+
:rtype: pandas.DataFrame
|
|
183
|
+
"""
|
|
184
|
+
url = "http://1.optbbs.com/d/csv/d/k.csv"
|
|
185
|
+
temp_df = pd.read_csv(url).iloc[:, [0, 83, 84, 85, 86]]
|
|
186
|
+
temp_df.columns = [
|
|
187
|
+
"date",
|
|
188
|
+
"open",
|
|
189
|
+
"high",
|
|
190
|
+
"low",
|
|
191
|
+
"close",
|
|
192
|
+
]
|
|
193
|
+
temp_df["date"] = pd.to_datetime(temp_df["date"], errors="coerce").dt.date
|
|
194
|
+
temp_df["open"] = pd.to_numeric(temp_df["open"], errors="coerce")
|
|
195
|
+
temp_df["high"] = pd.to_numeric(temp_df["high"], errors="coerce")
|
|
196
|
+
temp_df["low"] = pd.to_numeric(temp_df["low"], errors="coerce")
|
|
197
|
+
temp_df["close"] = pd.to_numeric(temp_df["close"], errors="coerce")
|
|
198
|
+
return temp_df
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
def index_option_kcb_min_qvix() -> pd.DataFrame:
|
|
202
|
+
"""
|
|
203
|
+
科创板 期权波动率指数 QVIX-分时
|
|
204
|
+
http://1.optbbs.com/s/vix.shtml?KCB
|
|
205
|
+
:return: 科创板 期权波动率指数 QVIX-分时
|
|
206
|
+
:rtype: pandas.DataFrame
|
|
207
|
+
"""
|
|
208
|
+
url = "http://1.optbbs.com/d/csv/d/vixkcb.csv"
|
|
209
|
+
temp_df = pd.read_csv(url).iloc[:, :2]
|
|
210
|
+
temp_df.columns = [
|
|
211
|
+
"time",
|
|
212
|
+
"qvix",
|
|
213
|
+
]
|
|
214
|
+
temp_df["qvix"] = pd.to_numeric(temp_df["qvix"], errors="coerce")
|
|
215
|
+
return temp_df
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
def index_option_100etf_qvix() -> pd.DataFrame:
|
|
219
|
+
"""
|
|
220
|
+
深证100ETF 期权波动率指数 QVIX
|
|
221
|
+
http://1.optbbs.com/s/vix.shtml?100ETF
|
|
222
|
+
:return: 深证100ETF 期权波动率指数 QVIX
|
|
223
|
+
:rtype: pandas.DataFrame
|
|
224
|
+
"""
|
|
225
|
+
url = "http://1.optbbs.com/d/csv/d/k.csv"
|
|
226
|
+
temp_df = pd.read_csv(url).iloc[:, [0, 75, 76, 77, 78]]
|
|
227
|
+
temp_df.columns = [
|
|
228
|
+
"date",
|
|
229
|
+
"open",
|
|
230
|
+
"high",
|
|
231
|
+
"low",
|
|
232
|
+
"close",
|
|
233
|
+
]
|
|
234
|
+
temp_df["date"] = pd.to_datetime(temp_df["date"], errors="coerce").dt.date
|
|
235
|
+
temp_df["open"] = pd.to_numeric(temp_df["open"], errors="coerce")
|
|
236
|
+
temp_df["high"] = pd.to_numeric(temp_df["high"], errors="coerce")
|
|
237
|
+
temp_df["low"] = pd.to_numeric(temp_df["low"], errors="coerce")
|
|
238
|
+
temp_df["close"] = pd.to_numeric(temp_df["close"], errors="coerce")
|
|
239
|
+
return temp_df
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
def index_option_100etf_min_qvix() -> pd.DataFrame:
|
|
243
|
+
"""
|
|
244
|
+
深证100ETF 期权波动率指数 QVIX-分时
|
|
245
|
+
http://1.optbbs.com/s/vix.shtml?100ETF
|
|
246
|
+
:return: 深证100ETF 期权波动率指数 QVIX-分时
|
|
247
|
+
:rtype: pandas.DataFrame
|
|
248
|
+
"""
|
|
249
|
+
url = "http://1.optbbs.com/d/csv/d/vix100.csv"
|
|
250
|
+
temp_df = pd.read_csv(url).iloc[:, :2]
|
|
251
|
+
temp_df.columns = [
|
|
252
|
+
"time",
|
|
253
|
+
"qvix",
|
|
254
|
+
]
|
|
255
|
+
temp_df["qvix"] = pd.to_numeric(temp_df["qvix"], errors="coerce")
|
|
256
|
+
return temp_df
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
def index_option_300index_qvix() -> pd.DataFrame:
|
|
260
|
+
"""
|
|
261
|
+
中证300股指 期权波动率指数 QVIX
|
|
262
|
+
http://1.optbbs.com/s/vix.shtml?Index
|
|
263
|
+
:return: 中证300股指 期权波动率指数 QVIX
|
|
264
|
+
:rtype: pandas.DataFrame
|
|
265
|
+
"""
|
|
266
|
+
url = "http://1.optbbs.com/d/csv/d/k.csv"
|
|
267
|
+
temp_df = pd.read_csv(url).iloc[:, [0, 17, 18, 19, 20]]
|
|
268
|
+
temp_df.columns = [
|
|
269
|
+
"date",
|
|
270
|
+
"open",
|
|
271
|
+
"high",
|
|
272
|
+
"low",
|
|
273
|
+
"close",
|
|
274
|
+
]
|
|
275
|
+
temp_df["date"] = pd.to_datetime(temp_df["date"], errors="coerce").dt.date
|
|
276
|
+
temp_df["open"] = pd.to_numeric(temp_df["open"], errors="coerce")
|
|
277
|
+
temp_df["high"] = pd.to_numeric(temp_df["high"], errors="coerce")
|
|
278
|
+
temp_df["low"] = pd.to_numeric(temp_df["low"], errors="coerce")
|
|
279
|
+
temp_df["close"] = pd.to_numeric(temp_df["close"], errors="coerce")
|
|
280
|
+
return temp_df
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
def index_option_300index_min_qvix() -> pd.DataFrame:
|
|
284
|
+
"""
|
|
285
|
+
中证300股指 期权波动率指数 QVIX-分时
|
|
286
|
+
http://1.optbbs.com/s/vix.shtml?Index
|
|
287
|
+
:return: 中证300股指 期权波动率指数 QVIX-分时
|
|
288
|
+
:rtype: pandas.DataFrame
|
|
289
|
+
"""
|
|
290
|
+
url = "http://1.optbbs.com/d/csv/d/vixindex.csv"
|
|
291
|
+
temp_df = pd.read_csv(url).iloc[:, :2]
|
|
292
|
+
temp_df.columns = [
|
|
293
|
+
"time",
|
|
294
|
+
"qvix",
|
|
295
|
+
]
|
|
296
|
+
temp_df["qvix"] = pd.to_numeric(temp_df["qvix"], errors="coerce")
|
|
297
|
+
return temp_df
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
def index_option_1000index_qvix() -> pd.DataFrame:
|
|
301
|
+
"""
|
|
302
|
+
中证1000股指 期权波动率指数 QVIX
|
|
303
|
+
http://1.optbbs.com/s/vix.shtml?Index1000
|
|
304
|
+
:return: 中证1000股指 期权波动率指数 QVIX
|
|
305
|
+
:rtype: pandas.DataFrame
|
|
306
|
+
"""
|
|
307
|
+
url = "http://1.optbbs.com/d/csv/d/k.csv"
|
|
308
|
+
temp_df = pd.read_csv(url).iloc[:, [0, 25, 26, 27, 28]]
|
|
309
|
+
temp_df.columns = [
|
|
310
|
+
"date",
|
|
311
|
+
"open",
|
|
312
|
+
"high",
|
|
313
|
+
"low",
|
|
314
|
+
"close",
|
|
315
|
+
]
|
|
316
|
+
temp_df["date"] = pd.to_datetime(temp_df["date"], errors="coerce").dt.date
|
|
317
|
+
temp_df["open"] = pd.to_numeric(temp_df["open"], errors="coerce")
|
|
318
|
+
temp_df["high"] = pd.to_numeric(temp_df["high"], errors="coerce")
|
|
319
|
+
temp_df["low"] = pd.to_numeric(temp_df["low"], errors="coerce")
|
|
320
|
+
temp_df["close"] = pd.to_numeric(temp_df["close"], errors="coerce")
|
|
321
|
+
return temp_df
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
def index_option_1000index_min_qvix() -> pd.DataFrame:
|
|
325
|
+
"""
|
|
326
|
+
中证1000股指 期权波动率指数 QVIX-分时
|
|
327
|
+
http://1.optbbs.com/s/vix.shtml?Index1000
|
|
328
|
+
:return: 中证1000股指 期权波动率指数 QVIX-分时
|
|
329
|
+
:rtype: pandas.DataFrame
|
|
330
|
+
"""
|
|
331
|
+
url = "http://1.optbbs.com/d/csv/d/vixindex1000.csv"
|
|
332
|
+
temp_df = pd.read_csv(url).iloc[:, :2]
|
|
333
|
+
temp_df.columns = [
|
|
334
|
+
"time",
|
|
335
|
+
"qvix",
|
|
336
|
+
]
|
|
337
|
+
temp_df["qvix"] = pd.to_numeric(temp_df["qvix"], errors="coerce")
|
|
338
|
+
return temp_df
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
def index_option_50index_qvix() -> pd.DataFrame:
|
|
342
|
+
"""
|
|
343
|
+
上证50股指 期权波动率指数 QVIX
|
|
344
|
+
http://1.optbbs.com/s/vix.shtml?50index
|
|
345
|
+
:return: 上证50股指 期权波动率指数 QVIX
|
|
346
|
+
:rtype: pandas.DataFrame
|
|
347
|
+
"""
|
|
348
|
+
url = "http://1.optbbs.com/d/csv/d/k.csv"
|
|
349
|
+
temp_df = pd.read_csv(url).iloc[:, [0, 79, 80, 81, 82]]
|
|
350
|
+
temp_df.columns = [
|
|
351
|
+
"date",
|
|
352
|
+
"open",
|
|
353
|
+
"high",
|
|
354
|
+
"low",
|
|
355
|
+
"close",
|
|
356
|
+
]
|
|
357
|
+
temp_df["date"] = pd.to_datetime(temp_df["date"], errors="coerce").dt.date
|
|
358
|
+
temp_df["open"] = pd.to_numeric(temp_df["open"], errors="coerce")
|
|
359
|
+
temp_df["high"] = pd.to_numeric(temp_df["high"], errors="coerce")
|
|
360
|
+
temp_df["low"] = pd.to_numeric(temp_df["low"], errors="coerce")
|
|
361
|
+
temp_df["close"] = pd.to_numeric(temp_df["close"], errors="coerce")
|
|
362
|
+
return temp_df
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
def index_option_50index_min_qvix() -> pd.DataFrame:
|
|
366
|
+
"""
|
|
367
|
+
上证50股指 期权波动率指数 QVIX-分时
|
|
368
|
+
http://1.optbbs.com/s/vix.shtml?50index
|
|
369
|
+
:return: 上证50股指 期权波动率指数 QVIX-分时
|
|
370
|
+
:rtype: pandas.DataFrame
|
|
371
|
+
"""
|
|
372
|
+
url = "http://1.optbbs.com/d/csv/d/vix50index.csv"
|
|
373
|
+
temp_df = pd.read_csv(url).iloc[:, :2]
|
|
374
|
+
temp_df.columns = [
|
|
375
|
+
"time",
|
|
376
|
+
"qvix",
|
|
377
|
+
]
|
|
378
|
+
temp_df["qvix"] = pd.to_numeric(temp_df["qvix"], errors="coerce")
|
|
379
|
+
return temp_df
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
if __name__ == "__main__":
|
|
383
|
+
index_option_50etf_qvix_df = index_option_50etf_qvix()
|
|
384
|
+
print(index_option_50etf_qvix_df)
|
|
385
|
+
|
|
386
|
+
index_option_50etf_min_qvix_df = index_option_50etf_min_qvix()
|
|
387
|
+
print(index_option_50etf_min_qvix_df)
|
|
388
|
+
|
|
389
|
+
index_option_300etf_qvix_df = index_option_300etf_qvix()
|
|
390
|
+
print(index_option_300etf_qvix_df)
|
|
391
|
+
|
|
392
|
+
index_option_300etf_min_qvix_df = index_option_300etf_min_qvix()
|
|
393
|
+
print(index_option_300etf_min_qvix_df)
|
|
394
|
+
|
|
395
|
+
index_option_500etf_qvix_df = index_option_500etf_qvix()
|
|
396
|
+
print(index_option_500etf_qvix_df)
|
|
397
|
+
|
|
398
|
+
index_option_500etf_min_qvix_df = index_option_500etf_min_qvix()
|
|
399
|
+
print(index_option_500etf_min_qvix_df)
|
|
400
|
+
|
|
401
|
+
index_option_cyb_qvix_df = index_option_cyb_qvix()
|
|
402
|
+
print(index_option_cyb_qvix_df)
|
|
403
|
+
|
|
404
|
+
index_option_cyb_min_qvix_df = index_option_cyb_min_qvix()
|
|
405
|
+
print(index_option_cyb_min_qvix_df)
|
|
406
|
+
|
|
407
|
+
index_option_kcb_qvix_df = index_option_kcb_qvix()
|
|
408
|
+
print(index_option_kcb_qvix_df)
|
|
409
|
+
|
|
410
|
+
index_option_kcb_min_qvix_df = index_option_kcb_min_qvix()
|
|
411
|
+
print(index_option_kcb_min_qvix_df)
|
|
412
|
+
|
|
413
|
+
index_option_100etf_qvix_df = index_option_100etf_qvix()
|
|
414
|
+
print(index_option_100etf_qvix_df)
|
|
415
|
+
|
|
416
|
+
index_option_100etf_min_qvix_df = index_option_100etf_min_qvix()
|
|
417
|
+
print(index_option_100etf_min_qvix_df)
|
|
418
|
+
|
|
419
|
+
index_option_300index_qvix_df = index_option_300index_qvix()
|
|
420
|
+
print(index_option_300index_qvix_df)
|
|
421
|
+
|
|
422
|
+
index_option_300index_min_qvix_df = index_option_300index_min_qvix()
|
|
423
|
+
print(index_option_300index_min_qvix_df)
|
|
424
|
+
|
|
425
|
+
index_option_1000index_qvix_df = index_option_1000index_qvix()
|
|
426
|
+
print(index_option_1000index_qvix_df)
|
|
427
|
+
|
|
428
|
+
index_option_1000index_min_qvix_df = index_option_1000index_min_qvix()
|
|
429
|
+
print(index_option_1000index_min_qvix_df)
|
|
430
|
+
|
|
431
|
+
index_option_50index_qvix_df = index_option_50index_qvix()
|
|
432
|
+
print(index_option_50index_qvix_df)
|
|
433
|
+
|
|
434
|
+
index_option_50index_min_qvix_df = index_option_50index_min_qvix()
|
|
435
|
+
print(index_option_50index_min_qvix_df)
|
|
@@ -186,7 +186,7 @@ def stock_zt_pool_previous_em(date: str = "20240415") -> pd.DataFrame:
|
|
|
186
186
|
return temp_df
|
|
187
187
|
|
|
188
188
|
|
|
189
|
-
def stock_zt_pool_strong_em(date: str = "
|
|
189
|
+
def stock_zt_pool_strong_em(date: str = "20241231") -> pd.DataFrame:
|
|
190
190
|
"""
|
|
191
191
|
东方财富网-行情中心-涨停板行情-强势股池
|
|
192
192
|
https://quote.eastmoney.com/ztb/detail#type=qsgc
|
|
@@ -261,10 +261,22 @@ def stock_zt_pool_strong_em(date: str = "20241009") -> pd.DataFrame:
|
|
|
261
261
|
]
|
|
262
262
|
temp_df["最新价"] = temp_df["最新价"] / 1000
|
|
263
263
|
temp_df["涨停价"] = temp_df["涨停价"] / 1000
|
|
264
|
+
explained_map = {1: "60日新高", 2: "近期多次涨停", 3: "60日新高且近期多次涨停"}
|
|
265
|
+
temp_df["入选理由"] = temp_df["入选理由"].apply(lambda x: explained_map[x])
|
|
266
|
+
temp_df["是否新高"] = temp_df["是否新高"].apply(lambda x: "是" if x == 1 else "否")
|
|
267
|
+
temp_df["涨跌幅"] = pd.to_numeric(temp_df["涨跌幅"], errors="coerce")
|
|
268
|
+
temp_df["最新价"] = pd.to_numeric(temp_df["最新价"], errors="coerce")
|
|
269
|
+
temp_df["涨停价"] = pd.to_numeric(temp_df["涨停价"], errors="coerce")
|
|
270
|
+
temp_df["成交额"] = pd.to_numeric(temp_df["成交额"], errors="coerce")
|
|
271
|
+
temp_df["流通市值"] = pd.to_numeric(temp_df["流通市值"], errors="coerce")
|
|
272
|
+
temp_df["总市值"] = pd.to_numeric(temp_df["总市值"], errors="coerce")
|
|
273
|
+
temp_df["换手率"] = pd.to_numeric(temp_df["换手率"], errors="coerce")
|
|
274
|
+
temp_df["涨速"] = pd.to_numeric(temp_df["涨速"], errors="coerce")
|
|
275
|
+
temp_df["量比"] = pd.to_numeric(temp_df["量比"], errors="coerce")
|
|
264
276
|
return temp_df
|
|
265
277
|
|
|
266
278
|
|
|
267
|
-
def stock_zt_pool_sub_new_em(date: str = "
|
|
279
|
+
def stock_zt_pool_sub_new_em(date: str = "20241231") -> pd.DataFrame:
|
|
268
280
|
"""
|
|
269
281
|
东方财富网-行情中心-涨停板行情-次新股池
|
|
270
282
|
https://quote.eastmoney.com/ztb/detail#type=cxgc
|
|
@@ -339,9 +351,10 @@ def stock_zt_pool_sub_new_em(date: str = "20241011") -> pd.DataFrame:
|
|
|
339
351
|
temp_df["最新价"] = temp_df["最新价"] / 1000
|
|
340
352
|
temp_df["涨停价"] = temp_df["涨停价"] / 1000
|
|
341
353
|
temp_df.loc[temp_df["涨停价"] > 100000, "涨停价"] = pd.NA
|
|
342
|
-
temp_df["开板日期"] = pd.to_datetime(temp_df["开板日期"], format="%Y%m%d")
|
|
343
|
-
temp_df["上市日期"] = pd.to_datetime(temp_df["上市日期"], format="%Y%m%d")
|
|
354
|
+
temp_df["开板日期"] = pd.to_datetime(temp_df["开板日期"], format="%Y%m%d").dt.date
|
|
355
|
+
temp_df["上市日期"] = pd.to_datetime(temp_df["上市日期"], format="%Y%m%d").dt.date
|
|
344
356
|
temp_df.loc[temp_df["上市日期"] == 0, "上市日期"] = pd.NaT
|
|
357
|
+
temp_df["是否新高"] = temp_df["是否新高"].apply(lambda x: "是" if x == 1 else "否")
|
|
345
358
|
return temp_df
|
|
346
359
|
|
|
347
360
|
|
|
@@ -522,10 +535,10 @@ if __name__ == "__main__":
|
|
|
522
535
|
stock_zt_pool_previous_em_df = stock_zt_pool_previous_em(date="20240415")
|
|
523
536
|
print(stock_zt_pool_previous_em_df)
|
|
524
537
|
|
|
525
|
-
stock_zt_pool_strong_em_df = stock_zt_pool_strong_em(date="
|
|
538
|
+
stock_zt_pool_strong_em_df = stock_zt_pool_strong_em(date="20241231")
|
|
526
539
|
print(stock_zt_pool_strong_em_df)
|
|
527
540
|
|
|
528
|
-
stock_zt_pool_sub_new_em_df = stock_zt_pool_sub_new_em(date="
|
|
541
|
+
stock_zt_pool_sub_new_em_df = stock_zt_pool_sub_new_em(date="20241231")
|
|
529
542
|
print(stock_zt_pool_sub_new_em_df)
|
|
530
543
|
|
|
531
544
|
stock_zt_pool_zbgc_em_df = stock_zt_pool_zbgc_em(date="20241011")
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
# -*- coding:utf-8 -*-
|
|
2
|
-
# !/usr/bin/env python
|
|
3
|
-
"""
|
|
4
|
-
Date: 2023/10/19 16:00
|
|
5
|
-
Desc: 50 ETF 期权波动率指数 QVIX
|
|
6
|
-
300 ETF 期权波动率指数 QVIX
|
|
7
|
-
http://1.optbbs.com/s/vix.shtml?50ETF
|
|
8
|
-
http://1.optbbs.com/s/vix.shtml?300ETF
|
|
9
|
-
"""
|
|
10
|
-
import pandas as pd
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
def index_option_50etf_qvix() -> pd.DataFrame:
|
|
14
|
-
"""
|
|
15
|
-
50ETF 期权波动率指数 QVIX
|
|
16
|
-
http://1.optbbs.com/s/vix.shtml?50ETF
|
|
17
|
-
:return: 50ETF 期权波动率指数 QVIX
|
|
18
|
-
:rtype: pandas.DataFrame
|
|
19
|
-
"""
|
|
20
|
-
url = "http://1.optbbs.com/d/csv/d/k.csv"
|
|
21
|
-
temp_df = pd.read_csv(url).iloc[:, :5]
|
|
22
|
-
temp_df.columns = [
|
|
23
|
-
"date",
|
|
24
|
-
"open",
|
|
25
|
-
"high",
|
|
26
|
-
"low",
|
|
27
|
-
"close",
|
|
28
|
-
]
|
|
29
|
-
temp_df["date"] = pd.to_datetime(temp_df["date"], errors="coerce").dt.date
|
|
30
|
-
temp_df['open'] = pd.to_numeric(temp_df['open'], errors="coerce")
|
|
31
|
-
temp_df['high'] = pd.to_numeric(temp_df['high'], errors="coerce")
|
|
32
|
-
temp_df['low'] = pd.to_numeric(temp_df['low'], errors="coerce")
|
|
33
|
-
temp_df['close'] = pd.to_numeric(temp_df['close'], errors="coerce")
|
|
34
|
-
return temp_df
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
def index_option_50etf_min_qvix() -> pd.DataFrame:
|
|
38
|
-
"""
|
|
39
|
-
50 ETF 期权波动率指数 QVIX
|
|
40
|
-
http://1.optbbs.com/s/vix.shtml?50ETF
|
|
41
|
-
:return: 50 ETF 期权波动率指数 QVIX
|
|
42
|
-
:rtype: pandas.DataFrame
|
|
43
|
-
"""
|
|
44
|
-
url = "http://1.optbbs.com/d/csv/d/vix50.csv"
|
|
45
|
-
temp_df = pd.read_csv(url).iloc[:, :2]
|
|
46
|
-
temp_df.columns = [
|
|
47
|
-
"time",
|
|
48
|
-
"qvix",
|
|
49
|
-
]
|
|
50
|
-
temp_df['qvix'] = pd.to_numeric(temp_df['qvix'], errors="coerce")
|
|
51
|
-
return temp_df
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
def index_option_300etf_qvix() -> pd.DataFrame:
|
|
55
|
-
"""
|
|
56
|
-
300 ETF 期权波动率指数 QVIX
|
|
57
|
-
http://1.optbbs.com/s/vix.shtml?300ETF
|
|
58
|
-
:return: 300 ETF 期权波动率指数 QVIX
|
|
59
|
-
:rtype: pandas.DataFrame
|
|
60
|
-
"""
|
|
61
|
-
url = "http://1.optbbs.com/d/csv/d/k.csv"
|
|
62
|
-
temp_df = pd.read_csv(url).iloc[:, [0, 9, 10, 11, 12]]
|
|
63
|
-
temp_df.columns = [
|
|
64
|
-
"date",
|
|
65
|
-
"open",
|
|
66
|
-
"high",
|
|
67
|
-
"low",
|
|
68
|
-
"close",
|
|
69
|
-
]
|
|
70
|
-
temp_df["date"] = pd.to_datetime(temp_df["date"], errors="coerce").dt.date
|
|
71
|
-
temp_df['open'] = pd.to_numeric(temp_df['open'], errors="coerce")
|
|
72
|
-
temp_df['high'] = pd.to_numeric(temp_df['high'], errors="coerce")
|
|
73
|
-
temp_df['low'] = pd.to_numeric(temp_df['low'], errors="coerce")
|
|
74
|
-
temp_df['close'] = pd.to_numeric(temp_df['close'], errors="coerce")
|
|
75
|
-
return temp_df
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
def index_option_300etf_min_qvix() -> pd.DataFrame:
|
|
79
|
-
"""
|
|
80
|
-
300 ETF 期权波动率指数 QVIX-分时
|
|
81
|
-
http://1.optbbs.com/s/vix.shtml?300ETF
|
|
82
|
-
:return: 300 ETF 期权波动率指数 QVIX-分时
|
|
83
|
-
:rtype: pandas.DataFrame
|
|
84
|
-
"""
|
|
85
|
-
url = "http://1.optbbs.com/d/csv/d/vix300.csv"
|
|
86
|
-
temp_df = pd.read_csv(url).iloc[:, :2]
|
|
87
|
-
temp_df.columns = [
|
|
88
|
-
"time",
|
|
89
|
-
"qvix",
|
|
90
|
-
]
|
|
91
|
-
temp_df['qvix'] = pd.to_numeric(temp_df['qvix'], errors="coerce")
|
|
92
|
-
return temp_df
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
if __name__ == "__main__":
|
|
96
|
-
index_option_50etf_qvix_df = index_option_50etf_qvix()
|
|
97
|
-
print(index_option_50etf_qvix_df)
|
|
98
|
-
|
|
99
|
-
index_option_50etf_min_qvix_df = index_option_50etf_min_qvix()
|
|
100
|
-
print(index_option_50etf_min_qvix_df)
|
|
101
|
-
|
|
102
|
-
index_option_300etf_qvix_df = index_option_300etf_qvix()
|
|
103
|
-
print(index_option_300etf_qvix_df)
|
|
104
|
-
|
|
105
|
-
index_option_300etf_min_qvix_df = index_option_300etf_min_qvix()
|
|
106
|
-
print(index_option_300etf_min_qvix_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
|