qlib-lite 0.1.dev3__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.
- qlib_lite-0.1.dev3/.commitlintrc.js +21 -0
- qlib_lite-0.1.dev3/.deepsource.toml +12 -0
- qlib_lite-0.1.dev3/.dockerignore +8 -0
- qlib_lite-0.1.dev3/.github/ISSUE_TEMPLATE/bug-report.md +41 -0
- qlib_lite-0.1.dev3/.github/ISSUE_TEMPLATE/documentation.md +9 -0
- qlib_lite-0.1.dev3/.github/ISSUE_TEMPLATE/feature-request.md +25 -0
- qlib_lite-0.1.dev3/.github/ISSUE_TEMPLATE/question.md +10 -0
- qlib_lite-0.1.dev3/.github/PULL_REQUEST_TEMPLATE.md +38 -0
- qlib_lite-0.1.dev3/.github/brew_install.sh +649 -0
- qlib_lite-0.1.dev3/.github/release-drafter.yml +36 -0
- qlib_lite-0.1.dev3/.github/workflows/lint_title.yml +35 -0
- qlib_lite-0.1.dev3/.github/workflows/release.yml +107 -0
- qlib_lite-0.1.dev3/.github/workflows/stale.yml +25 -0
- qlib_lite-0.1.dev3/.github/workflows/test_qlib_from_pip.yml +56 -0
- qlib_lite-0.1.dev3/.github/workflows/test_qlib_from_source.yml +128 -0
- qlib_lite-0.1.dev3/.github/workflows/test_qlib_from_source_slow.yml +56 -0
- qlib_lite-0.1.dev3/.gitignore +57 -0
- qlib_lite-0.1.dev3/.ide/Dockerfile +24 -0
- qlib_lite-0.1.dev3/.mypy.ini +17 -0
- qlib_lite-0.1.dev3/.pre-commit-config.yaml +12 -0
- qlib_lite-0.1.dev3/.pylintrc +5 -0
- qlib_lite-0.1.dev3/.readthedocs.yaml +26 -0
- qlib_lite-0.1.dev3/CHANGELOG.md +0 -0
- qlib_lite-0.1.dev3/CHANGES.rst +179 -0
- qlib_lite-0.1.dev3/CODE_OF_CONDUCT.md +9 -0
- qlib_lite-0.1.dev3/Dockerfile +31 -0
- qlib_lite-0.1.dev3/LICENSE +21 -0
- qlib_lite-0.1.dev3/MANIFEST.in +6 -0
- qlib_lite-0.1.dev3/Makefile +212 -0
- qlib_lite-0.1.dev3/PKG-INFO +708 -0
- qlib_lite-0.1.dev3/README.md +634 -0
- qlib_lite-0.1.dev3/SECURITY.md +41 -0
- qlib_lite-0.1.dev3/build_docker_image.sh +31 -0
- qlib_lite-0.1.dev3/docs/FAQ/FAQ.rst +153 -0
- qlib_lite-0.1.dev3/docs/Makefile +21 -0
- qlib_lite-0.1.dev3/docs/_static/demo.sh +12 -0
- qlib_lite-0.1.dev3/docs/_static/img/QlibRL_framework.png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/RL_framework.png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/Task-Gen-Recorder-Collector.svg +4 -0
- qlib_lite-0.1.dev3/docs/_static/img/analysis/analysis_model_IC.png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/analysis/analysis_model_NDQ.png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/analysis/analysis_model_auto_correlation.png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/analysis/analysis_model_cumulative_return.png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/analysis/analysis_model_long_short.png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/analysis/analysis_model_monthly_IC.png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/analysis/cumulative_return_buy.png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/analysis/cumulative_return_buy_minus_sell.png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/analysis/cumulative_return_hold.png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/analysis/cumulative_return_sell.png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/analysis/rank_label_buy.png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/analysis/rank_label_hold.png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/analysis/rank_label_sell.png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/analysis/report.png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/analysis/risk_analysis_annualized_return.png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/analysis/risk_analysis_bar.png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/analysis/risk_analysis_information_ratio.png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/analysis/risk_analysis_max_drawdown.png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/analysis/risk_analysis_std.png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/analysis/score_ic.png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/change doc.gif +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/framework-abstract.jpg +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/framework.png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/framework.svg +4 -0
- qlib_lite-0.1.dev3/docs/_static/img/logo/1.png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/logo/2.png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/logo/3.png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/logo/white_bg_rec+word.png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/logo/yel_bg_rec+word.png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/logo/yellow_bg_rec+word .png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/logo/yellow_bg_rec.png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/online_serving.png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/qrcode/gitter_qr.png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/rdagent_logo.png +0 -0
- qlib_lite-0.1.dev3/docs/_static/img/topk_drop.png +0 -0
- qlib_lite-0.1.dev3/docs/advanced/PIT.rst +136 -0
- qlib_lite-0.1.dev3/docs/advanced/alpha.rst +86 -0
- qlib_lite-0.1.dev3/docs/advanced/serial.rst +45 -0
- qlib_lite-0.1.dev3/docs/advanced/server.rst +29 -0
- qlib_lite-0.1.dev3/docs/advanced/task_management.rst +100 -0
- qlib_lite-0.1.dev3/docs/changelog/changelog.rst +1 -0
- qlib_lite-0.1.dev3/docs/component/data.rst +604 -0
- qlib_lite-0.1.dev3/docs/component/highfreq.rst +40 -0
- qlib_lite-0.1.dev3/docs/component/meta.rst +68 -0
- qlib_lite-0.1.dev3/docs/component/model.rst +122 -0
- qlib_lite-0.1.dev3/docs/component/online.rst +56 -0
- qlib_lite-0.1.dev3/docs/component/recorder.rst +154 -0
- qlib_lite-0.1.dev3/docs/component/report.rst +349 -0
- qlib_lite-0.1.dev3/docs/component/rl/framework.rst +49 -0
- qlib_lite-0.1.dev3/docs/component/rl/guidance.rst +32 -0
- qlib_lite-0.1.dev3/docs/component/rl/overall.rst +70 -0
- qlib_lite-0.1.dev3/docs/component/rl/quickstart.rst +175 -0
- qlib_lite-0.1.dev3/docs/component/rl/toctree.rst +11 -0
- qlib_lite-0.1.dev3/docs/component/strategy.rst +312 -0
- qlib_lite-0.1.dev3/docs/component/workflow.rst +310 -0
- qlib_lite-0.1.dev3/docs/conf.py +232 -0
- qlib_lite-0.1.dev3/docs/developer/code_standard_and_dev_guide.rst +63 -0
- qlib_lite-0.1.dev3/docs/developer/how_to_build_image.rst +81 -0
- qlib_lite-0.1.dev3/docs/hidden/client.rst +170 -0
- qlib_lite-0.1.dev3/docs/hidden/online.rst +283 -0
- qlib_lite-0.1.dev3/docs/hidden/tuner.rst +324 -0
- qlib_lite-0.1.dev3/docs/index.rst +81 -0
- qlib_lite-0.1.dev3/docs/introduction/introduction.rst +70 -0
- qlib_lite-0.1.dev3/docs/introduction/quick.rst +95 -0
- qlib_lite-0.1.dev3/docs/make.bat +35 -0
- qlib_lite-0.1.dev3/docs/reference/api.rst +292 -0
- qlib_lite-0.1.dev3/docs/requirements.txt +8 -0
- qlib_lite-0.1.dev3/docs/start/getdata.rst +149 -0
- qlib_lite-0.1.dev3/docs/start/initialization.rst +97 -0
- qlib_lite-0.1.dev3/docs/start/installation.rst +46 -0
- qlib_lite-0.1.dev3/docs/start/integration.rst +149 -0
- qlib_lite-0.1.dev3/examples/README.md +10 -0
- qlib_lite-0.1.dev3/examples/benchmarks/ADARNN/README.md +4 -0
- qlib_lite-0.1.dev3/examples/benchmarks/ADARNN/requirements.txt +4 -0
- qlib_lite-0.1.dev3/examples/benchmarks/ADARNN/workflow_config_adarnn_Alpha360.yaml +87 -0
- qlib_lite-0.1.dev3/examples/benchmarks/ADD/README.md +3 -0
- qlib_lite-0.1.dev3/examples/benchmarks/ADD/requirements.txt +4 -0
- qlib_lite-0.1.dev3/examples/benchmarks/ADD/workflow_config_add_Alpha360.yaml +92 -0
- qlib_lite-0.1.dev3/examples/benchmarks/ALSTM/README.md +9 -0
- qlib_lite-0.1.dev3/examples/benchmarks/ALSTM/requirements.txt +4 -0
- qlib_lite-0.1.dev3/examples/benchmarks/ALSTM/workflow_config_alstm_Alpha158.yaml +98 -0
- qlib_lite-0.1.dev3/examples/benchmarks/ALSTM/workflow_config_alstm_Alpha360.yaml +88 -0
- qlib_lite-0.1.dev3/examples/benchmarks/CatBoost/README.md +3 -0
- qlib_lite-0.1.dev3/examples/benchmarks/CatBoost/requirements.txt +3 -0
- qlib_lite-0.1.dev3/examples/benchmarks/CatBoost/workflow_config_catboost_Alpha158.yaml +70 -0
- qlib_lite-0.1.dev3/examples/benchmarks/CatBoost/workflow_config_catboost_Alpha158_csi500.yaml +70 -0
- qlib_lite-0.1.dev3/examples/benchmarks/CatBoost/workflow_config_catboost_Alpha360.yaml +77 -0
- qlib_lite-0.1.dev3/examples/benchmarks/CatBoost/workflow_config_catboost_Alpha360_csi500.yaml +77 -0
- qlib_lite-0.1.dev3/examples/benchmarks/DoubleEnsemble/README.md +4 -0
- qlib_lite-0.1.dev3/examples/benchmarks/DoubleEnsemble/requirements.txt +3 -0
- qlib_lite-0.1.dev3/examples/benchmarks/DoubleEnsemble/workflow_config_doubleensemble_Alpha158.yaml +92 -0
- qlib_lite-0.1.dev3/examples/benchmarks/DoubleEnsemble/workflow_config_doubleensemble_Alpha158_csi500.yaml +95 -0
- qlib_lite-0.1.dev3/examples/benchmarks/DoubleEnsemble/workflow_config_doubleensemble_Alpha360.yaml +99 -0
- qlib_lite-0.1.dev3/examples/benchmarks/DoubleEnsemble/workflow_config_doubleensemble_Alpha360_csi500.yaml +102 -0
- qlib_lite-0.1.dev3/examples/benchmarks/DoubleEnsemble/workflow_config_doubleensemble_early_stop_Alpha158.yaml +93 -0
- qlib_lite-0.1.dev3/examples/benchmarks/GATs/README.md +5 -0
- qlib_lite-0.1.dev3/examples/benchmarks/GATs/requirements.txt +4 -0
- qlib_lite-0.1.dev3/examples/benchmarks/GATs/workflow_config_gats_Alpha158.yaml +96 -0
- qlib_lite-0.1.dev3/examples/benchmarks/GATs/workflow_config_gats_Alpha360.yaml +88 -0
- qlib_lite-0.1.dev3/examples/benchmarks/GRU/README.md +2 -0
- qlib_lite-0.1.dev3/examples/benchmarks/GRU/requirements.txt +4 -0
- qlib_lite-0.1.dev3/examples/benchmarks/GRU/workflow_config_gru_Alpha158.yaml +97 -0
- qlib_lite-0.1.dev3/examples/benchmarks/GRU/workflow_config_gru_Alpha360.yaml +87 -0
- qlib_lite-0.1.dev3/examples/benchmarks/GeneralPtNN/README.md +19 -0
- qlib_lite-0.1.dev3/examples/benchmarks/GeneralPtNN/workflow_config_gru.yaml +100 -0
- qlib_lite-0.1.dev3/examples/benchmarks/GeneralPtNN/workflow_config_gru2mlp.yaml +93 -0
- qlib_lite-0.1.dev3/examples/benchmarks/GeneralPtNN/workflow_config_mlp.yaml +98 -0
- qlib_lite-0.1.dev3/examples/benchmarks/HIST/README.md +3 -0
- qlib_lite-0.1.dev3/examples/benchmarks/HIST/qlib_csi300_stock_index.npy +0 -0
- qlib_lite-0.1.dev3/examples/benchmarks/HIST/requirements.txt +4 -0
- qlib_lite-0.1.dev3/examples/benchmarks/HIST/workflow_config_hist_Alpha360.yaml +90 -0
- qlib_lite-0.1.dev3/examples/benchmarks/IGMTF/README.md +4 -0
- qlib_lite-0.1.dev3/examples/benchmarks/IGMTF/requirements.txt +4 -0
- qlib_lite-0.1.dev3/examples/benchmarks/IGMTF/workflow_config_igmtf_Alpha360.yaml +88 -0
- qlib_lite-0.1.dev3/examples/benchmarks/KRNN/README.md +8 -0
- qlib_lite-0.1.dev3/examples/benchmarks/KRNN/requirements.txt +2 -0
- qlib_lite-0.1.dev3/examples/benchmarks/KRNN/workflow_config_krnn_Alpha360.yaml +89 -0
- qlib_lite-0.1.dev3/examples/benchmarks/LSTM/README.md +2 -0
- qlib_lite-0.1.dev3/examples/benchmarks/LSTM/requirements.txt +4 -0
- qlib_lite-0.1.dev3/examples/benchmarks/LSTM/workflow_config_lstm_Alpha158.yaml +97 -0
- qlib_lite-0.1.dev3/examples/benchmarks/LSTM/workflow_config_lstm_Alpha360.yaml +87 -0
- qlib_lite-0.1.dev3/examples/benchmarks/LightGBM/README.md +10 -0
- qlib_lite-0.1.dev3/examples/benchmarks/LightGBM/features_resample_N.py +18 -0
- qlib_lite-0.1.dev3/examples/benchmarks/LightGBM/features_sample.py +18 -0
- qlib_lite-0.1.dev3/examples/benchmarks/LightGBM/multi_freq_handler.py +134 -0
- qlib_lite-0.1.dev3/examples/benchmarks/LightGBM/requirements.txt +3 -0
- qlib_lite-0.1.dev3/examples/benchmarks/LightGBM/workflow_config_lightgbm_Alpha158.yaml +71 -0
- qlib_lite-0.1.dev3/examples/benchmarks/LightGBM/workflow_config_lightgbm_Alpha158_csi500.yaml +71 -0
- qlib_lite-0.1.dev3/examples/benchmarks/LightGBM/workflow_config_lightgbm_Alpha158_multi_freq.yaml +84 -0
- qlib_lite-0.1.dev3/examples/benchmarks/LightGBM/workflow_config_lightgbm_Alpha360.yaml +78 -0
- qlib_lite-0.1.dev3/examples/benchmarks/LightGBM/workflow_config_lightgbm_Alpha360_csi500.yaml +78 -0
- qlib_lite-0.1.dev3/examples/benchmarks/LightGBM/workflow_config_lightgbm_configurable_dataset.yaml +86 -0
- qlib_lite-0.1.dev3/examples/benchmarks/LightGBM/workflow_config_lightgbm_multi_freq.yaml +88 -0
- qlib_lite-0.1.dev3/examples/benchmarks/Linear/requirements.txt +3 -0
- qlib_lite-0.1.dev3/examples/benchmarks/Linear/workflow_config_linear_Alpha158.yaml +76 -0
- qlib_lite-0.1.dev3/examples/benchmarks/Linear/workflow_config_linear_Alpha158_csi500.yaml +76 -0
- qlib_lite-0.1.dev3/examples/benchmarks/Linear/workflow_config_linear_Alpha158_multi_pass_bt.yaml +78 -0
- qlib_lite-0.1.dev3/examples/benchmarks/Localformer/README.md +1 -0
- qlib_lite-0.1.dev3/examples/benchmarks/Localformer/requirements.txt +3 -0
- qlib_lite-0.1.dev3/examples/benchmarks/Localformer/workflow_config_localformer_Alpha158.yaml +87 -0
- qlib_lite-0.1.dev3/examples/benchmarks/Localformer/workflow_config_localformer_Alpha360.yaml +78 -0
- qlib_lite-0.1.dev3/examples/benchmarks/MLP/README.md +1 -0
- qlib_lite-0.1.dev3/examples/benchmarks/MLP/requirements.txt +4 -0
- qlib_lite-0.1.dev3/examples/benchmarks/MLP/workflow_config_mlp_Alpha158.yaml +98 -0
- qlib_lite-0.1.dev3/examples/benchmarks/MLP/workflow_config_mlp_Alpha158_csi500.yaml +98 -0
- qlib_lite-0.1.dev3/examples/benchmarks/MLP/workflow_config_mlp_Alpha360.yaml +85 -0
- qlib_lite-0.1.dev3/examples/benchmarks/MLP/workflow_config_mlp_Alpha360_csi500.yaml +85 -0
- qlib_lite-0.1.dev3/examples/benchmarks/README.md +149 -0
- qlib_lite-0.1.dev3/examples/benchmarks/SFM/README.md +3 -0
- qlib_lite-0.1.dev3/examples/benchmarks/SFM/requirements.txt +4 -0
- qlib_lite-0.1.dev3/examples/benchmarks/SFM/workflow_config_sfm_Alpha360.yaml +90 -0
- qlib_lite-0.1.dev3/examples/benchmarks/Sandwich/README.md +8 -0
- qlib_lite-0.1.dev3/examples/benchmarks/Sandwich/requirements.txt +2 -0
- qlib_lite-0.1.dev3/examples/benchmarks/Sandwich/workflow_config_sandwich_Alpha360.yaml +91 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TCN/README.md +4 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TCN/requirements.txt +4 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TCN/workflow_config_tcn_Alpha158.yaml +99 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TCN/workflow_config_tcn_Alpha360.yaml +89 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TCTS/README.md +38 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TCTS/requirements.txt +4 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TCTS/workflow.png +0 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TCTS/workflow_config_tcts_Alpha360.yaml +96 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TFT/README.md +14 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TFT/data_formatters/__init__.py +14 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TFT/data_formatters/base.py +222 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TFT/data_formatters/qlib_Alpha158.py +230 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TFT/expt_settings/__init__.py +14 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TFT/expt_settings/configs.py +94 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TFT/libs/__init__.py +14 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TFT/libs/hyperparam_opt.py +428 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TFT/libs/tft_model.py +1277 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TFT/libs/utils.py +224 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TFT/requirements.txt +2 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TFT/tft.py +322 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TFT/workflow_config_tft_Alpha158.yaml +63 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TRA/README.md +93 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TRA/configs/config_alstm.yaml +63 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TRA/configs/config_alstm_tra.yaml +63 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TRA/configs/config_alstm_tra_init.yaml +63 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TRA/configs/config_transformer.yaml +63 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TRA/configs/config_transformer_tra.yaml +63 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TRA/configs/config_transformer_tra_init.yaml +63 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TRA/data/README.md +1 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TRA/example.py +38 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TRA/requirements.txt +5 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TRA/run.sh +29 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TRA/src/dataset.py +257 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TRA/src/model.py +593 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TRA/workflow_config_tra_Alpha158.yaml +133 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TRA/workflow_config_tra_Alpha158_full.yaml +127 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TRA/workflow_config_tra_Alpha360.yaml +127 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TabNet/README.md +3 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TabNet/requirements.txt +4 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TabNet/workflow_config_TabNet_Alpha158.yaml +81 -0
- qlib_lite-0.1.dev3/examples/benchmarks/TabNet/workflow_config_TabNet_Alpha360.yaml +81 -0
- qlib_lite-0.1.dev3/examples/benchmarks/Transformer/README.md +3 -0
- qlib_lite-0.1.dev3/examples/benchmarks/Transformer/requirements.txt +3 -0
- qlib_lite-0.1.dev3/examples/benchmarks/Transformer/workflow_config_transformer_Alpha158.yaml +87 -0
- qlib_lite-0.1.dev3/examples/benchmarks/Transformer/workflow_config_transformer_Alpha360.yaml +78 -0
- qlib_lite-0.1.dev3/examples/benchmarks/XGBoost/README.md +3 -0
- qlib_lite-0.1.dev3/examples/benchmarks/XGBoost/requirements.txt +3 -0
- qlib_lite-0.1.dev3/examples/benchmarks/XGBoost/workflow_config_xgboost_Alpha158.yaml +69 -0
- qlib_lite-0.1.dev3/examples/benchmarks/XGBoost/workflow_config_xgboost_Alpha360.yaml +76 -0
- qlib_lite-0.1.dev3/examples/benchmarks_dynamic/DDG-DA/Makefile +4 -0
- qlib_lite-0.1.dev3/examples/benchmarks_dynamic/DDG-DA/README.md +35 -0
- qlib_lite-0.1.dev3/examples/benchmarks_dynamic/DDG-DA/requirements.txt +1 -0
- qlib_lite-0.1.dev3/examples/benchmarks_dynamic/DDG-DA/vis_data.py +107 -0
- qlib_lite-0.1.dev3/examples/benchmarks_dynamic/DDG-DA/workflow.py +45 -0
- qlib_lite-0.1.dev3/examples/benchmarks_dynamic/README.md +26 -0
- qlib_lite-0.1.dev3/examples/benchmarks_dynamic/baseline/README.md +16 -0
- qlib_lite-0.1.dev3/examples/benchmarks_dynamic/baseline/rolling_benchmark.py +41 -0
- qlib_lite-0.1.dev3/examples/benchmarks_dynamic/baseline/workflow_config_lightgbm_Alpha158.yaml +71 -0
- qlib_lite-0.1.dev3/examples/benchmarks_dynamic/baseline/workflow_config_linear_Alpha158.yaml +77 -0
- qlib_lite-0.1.dev3/examples/data_demo/README.md +2 -0
- qlib_lite-0.1.dev3/examples/data_demo/data_cache_demo.py +54 -0
- qlib_lite-0.1.dev3/examples/data_demo/data_mem_resuse_demo.py +59 -0
- qlib_lite-0.1.dev3/examples/highfreq/README.md +41 -0
- qlib_lite-0.1.dev3/examples/highfreq/highfreq_handler.py +158 -0
- qlib_lite-0.1.dev3/examples/highfreq/highfreq_ops.py +167 -0
- qlib_lite-0.1.dev3/examples/highfreq/highfreq_processor.py +76 -0
- qlib_lite-0.1.dev3/examples/highfreq/workflow.py +175 -0
- qlib_lite-0.1.dev3/examples/highfreq/workflow_config_High_Freq_Tree_Alpha158.yaml +65 -0
- qlib_lite-0.1.dev3/examples/hyperparameter/LightGBM/Readme.md +23 -0
- qlib_lite-0.1.dev3/examples/hyperparameter/LightGBM/hyperparameter_158.py +45 -0
- qlib_lite-0.1.dev3/examples/hyperparameter/LightGBM/hyperparameter_360.py +48 -0
- qlib_lite-0.1.dev3/examples/hyperparameter/LightGBM/requirements.txt +5 -0
- qlib_lite-0.1.dev3/examples/model_interpreter/feature.py +31 -0
- qlib_lite-0.1.dev3/examples/model_rolling/requirements.txt +1 -0
- qlib_lite-0.1.dev3/examples/model_rolling/task_manager_rolling.py +116 -0
- qlib_lite-0.1.dev3/examples/nested_decision_execution/README.md +30 -0
- qlib_lite-0.1.dev3/examples/nested_decision_execution/workflow.py +394 -0
- qlib_lite-0.1.dev3/examples/online_srv/online_management_simulate.py +137 -0
- qlib_lite-0.1.dev3/examples/online_srv/rolling_online_management.py +144 -0
- qlib_lite-0.1.dev3/examples/online_srv/update_online_pred.py +54 -0
- qlib_lite-0.1.dev3/examples/orderbook_data/README.md +50 -0
- qlib_lite-0.1.dev3/examples/orderbook_data/create_dataset.py +315 -0
- qlib_lite-0.1.dev3/examples/orderbook_data/example.py +312 -0
- qlib_lite-0.1.dev3/examples/portfolio/README.md +47 -0
- qlib_lite-0.1.dev3/examples/portfolio/config_enhanced_indexing.yaml +71 -0
- qlib_lite-0.1.dev3/examples/portfolio/prepare_riskdata.py +52 -0
- qlib_lite-0.1.dev3/examples/rl_order_execution/README.md +100 -0
- qlib_lite-0.1.dev3/examples/rl_order_execution/exp_configs/backtest_opds.yml +53 -0
- qlib_lite-0.1.dev3/examples/rl_order_execution/exp_configs/backtest_ppo.yml +53 -0
- qlib_lite-0.1.dev3/examples/rl_order_execution/exp_configs/backtest_twap.yml +21 -0
- qlib_lite-0.1.dev3/examples/rl_order_execution/exp_configs/train_opds.yml +66 -0
- qlib_lite-0.1.dev3/examples/rl_order_execution/exp_configs/train_ppo.yml +67 -0
- qlib_lite-0.1.dev3/examples/rl_order_execution/scripts/gen_pickle_data.py +46 -0
- qlib_lite-0.1.dev3/examples/rl_order_execution/scripts/gen_training_orders.py +53 -0
- qlib_lite-0.1.dev3/examples/rl_order_execution/scripts/merge_orders.py +15 -0
- qlib_lite-0.1.dev3/examples/rl_order_execution/scripts/pickle_data_config.yml +77 -0
- qlib_lite-0.1.dev3/examples/rolling_process_data/README.md +17 -0
- qlib_lite-0.1.dev3/examples/rolling_process_data/rolling_handler.py +32 -0
- qlib_lite-0.1.dev3/examples/rolling_process_data/workflow.py +134 -0
- qlib_lite-0.1.dev3/examples/run_all_model.py +403 -0
- qlib_lite-0.1.dev3/examples/workflow_by_code.py +85 -0
- qlib_lite-0.1.dev3/pyproject.toml +124 -0
- qlib_lite-0.1.dev3/qlib/__init__.py +317 -0
- qlib_lite-0.1.dev3/qlib/_version.py +24 -0
- qlib_lite-0.1.dev3/qlib/backtest/__init__.py +349 -0
- qlib_lite-0.1.dev3/qlib/backtest/account.py +417 -0
- qlib_lite-0.1.dev3/qlib/backtest/backtest.py +110 -0
- qlib_lite-0.1.dev3/qlib/backtest/decision.py +596 -0
- qlib_lite-0.1.dev3/qlib/backtest/exchange.py +958 -0
- qlib_lite-0.1.dev3/qlib/backtest/executor.py +628 -0
- qlib_lite-0.1.dev3/qlib/backtest/high_performance_ds.py +658 -0
- qlib_lite-0.1.dev3/qlib/backtest/position.py +565 -0
- qlib_lite-0.1.dev3/qlib/backtest/profit_attribution.py +334 -0
- qlib_lite-0.1.dev3/qlib/backtest/report.py +651 -0
- qlib_lite-0.1.dev3/qlib/backtest/signal.py +105 -0
- qlib_lite-0.1.dev3/qlib/backtest/utils.py +290 -0
- qlib_lite-0.1.dev3/qlib/cli/__init__.py +0 -0
- qlib_lite-0.1.dev3/qlib/cli/data.py +9 -0
- qlib_lite-0.1.dev3/qlib/cli/run.py +157 -0
- qlib_lite-0.1.dev3/qlib/config.py +526 -0
- qlib_lite-0.1.dev3/qlib/constant.py +22 -0
- qlib_lite-0.1.dev3/qlib/contrib/__init__.py +0 -0
- qlib_lite-0.1.dev3/qlib/contrib/data/__init__.py +0 -0
- qlib_lite-0.1.dev3/qlib/contrib/data/data.py +55 -0
- qlib_lite-0.1.dev3/qlib/contrib/data/dataset.py +363 -0
- qlib_lite-0.1.dev3/qlib/contrib/data/handler.py +157 -0
- qlib_lite-0.1.dev3/qlib/contrib/data/highfreq_handler.py +539 -0
- qlib_lite-0.1.dev3/qlib/contrib/data/highfreq_processor.py +80 -0
- qlib_lite-0.1.dev3/qlib/contrib/data/highfreq_provider.py +304 -0
- qlib_lite-0.1.dev3/qlib/contrib/data/loader.py +310 -0
- qlib_lite-0.1.dev3/qlib/contrib/data/processor.py +129 -0
- qlib_lite-0.1.dev3/qlib/contrib/data/utils/__init__.py +0 -0
- qlib_lite-0.1.dev3/qlib/contrib/data/utils/sepdf.py +210 -0
- qlib_lite-0.1.dev3/qlib/contrib/eva/__init__.py +0 -0
- qlib_lite-0.1.dev3/qlib/contrib/eva/alpha.py +215 -0
- qlib_lite-0.1.dev3/qlib/contrib/evaluate.py +420 -0
- qlib_lite-0.1.dev3/qlib/contrib/evaluate_portfolio.py +244 -0
- qlib_lite-0.1.dev3/qlib/contrib/meta/__init__.py +7 -0
- qlib_lite-0.1.dev3/qlib/contrib/meta/data_selection/__init__.py +8 -0
- qlib_lite-0.1.dev3/qlib/contrib/meta/data_selection/dataset.py +416 -0
- qlib_lite-0.1.dev3/qlib/contrib/meta/data_selection/model.py +196 -0
- qlib_lite-0.1.dev3/qlib/contrib/meta/data_selection/net.py +74 -0
- qlib_lite-0.1.dev3/qlib/contrib/meta/data_selection/utils.py +118 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/__init__.py +43 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/catboost_model.py +100 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/double_ensemble.py +277 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/gbdt.py +126 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/highfreq_gdbt_model.py +171 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/linear.py +113 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/pytorch_adarnn.py +790 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/pytorch_add.py +597 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/pytorch_alstm.py +344 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/pytorch_alstm_ts.py +355 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/pytorch_gats.py +384 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/pytorch_gats_ts.py +393 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/pytorch_general_nn.py +371 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/pytorch_gru.py +339 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/pytorch_gru_ts.py +319 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/pytorch_hist.py +500 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/pytorch_igmtf.py +442 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/pytorch_krnn.py +511 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/pytorch_localformer.py +322 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/pytorch_localformer_ts.py +302 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/pytorch_lstm.py +306 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/pytorch_lstm_ts.py +314 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/pytorch_nn.py +462 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/pytorch_sandwich.py +381 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/pytorch_sfm.py +479 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/pytorch_tabnet.py +643 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/pytorch_tcn.py +310 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/pytorch_tcn_ts.py +297 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/pytorch_tcts.py +424 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/pytorch_tra.py +930 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/pytorch_transformer.py +285 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/pytorch_transformer_ts.py +264 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/pytorch_utils.py +37 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/tcn.py +76 -0
- qlib_lite-0.1.dev3/qlib/contrib/model/xgboost.py +85 -0
- qlib_lite-0.1.dev3/qlib/contrib/online/__init__.py +21 -0
- qlib_lite-0.1.dev3/qlib/contrib/online/manager.py +148 -0
- qlib_lite-0.1.dev3/qlib/contrib/online/online_model.py +39 -0
- qlib_lite-0.1.dev3/qlib/contrib/online/operator.py +320 -0
- qlib_lite-0.1.dev3/qlib/contrib/online/user.py +77 -0
- qlib_lite-0.1.dev3/qlib/contrib/online/utils.py +99 -0
- qlib_lite-0.1.dev3/qlib/contrib/ops/__init__.py +0 -0
- qlib_lite-0.1.dev3/qlib/contrib/ops/high_freq.py +277 -0
- qlib_lite-0.1.dev3/qlib/contrib/report/__init__.py +11 -0
- qlib_lite-0.1.dev3/qlib/contrib/report/analysis_model/__init__.py +7 -0
- qlib_lite-0.1.dev3/qlib/contrib/report/analysis_model/analysis_model_performance.py +341 -0
- qlib_lite-0.1.dev3/qlib/contrib/report/analysis_position/__init__.py +11 -0
- qlib_lite-0.1.dev3/qlib/contrib/report/analysis_position/cumulative_return.py +273 -0
- qlib_lite-0.1.dev3/qlib/contrib/report/analysis_position/parse_position.py +175 -0
- qlib_lite-0.1.dev3/qlib/contrib/report/analysis_position/rank_label.py +128 -0
- qlib_lite-0.1.dev3/qlib/contrib/report/analysis_position/report.py +248 -0
- qlib_lite-0.1.dev3/qlib/contrib/report/analysis_position/risk_analysis.py +297 -0
- qlib_lite-0.1.dev3/qlib/contrib/report/analysis_position/score_ic.py +71 -0
- qlib_lite-0.1.dev3/qlib/contrib/report/data/__init__.py +7 -0
- qlib_lite-0.1.dev3/qlib/contrib/report/data/ana.py +217 -0
- qlib_lite-0.1.dev3/qlib/contrib/report/data/base.py +53 -0
- qlib_lite-0.1.dev3/qlib/contrib/report/graph.py +384 -0
- qlib_lite-0.1.dev3/qlib/contrib/report/utils.py +74 -0
- qlib_lite-0.1.dev3/qlib/contrib/rolling/__init__.py +7 -0
- qlib_lite-0.1.dev3/qlib/contrib/rolling/__main__.py +16 -0
- qlib_lite-0.1.dev3/qlib/contrib/rolling/base.py +264 -0
- qlib_lite-0.1.dev3/qlib/contrib/rolling/ddgda.py +387 -0
- qlib_lite-0.1.dev3/qlib/contrib/strategy/__init__.py +31 -0
- qlib_lite-0.1.dev3/qlib/contrib/strategy/cost_control.py +101 -0
- qlib_lite-0.1.dev3/qlib/contrib/strategy/main_board_pro_strategy.py +1171 -0
- qlib_lite-0.1.dev3/qlib/contrib/strategy/optimizer/__init__.py +9 -0
- qlib_lite-0.1.dev3/qlib/contrib/strategy/optimizer/base.py +12 -0
- qlib_lite-0.1.dev3/qlib/contrib/strategy/optimizer/enhanced_indexing.py +202 -0
- qlib_lite-0.1.dev3/qlib/contrib/strategy/optimizer/optimizer.py +265 -0
- qlib_lite-0.1.dev3/qlib/contrib/strategy/order_generator.py +218 -0
- qlib_lite-0.1.dev3/qlib/contrib/strategy/rule_strategy.py +672 -0
- qlib_lite-0.1.dev3/qlib/contrib/strategy/signal_strategy.py +522 -0
- qlib_lite-0.1.dev3/qlib/contrib/torch.py +31 -0
- qlib_lite-0.1.dev3/qlib/contrib/tuner/__init__.py +2 -0
- qlib_lite-0.1.dev3/qlib/contrib/tuner/config.py +90 -0
- qlib_lite-0.1.dev3/qlib/contrib/tuner/launcher.py +37 -0
- qlib_lite-0.1.dev3/qlib/contrib/tuner/pipeline.py +85 -0
- qlib_lite-0.1.dev3/qlib/contrib/tuner/space.py +20 -0
- qlib_lite-0.1.dev3/qlib/contrib/tuner/tuner.py +215 -0
- qlib_lite-0.1.dev3/qlib/contrib/workflow/__init__.py +7 -0
- qlib_lite-0.1.dev3/qlib/contrib/workflow/record_temp.py +86 -0
- qlib_lite-0.1.dev3/qlib/data/__init__.py +66 -0
- qlib_lite-0.1.dev3/qlib/data/_libs/__init__.py +2 -0
- qlib_lite-0.1.dev3/qlib/data/_libs/expanding.cpp +20210 -0
- qlib_lite-0.1.dev3/qlib/data/_libs/expanding.pyx +152 -0
- qlib_lite-0.1.dev3/qlib/data/_libs/rolling.cpp +17616 -0
- qlib_lite-0.1.dev3/qlib/data/_libs/rolling.pyx +207 -0
- qlib_lite-0.1.dev3/qlib/data/base.py +281 -0
- qlib_lite-0.1.dev3/qlib/data/cache.py +1198 -0
- qlib_lite-0.1.dev3/qlib/data/client.py +103 -0
- qlib_lite-0.1.dev3/qlib/data/data.py +1332 -0
- qlib_lite-0.1.dev3/qlib/data/dataset/__init__.py +722 -0
- qlib_lite-0.1.dev3/qlib/data/dataset/handler.py +786 -0
- qlib_lite-0.1.dev3/qlib/data/dataset/loader.py +414 -0
- qlib_lite-0.1.dev3/qlib/data/dataset/processor.py +419 -0
- qlib_lite-0.1.dev3/qlib/data/dataset/storage.py +191 -0
- qlib_lite-0.1.dev3/qlib/data/dataset/utils.py +142 -0
- qlib_lite-0.1.dev3/qlib/data/dataset/weight.py +27 -0
- qlib_lite-0.1.dev3/qlib/data/filter.py +375 -0
- qlib_lite-0.1.dev3/qlib/data/inst_processor.py +22 -0
- qlib_lite-0.1.dev3/qlib/data/ops.py +1681 -0
- qlib_lite-0.1.dev3/qlib/data/pit.py +71 -0
- qlib_lite-0.1.dev3/qlib/data/storage/__init__.py +7 -0
- qlib_lite-0.1.dev3/qlib/data/storage/file_storage.py +379 -0
- qlib_lite-0.1.dev3/qlib/data/storage/storage.py +494 -0
- qlib_lite-0.1.dev3/qlib/log.py +262 -0
- qlib_lite-0.1.dev3/qlib/model/__init__.py +9 -0
- qlib_lite-0.1.dev3/qlib/model/base.py +110 -0
- qlib_lite-0.1.dev3/qlib/model/ens/__init__.py +0 -0
- qlib_lite-0.1.dev3/qlib/model/ens/ensemble.py +132 -0
- qlib_lite-0.1.dev3/qlib/model/ens/group.py +115 -0
- qlib_lite-0.1.dev3/qlib/model/interpret/__init__.py +0 -0
- qlib_lite-0.1.dev3/qlib/model/interpret/base.py +45 -0
- qlib_lite-0.1.dev3/qlib/model/meta/__init__.py +8 -0
- qlib_lite-0.1.dev3/qlib/model/meta/dataset.py +77 -0
- qlib_lite-0.1.dev3/qlib/model/meta/model.py +75 -0
- qlib_lite-0.1.dev3/qlib/model/meta/task.py +56 -0
- qlib_lite-0.1.dev3/qlib/model/riskmodel/__init__.py +15 -0
- qlib_lite-0.1.dev3/qlib/model/riskmodel/base.py +147 -0
- qlib_lite-0.1.dev3/qlib/model/riskmodel/poet.py +83 -0
- qlib_lite-0.1.dev3/qlib/model/riskmodel/shrink.py +259 -0
- qlib_lite-0.1.dev3/qlib/model/riskmodel/structured.py +94 -0
- qlib_lite-0.1.dev3/qlib/model/trainer.py +619 -0
- qlib_lite-0.1.dev3/qlib/model/utils.py +26 -0
- qlib_lite-0.1.dev3/qlib/rl/__init__.py +8 -0
- qlib_lite-0.1.dev3/qlib/rl/aux_info.py +43 -0
- qlib_lite-0.1.dev3/qlib/rl/contrib/__init__.py +0 -0
- qlib_lite-0.1.dev3/qlib/rl/contrib/backtest.py +384 -0
- qlib_lite-0.1.dev3/qlib/rl/contrib/naive_config_parser.py +107 -0
- qlib_lite-0.1.dev3/qlib/rl/contrib/train_onpolicy.py +269 -0
- qlib_lite-0.1.dev3/qlib/rl/contrib/utils.py +29 -0
- qlib_lite-0.1.dev3/qlib/rl/data/__init__.py +8 -0
- qlib_lite-0.1.dev3/qlib/rl/data/base.py +65 -0
- qlib_lite-0.1.dev3/qlib/rl/data/integration.py +82 -0
- qlib_lite-0.1.dev3/qlib/rl/data/native.py +234 -0
- qlib_lite-0.1.dev3/qlib/rl/data/pickle_styled.py +296 -0
- qlib_lite-0.1.dev3/qlib/rl/interpreter.py +141 -0
- qlib_lite-0.1.dev3/qlib/rl/order_execution/__init__.py +38 -0
- qlib_lite-0.1.dev3/qlib/rl/order_execution/interpreter.py +257 -0
- qlib_lite-0.1.dev3/qlib/rl/order_execution/network.py +140 -0
- qlib_lite-0.1.dev3/qlib/rl/order_execution/policy.py +237 -0
- qlib_lite-0.1.dev3/qlib/rl/order_execution/reward.py +99 -0
- qlib_lite-0.1.dev3/qlib/rl/order_execution/simulator_qlib.py +141 -0
- qlib_lite-0.1.dev3/qlib/rl/order_execution/simulator_simple.py +362 -0
- qlib_lite-0.1.dev3/qlib/rl/order_execution/state.py +101 -0
- qlib_lite-0.1.dev3/qlib/rl/order_execution/strategy.py +551 -0
- qlib_lite-0.1.dev3/qlib/rl/order_execution/utils.py +52 -0
- qlib_lite-0.1.dev3/qlib/rl/reward.py +85 -0
- qlib_lite-0.1.dev3/qlib/rl/seed.py +12 -0
- qlib_lite-0.1.dev3/qlib/rl/simulator.py +75 -0
- qlib_lite-0.1.dev3/qlib/rl/strategy/__init__.py +5 -0
- qlib_lite-0.1.dev3/qlib/rl/strategy/single_order.py +33 -0
- qlib_lite-0.1.dev3/qlib/rl/trainer/__init__.py +20 -0
- qlib_lite-0.1.dev3/qlib/rl/trainer/api.py +118 -0
- qlib_lite-0.1.dev3/qlib/rl/trainer/callbacks.py +291 -0
- qlib_lite-0.1.dev3/qlib/rl/trainer/trainer.py +355 -0
- qlib_lite-0.1.dev3/qlib/rl/trainer/vessel.py +218 -0
- qlib_lite-0.1.dev3/qlib/rl/utils/__init__.py +21 -0
- qlib_lite-0.1.dev3/qlib/rl/utils/data_queue.py +188 -0
- qlib_lite-0.1.dev3/qlib/rl/utils/env_wrapper.py +250 -0
- qlib_lite-0.1.dev3/qlib/rl/utils/finite_env.py +369 -0
- qlib_lite-0.1.dev3/qlib/rl/utils/log.py +523 -0
- qlib_lite-0.1.dev3/qlib/strategy/__init__.py +2 -0
- qlib_lite-0.1.dev3/qlib/strategy/base.py +296 -0
- qlib_lite-0.1.dev3/qlib/tests/__init__.py +289 -0
- qlib_lite-0.1.dev3/qlib/tests/config.py +167 -0
- qlib_lite-0.1.dev3/qlib/tests/data.py +211 -0
- qlib_lite-0.1.dev3/qlib/typehint.py +63 -0
- qlib_lite-0.1.dev3/qlib/utils/__init__.py +961 -0
- qlib_lite-0.1.dev3/qlib/utils/data.py +117 -0
- qlib_lite-0.1.dev3/qlib/utils/exceptions.py +19 -0
- qlib_lite-0.1.dev3/qlib/utils/file.py +190 -0
- qlib_lite-0.1.dev3/qlib/utils/index_data.py +654 -0
- qlib_lite-0.1.dev3/qlib/utils/mod.py +240 -0
- qlib_lite-0.1.dev3/qlib/utils/objm.py +133 -0
- qlib_lite-0.1.dev3/qlib/utils/paral.py +332 -0
- qlib_lite-0.1.dev3/qlib/utils/pickle_utils.py +171 -0
- qlib_lite-0.1.dev3/qlib/utils/resam.py +239 -0
- qlib_lite-0.1.dev3/qlib/utils/serial.py +189 -0
- qlib_lite-0.1.dev3/qlib/utils/time.py +377 -0
- qlib_lite-0.1.dev3/qlib/workflow/__init__.py +681 -0
- qlib_lite-0.1.dev3/qlib/workflow/exp.py +379 -0
- qlib_lite-0.1.dev3/qlib/workflow/expm.py +434 -0
- qlib_lite-0.1.dev3/qlib/workflow/online/__init__.py +0 -0
- qlib_lite-0.1.dev3/qlib/workflow/online/manager.py +382 -0
- qlib_lite-0.1.dev3/qlib/workflow/online/strategy.py +208 -0
- qlib_lite-0.1.dev3/qlib/workflow/online/update.py +298 -0
- qlib_lite-0.1.dev3/qlib/workflow/online/utils.py +187 -0
- qlib_lite-0.1.dev3/qlib/workflow/record_temp.py +688 -0
- qlib_lite-0.1.dev3/qlib/workflow/recorder.py +493 -0
- qlib_lite-0.1.dev3/qlib/workflow/task/__init__.py +13 -0
- qlib_lite-0.1.dev3/qlib/workflow/task/collect.py +258 -0
- qlib_lite-0.1.dev3/qlib/workflow/task/gen.py +349 -0
- qlib_lite-0.1.dev3/qlib/workflow/task/manage.py +556 -0
- qlib_lite-0.1.dev3/qlib/workflow/task/utils.py +308 -0
- qlib_lite-0.1.dev3/qlib/workflow/utils.py +47 -0
- qlib_lite-0.1.dev3/qlib_lite.egg-info/PKG-INFO +708 -0
- qlib_lite-0.1.dev3/qlib_lite.egg-info/SOURCES.txt +609 -0
- qlib_lite-0.1.dev3/qlib_lite.egg-info/dependency_links.txt +1 -0
- qlib_lite-0.1.dev3/qlib_lite.egg-info/entry_points.txt +2 -0
- qlib_lite-0.1.dev3/qlib_lite.egg-info/requires.txt +62 -0
- qlib_lite-0.1.dev3/qlib_lite.egg-info/top_level.txt +1 -0
- qlib_lite-0.1.dev3/scripts/README.md +76 -0
- qlib_lite-0.1.dev3/scripts/check_data_health.py +248 -0
- qlib_lite-0.1.dev3/scripts/check_dump_bin.py +142 -0
- qlib_lite-0.1.dev3/scripts/collect_info.py +71 -0
- qlib_lite-0.1.dev3/scripts/data_collector/README.md +60 -0
- qlib_lite-0.1.dev3/scripts/data_collector/baostock_5min/README.md +82 -0
- qlib_lite-0.1.dev3/scripts/data_collector/baostock_5min/collector.py +328 -0
- qlib_lite-0.1.dev3/scripts/data_collector/baostock_5min/requirements.txt +13 -0
- qlib_lite-0.1.dev3/scripts/data_collector/base.py +439 -0
- qlib_lite-0.1.dev3/scripts/data_collector/br_index/README.md +61 -0
- qlib_lite-0.1.dev3/scripts/data_collector/br_index/collector.py +285 -0
- qlib_lite-0.1.dev3/scripts/data_collector/br_index/requirements.txt +34 -0
- qlib_lite-0.1.dev3/scripts/data_collector/cn_index/README.md +22 -0
- qlib_lite-0.1.dev3/scripts/data_collector/cn_index/collector.py +463 -0
- qlib_lite-0.1.dev3/scripts/data_collector/cn_index/requirements.txt +9 -0
- qlib_lite-0.1.dev3/scripts/data_collector/contrib/fill_cn_1min_data/README.md +23 -0
- qlib_lite-0.1.dev3/scripts/data_collector/contrib/fill_cn_1min_data/fill_cn_1min_data.py +100 -0
- qlib_lite-0.1.dev3/scripts/data_collector/contrib/fill_cn_1min_data/requirements.txt +5 -0
- qlib_lite-0.1.dev3/scripts/data_collector/contrib/future_trading_date_collector/README.md +24 -0
- qlib_lite-0.1.dev3/scripts/data_collector/contrib/future_trading_date_collector/future_trading_date_collector.py +88 -0
- qlib_lite-0.1.dev3/scripts/data_collector/contrib/future_trading_date_collector/requirements.txt +5 -0
- qlib_lite-0.1.dev3/scripts/data_collector/crowd_source/README.md +32 -0
- qlib_lite-0.1.dev3/scripts/data_collector/crypto/README.md +54 -0
- qlib_lite-0.1.dev3/scripts/data_collector/crypto/collector.py +310 -0
- qlib_lite-0.1.dev3/scripts/data_collector/crypto/requirement.txt +8 -0
- qlib_lite-0.1.dev3/scripts/data_collector/fund/README.md +55 -0
- qlib_lite-0.1.dev3/scripts/data_collector/fund/collector.py +304 -0
- qlib_lite-0.1.dev3/scripts/data_collector/fund/requirements.txt +9 -0
- qlib_lite-0.1.dev3/scripts/data_collector/future_calendar_collector.py +121 -0
- qlib_lite-0.1.dev3/scripts/data_collector/index.py +238 -0
- qlib_lite-0.1.dev3/scripts/data_collector/pit/README.md +40 -0
- qlib_lite-0.1.dev3/scripts/data_collector/pit/collector.py +262 -0
- qlib_lite-0.1.dev3/scripts/data_collector/pit/requirements.txt +10 -0
- qlib_lite-0.1.dev3/scripts/data_collector/us_index/README.md +22 -0
- qlib_lite-0.1.dev3/scripts/data_collector/us_index/collector.py +281 -0
- qlib_lite-0.1.dev3/scripts/data_collector/us_index/requirements.txt +6 -0
- qlib_lite-0.1.dev3/scripts/data_collector/utils.py +848 -0
- qlib_lite-0.1.dev3/scripts/data_collector/yahoo/README.md +225 -0
- qlib_lite-0.1.dev3/scripts/data_collector/yahoo/collector.py +1017 -0
- qlib_lite-0.1.dev3/scripts/data_collector/yahoo/requirements.txt +12 -0
- qlib_lite-0.1.dev3/scripts/dump_bin.py +542 -0
- qlib_lite-0.1.dev3/scripts/dump_pit.py +280 -0
- qlib_lite-0.1.dev3/scripts/get_data.py +9 -0
- qlib_lite-0.1.dev3/setup.cfg +4 -0
- qlib_lite-0.1.dev3/setup.py +25 -0
- qlib_lite-0.1.dev3/tests/backtest/test_file_strategy.py +123 -0
- qlib_lite-0.1.dev3/tests/backtest/test_high_freq_trading.py +131 -0
- qlib_lite-0.1.dev3/tests/backtest/test_main_board_pro_strategy.py +742 -0
- qlib_lite-0.1.dev3/tests/data_mid_layer_tests/README.md +5 -0
- qlib_lite-0.1.dev3/tests/data_mid_layer_tests/test_dataloader.py +89 -0
- qlib_lite-0.1.dev3/tests/data_mid_layer_tests/test_dataset.py +156 -0
- qlib_lite-0.1.dev3/tests/data_mid_layer_tests/test_handler.py +37 -0
- qlib_lite-0.1.dev3/tests/data_mid_layer_tests/test_handler_storage.py +110 -0
- qlib_lite-0.1.dev3/tests/data_mid_layer_tests/test_processor.py +75 -0
- qlib_lite-0.1.dev3/tests/dataset_tests/README.md +2 -0
- qlib_lite-0.1.dev3/tests/dataset_tests/test_datalayer.py +37 -0
- qlib_lite-0.1.dev3/tests/dependency_tests/README.md +3 -0
- qlib_lite-0.1.dev3/tests/dependency_tests/test_mlflow.py +38 -0
- qlib_lite-0.1.dev3/tests/misc/test_get_multi_proc.py +39 -0
- qlib_lite-0.1.dev3/tests/misc/test_index_data.py +150 -0
- qlib_lite-0.1.dev3/tests/misc/test_sepdf.py +60 -0
- qlib_lite-0.1.dev3/tests/misc/test_utils.py +136 -0
- qlib_lite-0.1.dev3/tests/model/test_general_nn.py +80 -0
- qlib_lite-0.1.dev3/tests/ops/test_elem_operator.py +69 -0
- qlib_lite-0.1.dev3/tests/ops/test_special_ops.py +92 -0
- qlib_lite-0.1.dev3/tests/rl/test_data_queue.py +88 -0
- qlib_lite-0.1.dev3/tests/rl/test_finite_env.py +249 -0
- qlib_lite-0.1.dev3/tests/rl/test_logger.py +167 -0
- qlib_lite-0.1.dev3/tests/rl/test_qlib_simulator.py +195 -0
- qlib_lite-0.1.dev3/tests/rl/test_saoe_simple.py +329 -0
- qlib_lite-0.1.dev3/tests/rl/test_trainer.py +202 -0
- qlib_lite-0.1.dev3/tests/rolling_tests/test_update_pred.py +135 -0
- qlib_lite-0.1.dev3/tests/storage_tests/test_storage.py +170 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
module.exports = {
|
|
2
|
+
extends: ["@commitlint/config-conventional"],
|
|
3
|
+
rules: {
|
|
4
|
+
// Configuration Format: [level, applicability, value]
|
|
5
|
+
// level: Error level, usually expressed as a number:
|
|
6
|
+
// 0 - disable rule
|
|
7
|
+
// 1 - Warning (does not prevent commits)
|
|
8
|
+
// 2 - Error (will block the commit)
|
|
9
|
+
// applicability: the conditions under which the rule applies, commonly used values:
|
|
10
|
+
// “always” - always apply the rule
|
|
11
|
+
// “never” - never apply the rule
|
|
12
|
+
// value: the specific value of the rule, e.g. a maximum length of 100.
|
|
13
|
+
// Refs: https://commitlint.js.org/reference/rules-configuration.html
|
|
14
|
+
"header-max-length": [2, "always", 100],
|
|
15
|
+
"type-enum": [
|
|
16
|
+
2,
|
|
17
|
+
"always",
|
|
18
|
+
["build", "chore", "ci", "docs", "feat", "fix", "perf", "refactor", "revert", "style", "test", "Release-As"]
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "\U0001F41B Bug Report"
|
|
3
|
+
about: Submit a bug report to help us improve Qlib
|
|
4
|
+
labels: bug
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## 🐛 Bug Description
|
|
9
|
+
|
|
10
|
+
<!-- A clear and concise description of what the bug is. -->
|
|
11
|
+
|
|
12
|
+
## To Reproduce
|
|
13
|
+
|
|
14
|
+
Steps to reproduce the behavior:
|
|
15
|
+
|
|
16
|
+
1.
|
|
17
|
+
1.
|
|
18
|
+
1.
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
## Expected Behavior
|
|
22
|
+
|
|
23
|
+
<!-- A clear and concise description of what you expected to happen. -->
|
|
24
|
+
|
|
25
|
+
## Screenshot
|
|
26
|
+
|
|
27
|
+
<!-- A screenshot of the error message or anything shouldn't appear-->
|
|
28
|
+
|
|
29
|
+
## Environment
|
|
30
|
+
|
|
31
|
+
**Note**: User could run `cd scripts && python collect_info.py all` under project directory to get system information
|
|
32
|
+
and paste them here directly.
|
|
33
|
+
|
|
34
|
+
- Qlib version:
|
|
35
|
+
- Python version:
|
|
36
|
+
- OS (`Windows`, `Linux`, `MacOS`):
|
|
37
|
+
- Commit number (optional, please provide it if you are using the dev version):
|
|
38
|
+
|
|
39
|
+
## Additional Notes
|
|
40
|
+
|
|
41
|
+
<!-- Add any other information about the problem here. -->
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "\U0001F31FFeature Request"
|
|
3
|
+
about: Request for a new Qlib feature
|
|
4
|
+
labels: enhancement
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## 🌟 Feature Description
|
|
9
|
+
<!-- A clear and concise description of the feature proposal -->
|
|
10
|
+
|
|
11
|
+
## Motivation
|
|
12
|
+
|
|
13
|
+
1. Application scenario
|
|
14
|
+
2. Related works (Papers, Github repos etc.):
|
|
15
|
+
3. Any other relevant and important information:
|
|
16
|
+
|
|
17
|
+
<!-- Please describe why the feature is important. -->
|
|
18
|
+
|
|
19
|
+
## Alternatives
|
|
20
|
+
|
|
21
|
+
<!-- A short description of any alternative solutions or features you've considered. -->
|
|
22
|
+
|
|
23
|
+
## Additional Notes
|
|
24
|
+
|
|
25
|
+
<!-- Add any other context or screenshots about the feature request here. -->
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: "❓Questions & Help"
|
|
3
|
+
about: Have some questions? We can offer help.
|
|
4
|
+
labels: question
|
|
5
|
+
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
## ❓ Questions and Help
|
|
9
|
+
|
|
10
|
+
We sincerely suggest you to carefully read the [documentation](http://qlib.readthedocs.io/) of our library as well as the official [paper](https://arxiv.org/abs/2009.11189). After that, if you still feel puzzled, please describe the question clearly under this issue.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<!--- Thank you for submitting a Pull Request! In order to make our work smoother. -->
|
|
2
|
+
<!--- please make sure your Pull Request meets the following requirements: -->
|
|
3
|
+
<!--- 1. Provide a general summary of your changes in the Title above; -->
|
|
4
|
+
<!--- 2. Add appropriate prefixes to titles, such as `build:`, `chore:`, `ci:`, `docs:`, `feat:`, `fix:`, `perf:`, `refactor:`, `revert:`, `style:`, `test:`(Ref: https://www.conventionalcommits.org/). -->
|
|
5
|
+
<!--- Category: -->
|
|
6
|
+
<!--- Patch Updates: `fix:` -->
|
|
7
|
+
<!--- Example: fix(auth): correct login validation issue -->
|
|
8
|
+
<!--- minor update (introduces new functionality): `feat` -->
|
|
9
|
+
<!--- Example: feature(parser): add ability to parse arrays -->
|
|
10
|
+
<!--- major update(destructive update): Include BREAKING CHANGE in the commit message footer, or add `! ` in the commit footer to indicate that there is a destructive update. -->
|
|
11
|
+
<!--- Example: feat(auth)! : remove support for old authentication method -->
|
|
12
|
+
<!--- Other updates: `build:`, `chore:`, `ci:`, `docs:`, `perf:`, `refactor:`, `revert:`, `style:`, `test:`. -->
|
|
13
|
+
|
|
14
|
+
<!--- Provide a general summary of your changes in the Title above -->
|
|
15
|
+
|
|
16
|
+
## Description
|
|
17
|
+
<!--- Describe your changes in detail -->
|
|
18
|
+
|
|
19
|
+
## Motivation and Context
|
|
20
|
+
<!--- Are there any related issues? If so, please put the link here. -->
|
|
21
|
+
<!--- Why is this change required? What problem does it solve? -->
|
|
22
|
+
|
|
23
|
+
## How Has This Been Tested?
|
|
24
|
+
<!--- Put an `x` in all the boxes that apply: --->
|
|
25
|
+
- [ ] Pass the test by running: `pytest qlib/tests/test_all_pipeline.py` under upper directory of `qlib`.
|
|
26
|
+
- [ ] If you are adding a new feature, test on your own test scripts.
|
|
27
|
+
|
|
28
|
+
<!--- **ATTENTION**: If you are adding a new feature, please make sure your codes are **correctly tested**. If our test scripts do not cover your cases, please provide your own test scripts under the `tests` folder and test them. More information about test scripts can be found [here](https://docs.python.org/3/library/unittest.html#basic-example), or you could refer to those we provide under the `tests` folder. -->
|
|
29
|
+
|
|
30
|
+
## Screenshots of Test Results (if appropriate):
|
|
31
|
+
1. Pipeline test:
|
|
32
|
+
2. Your own tests:
|
|
33
|
+
|
|
34
|
+
## Types of changes
|
|
35
|
+
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
|
|
36
|
+
- [ ] Fix bugs
|
|
37
|
+
- [ ] Add new feature
|
|
38
|
+
- [ ] Update documentation
|